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

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 (1506) hide show
  1. package/dist/agent-bridge/capabilities/editor-state.d.ts.map +1 -1
  2. package/dist/agent-bridge/capabilities/editor-state.js +12 -6
  3. package/dist/agent-bridge/capabilities/editor-state.js.map +1 -1
  4. package/dist/agent-bridge/capabilities/hierarchy.d.ts +4 -0
  5. package/dist/agent-bridge/capabilities/hierarchy.d.ts.map +1 -0
  6. package/dist/agent-bridge/capabilities/hierarchy.js +209 -0
  7. package/dist/agent-bridge/capabilities/hierarchy.js.map +1 -0
  8. package/dist/agent-bridge/capabilities/prefabs.d.ts.map +1 -1
  9. package/dist/agent-bridge/capabilities/prefabs.js +208 -73
  10. package/dist/agent-bridge/capabilities/prefabs.js.map +1 -1
  11. package/dist/agent-bridge/capabilities/scene-objects.d.ts +3 -4
  12. package/dist/agent-bridge/capabilities/scene-objects.d.ts.map +1 -1
  13. package/dist/agent-bridge/capabilities/scene-objects.js +24 -23
  14. package/dist/agent-bridge/capabilities/scene-objects.js.map +1 -1
  15. package/dist/agent-bridge/capabilities/shadows.d.ts.map +1 -1
  16. package/dist/agent-bridge/capabilities/shadows.js +829 -66
  17. package/dist/agent-bridge/capabilities/shadows.js.map +1 -1
  18. package/dist/agent-bridge/capabilities/ui-regions.d.ts.map +1 -1
  19. package/dist/agent-bridge/capabilities/ui-regions.js +19 -1
  20. package/dist/agent-bridge/capabilities/ui-regions.js.map +1 -1
  21. package/dist/agent-bridge/capabilities/viewport.d.ts.map +1 -1
  22. package/dist/agent-bridge/capabilities/viewport.js +22 -9
  23. package/dist/agent-bridge/capabilities/viewport.js.map +1 -1
  24. package/dist/agent-bridge/capability-sources.d.ts.map +1 -1
  25. package/dist/agent-bridge/capability-sources.js +2 -0
  26. package/dist/agent-bridge/capability-sources.js.map +1 -1
  27. package/dist/agent-bridge/register.d.ts.map +1 -1
  28. package/dist/agent-bridge/register.js +194 -0
  29. package/dist/agent-bridge/register.js.map +1 -1
  30. package/dist/agent-bridge/shared.d.ts +231 -11
  31. package/dist/agent-bridge/shared.d.ts.map +1 -1
  32. package/dist/agent-bridge/shared.js +162 -20
  33. package/dist/agent-bridge/shared.js.map +1 -1
  34. package/dist/agent-bridge/source-types.d.ts +17 -1
  35. package/dist/agent-bridge/source-types.d.ts.map +1 -1
  36. package/dist/agent-bridge/source-types.js.map +1 -1
  37. package/dist/build-info.json +57 -42
  38. package/dist/index.d.ts +7 -6
  39. package/dist/index.d.ts.map +1 -1
  40. package/dist/index.js +4 -3
  41. package/dist/index.js.map +1 -1
  42. package/dist/internal/babylon-preview-engine.d.ts +3 -0
  43. package/dist/internal/babylon-preview-engine.d.ts.map +1 -0
  44. package/dist/internal/babylon-preview-engine.js +11 -0
  45. package/dist/internal/babylon-preview-engine.js.map +1 -0
  46. package/dist/internal/material-preview.d.ts +22 -0
  47. package/dist/internal/material-preview.d.ts.map +1 -0
  48. package/dist/internal/material-preview.js +186 -0
  49. package/dist/internal/material-preview.js.map +1 -0
  50. package/dist/internal/product-local-editor-cleanup.d.ts +5 -0
  51. package/dist/internal/product-local-editor-cleanup.d.ts.map +1 -0
  52. package/dist/internal/product-local-editor-cleanup.js +20 -0
  53. package/dist/internal/product-local-editor-cleanup.js.map +1 -0
  54. package/dist/internal/project-model-preview.d.ts +4 -0
  55. package/dist/internal/project-model-preview.d.ts.map +1 -0
  56. package/dist/internal/project-model-preview.js +359 -0
  57. package/dist/internal/project-model-preview.js.map +1 -0
  58. package/dist/local-editor-agent-actions.d.ts +2 -4
  59. package/dist/local-editor-agent-actions.d.ts.map +1 -1
  60. package/dist/local-editor-agent-actions.js +56 -32
  61. package/dist/local-editor-agent-actions.js.map +1 -1
  62. package/dist/local-editor-agent-context.d.ts +17 -6
  63. package/dist/local-editor-agent-context.d.ts.map +1 -1
  64. package/dist/local-editor-agent-context.js +47 -0
  65. package/dist/local-editor-agent-context.js.map +1 -1
  66. package/dist/local-editor-harness.d.ts +353 -35
  67. package/dist/local-editor-harness.d.ts.map +1 -1
  68. package/dist/local-editor-harness.js +4115 -1313
  69. package/dist/local-editor-harness.js.map +1 -1
  70. package/dist/local-editor-marker-graph.d.ts +15 -15
  71. package/dist/local-editor-marker-graph.d.ts.map +1 -1
  72. package/dist/local-editor-marker-graph.js +3 -0
  73. package/dist/local-editor-marker-graph.js.map +1 -1
  74. package/dist/local-editor-performance-stats.d.ts +3 -2
  75. package/dist/local-editor-performance-stats.d.ts.map +1 -1
  76. package/dist/local-editor-performance-stats.js.map +1 -1
  77. package/dist/local-editor-prefab-stage-transaction.d.ts +19 -0
  78. package/dist/local-editor-prefab-stage-transaction.d.ts.map +1 -0
  79. package/dist/local-editor-prefab-stage-transaction.js +45 -0
  80. package/dist/local-editor-prefab-stage-transaction.js.map +1 -0
  81. package/dist/local-editor-scene-view-interaction-runtime.d.ts +3 -1
  82. package/dist/local-editor-scene-view-interaction-runtime.d.ts.map +1 -1
  83. package/dist/local-editor-scene-view-interaction-runtime.js +24 -0
  84. package/dist/local-editor-scene-view-interaction-runtime.js.map +1 -1
  85. package/dist/local-editor-tools.d.ts +19 -0
  86. package/dist/local-editor-tools.d.ts.map +1 -0
  87. package/dist/local-editor-tools.js +56 -0
  88. package/dist/local-editor-tools.js.map +1 -0
  89. package/dist/playable-babylon-rendering.d.ts +9 -0
  90. package/dist/playable-babylon-rendering.d.ts.map +1 -1
  91. package/dist/playable-babylon-rendering.js +162 -6
  92. package/dist/playable-babylon-rendering.js.map +1 -1
  93. package/dist/playable-local-editor-entry.d.ts +68 -0
  94. package/dist/playable-local-editor-entry.d.ts.map +1 -0
  95. package/dist/playable-local-editor-entry.js +424 -0
  96. package/dist/playable-local-editor-entry.js.map +1 -0
  97. package/dist/playable-local-editor-host.d.ts +55 -29
  98. package/dist/playable-local-editor-host.d.ts.map +1 -1
  99. package/dist/playable-local-editor-host.js +50 -11
  100. package/dist/playable-local-editor-host.js.map +1 -1
  101. package/dist/playable-product-local-editor.d.ts +10 -12
  102. package/dist/playable-product-local-editor.d.ts.map +1 -1
  103. package/dist/playable-product-local-editor.js +178 -85
  104. package/dist/playable-product-local-editor.js.map +1 -1
  105. package/dist/playable-product-projection-preview.d.ts +4 -1
  106. package/dist/playable-product-projection-preview.d.ts.map +1 -1
  107. package/dist/playable-product-projection-preview.js +122 -5
  108. package/dist/playable-product-projection-preview.js.map +1 -1
  109. package/dist/playable-product-rendering.d.ts +12 -0
  110. package/dist/playable-product-rendering.d.ts.map +1 -1
  111. package/dist/playable-product-rendering.js +128 -6
  112. package/dist/playable-product-rendering.js.map +1 -1
  113. package/dist/playable-product-scene-capabilities.d.ts +24 -7
  114. package/dist/playable-product-scene-capabilities.d.ts.map +1 -1
  115. package/dist/playable-product-scene-capabilities.js +180 -17
  116. package/dist/playable-product-scene-capabilities.js.map +1 -1
  117. package/dist/playable-project-mode.d.ts +17 -0
  118. package/dist/playable-project-mode.d.ts.map +1 -0
  119. package/dist/playable-project-mode.js +2 -0
  120. package/dist/playable-project-mode.js.map +1 -0
  121. package/dist/playable-runtime-babylon.d.ts +3 -6
  122. package/dist/playable-runtime-babylon.d.ts.map +1 -1
  123. package/dist/playable-runtime-babylon.js +1 -5
  124. package/dist/playable-runtime-babylon.js.map +1 -1
  125. package/dist/playable-sdk.d.ts +16 -9
  126. package/dist/playable-sdk.d.ts.map +1 -1
  127. package/dist/playable-sdk.js +6 -4
  128. package/dist/playable-sdk.js.map +1 -1
  129. package/dist/playable-standard-project.d.ts +23 -14
  130. package/dist/playable-standard-project.d.ts.map +1 -1
  131. package/dist/playable-standard-project.js +57 -20
  132. package/dist/playable-standard-project.js.map +1 -1
  133. package/dist/vite-client.d.ts +4 -0
  134. package/node_modules/@babel/helper-string-parser/lib/index.js +0 -1
  135. package/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -1
  136. package/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -1
  137. package/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -1
  138. package/node_modules/@babel/parser/lib/index.js +0 -1
  139. package/node_modules/@babel/types/lib/asserts/assertNode.js +0 -1
  140. package/node_modules/@babel/types/lib/asserts/generated/index.js +0 -1
  141. package/node_modules/@babel/types/lib/ast-types/generated/index.js +0 -1
  142. package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +0 -1
  143. package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +0 -1
  144. package/node_modules/@babel/types/lib/builders/generated/index.js +0 -1
  145. package/node_modules/@babel/types/lib/builders/generated/lowercase.js +0 -1
  146. package/node_modules/@babel/types/lib/builders/generated/uppercase.js +0 -1
  147. package/node_modules/@babel/types/lib/builders/productions.js +0 -1
  148. package/node_modules/@babel/types/lib/builders/react/buildChildren.js +0 -1
  149. package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +0 -1
  150. package/node_modules/@babel/types/lib/builders/validateNode.js +0 -1
  151. package/node_modules/@babel/types/lib/clone/clone.js +0 -1
  152. package/node_modules/@babel/types/lib/clone/cloneDeep.js +0 -1
  153. package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +0 -1
  154. package/node_modules/@babel/types/lib/clone/cloneNode.js +0 -1
  155. package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +0 -1
  156. package/node_modules/@babel/types/lib/comments/addComment.js +0 -1
  157. package/node_modules/@babel/types/lib/comments/addComments.js +0 -1
  158. package/node_modules/@babel/types/lib/comments/inheritInnerComments.js +0 -1
  159. package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +0 -1
  160. package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +0 -1
  161. package/node_modules/@babel/types/lib/comments/inheritsComments.js +0 -1
  162. package/node_modules/@babel/types/lib/comments/removeComments.js +0 -1
  163. package/node_modules/@babel/types/lib/constants/generated/index.js +0 -1
  164. package/node_modules/@babel/types/lib/constants/index.js +0 -1
  165. package/node_modules/@babel/types/lib/converters/ensureBlock.js +0 -1
  166. package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +0 -1
  167. package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +0 -1
  168. package/node_modules/@babel/types/lib/converters/toBlock.js +0 -1
  169. package/node_modules/@babel/types/lib/converters/toComputedKey.js +0 -1
  170. package/node_modules/@babel/types/lib/converters/toExpression.js +0 -1
  171. package/node_modules/@babel/types/lib/converters/toIdentifier.js +0 -1
  172. package/node_modules/@babel/types/lib/converters/toKeyAlias.js +0 -1
  173. package/node_modules/@babel/types/lib/converters/toSequenceExpression.js +0 -1
  174. package/node_modules/@babel/types/lib/converters/toStatement.js +0 -1
  175. package/node_modules/@babel/types/lib/converters/valueToNode.js +0 -1
  176. package/node_modules/@babel/types/lib/definitions/core.js +0 -1
  177. package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +0 -1
  178. package/node_modules/@babel/types/lib/definitions/experimental.js +0 -1
  179. package/node_modules/@babel/types/lib/definitions/flow.js +0 -1
  180. package/node_modules/@babel/types/lib/definitions/index.js +0 -1
  181. package/node_modules/@babel/types/lib/definitions/jsx.js +0 -1
  182. package/node_modules/@babel/types/lib/definitions/misc.js +0 -1
  183. package/node_modules/@babel/types/lib/definitions/placeholders.js +0 -1
  184. package/node_modules/@babel/types/lib/definitions/typescript.js +0 -1
  185. package/node_modules/@babel/types/lib/definitions/utils.js +0 -1
  186. package/node_modules/@babel/types/lib/index.js +0 -1
  187. package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +0 -1
  188. package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +0 -1
  189. package/node_modules/@babel/types/lib/modifications/inherits.js +0 -1
  190. package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +0 -1
  191. package/node_modules/@babel/types/lib/modifications/removeProperties.js +0 -1
  192. package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +0 -1
  193. package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +0 -1
  194. package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js +0 -1
  195. package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +0 -1
  196. package/node_modules/@babel/types/lib/retrievers/getFunctionName.js +0 -1
  197. package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +0 -1
  198. package/node_modules/@babel/types/lib/traverse/traverse.js +0 -1
  199. package/node_modules/@babel/types/lib/traverse/traverseFast.js +0 -1
  200. package/node_modules/@babel/types/lib/utils/deprecationWarning.js +0 -1
  201. package/node_modules/@babel/types/lib/utils/inherit.js +0 -1
  202. package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +0 -1
  203. package/node_modules/@babel/types/lib/utils/shallowEqual.js +0 -1
  204. package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +0 -1
  205. package/node_modules/@babel/types/lib/validators/generated/index.js +0 -1
  206. package/node_modules/@babel/types/lib/validators/is.js +0 -1
  207. package/node_modules/@babel/types/lib/validators/isBinding.js +0 -1
  208. package/node_modules/@babel/types/lib/validators/isBlockScoped.js +0 -1
  209. package/node_modules/@babel/types/lib/validators/isImmutable.js +0 -1
  210. package/node_modules/@babel/types/lib/validators/isLet.js +0 -1
  211. package/node_modules/@babel/types/lib/validators/isNode.js +0 -1
  212. package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +0 -1
  213. package/node_modules/@babel/types/lib/validators/isPlaceholderType.js +0 -1
  214. package/node_modules/@babel/types/lib/validators/isReferenced.js +0 -1
  215. package/node_modules/@babel/types/lib/validators/isScope.js +0 -1
  216. package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +0 -1
  217. package/node_modules/@babel/types/lib/validators/isType.js +0 -1
  218. package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +0 -1
  219. package/node_modules/@babel/types/lib/validators/isValidIdentifier.js +0 -1
  220. package/node_modules/@babel/types/lib/validators/isVar.js +0 -1
  221. package/node_modules/@babel/types/lib/validators/matchesPattern.js +0 -1
  222. package/node_modules/@babel/types/lib/validators/react/isCompatTag.js +0 -1
  223. package/node_modules/@babel/types/lib/validators/react/isReactComponent.js +0 -1
  224. package/node_modules/@babel/types/lib/validators/validate.js +0 -1
  225. package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.d.ts +69 -0
  226. package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.js +132 -0
  227. package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.d.ts +8 -0
  228. package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.js +7 -0
  229. package/node_modules/@babylonjs/loaders/BVH/bvhLoader.d.ts +14 -0
  230. package/node_modules/@babylonjs/loaders/BVH/bvhLoader.js +328 -0
  231. package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.d.ts +9 -0
  232. package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.js +1 -0
  233. package/node_modules/@babylonjs/loaders/BVH/index.d.ts +2 -0
  234. package/node_modules/@babylonjs/loaders/BVH/index.js +3 -0
  235. package/node_modules/@babylonjs/loaders/OBJ/index.d.ts +4 -0
  236. package/node_modules/@babylonjs/loaders/OBJ/index.js +4 -0
  237. package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.d.ts +41 -0
  238. package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.js +230 -0
  239. package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.d.ts +136 -0
  240. package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.js +317 -0
  241. package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.d.ts +4 -0
  242. package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.js +4 -0
  243. package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.d.ts +47 -0
  244. package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.js +1 -0
  245. package/node_modules/@babylonjs/loaders/OBJ/solidParser.d.ts +175 -0
  246. package/node_modules/@babylonjs/loaders/OBJ/solidParser.js +903 -0
  247. package/node_modules/@babylonjs/loaders/SPLAT/index.d.ts +2 -0
  248. package/node_modules/@babylonjs/loaders/SPLAT/index.js +3 -0
  249. package/node_modules/@babylonjs/loaders/SPLAT/sog.d.ts +84 -0
  250. package/node_modules/@babylonjs/loaders/SPLAT/sog.js +294 -0
  251. package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.d.ts +26 -0
  252. package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.js +10 -0
  253. package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.d.ts +100 -0
  254. package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.js +536 -0
  255. package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.d.ts +20 -0
  256. package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.js +15 -0
  257. package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.d.ts +33 -0
  258. package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.js +1 -0
  259. package/node_modules/@babylonjs/loaders/SPLAT/spz.d.ts +11 -0
  260. package/node_modules/@babylonjs/loaders/SPLAT/spz.js +168 -0
  261. package/node_modules/@babylonjs/loaders/STL/index.d.ts +1 -0
  262. package/node_modules/@babylonjs/loaders/STL/index.js +1 -0
  263. package/node_modules/@babylonjs/loaders/STL/stlFileLoader.d.ts +78 -0
  264. package/node_modules/@babylonjs/loaders/STL/stlFileLoader.js +238 -0
  265. package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.d.ts +8 -0
  266. package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.js +7 -0
  267. package/node_modules/@babylonjs/loaders/bvh/license.md +21 -0
  268. package/node_modules/@babylonjs/loaders/dynamic.d.ts +5 -0
  269. package/node_modules/@babylonjs/loaders/dynamic.js +56 -0
  270. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.d.ts +16 -0
  271. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.js +64 -0
  272. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.d.ts +144 -0
  273. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.js +1841 -0
  274. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.d.ts +412 -0
  275. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.js +95 -0
  276. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.d.ts +71 -0
  277. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.js +254 -0
  278. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.d.ts +13 -0
  279. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.js +130 -0
  280. package/node_modules/@babylonjs/loaders/glTF/1.0/index.d.ts +5 -0
  281. package/node_modules/@babylonjs/loaders/glTF/1.0/index.js +5 -0
  282. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.d.ts +41 -0
  283. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.js +93 -0
  284. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.d.ts +41 -0
  285. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.js +83 -0
  286. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.d.ts +48 -0
  287. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.js +115 -0
  288. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.d.ts +39 -0
  289. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.js +94 -0
  290. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.d.ts +39 -0
  291. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.js +50 -0
  292. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.d.ts +34 -0
  293. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.js +38 -0
  294. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.d.ts +33 -0
  295. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.js +37 -0
  296. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.d.ts +53 -0
  297. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.js +73 -0
  298. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.d.ts +47 -0
  299. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.d.ts +1 -0
  300. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.js +251 -0
  301. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.js +77 -0
  302. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.d.ts +47 -0
  303. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.js +92 -0
  304. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.d.ts +355 -0
  305. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.js +1678 -0
  306. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.d.ts +33 -0
  307. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.js +19 -0
  308. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.d.ts +3 -0
  309. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.js +3 -0
  310. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.d.ts +70 -0
  311. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.js +438 -0
  312. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.d.ts +38 -0
  313. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.js +150 -0
  314. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.d.ts +41 -0
  315. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.js +91 -0
  316. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.d.ts +42 -0
  317. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.js +65 -0
  318. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.d.ts +43 -0
  319. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.js +79 -0
  320. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.d.ts +49 -0
  321. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.js +119 -0
  322. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.d.ts +43 -0
  323. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.js +58 -0
  324. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.d.ts +43 -0
  325. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.js +69 -0
  326. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.d.ts +43 -0
  327. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.js +56 -0
  328. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.d.ts +42 -0
  329. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.js +47 -0
  330. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.d.ts +43 -0
  331. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.js +77 -0
  332. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.d.ts +46 -0
  333. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.js +54 -0
  334. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.d.ts +42 -0
  335. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.js +68 -0
  336. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.d.ts +42 -0
  337. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js +80 -0
  338. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.d.ts +43 -0
  339. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.js +73 -0
  340. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.d.ts +42 -0
  341. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.js +76 -0
  342. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.d.ts +42 -0
  343. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.js +303 -0
  344. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.d.ts +42 -0
  345. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.js +66 -0
  346. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.d.ts +112 -0
  347. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.js +262 -0
  348. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.d.ts +43 -0
  349. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.js +82 -0
  350. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.d.ts +45 -0
  351. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.js +109 -0
  352. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.d.ts +29 -0
  353. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.js +22 -0
  354. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.d.ts +31 -0
  355. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.js +189 -0
  356. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.d.ts +30 -0
  357. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.js +123 -0
  358. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.d.ts +30 -0
  359. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.js +66 -0
  360. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.d.ts +33 -0
  361. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.js +37 -0
  362. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.d.ts +37 -0
  363. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.js +58 -0
  364. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.d.ts +39 -0
  365. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.js +47 -0
  366. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.d.ts +56 -0
  367. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.js +228 -0
  368. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.d.ts +104 -0
  369. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.js +337 -0
  370. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.d.ts +27 -0
  371. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.js +39 -0
  372. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.d.ts +27 -0
  373. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.js +38 -0
  374. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.d.ts +4 -0
  375. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.js +212 -0
  376. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.d.ts +45 -0
  377. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.js +100 -0
  378. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.d.ts +43 -0
  379. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.js +44 -0
  380. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.d.ts +306 -0
  381. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.js +884 -0
  382. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.d.ts +450 -0
  383. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.js +2485 -0
  384. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.d.ts +42 -0
  385. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.js +79 -0
  386. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.d.ts +165 -0
  387. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.js +1 -0
  388. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.d.ts +25 -0
  389. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.js +32 -0
  390. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.d.ts +262 -0
  391. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.js +1 -0
  392. package/node_modules/@babylonjs/loaders/glTF/2.0/index.d.ts +8 -0
  393. package/node_modules/@babylonjs/loaders/glTF/2.0/index.js +9 -0
  394. package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.d.ts +364 -0
  395. package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.js +1 -0
  396. package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.d.ts +674 -0
  397. package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.js +1034 -0
  398. package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.d.ts +705 -0
  399. package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.js +1126 -0
  400. package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.d.ts +553 -0
  401. package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.js +998 -0
  402. package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.d.ts +15 -0
  403. package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.js +17 -0
  404. package/node_modules/@babylonjs/loaders/glTF/glTFValidation.d.ts +35 -0
  405. package/node_modules/@babylonjs/loaders/glTF/glTFValidation.js +131 -0
  406. package/node_modules/@babylonjs/loaders/glTF/index.d.ts +5 -0
  407. package/node_modules/@babylonjs/loaders/glTF/index.js +6 -0
  408. package/node_modules/@babylonjs/loaders/index.d.ts +6 -0
  409. package/node_modules/@babylonjs/loaders/index.js +7 -0
  410. package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.d.ts +1 -0
  411. package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.js +15 -0
  412. package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.d.ts +1 -0
  413. package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.js +13 -0
  414. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.d.ts +2 -0
  415. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.js +18 -0
  416. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.d.ts +2 -0
  417. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.js +15 -0
  418. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.d.ts +2 -0
  419. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.js +3 -0
  420. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.d.ts +2 -0
  421. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.js +34 -0
  422. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.d.ts +2 -0
  423. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.js +3 -0
  424. package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.d.ts +3 -0
  425. package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.js +4 -0
  426. package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.d.ts +1 -0
  427. package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.js +15 -0
  428. package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.d.ts +1 -0
  429. package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.js +15 -0
  430. package/node_modules/@babylonjs/loaders/legacy/legacy.d.ts +8 -0
  431. package/node_modules/@babylonjs/loaders/legacy/legacy.js +10 -0
  432. package/node_modules/@babylonjs/loaders/license.md +71 -0
  433. package/node_modules/@babylonjs/loaders/package.json +49 -0
  434. package/node_modules/@babylonjs/loaders/readme.md +23 -0
  435. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts +22 -0
  436. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts.map +1 -0
  437. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js +187 -0
  438. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js.map +1 -0
  439. package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts +3 -0
  440. package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts.map +1 -1
  441. package/node_modules/@fps-games/babylon-renderer/dist/index.js +3 -0
  442. package/node_modules/@fps-games/babylon-renderer/dist/index.js.map +1 -1
  443. package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts +19 -0
  444. package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts.map +1 -0
  445. package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js +212 -0
  446. package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js.map +1 -0
  447. package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts +17 -2
  448. package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts.map +1 -1
  449. package/node_modules/@fps-games/babylon-renderer/dist/plugin.js +192 -17
  450. package/node_modules/@fps-games/babylon-renderer/dist/plugin.js.map +1 -1
  451. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +2 -0
  452. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -1
  453. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +139 -3
  454. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -1
  455. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts +4 -0
  456. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts.map +1 -1
  457. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js.map +1 -1
  458. package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts +1 -0
  459. package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts.map +1 -1
  460. package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js +1 -0
  461. package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js.map +1 -1
  462. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts +14 -0
  463. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts.map +1 -0
  464. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js +14 -0
  465. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js.map +1 -0
  466. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts +59 -0
  467. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts.map +1 -0
  468. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js +725 -0
  469. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js.map +1 -0
  470. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts +136 -0
  471. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts.map +1 -0
  472. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js +2735 -0
  473. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js.map +1 -0
  474. package/node_modules/@fps-games/babylon-renderer/package.json +7 -7
  475. package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js +1 -1
  476. package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js.map +1 -1
  477. package/node_modules/@fps-games/editor-babylon/dist/index.d.ts +2 -1
  478. package/node_modules/@fps-games/editor-babylon/dist/index.d.ts.map +1 -1
  479. package/node_modules/@fps-games/editor-babylon/dist/index.js +2 -1
  480. package/node_modules/@fps-games/editor-babylon/dist/index.js.map +1 -1
  481. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts +2 -0
  482. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts.map +1 -1
  483. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js +59 -6
  484. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js.map +1 -1
  485. package/node_modules/@fps-games/editor-babylon/dist/marker-overlay.js +24 -0
  486. package/node_modules/@fps-games/editor-babylon/dist/marker-overlay.js.map +1 -1
  487. package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.d.ts.map +1 -1
  488. package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js +81 -11
  489. package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js.map +1 -1
  490. package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js +2 -8
  491. package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js.map +1 -1
  492. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +26 -5
  493. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
  494. package/node_modules/@fps-games/editor-babylon/dist/projection.js +396 -363
  495. package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
  496. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts +4 -0
  497. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts.map +1 -1
  498. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js +76 -10
  499. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js.map +1 -1
  500. package/node_modules/@fps-games/editor-babylon/dist/scene-view-spatial-overlay-controller.d.ts.map +1 -1
  501. package/node_modules/@fps-games/editor-babylon/dist/scene-view-spatial-overlay-controller.js +85 -22
  502. package/node_modules/@fps-games/editor-babylon/dist/scene-view-spatial-overlay-controller.js.map +1 -1
  503. package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts +46 -0
  504. package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts.map +1 -0
  505. package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js +304 -0
  506. package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js.map +1 -0
  507. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts +87 -0
  508. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts.map +1 -0
  509. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js +1746 -0
  510. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js.map +1 -0
  511. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts +11 -3
  512. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts.map +1 -1
  513. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js +105 -15
  514. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js.map +1 -1
  515. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts +1 -0
  516. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts.map +1 -1
  517. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js +249 -15
  518. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js.map +1 -1
  519. package/node_modules/@fps-games/editor-babylon/dist/types.d.ts +1 -1
  520. package/node_modules/@fps-games/editor-babylon/dist/types.d.ts.map +1 -1
  521. package/node_modules/@fps-games/editor-babylon/dist/types.js.map +1 -1
  522. package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts +25 -0
  523. package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts.map +1 -0
  524. package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js +44 -0
  525. package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js.map +1 -0
  526. package/node_modules/@fps-games/editor-babylon/package.json +6 -5
  527. package/node_modules/@fps-games/editor-browser/dist/index.d.ts +13 -11
  528. package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
  529. package/node_modules/@fps-games/editor-browser/dist/index.js +9 -9
  530. package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
  531. package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.d.ts +35 -0
  532. package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.d.ts.map +1 -0
  533. package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.js +136 -0
  534. package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-browser-continuity.js.map +1 -0
  535. package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.d.ts +46 -0
  536. package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.d.ts.map +1 -0
  537. package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.js +283 -0
  538. package/node_modules/@fps-games/editor-browser/dist/local-editor-asset-filesystem.js.map +1 -0
  539. package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts +2 -0
  540. package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts.map +1 -0
  541. package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js +36 -0
  542. package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js.map +1 -0
  543. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts +2 -0
  544. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts.map +1 -1
  545. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js +17 -0
  546. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js.map +1 -1
  547. package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.d.ts +12 -0
  548. package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.d.ts.map +1 -0
  549. package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.js +67 -0
  550. package/node_modules/@fps-games/editor-browser/dist/local-editor-preview-cleanup-registry.js.map +1 -0
  551. package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.d.ts +6 -0
  552. package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.d.ts.map +1 -0
  553. package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.js +9 -0
  554. package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-open.js.map +1 -0
  555. package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.d.ts +7 -0
  556. package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.d.ts.map +1 -0
  557. package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.js +20 -0
  558. package/node_modules/@fps-games/editor-browser/dist/local-editor-project-file-preview.js.map +1 -0
  559. package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.d.ts +9 -0
  560. package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.d.ts.map +1 -0
  561. package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.js +219 -0
  562. package/node_modules/@fps-games/editor-browser/dist/local-editor-project-media-thumbnail-cache.js.map +1 -0
  563. package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.d.ts +14 -0
  564. package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.d.ts.map +1 -0
  565. package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.js +42 -0
  566. package/node_modules/@fps-games/editor-browser/dist/local-editor-tool-presentation.js.map +1 -0
  567. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts +1 -1
  568. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts.map +1 -1
  569. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js +8 -0
  570. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js.map +1 -1
  571. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.d.ts +27 -0
  572. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.d.ts.map +1 -0
  573. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.js +288 -0
  574. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-console.js.map +1 -0
  575. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.d.ts.map +1 -1
  576. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js +157 -77
  577. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js.map +1 -1
  578. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts.map +1 -1
  579. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js +27 -21
  580. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js.map +1 -1
  581. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts +19 -0
  582. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts.map +1 -0
  583. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js +44 -0
  584. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js.map +1 -0
  585. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts +36 -6
  586. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
  587. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +829 -866
  588. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
  589. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts +8 -7
  590. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts.map +1 -1
  591. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js +1 -7
  592. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js.map +1 -1
  593. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.d.ts +7 -0
  594. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.d.ts.map +1 -0
  595. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.js +20 -0
  596. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.js.map +1 -0
  597. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +6 -7
  598. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
  599. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +266 -114
  600. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
  601. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts +1 -1
  602. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts.map +1 -1
  603. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js +34 -0
  604. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js.map +1 -1
  605. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.d.ts.map +1 -1
  606. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js +3 -17
  607. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js.map +1 -1
  608. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts +14 -0
  609. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts.map +1 -1
  610. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js +44 -62
  611. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js.map +1 -1
  612. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +30 -8
  613. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
  614. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +911 -698
  615. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
  616. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts +10 -37
  617. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts.map +1 -1
  618. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js +29 -105
  619. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js.map +1 -1
  620. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts.map +1 -1
  621. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js +29 -110
  622. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js.map +1 -1
  623. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts +1 -3
  624. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts.map +1 -1
  625. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js +6 -90
  626. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js.map +1 -1
  627. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.d.ts.map +1 -1
  628. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js +9 -54
  629. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js.map +1 -1
  630. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts +16 -1
  631. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts.map +1 -1
  632. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js +44 -39
  633. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js.map +1 -1
  634. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.d.ts +4 -0
  635. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.d.ts.map +1 -0
  636. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.js +44 -0
  637. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.js.map +1 -0
  638. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts.map +1 -1
  639. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js +35 -44
  640. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js.map +1 -1
  641. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.d.ts.map +1 -1
  642. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.js +40 -24
  643. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.js.map +1 -1
  644. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.d.ts.map +1 -1
  645. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js +2 -20
  646. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js.map +1 -1
  647. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +114 -343
  648. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
  649. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.js.map +1 -1
  650. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts +13 -14
  651. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts.map +1 -1
  652. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js +120 -134
  653. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js.map +1 -1
  654. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +6 -10
  655. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
  656. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +2019 -861
  657. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
  658. package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.d.ts +13 -0
  659. package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.d.ts.map +1 -0
  660. package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.js +15 -0
  661. package/node_modules/@fps-games/editor-browser/dist/local-editor-viewport-orientation.js.map +1 -0
  662. package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts +2 -3
  663. package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts.map +1 -1
  664. package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js +0 -180
  665. package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js.map +1 -1
  666. package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts +5 -0
  667. package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts.map +1 -0
  668. package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js +5 -0
  669. package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js.map +1 -0
  670. package/node_modules/@fps-games/editor-browser/package.json +15 -4
  671. package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts +22 -0
  672. package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts.map +1 -0
  673. package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js +226 -0
  674. package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js.map +1 -0
  675. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts +6 -1
  676. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts.map +1 -1
  677. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js +94 -2
  678. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js.map +1 -1
  679. package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts +24 -2
  680. package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts.map +1 -1
  681. package/node_modules/@fps-games/editor-core/dist/editor-session.js +70 -10
  682. package/node_modules/@fps-games/editor-core/dist/editor-session.js.map +1 -1
  683. package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts +113 -0
  684. package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts.map +1 -0
  685. package/node_modules/@fps-games/editor-core/dist/editor-tools.js +615 -0
  686. package/node_modules/@fps-games/editor-core/dist/editor-tools.js.map +1 -0
  687. package/node_modules/@fps-games/editor-core/dist/inspector.d.ts +46 -0
  688. package/node_modules/@fps-games/editor-core/dist/inspector.d.ts.map +1 -1
  689. package/node_modules/@fps-games/editor-core/dist/inspector.js +62 -0
  690. package/node_modules/@fps-games/editor-core/dist/inspector.js.map +1 -1
  691. package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts +1 -0
  692. package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts.map +1 -1
  693. package/node_modules/@fps-games/editor-core/dist/scene-graph.js.map +1 -1
  694. package/node_modules/@fps-games/editor-core/dist/viewport-tools.d.ts +11 -2
  695. package/node_modules/@fps-games/editor-core/dist/viewport-tools.d.ts.map +1 -1
  696. package/node_modules/@fps-games/editor-core/dist/viewport-tools.js +12 -1
  697. package/node_modules/@fps-games/editor-core/dist/viewport-tools.js.map +1 -1
  698. package/node_modules/@fps-games/editor-core/package.json +14 -6
  699. package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
  700. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js +14 -3
  701. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js.map +1 -1
  702. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts +1 -1
  703. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts.map +1 -1
  704. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js +1 -1
  705. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js.map +1 -1
  706. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts +14 -0
  707. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts.map +1 -1
  708. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js +49 -1
  709. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js.map +1 -1
  710. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts +1 -0
  711. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.d.ts.map +1 -1
  712. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js +63 -2
  713. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js.map +1 -1
  714. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts.map +1 -1
  715. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +48 -6
  716. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js.map +1 -1
  717. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts +1 -1
  718. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.d.ts.map +1 -1
  719. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js +1 -1
  720. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/index.js.map +1 -1
  721. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.d.ts.map +1 -1
  722. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js +15 -1
  723. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/handler.js.map +1 -1
  724. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.d.ts.map +1 -1
  725. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js +3 -0
  726. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/routes.js.map +1 -1
  727. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts +6 -1
  728. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.d.ts.map +1 -1
  729. package/node_modules/@fps-games/editor-playable-sdk/dist/authoring-server/types.js.map +1 -1
  730. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +28 -3
  731. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -1
  732. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +314 -6
  733. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -1
  734. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts +2 -0
  735. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts.map +1 -1
  736. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js +2 -0
  737. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js.map +1 -1
  738. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts +11 -0
  739. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts.map +1 -0
  740. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js +27 -0
  741. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js.map +1 -0
  742. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts +5 -0
  743. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts.map +1 -0
  744. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js +285 -0
  745. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js.map +1 -0
  746. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +7 -3
  747. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -1
  748. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js.map +1 -1
  749. package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +4 -0
  750. package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -1
  751. package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +7 -0
  752. package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -1
  753. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -1
  754. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +23 -81
  755. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -1
  756. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts +41 -0
  757. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts.map +1 -0
  758. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js +93 -0
  759. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js.map +1 -0
  760. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts +29 -0
  761. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts.map +1 -0
  762. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js +77 -0
  763. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js.map +1 -0
  764. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts +51 -0
  765. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts.map +1 -0
  766. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js +105 -0
  767. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js.map +1 -0
  768. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts +60 -0
  769. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts.map +1 -0
  770. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js +287 -0
  771. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js.map +1 -0
  772. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +6 -1
  773. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -1
  774. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -1
  775. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +1 -0
  776. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -1
  777. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +53 -17
  778. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -1
  779. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +16 -8
  780. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -1
  781. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +10 -6
  782. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -1
  783. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +5 -3
  784. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -1
  785. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +2 -1
  786. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -1
  787. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -1
  788. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +134 -66
  789. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -1
  790. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts +11 -0
  791. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts.map +1 -1
  792. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js +21 -14
  793. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js.map +1 -1
  794. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +17 -9
  795. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -1
  796. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -1
  797. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -1
  798. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +20 -0
  799. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -1
  800. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -1
  801. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +49 -10
  802. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -1
  803. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +2 -2
  804. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -1
  805. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +18 -0
  806. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -1
  807. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts +7 -0
  808. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts.map +1 -1
  809. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js +130 -20
  810. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js.map +1 -1
  811. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts +1 -1
  812. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts.map +1 -1
  813. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js +12 -3
  814. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js.map +1 -1
  815. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts +11 -0
  816. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts.map +1 -0
  817. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js +136 -0
  818. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js.map +1 -0
  819. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts +1 -0
  820. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts.map +1 -1
  821. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js +1 -0
  822. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js.map +1 -1
  823. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts +36 -51
  824. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts.map +1 -1
  825. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js +40 -65
  826. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js.map +1 -1
  827. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts +5 -2
  828. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts.map +1 -1
  829. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js +207 -1
  830. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js.map +1 -1
  831. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts +1 -0
  832. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts.map +1 -1
  833. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js +3 -0
  834. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js.map +1 -1
  835. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts +18 -7
  836. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts.map +1 -1
  837. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js +110 -18
  838. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js.map +1 -1
  839. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts +9 -0
  840. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts.map +1 -1
  841. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js +16 -1
  842. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js.map +1 -1
  843. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts +5 -2
  844. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts.map +1 -1
  845. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js +22 -2
  846. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js.map +1 -1
  847. package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.d.ts +4 -0
  848. package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.d.ts.map +1 -0
  849. package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.js +4 -0
  850. package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/index.js.map +1 -0
  851. package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.d.ts +4 -0
  852. package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.d.ts.map +1 -0
  853. package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.js +86 -0
  854. package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/protocol.js.map +1 -0
  855. package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.d.ts +9 -0
  856. package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.d.ts.map +1 -0
  857. package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.js +76 -0
  858. package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/support.js.map +1 -0
  859. package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.d.ts +34 -0
  860. package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.d.ts.map +1 -0
  861. package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.js +2 -0
  862. package/node_modules/@fps-games/editor-playable-sdk/dist/project-files/types.js.map +1 -0
  863. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -1
  864. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +144 -0
  865. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -1
  866. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +16 -0
  867. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -1
  868. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -1
  869. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -1
  870. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +1 -0
  871. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -1
  872. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +2 -1
  873. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -1
  874. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js.map +1 -1
  875. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts +2 -0
  876. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts.map +1 -1
  877. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js +241 -13
  878. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js.map +1 -1
  879. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts +1 -0
  880. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts.map +1 -1
  881. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js +1 -0
  882. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js.map +1 -1
  883. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts +31 -0
  884. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts.map +1 -0
  885. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js +170 -0
  886. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js.map +1 -0
  887. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts +153 -13
  888. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts.map +1 -1
  889. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.js.map +1 -1
  890. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts +17 -0
  891. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts.map +1 -1
  892. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js +1295 -3
  893. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js.map +1 -1
  894. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts +4 -0
  895. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -1
  896. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +54 -0
  897. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -1
  898. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts.map +1 -1
  899. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js +57 -34
  900. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js.map +1 -1
  901. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -1
  902. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +4 -1
  903. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -1
  904. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +4 -0
  905. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -1
  906. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -1
  907. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.d.ts.map +1 -1
  908. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js +20 -198
  909. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js.map +1 -1
  910. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.d.ts.map +1 -1
  911. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js +5 -1
  912. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js.map +1 -1
  913. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts +5 -0
  914. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -1
  915. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +144 -8
  916. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -1
  917. package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts +1 -1
  918. package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts.map +1 -1
  919. package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js +30 -1
  920. package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js.map +1 -1
  921. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts +6 -0
  922. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts.map +1 -1
  923. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js.map +1 -1
  924. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +31 -3
  925. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -1
  926. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts +5 -2
  927. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts.map +1 -1
  928. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js +40 -4
  929. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js.map +1 -1
  930. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts +1 -0
  931. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts.map +1 -1
  932. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.js +1 -0
  933. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.js.map +1 -1
  934. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.d.ts.map +1 -1
  935. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js +116 -3
  936. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js.map +1 -1
  937. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts +2 -1
  938. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts.map +1 -1
  939. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js +1 -0
  940. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js.map +1 -1
  941. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts +17 -1
  942. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts.map +1 -1
  943. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js +50 -2
  944. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js.map +1 -1
  945. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts +1 -0
  946. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts.map +1 -1
  947. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js +101 -5
  948. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js.map +1 -1
  949. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts +5 -6
  950. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts.map +1 -1
  951. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js +31 -17
  952. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js.map +1 -1
  953. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.d.ts +14 -0
  954. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.d.ts.map +1 -0
  955. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.js +101 -0
  956. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-file-handle.js.map +1 -0
  957. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.d.ts +23 -0
  958. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.d.ts.map +1 -0
  959. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.js +180 -0
  960. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-files.js.map +1 -0
  961. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts +6 -0
  962. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts.map +1 -1
  963. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.js.map +1 -1
  964. package/node_modules/@fps-games/editor-playable-sdk/package.json +6 -6
  965. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts +417 -2
  966. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts.map +1 -1
  967. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js +692 -2
  968. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js.map +1 -1
  969. package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts +23 -3
  970. package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts.map +1 -1
  971. package/node_modules/@fps-games/editor-protocol/dist/agent.js.map +1 -1
  972. package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts +55 -0
  973. package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts.map +1 -0
  974. package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js +2 -0
  975. package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js.map +1 -0
  976. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +3 -18
  977. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
  978. package/node_modules/@fps-games/editor-protocol/dist/index.js +1 -0
  979. package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
  980. package/node_modules/@fps-games/editor-protocol/package.json +2 -2
  981. package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.d.ts.map +1 -1
  982. package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js +5 -0
  983. package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js.map +1 -1
  984. package/node_modules/@fps-games/editor-tooling/dist/vite.d.ts.map +1 -1
  985. package/node_modules/@fps-games/editor-tooling/dist/vite.js +151 -5
  986. package/node_modules/@fps-games/editor-tooling/dist/vite.js.map +1 -1
  987. package/node_modules/@fps-games/editor-tooling/package.json +3 -3
  988. package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts +107 -0
  989. package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts.map +1 -0
  990. package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js +770 -0
  991. package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js.map +1 -0
  992. package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts +21 -0
  993. package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts.map +1 -0
  994. package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js +172 -0
  995. package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js.map +1 -0
  996. package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts +14 -0
  997. package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts.map +1 -0
  998. package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js +32 -0
  999. package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js.map +1 -0
  1000. package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts +3 -0
  1001. package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts.map +1 -0
  1002. package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js +746 -0
  1003. package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js.map +1 -0
  1004. package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts +3 -0
  1005. package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts.map +1 -0
  1006. package/node_modules/@fps-games/editor-ui/dist/gallery.js +3 -0
  1007. package/node_modules/@fps-games/editor-ui/dist/gallery.js.map +1 -0
  1008. package/node_modules/@fps-games/editor-ui/dist/index.d.ts +5 -0
  1009. package/node_modules/@fps-games/editor-ui/dist/index.d.ts.map +1 -0
  1010. package/node_modules/@fps-games/editor-ui/dist/index.js +5 -0
  1011. package/node_modules/@fps-games/editor-ui/dist/index.js.map +1 -0
  1012. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts +7 -0
  1013. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts.map +1 -0
  1014. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js +29 -0
  1015. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js.map +1 -0
  1016. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts +2 -0
  1017. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts.map +1 -0
  1018. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js +95 -0
  1019. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js.map +1 -0
  1020. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts +28 -0
  1021. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts.map +1 -0
  1022. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js +387 -0
  1023. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js.map +1 -0
  1024. package/node_modules/@fps-games/editor-ui/package.json +23 -0
  1025. package/node_modules/@fps-games/playable-assets/package.json +1 -1
  1026. package/node_modules/@fps-games/playable-contracts/dist/index.d.ts +1 -0
  1027. package/node_modules/@fps-games/playable-contracts/dist/index.d.ts.map +1 -1
  1028. package/node_modules/@fps-games/playable-contracts/dist/index.js +1 -0
  1029. package/node_modules/@fps-games/playable-contracts/dist/index.js.map +1 -1
  1030. package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts +116 -0
  1031. package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts.map +1 -0
  1032. package/node_modules/@fps-games/playable-contracts/dist/material-owner.js +403 -0
  1033. package/node_modules/@fps-games/playable-contracts/dist/material-owner.js.map +1 -0
  1034. package/node_modules/@fps-games/playable-contracts/package.json +1 -1
  1035. package/node_modules/@fps-games/playable-rendering/dist/index.d.ts +3 -0
  1036. package/node_modules/@fps-games/playable-rendering/dist/index.d.ts.map +1 -1
  1037. package/node_modules/@fps-games/playable-rendering/dist/index.js +3 -0
  1038. package/node_modules/@fps-games/playable-rendering/dist/index.js.map +1 -1
  1039. package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js +5 -25
  1040. package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js.map +1 -1
  1041. package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts +3 -0
  1042. package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts.map +1 -1
  1043. package/node_modules/@fps-games/playable-rendering/dist/runtime.js +3 -0
  1044. package/node_modules/@fps-games/playable-rendering/dist/runtime.js.map +1 -1
  1045. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts +61 -0
  1046. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts.map +1 -0
  1047. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js +176 -0
  1048. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js.map +1 -0
  1049. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts +84 -0
  1050. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts.map +1 -0
  1051. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js +362 -0
  1052. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js.map +1 -0
  1053. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts +167 -0
  1054. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts.map +1 -0
  1055. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js +484 -0
  1056. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js.map +1 -0
  1057. package/node_modules/@fps-games/playable-rendering/package.json +2 -2
  1058. package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts +5 -0
  1059. package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts.map +1 -1
  1060. package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js +1 -0
  1061. package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js.map +1 -1
  1062. package/node_modules/@fps-games/playable-runtime/package.json +12 -12
  1063. package/node_modules/@fps-games/playable-runtime-data/package.json +4 -4
  1064. package/node_modules/@fps-games/playable-scene/package.json +2 -2
  1065. package/node_modules/@fps-games/plugin-api/package.json +1 -1
  1066. package/node_modules/@fps-games/plugin-assets/dist/version.d.ts +1 -1
  1067. package/node_modules/@fps-games/plugin-assets/dist/version.js +1 -1
  1068. package/node_modules/@fps-games/plugin-assets/dist/version.js.map +1 -1
  1069. package/node_modules/@fps-games/plugin-assets/package.json +5 -5
  1070. package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts +6 -0
  1071. package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts.map +1 -0
  1072. package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js +16 -0
  1073. package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js.map +1 -0
  1074. package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts +7 -0
  1075. package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts.map +1 -0
  1076. package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js +47 -0
  1077. package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js.map +1 -0
  1078. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts +306 -0
  1079. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts.map +1 -0
  1080. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js +1237 -0
  1081. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js.map +1 -0
  1082. package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts +8 -0
  1083. package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts.map +1 -0
  1084. package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js +32 -0
  1085. package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js.map +1 -0
  1086. package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts +2 -0
  1087. package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts.map +1 -0
  1088. package/node_modules/@fps-games/plugin-hierarchy/dist/version.js +2 -0
  1089. package/node_modules/@fps-games/plugin-hierarchy/dist/version.js.map +1 -0
  1090. package/node_modules/@fps-games/plugin-hierarchy/package.json +57 -0
  1091. package/node_modules/@fps-games/plugin-host/package.json +2 -2
  1092. package/node_modules/@fps-games/plugin-markers/dist/version.d.ts +1 -1
  1093. package/node_modules/@fps-games/plugin-markers/dist/version.js +1 -1
  1094. package/node_modules/@fps-games/plugin-markers/dist/version.js.map +1 -1
  1095. package/node_modules/@fps-games/plugin-markers/package.json +5 -5
  1096. package/node_modules/@fps-games/plugin-materials/dist/version.d.ts +1 -1
  1097. package/node_modules/@fps-games/plugin-materials/dist/version.js +1 -1
  1098. package/node_modules/@fps-games/plugin-materials/dist/version.js.map +1 -1
  1099. package/node_modules/@fps-games/plugin-materials/package.json +5 -5
  1100. package/node_modules/@fps-games/plugin-rendering/dist/version.d.ts +1 -1
  1101. package/node_modules/@fps-games/plugin-rendering/dist/version.js +1 -1
  1102. package/node_modules/@fps-games/plugin-rendering/dist/version.js.map +1 -1
  1103. package/node_modules/@fps-games/plugin-rendering/package.json +5 -5
  1104. package/node_modules/@fps-games/plugin-scene/dist/version.d.ts +1 -1
  1105. package/node_modules/@fps-games/plugin-scene/dist/version.js +1 -1
  1106. package/node_modules/@fps-games/plugin-scene/dist/version.js.map +1 -1
  1107. package/node_modules/@fps-games/plugin-scene/package.json +5 -5
  1108. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts +8 -0
  1109. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts.map +1 -0
  1110. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js +35 -0
  1111. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js.map +1 -0
  1112. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts +11 -0
  1113. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts.map +1 -0
  1114. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js +14 -0
  1115. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js.map +1 -0
  1116. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts +2 -0
  1117. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts.map +1 -0
  1118. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js +2 -0
  1119. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js.map +1 -0
  1120. package/node_modules/@fps-games/plugin-shadow-map-experiment/package.json +53 -0
  1121. package/node_modules/@fps-games/plugin-shadows/dist/version.d.ts +1 -1
  1122. package/node_modules/@fps-games/plugin-shadows/dist/version.js +1 -1
  1123. package/node_modules/@fps-games/plugin-shadows/dist/version.js.map +1 -1
  1124. package/node_modules/@fps-games/plugin-shadows/package.json +7 -7
  1125. package/node_modules/@playcanvas/observer/LICENSE +19 -0
  1126. package/node_modules/@playcanvas/observer/README.md +72 -0
  1127. package/node_modules/@playcanvas/observer/dist/index.cjs +2033 -0
  1128. package/node_modules/@playcanvas/observer/dist/index.js +2039 -0
  1129. package/node_modules/@playcanvas/observer/dist/index.mjs +2026 -0
  1130. package/node_modules/@playcanvas/observer/package.json +78 -0
  1131. package/node_modules/@playcanvas/observer/types/event-handle.d.ts +41 -0
  1132. package/node_modules/@playcanvas/observer/types/events.d.ts +162 -0
  1133. package/node_modules/@playcanvas/observer/types/history.d.ts +123 -0
  1134. package/node_modules/@playcanvas/observer/types/index.d.ts +15 -0
  1135. package/node_modules/@playcanvas/observer/types/observer-history.d.ts +32 -0
  1136. package/node_modules/@playcanvas/observer/types/observer-list.d.ts +39 -0
  1137. package/node_modules/@playcanvas/observer/types/observer.d.ts +157 -0
  1138. package/node_modules/@playcanvas/observer/types/utils.d.ts +33 -0
  1139. package/node_modules/@playcanvas/pcui/LICENSE +19 -0
  1140. package/node_modules/@playcanvas/pcui/README.md +164 -0
  1141. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
  1142. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
  1143. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
  1144. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
  1145. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
  1146. package/node_modules/@playcanvas/pcui/dist/module/src/Math/color-value.mjs +77 -0
  1147. package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingBase/index.mjs +215 -0
  1148. package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
  1149. package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
  1150. package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
  1151. package/node_modules/@playcanvas/pcui/dist/module/src/class.mjs +19 -0
  1152. package/node_modules/@playcanvas/pcui/dist/module/src/components/ArrayInput/index.mjs +498 -0
  1153. package/node_modules/@playcanvas/pcui/dist/module/src/components/BooleanInput/index.mjs +122 -0
  1154. package/node_modules/@playcanvas/pcui/dist/module/src/components/Button/index.mjs +119 -0
  1155. package/node_modules/@playcanvas/pcui/dist/module/src/components/Canvas/index.mjs +104 -0
  1156. package/node_modules/@playcanvas/pcui/dist/module/src/components/Code/index.mjs +43 -0
  1157. package/node_modules/@playcanvas/pcui/dist/module/src/components/ColorPicker/index.mjs +619 -0
  1158. package/node_modules/@playcanvas/pcui/dist/module/src/components/Container/index.mjs +642 -0
  1159. package/node_modules/@playcanvas/pcui/dist/module/src/components/Divider/index.mjs +20 -0
  1160. package/node_modules/@playcanvas/pcui/dist/module/src/components/Element/index.mjs +829 -0
  1161. package/node_modules/@playcanvas/pcui/dist/module/src/components/GradientPicker/index.mjs +1136 -0
  1162. package/node_modules/@playcanvas/pcui/dist/module/src/components/GridView/index.mjs +448 -0
  1163. package/node_modules/@playcanvas/pcui/dist/module/src/components/GridViewItem/index.mjs +152 -0
  1164. package/node_modules/@playcanvas/pcui/dist/module/src/components/InfoBox/index.mjs +90 -0
  1165. package/node_modules/@playcanvas/pcui/dist/module/src/components/InputElement/index.mjs +186 -0
  1166. package/node_modules/@playcanvas/pcui/dist/module/src/components/Label/index.mjs +124 -0
  1167. package/node_modules/@playcanvas/pcui/dist/module/src/components/LabelGroup/index.mjs +74 -0
  1168. package/node_modules/@playcanvas/pcui/dist/module/src/components/Menu/index.mjs +174 -0
  1169. package/node_modules/@playcanvas/pcui/dist/module/src/components/MenuItem/index.mjs +223 -0
  1170. package/node_modules/@playcanvas/pcui/dist/module/src/components/NumericInput/index.mjs +400 -0
  1171. package/node_modules/@playcanvas/pcui/dist/module/src/components/Overlay/index.mjs +108 -0
  1172. package/node_modules/@playcanvas/pcui/dist/module/src/components/Panel/index.mjs +400 -0
  1173. package/node_modules/@playcanvas/pcui/dist/module/src/components/Progress/index.mjs +45 -0
  1174. package/node_modules/@playcanvas/pcui/dist/module/src/components/RadioButton/index.mjs +113 -0
  1175. package/node_modules/@playcanvas/pcui/dist/module/src/components/SelectInput/index.mjs +1085 -0
  1176. package/node_modules/@playcanvas/pcui/dist/module/src/components/SliderInput/index.mjs +333 -0
  1177. package/node_modules/@playcanvas/pcui/dist/module/src/components/Spinner/index.mjs +34 -0
  1178. package/node_modules/@playcanvas/pcui/dist/module/src/components/TextAreaInput/index.mjs +50 -0
  1179. package/node_modules/@playcanvas/pcui/dist/module/src/components/TextInput/index.mjs +98 -0
  1180. package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeView/index.mjs +1131 -0
  1181. package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeViewItem/index.mjs +500 -0
  1182. package/node_modules/@playcanvas/pcui/dist/module/src/components/VectorInput/index.mjs +366 -0
  1183. package/node_modules/@playcanvas/pcui/dist/module/src/helpers/search.mjs +194 -0
  1184. package/node_modules/@playcanvas/pcui/dist/module/src/helpers/utils.mjs +43 -0
  1185. package/node_modules/@playcanvas/pcui/dist/module/src/index.mjs +56 -0
  1186. package/node_modules/@playcanvas/pcui/dist/pcui-theme-green.scss +2798 -0
  1187. package/node_modules/@playcanvas/pcui/dist/pcui-theme-grey.scss +2798 -0
  1188. package/node_modules/@playcanvas/pcui/package.json +150 -0
  1189. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
  1190. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
  1191. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
  1192. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
  1193. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
  1194. package/node_modules/@playcanvas/pcui/react/dist/module/src/Math/color-value.mjs +77 -0
  1195. package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingBase/index.mjs +215 -0
  1196. package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
  1197. package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
  1198. package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
  1199. package/node_modules/@playcanvas/pcui/react/dist/module/src/class.mjs +19 -0
  1200. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/component.mjs +11 -0
  1201. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/index.mjs +498 -0
  1202. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/component.mjs +11 -0
  1203. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/index.mjs +122 -0
  1204. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/component.mjs +16 -0
  1205. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/index.mjs +119 -0
  1206. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/component.mjs +16 -0
  1207. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/index.mjs +104 -0
  1208. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/component.mjs +11 -0
  1209. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/index.mjs +43 -0
  1210. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/component.mjs +16 -0
  1211. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/index.mjs +619 -0
  1212. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/component.mjs +36 -0
  1213. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/index.mjs +642 -0
  1214. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/component.mjs +11 -0
  1215. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/index.mjs +20 -0
  1216. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/component.mjs +107 -0
  1217. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/index.mjs +829 -0
  1218. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/component.mjs +16 -0
  1219. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/index.mjs +1136 -0
  1220. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/component.mjs +38 -0
  1221. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/index.mjs +448 -0
  1222. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/component.mjs +11 -0
  1223. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/index.mjs +152 -0
  1224. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/component.mjs +16 -0
  1225. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/index.mjs +90 -0
  1226. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InputElement/index.mjs +186 -0
  1227. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/component.mjs +16 -0
  1228. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/index.mjs +124 -0
  1229. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/component.mjs +42 -0
  1230. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/index.mjs +74 -0
  1231. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/component.mjs +23 -0
  1232. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/index.mjs +174 -0
  1233. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/MenuItem/index.mjs +223 -0
  1234. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/component.mjs +11 -0
  1235. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/index.mjs +400 -0
  1236. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/component.mjs +11 -0
  1237. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/index.mjs +108 -0
  1238. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/component.mjs +32 -0
  1239. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/index.mjs +400 -0
  1240. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/component.mjs +11 -0
  1241. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/index.mjs +45 -0
  1242. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/component.mjs +11 -0
  1243. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/index.mjs +113 -0
  1244. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/component.mjs +21 -0
  1245. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/index.mjs +1085 -0
  1246. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/component.mjs +12 -0
  1247. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/index.mjs +333 -0
  1248. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/component.mjs +16 -0
  1249. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/index.mjs +34 -0
  1250. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/component.mjs +11 -0
  1251. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/index.mjs +50 -0
  1252. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/component.mjs +23 -0
  1253. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/index.mjs +98 -0
  1254. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/component.mjs +52 -0
  1255. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/index.mjs +1131 -0
  1256. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/component.mjs +33 -0
  1257. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/index.mjs +500 -0
  1258. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/component.mjs +11 -0
  1259. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/index.mjs +366 -0
  1260. package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/search.mjs +194 -0
  1261. package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/utils.mjs +43 -0
  1262. package/node_modules/@playcanvas/pcui/react/dist/module/src/index.mjs +39 -0
  1263. package/node_modules/@playcanvas/pcui/react/package.json +18 -0
  1264. package/node_modules/@playcanvas/pcui/react/types/Math/color-value.d.ts +3 -0
  1265. package/node_modules/@playcanvas/pcui/react/types/binding/BindingBase/index.d.ts +178 -0
  1266. package/node_modules/@playcanvas/pcui/react/types/binding/BindingElementToObservers/index.d.ts +24 -0
  1267. package/node_modules/@playcanvas/pcui/react/types/binding/BindingObserversToElement/index.d.ts +40 -0
  1268. package/node_modules/@playcanvas/pcui/react/types/binding/BindingTwoWay/index.d.ts +54 -0
  1269. package/node_modules/@playcanvas/pcui/react/types/binding/index.d.ts +5 -0
  1270. package/node_modules/@playcanvas/pcui/react/types/class.d.ts +17 -0
  1271. package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/component.d.ts +9 -0
  1272. package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/index.d.ts +140 -0
  1273. package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/component.d.ts +9 -0
  1274. package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/index.d.ts +41 -0
  1275. package/node_modules/@playcanvas/pcui/react/types/components/Button/component.d.ts +11 -0
  1276. package/node_modules/@playcanvas/pcui/react/types/components/Button/index.d.ts +75 -0
  1277. package/node_modules/@playcanvas/pcui/react/types/components/Canvas/component.d.ts +11 -0
  1278. package/node_modules/@playcanvas/pcui/react/types/components/Canvas/index.d.ts +61 -0
  1279. package/node_modules/@playcanvas/pcui/react/types/components/Code/component.d.ts +9 -0
  1280. package/node_modules/@playcanvas/pcui/react/types/components/Code/index.d.ts +33 -0
  1281. package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/component.d.ts +11 -0
  1282. package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/index.d.ts +99 -0
  1283. package/node_modules/@playcanvas/pcui/react/types/components/Container/component.d.ts +15 -0
  1284. package/node_modules/@playcanvas/pcui/react/types/components/Container/index.d.ts +292 -0
  1285. package/node_modules/@playcanvas/pcui/react/types/components/Divider/component.d.ts +10 -0
  1286. package/node_modules/@playcanvas/pcui/react/types/components/Divider/index.d.ts +13 -0
  1287. package/node_modules/@playcanvas/pcui/react/types/components/Element/component.d.ts +23 -0
  1288. package/node_modules/@playcanvas/pcui/react/types/components/Element/index.d.ts +671 -0
  1289. package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/component.d.ts +11 -0
  1290. package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/index.d.ts +152 -0
  1291. package/node_modules/@playcanvas/pcui/react/types/components/GridView/component.d.ts +14 -0
  1292. package/node_modules/@playcanvas/pcui/react/types/components/GridView/index.d.ts +103 -0
  1293. package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/component.d.ts +9 -0
  1294. package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/index.d.ts +82 -0
  1295. package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/component.d.ts +11 -0
  1296. package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/index.d.ts +71 -0
  1297. package/node_modules/@playcanvas/pcui/react/types/components/InputElement/index.d.ts +84 -0
  1298. package/node_modules/@playcanvas/pcui/react/types/components/Label/component.d.ts +11 -0
  1299. package/node_modules/@playcanvas/pcui/react/types/components/Label/index.d.ts +85 -0
  1300. package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/component.d.ts +10 -0
  1301. package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/index.d.ts +62 -0
  1302. package/node_modules/@playcanvas/pcui/react/types/components/Menu/component.d.ts +14 -0
  1303. package/node_modules/@playcanvas/pcui/react/types/components/Menu/index.d.ts +70 -0
  1304. package/node_modules/@playcanvas/pcui/react/types/components/MenuItem/index.d.ts +139 -0
  1305. package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/component.d.ts +9 -0
  1306. package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/index.d.ts +173 -0
  1307. package/node_modules/@playcanvas/pcui/react/types/components/Overlay/component.d.ts +9 -0
  1308. package/node_modules/@playcanvas/pcui/react/types/components/Overlay/index.d.ts +53 -0
  1309. package/node_modules/@playcanvas/pcui/react/types/components/Panel/component.d.ts +16 -0
  1310. package/node_modules/@playcanvas/pcui/react/types/components/Panel/index.d.ts +178 -0
  1311. package/node_modules/@playcanvas/pcui/react/types/components/Progress/component.d.ts +9 -0
  1312. package/node_modules/@playcanvas/pcui/react/types/components/Progress/index.d.ts +33 -0
  1313. package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/component.d.ts +9 -0
  1314. package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/index.d.ts +33 -0
  1315. package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/component.d.ts +12 -0
  1316. package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/index.d.ts +278 -0
  1317. package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/component.d.ts +10 -0
  1318. package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/index.d.ts +133 -0
  1319. package/node_modules/@playcanvas/pcui/react/types/components/Spinner/component.d.ts +11 -0
  1320. package/node_modules/@playcanvas/pcui/react/types/components/Spinner/index.d.ts +27 -0
  1321. package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/component.d.ts +9 -0
  1322. package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/index.d.ts +24 -0
  1323. package/node_modules/@playcanvas/pcui/react/types/components/TextInput/component.d.ts +12 -0
  1324. package/node_modules/@playcanvas/pcui/react/types/components/TextInput/index.d.ts +40 -0
  1325. package/node_modules/@playcanvas/pcui/react/types/components/TreeView/component.d.ts +17 -0
  1326. package/node_modules/@playcanvas/pcui/react/types/components/TreeView/index.d.ts +359 -0
  1327. package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/component.d.ts +13 -0
  1328. package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/index.d.ts +224 -0
  1329. package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/component.d.ts +9 -0
  1330. package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/index.d.ts +176 -0
  1331. package/node_modules/@playcanvas/pcui/react/types/components/components.d.ts +30 -0
  1332. package/node_modules/@playcanvas/pcui/react/types/components/index.d.ts +32 -0
  1333. package/node_modules/@playcanvas/pcui/react/types/helpers/search.d.ts +31 -0
  1334. package/node_modules/@playcanvas/pcui/react/types/helpers/utils.d.ts +2 -0
  1335. package/node_modules/@playcanvas/pcui/react/types/index.d.ts +4 -0
  1336. package/node_modules/@playcanvas/pcui/styles/dist/index.mjs +11 -0
  1337. package/node_modules/@playcanvas/pcui/styles/package.json +17 -0
  1338. package/node_modules/@playcanvas/pcui/types/Math/color-value.d.ts +3 -0
  1339. package/node_modules/@playcanvas/pcui/types/binding/BindingBase/index.d.ts +178 -0
  1340. package/node_modules/@playcanvas/pcui/types/binding/BindingElementToObservers/index.d.ts +24 -0
  1341. package/node_modules/@playcanvas/pcui/types/binding/BindingObserversToElement/index.d.ts +40 -0
  1342. package/node_modules/@playcanvas/pcui/types/binding/BindingTwoWay/index.d.ts +54 -0
  1343. package/node_modules/@playcanvas/pcui/types/binding/index.d.ts +5 -0
  1344. package/node_modules/@playcanvas/pcui/types/class.d.ts +17 -0
  1345. package/node_modules/@playcanvas/pcui/types/components/ArrayInput/index.d.ts +140 -0
  1346. package/node_modules/@playcanvas/pcui/types/components/BooleanInput/index.d.ts +41 -0
  1347. package/node_modules/@playcanvas/pcui/types/components/Button/index.d.ts +75 -0
  1348. package/node_modules/@playcanvas/pcui/types/components/Canvas/index.d.ts +61 -0
  1349. package/node_modules/@playcanvas/pcui/types/components/Code/index.d.ts +33 -0
  1350. package/node_modules/@playcanvas/pcui/types/components/ColorPicker/index.d.ts +99 -0
  1351. package/node_modules/@playcanvas/pcui/types/components/Container/index.d.ts +292 -0
  1352. package/node_modules/@playcanvas/pcui/types/components/Divider/index.d.ts +13 -0
  1353. package/node_modules/@playcanvas/pcui/types/components/Element/index.d.ts +671 -0
  1354. package/node_modules/@playcanvas/pcui/types/components/GradientPicker/index.d.ts +152 -0
  1355. package/node_modules/@playcanvas/pcui/types/components/GridView/index.d.ts +103 -0
  1356. package/node_modules/@playcanvas/pcui/types/components/GridViewItem/index.d.ts +82 -0
  1357. package/node_modules/@playcanvas/pcui/types/components/InfoBox/index.d.ts +71 -0
  1358. package/node_modules/@playcanvas/pcui/types/components/InputElement/index.d.ts +84 -0
  1359. package/node_modules/@playcanvas/pcui/types/components/Label/index.d.ts +85 -0
  1360. package/node_modules/@playcanvas/pcui/types/components/LabelGroup/index.d.ts +62 -0
  1361. package/node_modules/@playcanvas/pcui/types/components/Menu/index.d.ts +70 -0
  1362. package/node_modules/@playcanvas/pcui/types/components/MenuItem/index.d.ts +139 -0
  1363. package/node_modules/@playcanvas/pcui/types/components/NumericInput/index.d.ts +173 -0
  1364. package/node_modules/@playcanvas/pcui/types/components/Overlay/index.d.ts +53 -0
  1365. package/node_modules/@playcanvas/pcui/types/components/Panel/index.d.ts +178 -0
  1366. package/node_modules/@playcanvas/pcui/types/components/Progress/index.d.ts +33 -0
  1367. package/node_modules/@playcanvas/pcui/types/components/RadioButton/index.d.ts +33 -0
  1368. package/node_modules/@playcanvas/pcui/types/components/SelectInput/index.d.ts +278 -0
  1369. package/node_modules/@playcanvas/pcui/types/components/SliderInput/index.d.ts +133 -0
  1370. package/node_modules/@playcanvas/pcui/types/components/Spinner/index.d.ts +27 -0
  1371. package/node_modules/@playcanvas/pcui/types/components/TextAreaInput/index.d.ts +24 -0
  1372. package/node_modules/@playcanvas/pcui/types/components/TextInput/index.d.ts +40 -0
  1373. package/node_modules/@playcanvas/pcui/types/components/TreeView/index.d.ts +359 -0
  1374. package/node_modules/@playcanvas/pcui/types/components/TreeViewItem/index.d.ts +224 -0
  1375. package/node_modules/@playcanvas/pcui/types/components/VectorInput/index.d.ts +176 -0
  1376. package/node_modules/@playcanvas/pcui/types/components/index.d.ts +32 -0
  1377. package/node_modules/@playcanvas/pcui/types/helpers/search.d.ts +31 -0
  1378. package/node_modules/@playcanvas/pcui/types/helpers/utils.d.ts +2 -0
  1379. package/node_modules/@playcanvas/pcui/types/index.d.ts +20 -0
  1380. package/node_modules/babylonjs-gltf2interface/babylon.glTF2Interface.d.ts +1655 -0
  1381. package/node_modules/babylonjs-gltf2interface/license.md +71 -0
  1382. package/node_modules/babylonjs-gltf2interface/package.json +26 -0
  1383. package/package.json +31 -19
  1384. package/dist/editor-plugin-hierarchy-command.d.ts +0 -19
  1385. package/dist/editor-plugin-hierarchy-command.d.ts.map +0 -1
  1386. package/dist/editor-plugin-hierarchy-command.js +0 -119
  1387. package/dist/editor-plugin-hierarchy-command.js.map +0 -1
  1388. package/node_modules/@babel/helper-string-parser/lib/index.js.map +0 -1
  1389. package/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
  1390. package/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
  1391. package/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
  1392. package/node_modules/@babel/parser/lib/index.js.map +0 -1
  1393. package/node_modules/@babel/types/lib/asserts/assertNode.js.map +0 -1
  1394. package/node_modules/@babel/types/lib/asserts/generated/index.js.map +0 -1
  1395. package/node_modules/@babel/types/lib/ast-types/generated/index.js.map +0 -1
  1396. package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +0 -1
  1397. package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +0 -1
  1398. package/node_modules/@babel/types/lib/builders/generated/index.js.map +0 -1
  1399. package/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +0 -1
  1400. package/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +0 -1
  1401. package/node_modules/@babel/types/lib/builders/productions.js.map +0 -1
  1402. package/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +0 -1
  1403. package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +0 -1
  1404. package/node_modules/@babel/types/lib/builders/validateNode.js.map +0 -1
  1405. package/node_modules/@babel/types/lib/clone/clone.js.map +0 -1
  1406. package/node_modules/@babel/types/lib/clone/cloneDeep.js.map +0 -1
  1407. package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +0 -1
  1408. package/node_modules/@babel/types/lib/clone/cloneNode.js.map +0 -1
  1409. package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +0 -1
  1410. package/node_modules/@babel/types/lib/comments/addComment.js.map +0 -1
  1411. package/node_modules/@babel/types/lib/comments/addComments.js.map +0 -1
  1412. package/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +0 -1
  1413. package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +0 -1
  1414. package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +0 -1
  1415. package/node_modules/@babel/types/lib/comments/inheritsComments.js.map +0 -1
  1416. package/node_modules/@babel/types/lib/comments/removeComments.js.map +0 -1
  1417. package/node_modules/@babel/types/lib/constants/generated/index.js.map +0 -1
  1418. package/node_modules/@babel/types/lib/constants/index.js.map +0 -1
  1419. package/node_modules/@babel/types/lib/converters/ensureBlock.js.map +0 -1
  1420. package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +0 -1
  1421. package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +0 -1
  1422. package/node_modules/@babel/types/lib/converters/toBlock.js.map +0 -1
  1423. package/node_modules/@babel/types/lib/converters/toComputedKey.js.map +0 -1
  1424. package/node_modules/@babel/types/lib/converters/toExpression.js.map +0 -1
  1425. package/node_modules/@babel/types/lib/converters/toIdentifier.js.map +0 -1
  1426. package/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +0 -1
  1427. package/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +0 -1
  1428. package/node_modules/@babel/types/lib/converters/toStatement.js.map +0 -1
  1429. package/node_modules/@babel/types/lib/converters/valueToNode.js.map +0 -1
  1430. package/node_modules/@babel/types/lib/definitions/core.js.map +0 -1
  1431. package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +0 -1
  1432. package/node_modules/@babel/types/lib/definitions/experimental.js.map +0 -1
  1433. package/node_modules/@babel/types/lib/definitions/flow.js.map +0 -1
  1434. package/node_modules/@babel/types/lib/definitions/index.js.map +0 -1
  1435. package/node_modules/@babel/types/lib/definitions/jsx.js.map +0 -1
  1436. package/node_modules/@babel/types/lib/definitions/misc.js.map +0 -1
  1437. package/node_modules/@babel/types/lib/definitions/placeholders.js.map +0 -1
  1438. package/node_modules/@babel/types/lib/definitions/typescript.js.map +0 -1
  1439. package/node_modules/@babel/types/lib/definitions/utils.js.map +0 -1
  1440. package/node_modules/@babel/types/lib/index.js.map +0 -1
  1441. package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +0 -1
  1442. package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +0 -1
  1443. package/node_modules/@babel/types/lib/modifications/inherits.js.map +0 -1
  1444. package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +0 -1
  1445. package/node_modules/@babel/types/lib/modifications/removeProperties.js.map +0 -1
  1446. package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +0 -1
  1447. package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +0 -1
  1448. package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map +0 -1
  1449. package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +0 -1
  1450. package/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map +0 -1
  1451. package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +0 -1
  1452. package/node_modules/@babel/types/lib/traverse/traverse.js.map +0 -1
  1453. package/node_modules/@babel/types/lib/traverse/traverseFast.js.map +0 -1
  1454. package/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +0 -1
  1455. package/node_modules/@babel/types/lib/utils/inherit.js.map +0 -1
  1456. package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +0 -1
  1457. package/node_modules/@babel/types/lib/utils/shallowEqual.js.map +0 -1
  1458. package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +0 -1
  1459. package/node_modules/@babel/types/lib/validators/generated/index.js.map +0 -1
  1460. package/node_modules/@babel/types/lib/validators/is.js.map +0 -1
  1461. package/node_modules/@babel/types/lib/validators/isBinding.js.map +0 -1
  1462. package/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +0 -1
  1463. package/node_modules/@babel/types/lib/validators/isImmutable.js.map +0 -1
  1464. package/node_modules/@babel/types/lib/validators/isLet.js.map +0 -1
  1465. package/node_modules/@babel/types/lib/validators/isNode.js.map +0 -1
  1466. package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +0 -1
  1467. package/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +0 -1
  1468. package/node_modules/@babel/types/lib/validators/isReferenced.js.map +0 -1
  1469. package/node_modules/@babel/types/lib/validators/isScope.js.map +0 -1
  1470. package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +0 -1
  1471. package/node_modules/@babel/types/lib/validators/isType.js.map +0 -1
  1472. package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +0 -1
  1473. package/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +0 -1
  1474. package/node_modules/@babel/types/lib/validators/isVar.js.map +0 -1
  1475. package/node_modules/@babel/types/lib/validators/matchesPattern.js.map +0 -1
  1476. package/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +0 -1
  1477. package/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +0 -1
  1478. package/node_modules/@babel/types/lib/validators/validate.js.map +0 -1
  1479. package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts +0 -37
  1480. package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts.map +0 -1
  1481. package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js +0 -451
  1482. package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js.map +0 -1
  1483. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts +0 -49
  1484. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +0 -1
  1485. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +0 -627
  1486. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +0 -1
  1487. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts +0 -52
  1488. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts.map +0 -1
  1489. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js +0 -450
  1490. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js.map +0 -1
  1491. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts +0 -21
  1492. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts.map +0 -1
  1493. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js +0 -75
  1494. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js.map +0 -1
  1495. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.d.ts +0 -7
  1496. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.d.ts.map +0 -1
  1497. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.js +0 -186
  1498. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-projection.js.map +0 -1
  1499. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts +0 -5
  1500. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts.map +0 -1
  1501. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js +0 -98
  1502. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js.map +0 -1
  1503. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts +0 -63
  1504. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +0 -1
  1505. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js +0 -301
  1506. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"playable-local-editor-host.js","sourceRoot":"","sources":["../src/playable-local-editor-host.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sCAAsC,EACtC,0BAA0B,GAM3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,oCAAoC,EACpC,qCAAqC,GAEtC,MAAM,oCAAoC,CAAC;AAI5C,OAAO,EACL,6BAA6B,GAC9B,MAAM,8BAA8B,CAAC;AAUtC,OAAO,EACL,uCAAuC,EACvC,gCAAgC,EAChC,4CAA4C,GAY7C,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,uCAAuC,EACvC,0CAA0C,GAE3C,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,wBAAwB,GAezB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,wCAAwC,GAEzC,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,6CAA6C,EAAE,MAAM,iCAAiC,CAAC;AAEhG,MAAM,C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,CAAC,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,UAAU,EAAE,CAAC,CAAC;KACvE,CAAC;AACJ,CAAC;AAED,SAAS,QAAQ,CAAC,KAAc;IAC9B,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,CAAC;AACrD,CAAC;AAED,SAAS,kBAAkB,CAAC,KAAc;IACxC,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AACvD,CAAC","sourcesContent":["import {\n createEditorAgentInteractionController,\n createProjectAuthoringHost,\n type AuthoringSourceDriver,\n type EditorProjectionImpact,\n type EditorTransformDocumentCapabilities,\n type EditorTransformSnapshot,\n type ProjectAuthoringHost,\n} from '@fps-games/editor-core';\nimport {\n getFpsEditorPluginLifecycleScopeHost,\n resolveFpsEditorLifecycleParticipants,\n type FpsEditorPluginHost,\n} from '@fps-games/editor-core/plugin-host';\nimport type {\n FpsEditorLifecycleService,\n} from '@fps-games/editor-core/lifecycle';\nimport {\n createForgePlayAgentTransport,\n} from '@fps-games/editor-forge-play';\nimport type { BabylonEditorProjectionSelectionEdgesPrewarm } from '@fps-games/editor-babylon';\nimport type { LocalEditorBrowserUiHierarchyItem } from '@fps-games/editor-browser';\nimport type {\n ArtistMaterialTextureRef,\n EditorAgentContextSemantics,\n SpatialMarkerGraph,\n SpatialMarkerTypeDefinition,\n SpatialRelationTypeDefinition,\n} from '@fps-games/editor-protocol';\nimport {\n createPlayableLocalEditorLoadingOverlay,\n formatPlayableEditorDoctorReport,\n inspectPlayableEditorHostCompatibilityReport,\n type FpsGameEditorProjectDefinition,\n type PlayableForgePlayModeBridge,\n type PlayableForgePlaySaveState,\n type PlayableForgePlayWindowLike,\n type PlayableLocalEditorDiscardConfirmationInput,\n type PlayableLocalEditorHostBridgeContext,\n type PlayableLocalEditorHostLoadingContent,\n type PlayableLocalEditorInteractionPolicy,\n type PlayableLocalEditorSaveFailureInput,\n type PlayableLocalEditorSaveFailureState,\n type PlayableLocalEditorUnsavedChangesState,\n} from '@fps-games/editor-playable-sdk';\nimport {\n createPlayableLocalEditorHostController,\n PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID,\n type PlayableLocalEditorLifecycleController,\n} from '@fps-games/editor-playable-sdk/internal/local-harness';\nimport {\n createLocalEditorHarness,\n type LocalEditorHarness,\n type LocalEditorHarnessDocumentAdapter,\n type LocalEditorHarnessHistoryOperation,\n type LocalEditorHarnessHistoryOperationOptions,\n type LocalEditorHarnessHistoryOperationResult,\n type LocalEditorHarnessHistoryProjectionResult,\n type LocalEditorHarnessHistoryStateResult,\n type LocalEditorHarnessHierarchyContextActionRegistration,\n type LocalEditorMarkerGraphCommand,\n type LocalEditorHarnessOptions,\n type LocalEditorHarnessOperationOrigin,\n type LocalEditorHarnessPersistenceAdapter,\n type LocalEditorHarnessProjectionWaitPolicy,\n type LocalEditorHarnessWorldAdapter,\n} from './local-editor-harness.js';\nimport {\n getLocalEditorHarnessLifecycleOperations,\n type LocalEditorHarnessLifecycleOperations,\n} from './internal/local-editor-lifecycle-operations.js';\nimport { createLocalEditorAgentHierarchyContextActions } from './local-editor-agent-actions.js';\n\nexport const PLAYABLE_LOCAL_EDITOR_HOST_MANIFEST_VERSION = 2 as const;\n\n/**\n * Frozen required contract for playable local editor host manifests.\n * \n * This contract defines the minimum set of methods that a host manifest must provide.\n * The contract is deeply frozen to prevent accidental modifications that would break\n * backward compatibility.\n * \n * IMPORTANT: Adding new required methods is a BREAKING CHANGE and requires:\n * - Incrementing PLAYABLE_LOCAL_EDITOR_HOST_MANIFEST_VERSION\n * - Providing migration documentation\n * - Updating all reference consumers\n */\nexport const PLAYABLE_LOCAL_EDITOR_HOST_REQUIRED_CONTRACT = Object.freeze({\n document: Object.freeze([\n 'reduceDocument',\n 'getHierarchyItems',\n 'getProjectionNodes',\n 'getProjectionNode',\n 'createPatchFromAsset',\n 'createSerializedPropertyPatch',\n ] as const),\n persistence: Object.freeze([\n 'loadAssets',\n 'runGame',\n ] as const),\n world: Object.freeze({\n direct: Object.freeze([\n 'getCanvas',\n 'disposeWorld',\n 'loadPreviewEngine',\n 'createPreviewEngine',\n 'importPreviewAsset',\n ] as const),\n }),\n});\n\ntype PlayableLocalEditorMaybePromise<T> = T | Promise<T>;\n\nexport type PlayableLocalEditorHostCompatibilitySeverity = 'error' | 'warning' | 'info';\n\nexport interface PlayableLocalEditorHostManifestMetadata {\n manifestVersion: typeof PLAYABLE_LOCAL_EDITOR_HOST_MANIFEST_VERSION;\n projectId?: string;\n projectName?: string;\n compatibilityTag?: string;\n}\n\nexport interface PlayableLocalEditorHostCompatibilityDiagnostic {\n severity: PlayableLocalEditorHostCompatibilitySeverity;\n code: string;\n message: string;\n path?: string;\n}\n\nexport interface PlayableLocalEditorHostCompatibilityReport {\n supportedManifestVersion: typeof PLAYABLE_LOCAL_EDITOR_HOST_MANIFEST_VERSION;\n manifestVersion?: unknown;\n projectId?: string;\n projectName?: string;\n compatibilityTag?: string;\n ok: boolean;\n diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[];\n}\n\nexport interface PlayableLocalEditorAuthoringSourceDriverLike<TDocument = unknown, TPayload = unknown> {\n sourceType: string;\n load(input: unknown): PlayableLocalEditorMaybePromise<unknown>;\n reduce?(input: {\n source: unknown;\n document: TDocument;\n command?: unknown;\n intent?: unknown;\n }): PlayableLocalEditorMaybePromise<TDocument>;\n validate?(input: unknown): PlayableLocalEditorMaybePromise<unknown>;\n save(input: {\n source: unknown;\n document: TDocument;\n command?: unknown;\n intent?: unknown;\n }): PlayableLocalEditorMaybePromise<unknown>;\n compile?(input: unknown): PlayableLocalEditorMaybePromise<unknown>;\n compileRuntimePatch?(input: unknown): PlayableLocalEditorMaybePromise<unknown>;\n}\n\nexport interface PlayableLocalEditorAuthoringHostLike {\n getSourceRegistry(): unknown;\n registerSource(source: unknown): void;\n registerSourceDriver(driver: PlayableLocalEditorAuthoringSourceDriverLike): void;\n loadSource<TDocument = unknown>(ref: unknown): Promise<unknown>;\n commitSource<TDocument = unknown>(input: {\n source: unknown;\n document: TDocument;\n beforeDocument?: TDocument;\n expectedRevision?: number;\n command?: unknown;\n }): Promise<unknown>;\n dispatch<TDocument = unknown, TPayload = unknown>(command: unknown): Promise<unknown>;\n attachRuntimeAdapter?(adapter: unknown): void;\n detachRuntimeAdapter?(): void;\n}\n\nexport interface PlayableLocalEditorPatchResult<TPatch> {\n patch: TPatch;\n label?: string;\n changedId?: string;\n createdId?: string | null;\n changedIds?: string[];\n reprojectIds?: string[];\n projectionImpact?: PlayableLocalEditorProjectionImpact;\n selectId?: string | null;\n}\n\nexport type PlayableLocalEditorProjectionImpact = EditorProjectionImpact;\n\nexport interface PlayableLocalEditorPropertyPatchInput<TDocument = unknown> {\n document: TDocument;\n targetId: string;\n targetIds?: string[];\n path: string;\n value: unknown;\n control?: string;\n valueType?: string;\n commitMode?: string;\n persistence?: string;\n source?: unknown;\n}\n\nexport interface PlayableLocalEditorMultiPropertyPatchInput<TDocument = unknown>\n extends Omit<PlayableLocalEditorPropertyPatchInput<TDocument>, 'targetId'> {\n targetIds: string[];\n activeId: string | null;\n}\n\nexport interface PlayableLocalEditorMultiPropertyCapabilityInput<TDocument = unknown> {\n document: TDocument;\n targetIds: string[];\n activeId: string | null;\n path: string;\n control?: string;\n valueType?: string;\n commitMode?: string;\n persistence?: string;\n}\n\nexport interface PlayableLocalEditorTransformPatchInput<TDocument = unknown> {\n document: TDocument;\n targetId: string;\n targetIds?: string[];\n transform?: unknown;\n worldTransform?: unknown;\n operation?: string;\n duplicate?: boolean;\n [key: string]: unknown;\n}\n\nexport interface PlayableLocalEditorTransformInspectorPreviewInput<TDocument = unknown> {\n document: TDocument;\n targetId: string;\n targetIds: string[];\n activeId: string | null;\n transform: EditorTransformSnapshot;\n}\n\nexport interface PlayableLocalEditorTransformBatchPatchInput<TDocument = unknown> {\n document: TDocument;\n targetIds: string[];\n activeId?: string | null;\n operation?: string;\n [key: string]: unknown;\n}\n\nexport interface PlayableLocalEditorRenderingPropertyChangeResult<TPatch = unknown> {\n changed?: boolean;\n dirty?: boolean;\n status?: string;\n statusTone?: string;\n statusDetails?: string;\n details?: Record<string, unknown>;\n refreshWorldRendering?: boolean;\n documentPatch?: PlayableLocalEditorPatchResult<TPatch> | null;\n}\n\nexport interface PlayableLocalEditorRuntimeInspectorContext<TDocument = unknown> {\n document: TDocument;\n targetIds: string[];\n activeId: string | null;\n inspectorObject: unknown;\n projectionNode?: unknown | null;\n projectedRoot?: unknown;\n}\n\nexport interface PlayableLocalEditorPrefabStageInput<TAsset = unknown> {\n assetId: string;\n browserAssetId?: string;\n asset?: TAsset | null;\n}\n\nexport interface PlayableLocalEditorPrefabStageDescriptor<TDocument = unknown> {\n assetId: string;\n browserAssetId?: string;\n label: string;\n sourceAssetId?: string;\n sourceAssetGuid?: string;\n readonly?: boolean;\n previewNodeId?: string;\n document?: TDocument;\n data?: unknown;\n}\n\nexport interface PlayableLocalEditorPrefabStageContext {\n previewNodeId?: string;\n importStructureReady: boolean;\n importStructure: unknown | null;\n}\n\nexport type PlayableLocalEditorHierarchyContextActionPlacement =\n | 'top'\n | 'after-primary'\n | 'after-create'\n | 'after-edit'\n | 'after-clipboard'\n | 'bottom';\n\nexport interface PlayableLocalEditorHierarchyContextActionContext<TDocument = unknown> {\n document: TDocument;\n contextNodeId: string | null;\n targetIds: string[];\n activeId: string | null;\n hierarchyItem: unknown | null;\n projectionNode: unknown | null;\n hostServices: unknown | null;\n payload?: Record<string, unknown>;\n browserContext: unknown;\n}\n\nexport interface PlayableLocalEditorHierarchyContextActionRegistration<TDocument = unknown, TPatch = unknown> {\n id: string;\n label: string;\n shortcut?: string;\n danger?: boolean;\n placement?: PlayableLocalEditorHierarchyContextActionPlacement;\n separatorBefore?: boolean;\n visible?(context: PlayableLocalEditorHierarchyContextActionContext<TDocument>): boolean;\n disabled?(context: PlayableLocalEditorHierarchyContextActionContext<TDocument>): boolean | string;\n run(context: PlayableLocalEditorHierarchyContextActionContext<TDocument>): boolean | void | PlayableLocalEditorPatchResult<TPatch>;\n}\n\nexport interface PlayableLocalEditorHierarchyActionsCapability<TDocument, TPatch = unknown> {\n contextActions?: readonly PlayableLocalEditorHierarchyContextActionRegistration<TDocument, TPatch>[];\n}\n\nexport interface PlayableLocalEditorAgentContextObjectInput<TDocument = unknown> {\n document: TDocument;\n objectId: string;\n targetIds: string[];\n activeId: string | null;\n contextNodeId: string | null;\n hierarchyItem: unknown | null;\n hierarchyItems: readonly unknown[];\n projectionNode: unknown | null | undefined;\n}\n\nexport interface PlayableLocalEditorAgentContextObjectSetInput<TDocument = unknown> {\n document: TDocument;\n objectIds: string[];\n activeId: string | null;\n hierarchyItems: readonly unknown[];\n projectionNodes: Record<string, unknown | null | undefined>;\n}\n\nexport interface PlayableLocalEditorAgentContextRegionBindingInput<TDocument = unknown>\n extends PlayableLocalEditorAgentContextObjectSetInput<TDocument> {\n relationshipType: 'selection-region';\n}\n\nexport interface PlayableLocalEditorAgentContextCapability<TDocument> {\n describeSceneObject?(input: PlayableLocalEditorAgentContextObjectInput<TDocument>): EditorAgentContextSemantics | null | undefined;\n describeSceneObjectSet?(input: PlayableLocalEditorAgentContextObjectSetInput<TDocument>): EditorAgentContextSemantics | null | undefined;\n describeRegionBinding?(input: PlayableLocalEditorAgentContextRegionBindingInput<TDocument>): EditorAgentContextSemantics | null | undefined;\n}\n\nexport interface PlayableLocalEditorDocumentLifecycleCapability<TDocument, TAsset = unknown> {\n cloneDocument?(document: TDocument): TDocument;\n compareDocuments?(left: TDocument, right: TDocument): boolean;\n prepareDocument?(document: TDocument, assets: TAsset[]): TDocument;\n hydrateDocumentAssets?(document: TDocument, assets: TAsset[]): TDocument;\n resolveUpdatedAssetSnapshot?(\n assets: TAsset[],\n input: { assetId: string },\n ): { assetId: string; contentHash?: string } | null;\n reconcileUpdatedAsset?(\n document: TDocument,\n input: { assetId: string },\n ): {\n document: TDocument;\n reconciledBindingCount?: number;\n warnings?: Array<{\n code: string;\n gameObjectId?: string;\n slotId?: string;\n materialAssetId?: string;\n candidateSlotIds?: string[];\n }>;\n };\n summarize?(document: TDocument): string;\n}\n\nexport interface PlayableLocalEditorSelectionCapability<TDocument> {\n isSelectable?(document: TDocument, id: string): boolean;\n isLocked?(document: TDocument, id: string): boolean;\n}\n\nexport interface PlayableLocalEditorInspectorCapability<TDocument> {\n getInspectorObject?(document: TDocument, activeId: string): unknown | null;\n getInspectorMultiObject?(document: TDocument, selectedIds: string[], activeId: string | null): unknown | null;\n getRuntimeInspectorSections?(context: PlayableLocalEditorRuntimeInspectorContext<TDocument>): unknown[];\n}\n\nexport interface PlayableLocalEditorAssetBrowserCapability<TDocument> {\n getBrowserAssetItems?(document: TDocument): unknown[];\n}\n\nexport interface PlayableLocalEditorAssetActionsCapability<TDocument, TPatch, TAsset = unknown> {\n createPatchFromAsset?(asset: TAsset, input?: Record<string, unknown> & { document?: TDocument; placement?: unknown }): {\n patch: TPatch;\n label?: string;\n };\n createAssetActionPatch?(input: Record<string, unknown> & { document: TDocument; asset?: TAsset }): PlayableLocalEditorPatchResult<TPatch> | null;\n createPlacedAssetPatch?(input: Record<string, unknown> & { document: TDocument; asset?: TAsset }): PlayableLocalEditorPatchResult<TPatch> | null;\n findCreatedId?(beforeDocument: TDocument, afterDocument: TDocument): string | null;\n}\n\nexport interface PlayableLocalEditorTransformCommandsCapability<TDocument, TPatch> {\n documentCapabilities?: Partial<EditorTransformDocumentCapabilities>;\n canCreateSerializedMultiPropertyPatch?(input: PlayableLocalEditorMultiPropertyCapabilityInput<TDocument>): boolean;\n createSerializedMultiPropertyPatch?(input: PlayableLocalEditorMultiPropertyPatchInput<TDocument>): PlayableLocalEditorPatchResult<TPatch> | null;\n createTransformInspectorPreview?(input: PlayableLocalEditorTransformInspectorPreviewInput<TDocument>): EditorTransformSnapshot | null;\n createTransformPatch?(input: PlayableLocalEditorTransformPatchInput<TDocument>): PlayableLocalEditorPatchResult<TPatch> | null;\n createTransformBatchPatch?(input: PlayableLocalEditorTransformBatchPatchInput<TDocument>): PlayableLocalEditorPatchResult<TPatch> | null;\n createDuplicateSelectionPatch?(input: Record<string, unknown> & { document: TDocument; targetIds: string[] }): PlayableLocalEditorPatchResult<TPatch> | null;\n}\n\nexport interface PlayableLocalEditorSceneGraphCapability<TDocument, TPatch> {\n validateSceneGraphDrop?(document: TDocument, intent: unknown): unknown;\n createSceneGraphRenamePatch?(document: TDocument, intent: unknown): PlayableLocalEditorPatchResult<TPatch> | null;\n createSceneGraphCreateGroupPatch?(document: TDocument, intent: unknown): PlayableLocalEditorPatchResult<TPatch> | null;\n createSceneGraphCreatePrimitivePatch?(document: TDocument, intent: unknown): PlayableLocalEditorPatchResult<TPatch> | null;\n createSceneGraphDeletePatch?(document: TDocument, intent: unknown): PlayableLocalEditorPatchResult<TPatch> | null;\n createSceneGraphDropPatch?(document: TDocument, intent: unknown): PlayableLocalEditorPatchResult<TPatch> | null;\n validateSceneGraphMove?(document: TDocument, intent: unknown): unknown;\n createSceneGraphMovePatch?(document: TDocument, intent: unknown): PlayableLocalEditorPatchResult<TPatch> | null;\n validateSceneGraphGroupSelection?(document: TDocument, intent: unknown): unknown;\n createSceneGraphGroupSelectionPatch?(document: TDocument, intent: unknown): PlayableLocalEditorPatchResult<TPatch> | null;\n}\n\nexport type PlayableLocalEditorMarkerGraphCommand = LocalEditorMarkerGraphCommand;\n\nexport interface PlayableLocalEditorMarkerGraphCapability<TDocument, TPatch> {\n getMarkerGraph?(document: TDocument): SpatialMarkerGraph | null;\n getMarkerTypeCatalog?(document: TDocument): SpatialMarkerTypeDefinition[];\n getRelationTypeCatalog?(document: TDocument): SpatialRelationTypeDefinition[];\n createMarkerGraphPatch?(document: TDocument, command: PlayableLocalEditorMarkerGraphCommand): PlayableLocalEditorPatchResult<TPatch> | null;\n}\n\nexport interface PlayableLocalEditorWorldPreviewCapability<TDocument> {\n getSceneCameraPreviewRig?(document: TDocument): unknown | null;\n getWorldAppearance?(document: TDocument): unknown | null;\n}\n\nexport interface PlayableLocalEditorRenderingCapability<TDocument, TPatch = unknown> {\n getWorldRendering?(document: TDocument): unknown | null;\n getRenderingPanelState?(document: TDocument, context?: Record<string, unknown>): unknown | null;\n onRenderingAction?(input: Record<string, unknown> & { document: TDocument }): PlayableLocalEditorMaybePromise<\n boolean | void | PlayableLocalEditorRenderingPropertyChangeResult<TPatch>\n >;\n onRenderingPropertyChange?(input: Record<string, unknown> & { document: TDocument }): PlayableLocalEditorMaybePromise<\n boolean | void | PlayableLocalEditorRenderingPropertyChangeResult<TPatch>\n >;\n}\n\nexport interface PlayableLocalEditorPrefabStageCapability<TDocument, TAsset = unknown> {\n getPrefabStageDescriptor?(\n document: TDocument,\n input: PlayableLocalEditorPrefabStageInput<TAsset>,\n ): PlayableLocalEditorPrefabStageDescriptor<TDocument> | null;\n getPrefabStageProjectionNodes?(\n document: TDocument,\n descriptor: PlayableLocalEditorPrefabStageDescriptor<TDocument>,\n ): unknown[];\n getPrefabStageStructure?(\n document: TDocument,\n descriptor: PlayableLocalEditorPrefabStageDescriptor<TDocument>,\n context: PlayableLocalEditorPrefabStageContext,\n ): unknown[];\n getPrefabStageInspectorObject?(\n document: TDocument,\n descriptor: PlayableLocalEditorPrefabStageDescriptor<TDocument>,\n selectedItemId: string | null,\n context: PlayableLocalEditorPrefabStageContext,\n ): unknown | null;\n resolvePrefabStagePreviewTarget?(\n document: TDocument,\n descriptor: PlayableLocalEditorPrefabStageDescriptor<TDocument>,\n projectionNodeId: string,\n context: PlayableLocalEditorPrefabStageContext,\n ): unknown | null;\n getPrefabStageProjectionNodeId?(\n document: TDocument,\n descriptor: PlayableLocalEditorPrefabStageDescriptor<TDocument>,\n nodeId: string,\n context: PlayableLocalEditorPrefabStageContext,\n ): string | null;\n}\n\nexport interface PlayableLocalEditorHostCapabilities<TDocument, TPatch, TAsset = unknown> {\n documentLifecycle?: PlayableLocalEditorDocumentLifecycleCapability<TDocument, TAsset>;\n selection?: PlayableLocalEditorSelectionCapability<TDocument>;\n inspector?: PlayableLocalEditorInspectorCapability<TDocument>;\n assetBrowser?: PlayableLocalEditorAssetBrowserCapability<TDocument>;\n assetActions?: PlayableLocalEditorAssetActionsCapability<TDocument, TPatch, TAsset>;\n transformCommands?: PlayableLocalEditorTransformCommandsCapability<TDocument, TPatch>;\n sceneGraph?: PlayableLocalEditorSceneGraphCapability<TDocument, TPatch>;\n markerGraph?: PlayableLocalEditorMarkerGraphCapability<TDocument, TPatch>;\n worldPreview?: PlayableLocalEditorWorldPreviewCapability<TDocument>;\n rendering?: PlayableLocalEditorRenderingCapability<TDocument, TPatch>;\n prefabStage?: PlayableLocalEditorPrefabStageCapability<TDocument, TAsset>;\n hierarchyActions?: PlayableLocalEditorHierarchyActionsCapability<TDocument, TPatch>;\n agentContext?: PlayableLocalEditorAgentContextCapability<TDocument>;\n}\n\nexport interface PlayableLocalEditorDocumentCapability<TDocument, TPatch, TAsset = unknown> {\n reduceDocument(document: TDocument, command: any): TDocument;\n getHierarchyItems(document: TDocument): unknown[];\n getProjectionNodes(document: TDocument): unknown[];\n getProjectionNode(document: TDocument, id: string): unknown | null;\n createPatchFromAsset(asset: TAsset, input?: Record<string, unknown> & { document?: TDocument; placement?: unknown }): {\n patch: TPatch;\n label?: string;\n };\n createSerializedPropertyPatch(input: PlayableLocalEditorPropertyPatchInput<TDocument>): PlayableLocalEditorPatchResult<TPatch> | null;\n}\n\nexport interface PlayableLocalEditorPersistenceCapability<TDocument, TAsset = unknown> {\n loadAuthoringSource?(): PlayableLocalEditorMaybePromise<{\n source: unknown;\n document: TDocument;\n assets?: TAsset[];\n summary?: string;\n }>;\n loadDocument?(): PlayableLocalEditorMaybePromise<TDocument>;\n loadAssets(): PlayableLocalEditorMaybePromise<TAsset[]>;\n saveAuthoringSource?(input: {\n source: unknown;\n document: TDocument;\n }): PlayableLocalEditorMaybePromise<{\n source: unknown;\n document: TDocument;\n summary?: string;\n }>;\n saveDocument?(document: TDocument): PlayableLocalEditorMaybePromise<{ document: TDocument; summary?: string }>;\n runGame(context?: { reason: 'save' | 'discard' }): PlayableLocalEditorMaybePromise<void>;\n}\n\nexport interface PlayableLocalEditorWorldCapability<TAsset = unknown> {\n disposeWorld(): PlayableLocalEditorMaybePromise<void>;\n getCanvas(): HTMLCanvasElement | null;\n loadPreviewEngine(): PlayableLocalEditorMaybePromise<Record<string, any>>;\n createPreviewEngine(engineModule: Record<string, any>, canvas: HTMLCanvasElement): any;\n importPreviewAsset(context: any): Promise<unknown | null>;\n resolveMaterialTextureUrl?(texture: ArtistMaterialTextureRef): string | null | undefined;\n toBrowserAssetItem?(asset: TAsset): unknown;\n resolveAssetId?(asset: TAsset): string;\n}\n\nexport interface PlayableLocalEditorWorldOptions {\n cameraTarget?: { x: number; y: number; z: number };\n cameraRadius?: number;\n clearColor?: { r: number; g: number; b: number; a: number };\n sky?: Record<string, unknown> | false;\n grid?: Record<string, unknown>;\n useRightHandedSystem?: boolean;\n coordinateAxes?: boolean;\n selectionEdgesPrewarm?: BabylonEditorProjectionSelectionEdgesPrewarm;\n}\n\nexport interface PlayableLocalEditorGridContext {\n getCamera(): unknown | null;\n getEditorCamera(): unknown | null;\n}\n\nexport type PlayableLocalEditorGridFactory = (\n babylon: Record<string, any>,\n scene: unknown,\n camera?: unknown,\n context?: PlayableLocalEditorGridContext,\n) => unknown | void;\n\nexport interface PlayableLocalEditorAssetReloadResult {\n ok: boolean;\n assetCount: number;\n status: string;\n}\n\nexport interface PlayableLocalEditorUpdatedAssetRefreshResult extends PlayableLocalEditorAssetReloadResult {\n assetId: string;\n reconciledBindingCount: number;\n warnings: Array<{\n code: string;\n gameObjectId?: string;\n slotId?: string;\n materialAssetId?: string;\n candidateSlotIds?: string[];\n }>;\n error?: string;\n}\n\nexport interface PlayableLocalEditorAssetCreationOptions {\n placement?: unknown;\n}\n\nexport interface PlayableLocalEditorAssetCreationResult {\n ok: boolean;\n assetId: string;\n changed?: boolean;\n createdId?: string | null;\n status: string;\n error?: string;\n}\n\nexport type PlayableLocalEditorOperationOrigin = LocalEditorHarnessOperationOrigin;\nexport type PlayableLocalEditorProjectionWaitPolicy = LocalEditorHarnessProjectionWaitPolicy;\nexport type PlayableLocalEditorHistoryOperation = LocalEditorHarnessHistoryOperation;\nexport type PlayableLocalEditorHistoryOperationOptions = LocalEditorHarnessHistoryOperationOptions;\nexport type PlayableLocalEditorHistoryProjectionResult = LocalEditorHarnessHistoryProjectionResult;\nexport type PlayableLocalEditorHistoryStateResult = LocalEditorHarnessHistoryStateResult;\nexport type PlayableLocalEditorHistoryOperationResult<TDocument = unknown> =\n LocalEditorHarnessHistoryOperationResult<TDocument>;\n\nexport interface PlayableLocalEditorHarnessApi<TDocument = unknown> {\n render(): void;\n notifyViewportRevealed(reason?: string): void;\n getWorkingDocument(): TDocument | null;\n getUnsavedChangesState(): PlayableLocalEditorUnsavedChangesState;\n getSaveFailureState(): PlayableLocalEditorSaveFailureState | null;\n getLifecycleService(): FpsEditorLifecycleService | null;\n reloadAssets(): Promise<PlayableLocalEditorAssetReloadResult>;\n refreshUpdatedAsset(input: {\n assetId: string;\n expectedContentHash: string;\n }): Promise<PlayableLocalEditorUpdatedAssetRefreshResult>;\n createAssetFromAssetId(assetId: string, options?: PlayableLocalEditorAssetCreationOptions): PlayableLocalEditorAssetCreationResult;\n undo(options?: PlayableLocalEditorHistoryOperationOptions): Promise<PlayableLocalEditorHistoryOperationResult<TDocument>>;\n redo(options?: PlayableLocalEditorHistoryOperationOptions): Promise<PlayableLocalEditorHistoryOperationResult<TDocument>>;\n enterEditor(): Promise<void>;\n saveScene(): Promise<boolean>;\n saveAndRunGame(): Promise<boolean>;\n discardAndRunGame(): Promise<void>;\n}\n\nexport interface PlayableLocalEditorHostManifest<TDocument, TPatch, TAsset = unknown> {\n metadata: PlayableLocalEditorHostManifestMetadata;\n root?: HTMLElement;\n localTestActions?: boolean;\n pluginHost?: FpsEditorPluginHost;\n authoring?: {\n host?: PlayableLocalEditorAuthoringHostLike;\n drivers?: readonly PlayableLocalEditorAuthoringSourceDriverLike[];\n };\n documentAdapter: PlayableLocalEditorDocumentCapability<TDocument, TPatch, TAsset>;\n capabilities?: PlayableLocalEditorHostCapabilities<TDocument, TPatch, TAsset>;\n persistenceAdapter: PlayableLocalEditorPersistenceCapability<TDocument, TAsset>;\n worldAdapter: PlayableLocalEditorWorldCapability<TAsset>;\n agentBridge?: LocalEditorHarnessOptions<TDocument, TPatch, TAsset>['agentBridge'];\n world?: PlayableLocalEditorWorldOptions;\n createGrid?: PlayableLocalEditorGridFactory;\n lifecycle: {\n loadingContent: PlayableLocalEditorHostLoadingContent;\n interactions?: PlayableLocalEditorInteractionPolicy;\n beforeDiscardAndRunGame?: () => void | Promise<void>;\n minAssetLoadingOverlayMs?: number;\n };\n forgePlay?: {\n enabled?: boolean;\n window?: PlayableForgePlayWindowLike;\n handleProjectAssetCommand?: (\n context: PlayableLocalEditorHostBridgeContext<PlayableLocalEditorHarnessApi<TDocument>>,\n ) => Promise<void> | void;\n handleAssetDrop?: (\n payload: Record<string, unknown>,\n context: Omit<PlayableLocalEditorHostBridgeContext<PlayableLocalEditorHarnessApi<TDocument>>, 'name'>,\n ) => void;\n hasUnsavedPlatformChanges?: () => boolean;\n exportDocument?: (input: {\n payload: Record<string, unknown>;\n saveState: PlayableForgePlaySaveState;\n postEvent: (name: string, payload?: Record<string, unknown>) => void;\n context: Omit<PlayableLocalEditorHostBridgeContext<PlayableLocalEditorHarnessApi<TDocument>>, 'name' | 'payload'>;\n }) => Promise<void> | void;\n reportError?: (error: unknown) => void;\n };\n}\n\nexport interface PlayableLocalEditorHost<TDocument = unknown> {\n harness: PlayableLocalEditorHarnessApi<TDocument>;\n lifecycle: FpsEditorLifecycleService;\n enterEditor(): Promise<void>;\n saveScene(): Promise<boolean>;\n saveAndRunGame(): Promise<boolean>;\n discardAndRunGame(): Promise<void>;\n runWithAssetLoadingOverlay<T>(operation: () => Promise<T>): Promise<T>;\n getBridge(): PlayableForgePlayModeBridge | null;\n getCompatibilityReport(): PlayableLocalEditorHostCompatibilityReport;\n dispose(): Promise<void>;\n}\n\nexport interface FpsGameEditorLocalEditorHostOptions<TDocument, TPatch, TAsset = unknown>\n extends Omit<PlayableLocalEditorHostManifest<TDocument, TPatch, TAsset>, 'metadata' | 'agentBridge'> {\n project: Pick<FpsGameEditorProjectDefinition, 'projectId' | 'projectName'>;\n compatibilityTag?: string;\n agentBridgeSessionMetadata?: Record<string, unknown>;\n agentBridge?: PlayableLocalEditorHostManifest<TDocument, TPatch, TAsset>['agentBridge'];\n logCompatibilityReport?: boolean;\n logger?: Pick<Console, 'warn' | 'error'>;\n}\n\nexport interface FpsGameEditorLocalEditorHostResult<TDocument, TPatch, TAsset = unknown> {\n host: PlayableLocalEditorHost<TDocument>;\n manifest: PlayableLocalEditorHostManifest<TDocument, TPatch, TAsset>;\n compatibilityReport: PlayableLocalEditorHostCompatibilityReport;\n}\n\nexport function createFpsGameEditorLocalEditorHost<TDocument, TPatch, TAsset = unknown>(\n options: FpsGameEditorLocalEditorHostOptions<TDocument, TPatch, TAsset>,\n): FpsGameEditorLocalEditorHostResult<TDocument, TPatch, TAsset> {\n const manifest = createFpsGameEditorLocalEditorHostManifest(options);\n const host = createPlayableLocalEditorHost<TDocument, TPatch, TAsset>(manifest);\n const compatibilityReport = host.getCompatibilityReport();\n if (options.logCompatibilityReport !== false) {\n logPlayableLocalEditorHostCompatibilityReport(compatibilityReport, options.logger);\n }\n return {\n host,\n manifest,\n compatibilityReport,\n };\n}\n\nexport function createFpsGameEditorLocalEditorHostManifest<TDocument, TPatch, TAsset = unknown>(\n options: FpsGameEditorLocalEditorHostOptions<TDocument, TPatch, TAsset>,\n): PlayableLocalEditorHostManifest<TDocument, TPatch, TAsset> {\n const {\n project,\n compatibilityTag,\n agentBridgeSessionMetadata,\n agentBridge: configuredAgentBridge,\n logCompatibilityReport: _logCompatibilityReport,\n logger: _logger,\n ...manifestOptions\n } = options;\n const agentBridge = agentBridgeSessionMetadata\n ? {\n ...(configuredAgentBridge ?? {}),\n sessionMetadata: {\n ...(configuredAgentBridge?.sessionMetadata as Record<string, unknown> | undefined),\n ...agentBridgeSessionMetadata,\n },\n }\n : configuredAgentBridge;\n\n return {\n ...manifestOptions,\n metadata: {\n manifestVersion: PLAYABLE_LOCAL_EDITOR_HOST_MANIFEST_VERSION,\n projectId: project.projectId,\n projectName: project.projectName,\n ...(compatibilityTag ? { compatibilityTag } : {}),\n },\n ...(agentBridge ? { agentBridge } : {}),\n };\n}\n\nfunction logPlayableLocalEditorHostCompatibilityReport(\n report: PlayableLocalEditorHostCompatibilityReport,\n logger: Pick<Console, 'warn' | 'error'> = console,\n): void {\n const visibleDiagnostics = report.diagnostics.filter(\n diagnostic => diagnostic.severity === 'warning' || diagnostic.severity === 'error',\n );\n if (visibleDiagnostics.length === 0) return;\n const doctorReport = inspectPlayableEditorHostCompatibilityReport({\n diagnostics: visibleDiagnostics,\n });\n const formatted = formatPlayableEditorDoctorReport(doctorReport);\n if (doctorReport.ok) logger.warn(formatted);\n else logger.error(formatted);\n}\n\nexport function inspectPlayableLocalEditorHostManifest(\n manifest: unknown,\n): PlayableLocalEditorHostCompatibilityReport {\n const diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[] = [];\n const report: PlayableLocalEditorHostCompatibilityReport = {\n supportedManifestVersion: PLAYABLE_LOCAL_EDITOR_HOST_MANIFEST_VERSION,\n ok: true,\n diagnostics,\n };\n\n if (!isRecord(manifest)) {\n diagnostics.push(createDiagnostic(\n 'error',\n 'manifest.invalid',\n 'Playable local editor host manifest must be an object.',\n 'manifest',\n ));\n report.ok = false;\n return report;\n }\n\n inspectMetadata(manifest.metadata, report, diagnostics);\n inspectRequiredCapability(\n manifest,\n diagnostics,\n 'documentAdapter',\n 'documentCapability',\n PLAYABLE_LOCAL_EDITOR_HOST_REQUIRED_CONTRACT.document,\n );\n inspectRequiredCapability(\n manifest,\n diagnostics,\n 'persistenceAdapter',\n 'persistenceCapability',\n PLAYABLE_LOCAL_EDITOR_HOST_REQUIRED_CONTRACT.persistence,\n );\n inspectWorldCapability(manifest.worldAdapter, diagnostics);\n inspectLifecycle(manifest.lifecycle, diagnostics);\n inspectForgePlay(manifest.forgePlay, diagnostics);\n inspectAuthoring(manifest.authoring, diagnostics);\n inspectCapabilities(manifest.capabilities, diagnostics);\n\n report.ok = !diagnostics.some(diagnostic => diagnostic.severity === 'error');\n return report;\n}\n\nexport function formatPlayableLocalEditorHostCompatibilityReport(\n report: PlayableLocalEditorHostCompatibilityReport,\n): string {\n const project = report.projectName ?? report.projectId ?? 'unknown project';\n const header = report.ok\n ? `Playable local editor host compatibility: PASS (${project})`\n : `Playable local editor host compatibility: BLOCKED (${project})`;\n if (report.diagnostics.length === 0) return header;\n const lines = report.diagnostics.map((diagnostic) => {\n const path = diagnostic.path ? ` ${diagnostic.path}` : '';\n return `[${diagnostic.severity.toUpperCase()}] ${diagnostic.code}${path}: ${diagnostic.message}`;\n });\n return [header, ...lines].join('\\n');\n}\n\nfunction createHarnessDocumentAdapter<TDocument, TPatch, TAsset>(\n documentCapability: PlayableLocalEditorDocumentCapability<TDocument, TPatch, TAsset>,\n capabilities: PlayableLocalEditorHostCapabilities<TDocument, TPatch, TAsset> | undefined,\n): LocalEditorHarnessDocumentAdapter<TDocument, TPatch, TAsset> {\n return {\n ...documentCapability,\n ...capabilities?.documentLifecycle,\n ...capabilities?.selection,\n ...capabilities?.inspector,\n ...capabilities?.markerGraph,\n ...capabilities?.assetBrowser,\n ...capabilities?.assetActions,\n ...capabilities?.transformCommands,\n ...capabilities?.sceneGraph,\n ...capabilities?.worldPreview,\n ...capabilities?.rendering,\n ...capabilities?.prefabStage,\n } as unknown as LocalEditorHarnessDocumentAdapter<TDocument, TPatch, TAsset>;\n}\n\nfunction createHarnessHierarchyOptions<TDocument, TPatch, TAsset>(\n manifest: PlayableLocalEditorHostManifest<TDocument, TPatch, TAsset>,\n): LocalEditorHarnessOptions<TDocument, TPatch, TAsset>['hierarchy'] | undefined {\n const capabilities = manifest.capabilities;\n const agentController = createEditorAgentInteractionController({\n transport: createForgePlayAgentTransport({\n window: manifest.forgePlay?.window,\n }),\n });\n const agentActions = createLocalEditorAgentHierarchyContextActions<TDocument>({\n sendContext: context => agentController.sendContext(context),\n getHierarchyItems: document => manifest.documentAdapter.getHierarchyItems(document) as LocalEditorBrowserUiHierarchyItem[],\n getProjectionNode: (document, id) => manifest.documentAdapter.getProjectionNode(document, id),\n getMarkerGraph: document => capabilities?.markerGraph?.getMarkerGraph?.(document) ?? null,\n getMarkerTypeCatalog: document => capabilities?.markerGraph?.getMarkerTypeCatalog?.(document) ?? [],\n getRelationTypeCatalog: document => capabilities?.markerGraph?.getRelationTypeCatalog?.(document) ?? [],\n describeSceneObject: manifest.capabilities?.agentContext?.describeSceneObject,\n describeSceneObjectSet: manifest.capabilities?.agentContext?.describeSceneObjectSet,\n describeRegionBinding: manifest.capabilities?.agentContext?.describeRegionBinding,\n source: {\n projectId: manifest.metadata?.projectId,\n projectName: manifest.metadata?.projectName,\n },\n reportError: manifest.forgePlay?.reportError,\n });\n const contextActions = capabilities?.hierarchyActions?.contextActions;\n return {\n contextActions: [\n ...(agentActions as readonly LocalEditorHarnessHierarchyContextActionRegistration<TDocument, TPatch>[]),\n ...((contextActions ?? []) as readonly LocalEditorHarnessHierarchyContextActionRegistration<TDocument, TPatch>[]),\n ],\n };\n}\n\nexport function createPlayableLocalEditorHost<TDocument, TPatch, TAsset = unknown>(\n manifest: PlayableLocalEditorHostManifest<TDocument, TPatch, TAsset>,\n): PlayableLocalEditorHost<TDocument> {\n const compatibilityReport = inspectPlayableLocalEditorHostManifest(manifest);\n if (!compatibilityReport.ok) {\n throw new Error(formatPlayableLocalEditorHostCompatibilityReport(compatibilityReport));\n }\n\n const authoringHost = manifest.authoring\n ? (manifest.authoring.host as ProjectAuthoringHost | undefined)\n ?? createProjectAuthoringHost({ drivers: [...(manifest.authoring.drivers ?? [])] as AuthoringSourceDriver[] })\n : undefined;\n const harnessOptions = {\n root: manifest.root,\n localTestActions: manifest.localTestActions,\n pluginHost: manifest.pluginHost,\n authoringHost,\n documentAdapter: createHarnessDocumentAdapter(manifest.documentAdapter, manifest.capabilities),\n persistenceAdapter: manifest.persistenceAdapter as unknown as LocalEditorHarnessPersistenceAdapter<TDocument, TAsset>,\n worldAdapter: createHarnessWorldAdapter(manifest.worldAdapter),\n agentBridge: manifest.agentBridge,\n transformDocumentCapabilities: manifest.capabilities?.transformCommands?.documentCapabilities,\n world: manifest.world as LocalEditorHarnessOptions<TDocument, TPatch, TAsset>['world'],\n createGrid: manifest.createGrid as LocalEditorHarnessOptions<TDocument, TPatch, TAsset>['createGrid'],\n hierarchy: createHarnessHierarchyOptions(manifest),\n } satisfies LocalEditorHarnessOptions<TDocument, TPatch, TAsset>;\n const harness = createLocalEditorHarness<TDocument, TPatch, TAsset>(harnessOptions);\n const lifecycleOperations = getLocalEditorHarnessLifecycleOperations(harness);\n const root = manifest.root ?? document.body;\n const loadingOverlay = createPlayableLocalEditorLoadingOverlay(root);\n const interactions = composePlayableLocalEditorInteractionPolicy(\n manifest.lifecycle.interactions,\n harness.getDefaultInteractionPolicy?.(),\n createNativePlayableLocalEditorInteractionPolicy(root),\n );\n const uninstallBeforeUnloadGuard = installPlayableLocalEditorBeforeUnloadGuard(root, harness);\n const controller = createPlayableLocalEditorHostController({\n harness,\n lifecycleOperations,\n lifecycleScopeHost: manifest.pluginHost\n ? getFpsEditorPluginLifecycleScopeHost(manifest.pluginHost)\n : undefined,\n eventPublisher: manifest.pluginHost?.eventPublisher,\n reportDiagnostic: manifest.pluginHost\n ? diagnostic => manifest.pluginHost?.reportDiagnostic(diagnostic)\n : undefined,\n loadingOverlay,\n loadingContent: manifest.lifecycle.loadingContent,\n interactions,\n beforeDiscardAndRunGame: manifest.lifecycle.beforeDiscardAndRunGame,\n minAssetLoadingOverlayMs: manifest.lifecycle.minAssetLoadingOverlayMs,\n renderAfterEnter: false,\n forgePlay: manifest.forgePlay\n ? {\n enabled: manifest.forgePlay.enabled,\n window: manifest.forgePlay.window,\n hasUnsavedPlatformChanges: manifest.forgePlay.hasUnsavedPlatformChanges,\n handleProjectAssetCommand: manifest.forgePlay.handleProjectAssetCommand,\n handleAssetDrop: manifest.forgePlay.handleAssetDrop,\n exportDocument: manifest.forgePlay.exportDocument,\n reportError: manifest.forgePlay.reportError,\n }\n : undefined,\n });\n const hostHarness = controller.harness as PlayableLocalEditorHarnessApi<TDocument>;\n bindHarnessLifecycle(lifecycleOperations, controller);\n const lifecycleParticipantDisposers = manifest.pluginHost\n ? resolveFpsEditorLifecycleParticipants(manifest.pluginHost.contributions)\n .map(participant => controller.lifecycle.registerParticipant(participant))\n : [];\n if (lifecycleParticipantDisposers.length > 0) {\n controller.lifecycle.addScopeResource(\n PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID,\n () => {\n for (const dispose of [...lifecycleParticipantDisposers].reverse()) dispose();\n },\n );\n }\n\n let disposal: Promise<void> | null = null;\n let harnessDisposed = false;\n return {\n harness: hostHarness,\n lifecycle: controller.lifecycle.lifecycle,\n enterEditor: controller.enterEditor,\n saveScene: controller.saveScene,\n saveAndRunGame: controller.saveAndRunGame,\n discardAndRunGame: async () => {\n await controller.discardAndRunGame();\n },\n runWithAssetLoadingOverlay: controller.runWithAssetLoadingOverlay,\n getBridge: controller.getBridge,\n getCompatibilityReport() {\n return cloneCompatibilityReport(compatibilityReport);\n },\n async dispose() {\n if (disposal) return disposal;\n const pending = (async () => {\n await controller.dispose();\n uninstallBeforeUnloadGuard();\n if (!harnessDisposed) {\n await harness.dispose();\n harnessDisposed = true;\n }\n })();\n disposal = pending;\n void pending.catch(() => {\n if (disposal === pending) disposal = null;\n });\n return pending;\n },\n };\n}\n\nfunction bindHarnessLifecycle<TDocument>(\n lifecycleOperations: LocalEditorHarnessLifecycleOperations,\n controller: Pick<\n PlayableLocalEditorHost<TDocument>,\n 'enterEditor' | 'saveScene' | 'saveAndRunGame'\n > & { discardAndRunGame(): Promise<boolean> } & Pick<\n PlayableLocalEditorLifecycleController,\n 'prepareSaveAndRunGame' | 'prepareDiscardAndRunGame'\n > & { lifecycle: PlayableLocalEditorLifecycleController },\n): void {\n lifecycleOperations.setLifecycleController({\n enterEditor: controller.enterEditor,\n saveScene: controller.saveScene,\n saveAndRunGame: controller.saveAndRunGame,\n discardAndRunGame: controller.discardAndRunGame,\n prepareSaveAndRunGame: controller.prepareSaveAndRunGame,\n prepareDiscardAndRunGame: controller.prepareDiscardAndRunGame,\n lifecycle: controller.lifecycle.lifecycle,\n synchronizeDocumentState: controller.lifecycle.synchronizeDocumentState,\n registerParticipant: controller.lifecycle.registerParticipant,\n openScope: controller.lifecycle.openScope,\n addScopeResource: controller.lifecycle.addScopeResource,\n closeScope: controller.lifecycle.closeScope,\n });\n}\n\nfunction createNativePlayableLocalEditorInteractionPolicy(\n root: HTMLElement,\n): PlayableLocalEditorInteractionPolicy {\n const browserWindow = resolvePlayableLocalEditorWindow(root);\n return {\n confirmDiscardUnsavedChanges(input: PlayableLocalEditorDiscardConfirmationInput) {\n return browserWindow?.confirm?.(formatNativeDiscardConfirmationMessage(input)) ?? true;\n },\n notifySaveFailed(input: PlayableLocalEditorSaveFailureInput) {\n browserWindow?.alert?.(formatNativeSaveFailureMessage(input));\n },\n };\n}\n\nfunction composePlayableLocalEditorInteractionPolicy(\n override: PlayableLocalEditorInteractionPolicy | undefined,\n fallback: PlayableLocalEditorInteractionPolicy | undefined,\n nativeFallback: PlayableLocalEditorInteractionPolicy,\n): PlayableLocalEditorInteractionPolicy {\n return {\n confirmDiscardUnsavedChanges: override?.confirmDiscardUnsavedChanges\n ?? fallback?.confirmDiscardUnsavedChanges\n ?? nativeFallback.confirmDiscardUnsavedChanges,\n notifySaveFailed: override?.notifySaveFailed\n ?? fallback?.notifySaveFailed\n ?? nativeFallback.notifySaveFailed,\n };\n}\n\nfunction installPlayableLocalEditorBeforeUnloadGuard(\n root: HTMLElement,\n harness: Pick<LocalEditorHarness, 'getUnsavedChangesState'>,\n): () => void {\n const browserWindow = resolvePlayableLocalEditorWindow(root);\n if (!browserWindow?.addEventListener || !browserWindow.removeEventListener) return () => {};\n const onBeforeUnload = (event: BeforeUnloadEvent): string | void => {\n let unsavedChanges: PlayableLocalEditorUnsavedChangesState;\n try {\n unsavedChanges = harness.getUnsavedChangesState();\n } catch (error) {\n console.error('[PlayableLocalEditorHost] beforeunload dirty state unavailable', error);\n return;\n }\n if (!unsavedChanges.dirty || !unsavedChanges.hasWorkingDocument) return;\n event.preventDefault();\n event.returnValue = '';\n return '';\n };\n browserWindow.addEventListener('beforeunload', onBeforeUnload);\n return () => {\n browserWindow.removeEventListener('beforeunload', onBeforeUnload);\n };\n}\n\nfunction resolvePlayableLocalEditorWindow(root: HTMLElement): Window | null {\n return root.ownerDocument?.defaultView ?? (typeof window === 'undefined' ? null : window);\n}\n\nfunction formatNativeDiscardConfirmationMessage(\n _input: PlayableLocalEditorDiscardConfirmationInput,\n): string {\n return '当前编辑内容尚未保存。\\n\\n继续会丢弃这些更改并运行游戏。';\n}\n\nfunction formatNativeSaveFailureMessage(input: PlayableLocalEditorSaveFailureInput): string {\n const status = input.status?.trim() || '保存没有成功,当前编辑内容仍保留在编辑器中。';\n const details = input.details?.trim();\n const error = stringifyPlayableLocalEditorError(input.error)?.trim();\n const extra = [details, error]\n .filter((part): part is string => !!part && part !== status);\n return ['保存失败', status, ...extra].join('\\n\\n');\n}\n\nfunction stringifyPlayableLocalEditorError(error: unknown): string | undefined {\n if (error == null) return undefined;\n if (error instanceof Error) return error.message;\n return String(error);\n}\n\nfunction inspectMetadata(\n metadata: unknown,\n report: PlayableLocalEditorHostCompatibilityReport,\n diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[],\n): void {\n if (metadata === undefined) {\n diagnostics.push(createDiagnostic(\n 'error',\n 'metadata.missing',\n 'Manifest metadata is required for the host compatibility contract.',\n 'metadata',\n ));\n return;\n }\n if (!isRecord(metadata)) {\n diagnostics.push(createDiagnostic(\n 'error',\n 'metadata.invalid',\n 'Manifest metadata must be an object.',\n 'metadata',\n ));\n return;\n }\n\n report.manifestVersion = metadata.manifestVersion;\n report.projectId = readOptionalString(metadata.projectId);\n report.projectName = readOptionalString(metadata.projectName);\n report.compatibilityTag = readOptionalString(metadata.compatibilityTag);\n\n if (metadata.manifestVersion !== PLAYABLE_LOCAL_EDITOR_HOST_MANIFEST_VERSION) {\n diagnostics.push(createDiagnostic(\n 'error',\n 'metadata.manifest-version.unsupported',\n `Manifest version ${String(metadata.manifestVersion)} is incompatible with supported version ${PLAYABLE_LOCAL_EDITOR_HOST_MANIFEST_VERSION}. Upgrade the manifest or use a compatible editor package version.`,\n 'metadata.manifestVersion',\n ));\n }\n}\n\nfunction inspectRequiredCapability(\n manifest: Record<string, unknown>,\n diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[],\n fieldName: string,\n capabilityName: string,\n requiredFunctions: readonly string[],\n): void {\n const capability = manifest[fieldName];\n if (!isRecord(capability)) {\n diagnostics.push(createDiagnostic(\n 'error',\n `${capabilityName}.missing`,\n `${capabilityName} is required.`,\n capabilityName,\n ));\n return;\n }\n for (const functionName of requiredFunctions) {\n const fn = capability[functionName];\n if (typeof fn !== 'function') {\n diagnostics.push(createDiagnostic(\n 'error',\n `${capabilityName}.${functionName}.missing`,\n `${capabilityName}.${functionName} must be a function.`,\n `${capabilityName}.${functionName}`,\n ));\n } else {\n // Validate function signature: check parameter count\n validateFunctionSignature(fn, functionName, capabilityName, diagnostics);\n }\n }\n}\n\n/**\n * Validates function signature by checking parameter count.\n * Issues warnings when declared parameter count differs from expected.\n * \n * Note: Function.length is not fully reliable (rest params, default values, \n * destructured params all affect it), so signature mismatches are reported as\n * warnings rather than blocking errors.\n */\nfunction validateFunctionSignature(\n fn: Function,\n functionName: string,\n capabilityName: string,\n diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[],\n): void {\n const expectedArity = getExpectedFunctionArity(capabilityName, functionName);\n if (expectedArity === undefined) return; // No validation defined for this function\n \n const actualArity = fn.length;\n const arityMismatch = actualArity < expectedArity.min\n || (expectedArity.max !== undefined && actualArity > expectedArity.max);\n if (arityMismatch) {\n const severity = capabilityName === 'worldCapability' ? 'error' : 'warning';\n diagnostics.push(createDiagnostic(\n severity,\n `${capabilityName}.${functionName}.arity-mismatch`,\n `${capabilityName}.${functionName} declares ${actualArity} parameter(s), but SDK expects ${expectedArity.min}${expectedArity.max !== undefined && expectedArity.max !== expectedArity.min ? `-${expectedArity.max}` : ''}. Verify the function signature matches the SDK contract.`,\n `${capabilityName}.${functionName}`,\n ));\n }\n}\n\n/**\n * Returns expected parameter count for required functions.\n * min: minimum required parameters\n * max: maximum expected parameters (undefined = no limit)\n */\nfunction getExpectedFunctionArity(\n capabilityName: string,\n functionName: string,\n): { min: number; max?: number } | undefined {\n // Document capability function signatures\n if (capabilityName === 'documentCapability') {\n switch (functionName) {\n case 'reduceDocument': return { min: 2, max: 2 }; // (document, command)\n case 'getHierarchyItems': return { min: 1, max: 1 }; // (document)\n case 'getProjectionNodes': return { min: 1, max: 1 }; // (document)\n case 'getProjectionNode': return { min: 2, max: 2 }; // (document, id)\n case 'createPatchFromAsset': return { min: 1, max: 2 }; // (asset, input?)\n case 'createSerializedPropertyPatch': return { min: 1, max: 1 }; // (input)\n }\n }\n \n // Persistence capability function signatures\n if (capabilityName === 'persistenceCapability') {\n switch (functionName) {\n case 'loadAssets': return { min: 1, max: 1 }; // (document)\n case 'runGame': return { min: 0, max: 1 }; // (context?)\n }\n }\n \n // World capability function signatures\n if (capabilityName === 'worldCapability') {\n switch (functionName) {\n case 'getCanvas': return { min: 0, max: 0 }; // ()\n case 'disposeWorld': return { min: 0, max: 0 }; // ()\n case 'loadPreviewEngine': return { min: 0, max: 0 }; // ()\n case 'createPreviewEngine': return { min: 2, max: 2 }; // (engineModule, canvas)\n case 'importPreviewAsset': return { min: 1, max: 1 }; // (context)\n }\n }\n \n return undefined;\n}\n\nfunction inspectWorldCapability(\n worldCapability: unknown,\n diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[],\n): void {\n if (!isRecord(worldCapability)) {\n diagnostics.push(createDiagnostic(\n 'error',\n 'worldCapability.missing',\n 'worldCapability is required.',\n 'worldCapability',\n ));\n return;\n }\n for (const functionName of PLAYABLE_LOCAL_EDITOR_HOST_REQUIRED_CONTRACT.world.direct) {\n const fn = worldCapability[functionName];\n if (typeof fn !== 'function') {\n diagnostics.push(createDiagnostic(\n 'error',\n `worldCapability.${functionName}.missing`,\n `worldCapability.${functionName} must be a function.`,\n `worldCapability.${functionName}`,\n ));\n } else {\n validateFunctionSignature(fn, functionName, 'worldCapability', diagnostics);\n }\n }\n}\n\nfunction createHarnessWorldAdapter<TAsset>(\n worldCapability: PlayableLocalEditorWorldCapability<TAsset>,\n): LocalEditorHarnessWorldAdapter<TAsset> {\n const adapter: LocalEditorHarnessWorldAdapter<TAsset> = {\n disposeGameWorld() {\n return worldCapability.disposeWorld?.() as ReturnType<LocalEditorHarnessWorldAdapter<TAsset>['disposeGameWorld']>;\n },\n getCanvas() {\n return worldCapability.getCanvas();\n },\n loadBabylon() {\n return worldCapability.loadPreviewEngine?.() as ReturnType<LocalEditorHarnessWorldAdapter<TAsset>['loadBabylon']>;\n },\n createEngine(engineModule, canvas) {\n return worldCapability.createPreviewEngine?.(engineModule, canvas);\n },\n importProjectionModel(context) {\n return worldCapability.importPreviewAsset?.(context) as ReturnType<LocalEditorHarnessWorldAdapter<TAsset>['importProjectionModel']>;\n },\n };\n if (worldCapability.toBrowserAssetItem) {\n adapter.toBrowserAssetItem = worldCapability.toBrowserAssetItem as LocalEditorHarnessWorldAdapter<TAsset>['toBrowserAssetItem'];\n }\n if (worldCapability.resolveAssetId) {\n adapter.resolveAssetId = worldCapability.resolveAssetId;\n }\n if (worldCapability.resolveMaterialTextureUrl) {\n adapter.resolveMaterialTextureUrl = worldCapability.resolveMaterialTextureUrl;\n }\n return adapter;\n}\n\nfunction inspectLifecycle(\n lifecycle: unknown,\n diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[],\n): void {\n if (!isRecord(lifecycle)) {\n diagnostics.push(createDiagnostic(\n 'error',\n 'lifecycle.missing',\n 'lifecycle is required.',\n 'lifecycle',\n ));\n return;\n }\n if (!isRecord(lifecycle.loadingContent)) {\n diagnostics.push(createDiagnostic(\n 'error',\n 'lifecycle.loading-content.missing',\n 'lifecycle.loadingContent is required.',\n 'lifecycle.loadingContent',\n ));\n }\n}\n\nfunction inspectForgePlay(\n forgePlay: unknown,\n diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[],\n): void {\n if (!isRecord(forgePlay)) return;\n if (forgePlay.enabled !== false && !forgePlay.window) {\n diagnostics.push(createDiagnostic(\n 'warning',\n 'forge-play.window.missing',\n 'Forge Play bridge is enabled but no window was provided; mode and document bridge commands will not be installed.',\n 'forgePlay.window',\n ));\n }\n}\n\nfunction inspectAuthoring(\n authoring: unknown,\n diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[],\n): void {\n if (!isRecord(authoring)) return;\n const drivers = Array.isArray(authoring.drivers) ? authoring.drivers : [];\n if (authoring.host && drivers.length > 0) {\n diagnostics.push(createDiagnostic(\n 'info',\n 'authoring.host-overrides-drivers',\n 'authoring.host and authoring.drivers are both present; the provided host will be used.',\n 'authoring',\n ));\n }\n}\n\nfunction inspectCapabilities(\n capabilities: unknown,\n diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[],\n): void {\n if (capabilities === undefined) return;\n if (!isRecord(capabilities)) {\n diagnostics.push(createDiagnostic(\n 'warning',\n 'capabilities.invalid',\n 'capabilities must be an object when provided.',\n 'capabilities',\n ));\n return;\n }\n const hierarchyActions = capabilities.hierarchyActions;\n if (isRecord(hierarchyActions)\n && hierarchyActions.contextActions !== undefined\n && !Array.isArray(hierarchyActions.contextActions)) {\n diagnostics.push(createDiagnostic(\n 'warning',\n 'capabilities.hierarchyActions.contextActions.invalid',\n 'capabilities.hierarchyActions.contextActions should be an array of hierarchy action registrations.',\n 'capabilities.hierarchyActions.contextActions',\n ));\n }\n}\n\nfunction createDiagnostic(\n severity: PlayableLocalEditorHostCompatibilitySeverity,\n code: string,\n message: string,\n path?: string,\n): PlayableLocalEditorHostCompatibilityDiagnostic {\n return {\n severity,\n code,\n message,\n path,\n };\n}\n\nfunction cloneCompatibilityReport(\n report: PlayableLocalEditorHostCompatibilityReport,\n): PlayableLocalEditorHostCompatibilityReport {\n return {\n supportedManifestVersion: report.supportedManifestVersion,\n manifestVersion: report.manifestVersion,\n projectId: report.projectId,\n projectName: report.projectName,\n compatibilityTag: report.compatibilityTag,\n ok: report.ok,\n diagnostics: report.diagnostics.map(diagnostic => ({ ...diagnostic })),\n };\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null;\n}\n\nfunction readOptionalString(value: unknown): string | undefined {\n return typeof value === 'string' ? value : undefined;\n}\n"]}
1
+ {"version":3,"file":"playable-local-editor-host.js","sourceRoot":"","sources":["../src/playable-local-editor-host.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sCAAsC,EACtC,0BAA0B,GAO3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,oCAAoC,EACpC,qCAAqC,GAEtC,MAAM,oCAAoC,CAAC;AAI5C,OAAO,EACL,6BAA6B,GAC9B,MAAM,8BAA8B,CAAC;AAkBtC,OAAO,EACL,uCAAuC,EACvC,gCAAgC,EAChC,4CAA4C,GAc7C,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,uCAAuC,EACvC,0CAA0C,GAE3C,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,wBAAwB,GAezB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,wCAAwC,GAEzC,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,yCAAyC,EAAE,MAAM,iCAAiC,CAAC;AAC5F,OAAO,EAAE,yCAAyC,EAAE,MAAM,iCAAiC,CAAC;AAE5F,MA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OAAO;QACL,wBAAwB,EAAE,MAAM,CAAC,wBAAwB;QACzD,eAAe,EAAE,MAAM,CAAC,eAAe;QACvC,SAAS,EAAE,MAAM,CAAC,SAAS;QAC3B,WAAW,EAAE,MAAM,CAAC,WAAW;QAC/B,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;QACzC,EAAE,EAAE,MAAM,CAAC,EAAE;QACb,WAAW,EAAE,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,UAAU,EAAE,CAAC,CAAC;KACvE,CAAC;AACJ,CAAC;AAED,SAAS,QAAQ,CAAC,KAAc;IAC9B,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,CAAC;AACrD,CAAC;AAED,SAAS,kBAAkB,CAAC,KAAc;IACxC,OAAO,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;AACvD,CAAC","sourcesContent":["import {\n createEditorAgentInteractionController,\n createProjectAuthoringHost,\n type AuthoringSourceDriver,\n type DocumentCommand,\n type EditorProjectionImpact,\n type EditorTransformDocumentCapabilities,\n type EditorTransformSnapshot,\n type ProjectAuthoringHost,\n} from '@fps-games/editor-core';\nimport {\n getFpsEditorPluginLifecycleScopeHost,\n resolveFpsEditorLifecycleParticipants,\n type FpsEditorPluginHost,\n} from '@fps-games/editor-core/plugin-host';\nimport type {\n FpsEditorLifecycleService,\n} from '@fps-games/editor-core/lifecycle';\nimport {\n createForgePlayAgentTransport,\n} from '@fps-games/editor-forge-play';\nimport type { BabylonEditorProjectionSelectionEdgesPrewarm } from '@fps-games/editor-babylon';\nimport type {\n LocalEditorBrowserProjectFileContent,\n LocalEditorBrowserProjectFileSnapshot,\n LocalEditorBrowserProjectMediaSource,\n} from '@fps-games/editor-browser';\nimport type {\n ArtistMaterialTextureRef,\n EditorAgentContextSemantics,\n EditorDiagnostic,\n EditorDiagnosticLocator,\n EditorDiagnosticPhase,\n SpatialMarkerGraph,\n SpatialMarkerNode,\n SpatialMarkerTypeDefinition,\n SpatialRelationTypeDefinition,\n} from '@fps-games/editor-protocol';\nimport {\n createPlayableLocalEditorLoadingOverlay,\n formatPlayableEditorDoctorReport,\n inspectPlayableEditorHostCompatibilityReport,\n type FpsGameEditorProjectDefinition,\n type PlayableForgePlayModeBridge,\n type PlayableForgePlayDocumentExportResult,\n type PlayableForgePlaySaveState,\n type PlayableForgePlayWindowLike,\n type PlayableLocalEditorDiscardConfirmationInput,\n type PlayableLocalEditorHostBridgeContext,\n type PlayableLocalEditorHostLoadingContent,\n type PlayableLocalEditorInteractionPolicy,\n type PlayableLocalEditorDocumentOperationExecutor,\n type PlayableLocalEditorSaveFailureInput,\n type PlayableLocalEditorSaveFailureState,\n type PlayableLocalEditorUnsavedChangesState,\n} from '@fps-games/editor-playable-sdk';\nimport {\n createPlayableLocalEditorHostController,\n PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID,\n type PlayableLocalEditorLifecycleController,\n} from '@fps-games/editor-playable-sdk/internal/local-harness';\nimport {\n createLocalEditorHarness,\n type LocalEditorHarness,\n type LocalEditorHarnessDocumentAdapter,\n type LocalEditorHarnessHistoryOperation,\n type LocalEditorHarnessHistoryOperationOptions,\n type LocalEditorHarnessHistoryOperationResult,\n type LocalEditorHarnessHistoryProjectionResult,\n type LocalEditorHarnessHistoryStateResult,\n type LocalEditorHarnessHierarchyOperationRegistration,\n type LocalEditorMarkerGraphCommand,\n type LocalEditorHarnessOptions,\n type LocalEditorHarnessOperationOrigin,\n type LocalEditorHarnessPersistenceAdapter,\n type LocalEditorHarnessProjectionWaitPolicy,\n type LocalEditorHarnessWorldAdapter,\n} from './local-editor-harness.js';\nimport {\n getLocalEditorHarnessLifecycleOperations,\n type LocalEditorHarnessLifecycleOperations,\n} from './internal/local-editor-lifecycle-operations.js';\nimport { createLocalEditorAgentHierarchyOperations } from './local-editor-agent-actions.js';\nimport { createLocalEditorProjectEntryAgentContext } from './local-editor-agent-context.js';\n\nexport const PLAYABLE_LOCAL_EDITOR_HOST_MANIFEST_VERSION = 2 as const;\n\n/**\n * Frozen required contract for playable local editor host manifests.\n * \n * This contract defines the minimum set of methods that a host manifest must provide.\n * The contract is deeply frozen to prevent accidental modifications that would break\n * backward compatibility.\n * \n * IMPORTANT: Adding new required methods is a BREAKING CHANGE and requires:\n * - Incrementing PLAYABLE_LOCAL_EDITOR_HOST_MANIFEST_VERSION\n * - Providing migration documentation\n * - Updating all reference consumers\n */\nexport const PLAYABLE_LOCAL_EDITOR_HOST_REQUIRED_CONTRACT = Object.freeze({\n document: Object.freeze([\n 'reduceDocument',\n 'getHierarchyItems',\n 'getProjectionNodes',\n 'getProjectionNode',\n 'createPatchFromAsset',\n 'createSerializedPropertyPatch',\n ] as const),\n persistence: Object.freeze([\n 'loadAssets',\n 'runGame',\n ] as const),\n world: Object.freeze({\n direct: Object.freeze([\n 'getCanvas',\n 'disposeWorld',\n 'loadPreviewEngine',\n 'createPreviewEngine',\n 'importPreviewAsset',\n ] as const),\n }),\n});\n\ntype PlayableLocalEditorMaybePromise<T> = T | Promise<T>;\n\nexport type PlayableLocalEditorHostCompatibilitySeverity = 'error' | 'warning' | 'info';\n\nexport interface PlayableLocalEditorHostManifestMetadata {\n manifestVersion: typeof PLAYABLE_LOCAL_EDITOR_HOST_MANIFEST_VERSION;\n projectId?: string;\n projectName?: string;\n compatibilityTag?: string;\n}\n\nexport interface PlayableLocalEditorHostCompatibilityDiagnostic {\n severity: PlayableLocalEditorHostCompatibilitySeverity;\n code: string;\n message: string;\n path?: string;\n}\n\nexport interface PlayableLocalEditorHostCompatibilityReport {\n supportedManifestVersion: typeof PLAYABLE_LOCAL_EDITOR_HOST_MANIFEST_VERSION;\n manifestVersion?: unknown;\n projectId?: string;\n projectName?: string;\n compatibilityTag?: string;\n ok: boolean;\n diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[];\n}\n\nexport interface PlayableLocalEditorAuthoringSourceDriverLike<TDocument = unknown, TPayload = unknown> {\n sourceType: string;\n load(input: unknown): PlayableLocalEditorMaybePromise<unknown>;\n reduce?(input: {\n source: unknown;\n document: TDocument;\n command?: unknown;\n intent?: unknown;\n }): PlayableLocalEditorMaybePromise<TDocument>;\n validate?(input: unknown): PlayableLocalEditorMaybePromise<unknown>;\n save(input: {\n source: unknown;\n document: TDocument;\n command?: unknown;\n intent?: unknown;\n }): PlayableLocalEditorMaybePromise<unknown>;\n compile?(input: unknown): PlayableLocalEditorMaybePromise<unknown>;\n compileRuntimePatch?(input: unknown): PlayableLocalEditorMaybePromise<unknown>;\n}\n\nexport interface PlayableLocalEditorAuthoringHostLike {\n getSourceRegistry(): unknown;\n registerSource(source: unknown): void;\n registerSourceDriver(driver: PlayableLocalEditorAuthoringSourceDriverLike): void;\n loadSource<TDocument = unknown>(ref: unknown): Promise<unknown>;\n commitSource<TDocument = unknown>(input: {\n source: unknown;\n document: TDocument;\n beforeDocument?: TDocument;\n expectedRevision?: number;\n command?: unknown;\n }): Promise<unknown>;\n dispatch<TDocument = unknown, TPayload = unknown>(command: unknown): Promise<unknown>;\n attachRuntimeAdapter?(adapter: unknown): void;\n detachRuntimeAdapter?(): void;\n}\n\nexport interface PlayableLocalEditorPatchResult<TPatch> {\n patch: TPatch;\n label?: string;\n changedId?: string;\n createdId?: string | null;\n changedIds?: string[];\n reprojectIds?: string[];\n projectionImpact?: PlayableLocalEditorProjectionImpact;\n selectId?: string | null;\n}\n\nexport type PlayableLocalEditorProjectionImpact = EditorProjectionImpact;\n\nexport interface PlayableLocalEditorPropertyPatchInput<TDocument = unknown> {\n document: TDocument;\n targetId: string;\n targetIds?: string[];\n path: string;\n value: unknown;\n control?: string;\n valueType?: string;\n commitMode?: string;\n persistence?: string;\n source?: unknown;\n}\n\nexport interface PlayableLocalEditorMultiPropertyPatchInput<TDocument = unknown>\n extends Omit<PlayableLocalEditorPropertyPatchInput<TDocument>, 'targetId'> {\n targetIds: string[];\n activeId: string | null;\n}\n\nexport interface PlayableLocalEditorMultiPropertyCapabilityInput<TDocument = unknown> {\n document: TDocument;\n targetIds: string[];\n activeId: string | null;\n path: string;\n control?: string;\n valueType?: string;\n commitMode?: string;\n persistence?: string;\n}\n\nexport interface PlayableLocalEditorTransformPatchInput<TDocument = unknown> {\n document: TDocument;\n targetId: string;\n targetIds?: string[];\n transform?: unknown;\n worldTransform?: unknown;\n operation?: string;\n duplicate?: boolean;\n [key: string]: unknown;\n}\n\nexport interface PlayableLocalEditorTransformInspectorPreviewInput<TDocument = unknown> {\n document: TDocument;\n targetId: string;\n targetIds: string[];\n activeId: string | null;\n transform: EditorTransformSnapshot;\n}\n\nexport interface PlayableLocalEditorTransformBatchPatchInput<TDocument = unknown> {\n document: TDocument;\n targetIds: string[];\n activeId?: string | null;\n operation?: string;\n [key: string]: unknown;\n}\n\nexport interface PlayableLocalEditorRenderingPropertyChangeResult<TPatch = unknown> {\n changed?: boolean;\n dirty?: boolean;\n status?: string;\n statusTone?: string;\n statusDetails?: string;\n details?: Record<string, unknown>;\n refreshWorldRendering?: boolean;\n documentPatch?: PlayableLocalEditorPatchResult<TPatch> | null;\n}\n\nexport interface PlayableLocalEditorRuntimeInspectorContext<TDocument = unknown> {\n document: TDocument;\n targetIds: string[];\n activeId: string | null;\n inspectorObject: unknown;\n projectionNode?: unknown | null;\n projectedRoot?: unknown;\n}\n\nexport interface PlayableLocalEditorPrefabStageInput<TAsset = unknown> {\n assetId: string;\n browserAssetId?: string;\n asset?: TAsset | null;\n}\n\nexport interface PlayableLocalEditorPrefabStageDescriptor<TDocument = unknown> {\n assetId: string;\n browserAssetId?: string;\n label: string;\n sourceAssetId?: string;\n sourceAssetGuid?: string;\n readonly?: boolean;\n previewNodeId?: string;\n document?: TDocument;\n data?: unknown;\n}\n\nexport interface PlayableLocalEditorPrefabStageContext {\n previewNodeId?: string;\n importStructureReady: boolean;\n importStructure: unknown | null;\n}\n\nexport interface PlayableLocalEditorHierarchyActionsCapability<TDocument, TPatch = unknown> {\n operations?: readonly LocalEditorHarnessHierarchyOperationRegistration<TDocument, TPatch>[];\n}\n\nexport interface PlayableLocalEditorAgentContextObjectInput<TDocument = unknown> {\n document: TDocument;\n objectId: string;\n targetIds: string[];\n activeId: string | null;\n contextNodeId: string | null;\n hierarchyItem: unknown | null;\n hierarchyItems: readonly unknown[];\n projectionNode: unknown | null | undefined;\n}\n\nexport interface PlayableLocalEditorAgentContextObjectSetInput<TDocument = unknown> {\n document: TDocument;\n objectIds: string[];\n activeId: string | null;\n hierarchyItems: readonly unknown[];\n projectionNodes: Record<string, unknown | null | undefined>;\n}\n\nexport interface PlayableLocalEditorAgentContextRegionBindingInput<TDocument = unknown>\n extends PlayableLocalEditorAgentContextObjectSetInput<TDocument> {\n relationshipType: 'selection-region';\n}\n\nexport interface PlayableLocalEditorAgentContextCapability<TDocument> {\n describeSceneObject?(input: PlayableLocalEditorAgentContextObjectInput<TDocument>): EditorAgentContextSemantics | null | undefined;\n describeSceneObjectSet?(input: PlayableLocalEditorAgentContextObjectSetInput<TDocument>): EditorAgentContextSemantics | null | undefined;\n describeRegionBinding?(input: PlayableLocalEditorAgentContextRegionBindingInput<TDocument>): EditorAgentContextSemantics | null | undefined;\n}\n\nexport interface PlayableLocalEditorDocumentLifecycleCapability<TDocument, TAsset = unknown> {\n cloneDocument?(document: TDocument): TDocument;\n compareDocuments?(left: TDocument, right: TDocument): boolean;\n prepareDocument?(document: TDocument, assets: TAsset[]): TDocument;\n hydrateDocumentAssets?(document: TDocument, assets: TAsset[]): TDocument;\n resolveUpdatedAssetSnapshot?(\n assets: TAsset[],\n input: { assetId: string },\n ): { assetId: string; contentHash?: string } | null;\n listAssetSnapshots?(assets: TAsset[]): Array<{ assetId: string; contentHash?: string }>;\n reconcileUpdatedAsset?(\n document: TDocument,\n input: { assetId: string },\n ): {\n document: TDocument;\n reconciledBindingCount?: number;\n warnings?: Array<{\n code: string;\n gameObjectId?: string;\n slotId?: string;\n materialAssetId?: string;\n candidateSlotIds?: string[];\n }>;\n };\n validateDocument?(\n document: TDocument,\n context: {\n phase: EditorDiagnosticPhase;\n scopeId: string;\n documentRevision: number;\n projectionRevision: number;\n },\n ): readonly EditorDiagnostic[];\n summarize?(document: TDocument): string;\n}\n\nexport interface PlayableLocalEditorSelectionCapability<TDocument> {\n isSelectable?(document: TDocument, id: string): boolean;\n isLocked?(document: TDocument, id: string): boolean;\n}\n\nexport interface PlayableLocalEditorInspectorCapability<TDocument> {\n getInspectorObject?(document: TDocument, activeId: string): unknown | null;\n getInspectorMultiObject?(document: TDocument, selectedIds: string[], activeId: string | null): unknown | null;\n getRuntimeInspectorSections?(context: PlayableLocalEditorRuntimeInspectorContext<TDocument>): unknown[];\n}\n\nexport interface PlayableLocalEditorAssetBrowserCapability<TDocument> {\n getBrowserAssetItems?(document: TDocument): unknown[];\n}\n\nexport interface PlayableLocalEditorAssetActionsCapability<TDocument, TPatch, TAsset = unknown> {\n createPatchFromAsset?(asset: TAsset, input?: Record<string, unknown> & { document?: TDocument; placement?: unknown }): {\n patch: TPatch;\n label?: string;\n };\n createAssetActionPatch?(input: Record<string, unknown> & { document: TDocument; asset?: TAsset }): PlayableLocalEditorPatchResult<TPatch> | null;\n createPlacedAssetPatch?(input: Record<string, unknown> & { document: TDocument; asset?: TAsset }): PlayableLocalEditorPatchResult<TPatch> | null;\n findCreatedId?(beforeDocument: TDocument, afterDocument: TDocument): string | null;\n}\n\nexport interface PlayableLocalEditorTransformCommandsCapability<TDocument, TPatch> {\n documentCapabilities?: Partial<EditorTransformDocumentCapabilities>;\n canCreateSerializedMultiPropertyPatch?(input: PlayableLocalEditorMultiPropertyCapabilityInput<TDocument>): boolean;\n createSerializedMultiPropertyPatch?(input: PlayableLocalEditorMultiPropertyPatchInput<TDocument>): PlayableLocalEditorPatchResult<TPatch> | null;\n createTransformInspectorPreview?(input: PlayableLocalEditorTransformInspectorPreviewInput<TDocument>): EditorTransformSnapshot | null;\n createTransformPatch?(input: PlayableLocalEditorTransformPatchInput<TDocument>): PlayableLocalEditorPatchResult<TPatch> | null;\n createTransformBatchPatch?(input: PlayableLocalEditorTransformBatchPatchInput<TDocument>): PlayableLocalEditorPatchResult<TPatch> | null;\n createDuplicateSelectionPatch?(input: Record<string, unknown> & { document: TDocument; targetIds: string[] }): PlayableLocalEditorPatchResult<TPatch> | null;\n}\n\nexport interface PlayableLocalEditorSceneGraphCapability<TDocument, TPatch> {\n validateSceneGraphDrop?(document: TDocument, intent: unknown): unknown;\n createSceneGraphRenamePatch?(document: TDocument, intent: unknown): PlayableLocalEditorPatchResult<TPatch> | null;\n createSceneGraphCreateGroupPatch?(document: TDocument, intent: unknown): PlayableLocalEditorPatchResult<TPatch> | null;\n createSceneGraphCreatePrimitivePatch?(document: TDocument, intent: unknown): PlayableLocalEditorPatchResult<TPatch> | null;\n createSceneGraphDeletePatch?(document: TDocument, intent: unknown): PlayableLocalEditorPatchResult<TPatch> | null;\n createSceneGraphDropPatch?(document: TDocument, intent: unknown): PlayableLocalEditorPatchResult<TPatch> | null;\n validateSceneGraphMove?(document: TDocument, intent: unknown): unknown;\n createSceneGraphMovePatch?(document: TDocument, intent: unknown): PlayableLocalEditorPatchResult<TPatch> | null;\n validateSceneGraphGroupSelection?(document: TDocument, intent: unknown): unknown;\n createSceneGraphGroupSelectionPatch?(document: TDocument, intent: unknown): PlayableLocalEditorPatchResult<TPatch> | null;\n}\n\nexport type PlayableLocalEditorMarkerGraphCommand = LocalEditorMarkerGraphCommand;\n\nexport interface PlayableLocalEditorMarkerGraphCapability<TDocument, TPatch> {\n getMarkerGraph?(document: TDocument): SpatialMarkerGraph | null;\n getMarkerTypeCatalog?(document: TDocument): SpatialMarkerTypeDefinition[];\n getRelationTypeCatalog?(document: TDocument): SpatialRelationTypeDefinition[];\n getPrefabInstanceMarkerOverlays?(document: TDocument): Array<{ ownerInstanceId: string; localNodeId: string; marker: SpatialMarkerNode }>;\n getPrefabStageMarkerOverlays?(document: TDocument, prefabAssetId: string, previewInstanceId: string): Array<{ ownerInstanceId: string; localNodeId: string; marker: SpatialMarkerNode }>;\n createMarkerGraphPatch?(document: TDocument, command: PlayableLocalEditorMarkerGraphCommand): PlayableLocalEditorPatchResult<TPatch> | null;\n}\n\nexport interface PlayableLocalEditorWorldPreviewCapability<TDocument> {\n getSceneCameraPreviewRig?(document: TDocument): unknown | null;\n getWorldAppearance?(document: TDocument): unknown | null;\n}\n\nexport interface PlayableLocalEditorRenderingCapability<TDocument, TPatch = unknown> {\n getWorldRendering?(document: TDocument): unknown | null;\n getRenderingPanelState?(document: TDocument, context?: Record<string, unknown>): unknown | null;\n onRenderingAction?(input: Record<string, unknown> & { document: TDocument }): PlayableLocalEditorMaybePromise<\n boolean | void | PlayableLocalEditorRenderingPropertyChangeResult<TPatch>\n >;\n onRenderingPropertyChange?(input: Record<string, unknown> & { document: TDocument }): PlayableLocalEditorMaybePromise<\n boolean | void | PlayableLocalEditorRenderingPropertyChangeResult<TPatch>\n >;\n getShadowMapExperimentConfig?(): unknown | null;\n getShadowMapExperimentPlan?(document: TDocument): unknown | null;\n createShadowMapExperimentProfilesPatch?(input: {\n document: TDocument;\n qualityProfile?: string | null;\n behaviorProfile?: string | null;\n }): PlayableLocalEditorPatchResult<TPatch> | null;\n}\n\nexport interface PlayableLocalEditorPrefabStageCapability<TDocument, TAsset = unknown> {\n getPrefabStageDescriptor?(\n document: TDocument,\n input: PlayableLocalEditorPrefabStageInput<TAsset>,\n ): PlayableLocalEditorPrefabStageDescriptor<TDocument> | null;\n getPrefabStageProjectionNodes?(\n document: TDocument,\n descriptor: PlayableLocalEditorPrefabStageDescriptor<TDocument>,\n ): unknown[];\n getPrefabStageStructure?(\n document: TDocument,\n descriptor: PlayableLocalEditorPrefabStageDescriptor<TDocument>,\n context: PlayableLocalEditorPrefabStageContext,\n ): unknown[];\n getPrefabStageInspectorObject?(\n document: TDocument,\n descriptor: PlayableLocalEditorPrefabStageDescriptor<TDocument>,\n selectedItemId: string | null,\n context: PlayableLocalEditorPrefabStageContext,\n ): unknown | null;\n resolvePrefabStagePreviewTarget?(\n document: TDocument,\n descriptor: PlayableLocalEditorPrefabStageDescriptor<TDocument>,\n projectionNodeId: string,\n context: PlayableLocalEditorPrefabStageContext,\n ): unknown | null;\n getPrefabStageProjectionNodeId?(\n document: TDocument,\n descriptor: PlayableLocalEditorPrefabStageDescriptor<TDocument>,\n nodeId: string,\n context: PlayableLocalEditorPrefabStageContext,\n ): string | null;\n}\n\nexport interface PlayableLocalEditorHostCapabilities<TDocument, TPatch, TAsset = unknown> {\n documentLifecycle?: PlayableLocalEditorDocumentLifecycleCapability<TDocument, TAsset>;\n selection?: PlayableLocalEditorSelectionCapability<TDocument>;\n inspector?: PlayableLocalEditorInspectorCapability<TDocument>;\n assetBrowser?: PlayableLocalEditorAssetBrowserCapability<TDocument>;\n assetActions?: PlayableLocalEditorAssetActionsCapability<TDocument, TPatch, TAsset>;\n transformCommands?: PlayableLocalEditorTransformCommandsCapability<TDocument, TPatch>;\n sceneGraph?: PlayableLocalEditorSceneGraphCapability<TDocument, TPatch>;\n markerGraph?: PlayableLocalEditorMarkerGraphCapability<TDocument, TPatch>;\n worldPreview?: PlayableLocalEditorWorldPreviewCapability<TDocument>;\n rendering?: PlayableLocalEditorRenderingCapability<TDocument, TPatch>;\n prefabStage?: PlayableLocalEditorPrefabStageCapability<TDocument, TAsset>;\n hierarchyActions?: PlayableLocalEditorHierarchyActionsCapability<TDocument, TPatch>;\n agentContext?: PlayableLocalEditorAgentContextCapability<TDocument>;\n}\n\nexport interface PlayableLocalEditorDocumentCapability<TDocument, TPatch, TAsset = unknown> {\n reduceDocument(document: TDocument, command: any): TDocument;\n getHierarchyItems(document: TDocument): unknown[];\n isHierarchyStructureChange?(command: DocumentCommand<TDocument, TPatch>): boolean;\n getProjectionNodes(document: TDocument): unknown[];\n getProjectionNode(document: TDocument, id: string): unknown | null;\n getProjectionNodesForTarget?(document: TDocument, targetId: string): unknown[];\n resolveProjectionTargetId?(document: TDocument, projectionNodeId: string): string | null;\n getProjectionSelectionNodeIds?(document: TDocument, targetId: string): string[];\n createPatchFromAsset(asset: TAsset, input?: Record<string, unknown> & { document?: TDocument; placement?: unknown }): {\n patch: TPatch;\n label?: string;\n };\n createSerializedPropertyPatch(input: PlayableLocalEditorPropertyPatchInput<TDocument>): PlayableLocalEditorPatchResult<TPatch> | null;\n resolveDiagnosticLocator?(\n document: TDocument,\n diagnostic: EditorDiagnostic,\n ): EditorDiagnosticLocator | null;\n}\n\nexport interface PlayableLocalEditorPersistenceCapability<TDocument, TAsset = unknown> {\n loadAuthoringSource?(): PlayableLocalEditorMaybePromise<{\n source: unknown;\n document: TDocument;\n assets?: TAsset[];\n summary?: string;\n }>;\n loadDocument?(): PlayableLocalEditorMaybePromise<TDocument>;\n loadAssets(): PlayableLocalEditorMaybePromise<TAsset[]>;\n loadProjectFiles?(): PlayableLocalEditorMaybePromise<LocalEditorBrowserProjectFileSnapshot>;\n loadProjectFile?(path: string): PlayableLocalEditorMaybePromise<LocalEditorBrowserProjectFileContent>;\n resolveProjectMedia?(path: string): PlayableLocalEditorMaybePromise<LocalEditorBrowserProjectMediaSource | null>;\n saveAuthoringSource?(input: {\n source: unknown;\n document: TDocument;\n }): PlayableLocalEditorMaybePromise<{\n source: unknown;\n document: TDocument;\n summary?: string;\n }>;\n saveDocument?(document: TDocument): PlayableLocalEditorMaybePromise<{ document: TDocument; summary?: string }>;\n runGame(context?: { reason: 'save' | 'discard' }): PlayableLocalEditorMaybePromise<void>;\n}\n\nexport interface PlayableLocalEditorWorldCapability<TAsset = unknown> {\n disposeWorld(): PlayableLocalEditorMaybePromise<void>;\n getCanvas(): HTMLCanvasElement | null;\n loadPreviewEngine(): PlayableLocalEditorMaybePromise<Record<string, any>>;\n createPreviewEngine(engineModule: Record<string, any>, canvas: HTMLCanvasElement): any;\n importPreviewAsset(context: any): Promise<unknown | null>;\n resolveMaterialTextureUrl?(texture: ArtistMaterialTextureRef): string | null | undefined;\n toBrowserAssetItem?(asset: TAsset): unknown;\n resolveAssetId?(asset: TAsset): string;\n}\n\nexport interface PlayableLocalEditorWorldOptions {\n cameraTarget?: { x: number; y: number; z: number };\n cameraRadius?: number;\n clearColor?: { r: number; g: number; b: number; a: number };\n sky?: Record<string, unknown> | false;\n grid?: Record<string, unknown>;\n useRightHandedSystem?: boolean;\n coordinateAxes?: boolean;\n selectionEdgesPrewarm?: BabylonEditorProjectionSelectionEdgesPrewarm;\n}\n\nexport interface PlayableLocalEditorGridContext {\n getCamera(): unknown | null;\n getEditorCamera(): unknown | null;\n}\n\nexport type PlayableLocalEditorGridFactory = (\n babylon: Record<string, any>,\n scene: unknown,\n camera?: unknown,\n context?: PlayableLocalEditorGridContext,\n) => unknown | void;\n\nexport interface PlayableLocalEditorAssetReloadResult {\n ok: boolean;\n assetCount: number;\n status: string;\n}\n\nexport interface PlayableLocalEditorUpdatedAssetRefreshResult extends PlayableLocalEditorAssetReloadResult {\n assetId: string;\n reconciledBindingCount: number;\n warnings: Array<{\n code: string;\n gameObjectId?: string;\n slotId?: string;\n materialAssetId?: string;\n candidateSlotIds?: string[];\n }>;\n error?: string;\n}\n\nexport interface PlayableLocalEditorAssetCreationOptions {\n placement?: unknown;\n}\n\nexport interface PlayableLocalEditorAssetCreationResult {\n ok: boolean;\n assetId: string;\n changed?: boolean;\n createdId?: string | null;\n status: string;\n error?: string;\n}\n\nexport type PlayableLocalEditorOperationOrigin = LocalEditorHarnessOperationOrigin;\nexport type PlayableLocalEditorProjectionWaitPolicy = LocalEditorHarnessProjectionWaitPolicy;\nexport type PlayableLocalEditorHistoryOperation = LocalEditorHarnessHistoryOperation;\nexport type PlayableLocalEditorHistoryOperationOptions = LocalEditorHarnessHistoryOperationOptions;\nexport type PlayableLocalEditorHistoryProjectionResult = LocalEditorHarnessHistoryProjectionResult;\nexport type PlayableLocalEditorHistoryStateResult = LocalEditorHarnessHistoryStateResult;\nexport type PlayableLocalEditorHistoryOperationResult<TDocument = unknown> =\n LocalEditorHarnessHistoryOperationResult<TDocument>;\n\nexport interface PlayableLocalEditorHarnessApi<TDocument = unknown> {\n render(): void;\n notifyViewportRevealed(reason?: string): void;\n getWorkingDocument(): TDocument | null;\n projectAssetDropPoint(point: { x: number; y: number } | null): { x: number; y: number; z: number } | null;\n getUnsavedChangesState(): PlayableLocalEditorUnsavedChangesState;\n getSaveFailureState(): PlayableLocalEditorSaveFailureState | null;\n getLifecycleService(): FpsEditorLifecycleService | null;\n validateOperation(phase: 'save' | 'run' | 'export'): boolean;\n validateOperationSettled(phase: 'save' | 'run' | 'export'): Promise<boolean>;\n validateOperationSettledForCurrentDocument(phase: 'save' | 'run' | 'export'): Promise<boolean>;\n runExclusiveDocumentOperation<TResult>(\n operation: (executor: PlayableLocalEditorDocumentOperationExecutor) => Promise<TResult>,\n ): Promise<TResult>;\n reloadAssets(): Promise<PlayableLocalEditorAssetReloadResult>;\n refreshUpdatedAsset(input: {\n assetId: string;\n expectedContentHash: string;\n }): Promise<PlayableLocalEditorUpdatedAssetRefreshResult>;\n createAssetFromAssetId(assetId: string, options?: PlayableLocalEditorAssetCreationOptions): PlayableLocalEditorAssetCreationResult;\n undo(options?: PlayableLocalEditorHistoryOperationOptions): Promise<PlayableLocalEditorHistoryOperationResult<TDocument>>;\n redo(options?: PlayableLocalEditorHistoryOperationOptions): Promise<PlayableLocalEditorHistoryOperationResult<TDocument>>;\n enterEditor(): Promise<void>;\n saveScene(): Promise<boolean>;\n saveAndRunGame(): Promise<boolean>;\n discardAndRunGame(): Promise<void>;\n}\n\nexport interface PlayableLocalEditorHostManifest<TDocument, TPatch, TAsset = unknown> {\n metadata: PlayableLocalEditorHostManifestMetadata;\n root?: HTMLElement;\n localTestActions?: boolean;\n gameModeEntryVisible?: boolean;\n pluginHost?: FpsEditorPluginHost;\n authoring?: {\n host?: PlayableLocalEditorAuthoringHostLike;\n drivers?: readonly PlayableLocalEditorAuthoringSourceDriverLike[];\n };\n documentAdapter: PlayableLocalEditorDocumentCapability<TDocument, TPatch, TAsset>;\n capabilities?: PlayableLocalEditorHostCapabilities<TDocument, TPatch, TAsset>;\n persistenceAdapter: PlayableLocalEditorPersistenceCapability<TDocument, TAsset>;\n worldAdapter: PlayableLocalEditorWorldCapability<TAsset>;\n agentBridge?: LocalEditorHarnessOptions<TDocument, TPatch, TAsset>['agentBridge'];\n world?: PlayableLocalEditorWorldOptions;\n createGrid?: PlayableLocalEditorGridFactory;\n lifecycle: {\n loadingContent: PlayableLocalEditorHostLoadingContent;\n interactions?: PlayableLocalEditorInteractionPolicy;\n beforeDiscardAndRunGame?: () => void | Promise<void>;\n minAssetLoadingOverlayMs?: number;\n };\n forgePlay?: {\n enabled?: boolean;\n window?: PlayableForgePlayWindowLike;\n handleProjectAssetCommand?: (\n context: PlayableLocalEditorHostBridgeContext<PlayableLocalEditorHarnessApi<TDocument>>,\n ) => Promise<void> | void;\n handleAssetDrop?: (\n payload: Record<string, unknown>,\n context: Omit<PlayableLocalEditorHostBridgeContext<PlayableLocalEditorHarnessApi<TDocument>>, 'name'>,\n ) => void;\n hasUnsavedPlatformChanges?: () => boolean;\n exportDocument?: (input: {\n payload: Record<string, unknown>;\n saveState: PlayableForgePlaySaveState;\n postEvent: (name: string, payload?: Record<string, unknown>) => void;\n context: Omit<PlayableLocalEditorHostBridgeContext<PlayableLocalEditorHarnessApi<TDocument>>, 'name' | 'payload'>;\n }) => Promise<PlayableForgePlayDocumentExportResult> | PlayableForgePlayDocumentExportResult;\n reportError?: (error: unknown) => void;\n };\n}\n\nexport interface PlayableLocalEditorHost<TDocument = unknown> {\n harness: PlayableLocalEditorHarnessApi<TDocument>;\n lifecycle: FpsEditorLifecycleService;\n enterEditor(): Promise<void>;\n saveScene(): Promise<boolean>;\n saveAndRunGame(): Promise<boolean>;\n discardAndRunGame(): Promise<void>;\n runWithAssetLoadingOverlay<T>(operation: () => Promise<T>): Promise<T>;\n getBridge(): PlayableForgePlayModeBridge | null;\n getCompatibilityReport(): PlayableLocalEditorHostCompatibilityReport;\n dispose(): Promise<void>;\n}\n\nexport interface FpsGameEditorLocalEditorHostOptions<TDocument, TPatch, TAsset = unknown>\n extends Omit<PlayableLocalEditorHostManifest<TDocument, TPatch, TAsset>, 'metadata' | 'agentBridge'> {\n project: Pick<FpsGameEditorProjectDefinition, 'projectId' | 'projectName'>;\n compatibilityTag?: string;\n agentBridgeSessionMetadata?: Record<string, unknown>;\n agentBridge?: PlayableLocalEditorHostManifest<TDocument, TPatch, TAsset>['agentBridge'];\n logCompatibilityReport?: boolean;\n logger?: Pick<Console, 'warn' | 'error'>;\n}\n\nexport interface FpsGameEditorLocalEditorHostResult<TDocument, TPatch, TAsset = unknown> {\n host: PlayableLocalEditorHost<TDocument>;\n manifest: PlayableLocalEditorHostManifest<TDocument, TPatch, TAsset>;\n compatibilityReport: PlayableLocalEditorHostCompatibilityReport;\n}\n\nexport function createFpsGameEditorLocalEditorHost<TDocument, TPatch, TAsset = unknown>(\n options: FpsGameEditorLocalEditorHostOptions<TDocument, TPatch, TAsset>,\n): FpsGameEditorLocalEditorHostResult<TDocument, TPatch, TAsset> {\n const manifest = createFpsGameEditorLocalEditorHostManifest(options);\n const host = createPlayableLocalEditorHost<TDocument, TPatch, TAsset>(manifest);\n const compatibilityReport = host.getCompatibilityReport();\n if (options.logCompatibilityReport !== false) {\n logPlayableLocalEditorHostCompatibilityReport(compatibilityReport, options.logger);\n }\n return {\n host,\n manifest,\n compatibilityReport,\n };\n}\n\nexport function createFpsGameEditorLocalEditorHostManifest<TDocument, TPatch, TAsset = unknown>(\n options: FpsGameEditorLocalEditorHostOptions<TDocument, TPatch, TAsset>,\n): PlayableLocalEditorHostManifest<TDocument, TPatch, TAsset> {\n const {\n project,\n compatibilityTag,\n agentBridgeSessionMetadata,\n agentBridge: configuredAgentBridge,\n logCompatibilityReport: _logCompatibilityReport,\n logger: _logger,\n ...manifestOptions\n } = options;\n const agentBridge = agentBridgeSessionMetadata\n ? {\n ...(configuredAgentBridge ?? {}),\n sessionMetadata: {\n ...(configuredAgentBridge?.sessionMetadata as Record<string, unknown> | undefined),\n ...agentBridgeSessionMetadata,\n },\n }\n : configuredAgentBridge;\n\n return {\n ...manifestOptions,\n metadata: {\n manifestVersion: PLAYABLE_LOCAL_EDITOR_HOST_MANIFEST_VERSION,\n projectId: project.projectId,\n projectName: project.projectName,\n ...(compatibilityTag ? { compatibilityTag } : {}),\n },\n ...(agentBridge ? { agentBridge } : {}),\n };\n}\n\nfunction logPlayableLocalEditorHostCompatibilityReport(\n report: PlayableLocalEditorHostCompatibilityReport,\n logger: Pick<Console, 'warn' | 'error'> = console,\n): void {\n const visibleDiagnostics = report.diagnostics.filter(\n diagnostic => diagnostic.severity === 'warning' || diagnostic.severity === 'error',\n );\n if (visibleDiagnostics.length === 0) return;\n const doctorReport = inspectPlayableEditorHostCompatibilityReport({\n diagnostics: visibleDiagnostics,\n });\n const formatted = formatPlayableEditorDoctorReport(doctorReport);\n if (doctorReport.ok) logger.warn(formatted);\n else logger.error(formatted);\n}\n\nexport function inspectPlayableLocalEditorHostManifest(\n manifest: unknown,\n): PlayableLocalEditorHostCompatibilityReport {\n const diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[] = [];\n const report: PlayableLocalEditorHostCompatibilityReport = {\n supportedManifestVersion: PLAYABLE_LOCAL_EDITOR_HOST_MANIFEST_VERSION,\n ok: true,\n diagnostics,\n };\n\n if (!isRecord(manifest)) {\n diagnostics.push(createDiagnostic(\n 'error',\n 'manifest.invalid',\n 'Playable local editor host manifest must be an object.',\n 'manifest',\n ));\n report.ok = false;\n return report;\n }\n\n inspectMetadata(manifest.metadata, report, diagnostics);\n inspectRequiredCapability(\n manifest,\n diagnostics,\n 'documentAdapter',\n 'documentCapability',\n PLAYABLE_LOCAL_EDITOR_HOST_REQUIRED_CONTRACT.document,\n );\n inspectRequiredCapability(\n manifest,\n diagnostics,\n 'persistenceAdapter',\n 'persistenceCapability',\n PLAYABLE_LOCAL_EDITOR_HOST_REQUIRED_CONTRACT.persistence,\n );\n inspectWorldCapability(manifest.worldAdapter, diagnostics);\n inspectLifecycle(manifest.lifecycle, diagnostics);\n inspectForgePlay(manifest.forgePlay, diagnostics);\n inspectAuthoring(manifest.authoring, diagnostics);\n inspectCapabilities(manifest.capabilities, diagnostics);\n\n report.ok = !diagnostics.some(diagnostic => diagnostic.severity === 'error');\n return report;\n}\n\nexport function formatPlayableLocalEditorHostCompatibilityReport(\n report: PlayableLocalEditorHostCompatibilityReport,\n): string {\n const project = report.projectName ?? report.projectId ?? 'unknown project';\n const header = report.ok\n ? `Playable local editor host compatibility: PASS (${project})`\n : `Playable local editor host compatibility: BLOCKED (${project})`;\n if (report.diagnostics.length === 0) return header;\n const lines = report.diagnostics.map((diagnostic) => {\n const path = diagnostic.path ? ` ${diagnostic.path}` : '';\n return `[${diagnostic.severity.toUpperCase()}] ${diagnostic.code}${path}: ${diagnostic.message}`;\n });\n return [header, ...lines].join('\\n');\n}\n\nfunction createHarnessDocumentAdapter<TDocument, TPatch, TAsset>(\n documentCapability: PlayableLocalEditorDocumentCapability<TDocument, TPatch, TAsset>,\n capabilities: PlayableLocalEditorHostCapabilities<TDocument, TPatch, TAsset> | undefined,\n): LocalEditorHarnessDocumentAdapter<TDocument, TPatch, TAsset> {\n return {\n ...documentCapability,\n ...capabilities?.documentLifecycle,\n ...capabilities?.selection,\n ...capabilities?.inspector,\n ...capabilities?.markerGraph,\n ...capabilities?.assetBrowser,\n ...capabilities?.assetActions,\n ...capabilities?.transformCommands,\n ...capabilities?.sceneGraph,\n ...capabilities?.worldPreview,\n ...capabilities?.rendering,\n ...capabilities?.prefabStage,\n } as unknown as LocalEditorHarnessDocumentAdapter<TDocument, TPatch, TAsset>;\n}\n\nfunction createHarnessHierarchyOptions<TDocument, TPatch, TAsset>(\n manifest: PlayableLocalEditorHostManifest<TDocument, TPatch, TAsset>,\n): LocalEditorHarnessOptions<TDocument, TPatch, TAsset>['hierarchy'] | undefined {\n const capabilities = manifest.capabilities;\n const agentController = createEditorAgentInteractionController({\n transport: createForgePlayAgentTransport({\n window: manifest.forgePlay?.window,\n }),\n });\n const agentOperations = createLocalEditorAgentHierarchyOperations<TDocument>({\n sendContext: context => agentController.sendContext(context),\n getProjectionNode: (document, id) => manifest.documentAdapter.getProjectionNode(document, id),\n getMarkerGraph: document => capabilities?.markerGraph?.getMarkerGraph?.(document) ?? null,\n getMarkerTypeCatalog: document => capabilities?.markerGraph?.getMarkerTypeCatalog?.(document) ?? [],\n getRelationTypeCatalog: document => capabilities?.markerGraph?.getRelationTypeCatalog?.(document) ?? [],\n describeSceneObject: manifest.capabilities?.agentContext?.describeSceneObject,\n describeSceneObjectSet: manifest.capabilities?.agentContext?.describeSceneObjectSet,\n describeRegionBinding: manifest.capabilities?.agentContext?.describeRegionBinding,\n source: {\n projectId: manifest.metadata?.projectId,\n projectName: manifest.metadata?.projectName,\n },\n reportError: manifest.forgePlay?.reportError,\n });\n const operations = capabilities?.hierarchyActions?.operations;\n return {\n operations: [\n ...(agentOperations as readonly LocalEditorHarnessHierarchyOperationRegistration<TDocument, TPatch>[]),\n ...((operations ?? []) as readonly LocalEditorHarnessHierarchyOperationRegistration<TDocument, TPatch>[]),\n ],\n };\n}\n\nfunction createHarnessProjectAgentOptions<TDocument, TPatch, TAsset>(\n manifest: PlayableLocalEditorHostManifest<TDocument, TPatch, TAsset>,\n): NonNullable<LocalEditorHarnessOptions<TDocument, TPatch, TAsset>['agentContext']> {\n const controller = createEditorAgentInteractionController({\n transport: createForgePlayAgentTransport({ window: manifest.forgePlay?.window }),\n });\n return {\n async sendProjectEntry(input) {\n const context = createLocalEditorProjectEntryAgentContext({\n ...input,\n source: {\n projectId: manifest.metadata?.projectId,\n projectName: manifest.metadata?.projectName,\n },\n });\n if (!context) return false;\n try {\n return await controller.sendContext(context);\n } catch (error) {\n manifest.forgePlay?.reportError?.(error);\n return false;\n }\n },\n };\n}\n\nexport function createPlayableLocalEditorHost<TDocument, TPatch, TAsset = unknown>(\n manifest: PlayableLocalEditorHostManifest<TDocument, TPatch, TAsset>,\n): PlayableLocalEditorHost<TDocument> {\n const compatibilityReport = inspectPlayableLocalEditorHostManifest(manifest);\n if (!compatibilityReport.ok) {\n throw new Error(formatPlayableLocalEditorHostCompatibilityReport(compatibilityReport));\n }\n\n const authoringHost = manifest.authoring\n ? (manifest.authoring.host as ProjectAuthoringHost | undefined)\n ?? createProjectAuthoringHost({ drivers: [...(manifest.authoring.drivers ?? [])] as AuthoringSourceDriver[] })\n : undefined;\n const harnessOptions = {\n root: manifest.root,\n localTestActions: manifest.localTestActions,\n gameModeEntryVisible: manifest.gameModeEntryVisible,\n pluginHost: manifest.pluginHost,\n authoringHost,\n documentAdapter: createHarnessDocumentAdapter(manifest.documentAdapter, manifest.capabilities),\n persistenceAdapter: manifest.persistenceAdapter as unknown as LocalEditorHarnessPersistenceAdapter<TDocument, TAsset>,\n worldAdapter: createHarnessWorldAdapter(manifest.worldAdapter),\n agentBridge: manifest.agentBridge,\n transformDocumentCapabilities: manifest.capabilities?.transformCommands?.documentCapabilities,\n world: manifest.world as LocalEditorHarnessOptions<TDocument, TPatch, TAsset>['world'],\n createGrid: manifest.createGrid as LocalEditorHarnessOptions<TDocument, TPatch, TAsset>['createGrid'],\n hierarchy: createHarnessHierarchyOptions(manifest),\n agentContext: createHarnessProjectAgentOptions(manifest),\n } satisfies LocalEditorHarnessOptions<TDocument, TPatch, TAsset>;\n const harness = createLocalEditorHarness<TDocument, TPatch, TAsset>(harnessOptions);\n const lifecycleOperations = getLocalEditorHarnessLifecycleOperations(harness);\n const root = manifest.root ?? document.body;\n const loadingOverlay = createPlayableLocalEditorLoadingOverlay(root);\n const interactions = composePlayableLocalEditorInteractionPolicy(\n manifest.lifecycle.interactions,\n harness.getDefaultInteractionPolicy?.(),\n createNativePlayableLocalEditorInteractionPolicy(root),\n );\n const uninstallBeforeUnloadGuard = installPlayableLocalEditorBeforeUnloadGuard(root, harness);\n const controller = createPlayableLocalEditorHostController({\n harness,\n lifecycleOperations,\n lifecycleScopeHost: manifest.pluginHost\n ? getFpsEditorPluginLifecycleScopeHost(manifest.pluginHost)\n : undefined,\n eventPublisher: manifest.pluginHost?.eventPublisher,\n reportDiagnostic: manifest.pluginHost\n ? diagnostic => manifest.pluginHost?.reportDiagnostic(diagnostic)\n : undefined,\n loadingOverlay,\n loadingContent: manifest.lifecycle.loadingContent,\n interactions,\n beforeDiscardAndRunGame: manifest.lifecycle.beforeDiscardAndRunGame,\n minAssetLoadingOverlayMs: manifest.lifecycle.minAssetLoadingOverlayMs,\n renderAfterEnter: false,\n forgePlay: manifest.forgePlay\n ? {\n enabled: manifest.forgePlay.enabled,\n window: manifest.forgePlay.window,\n hasUnsavedPlatformChanges: manifest.forgePlay.hasUnsavedPlatformChanges,\n handleProjectAssetCommand: manifest.forgePlay.handleProjectAssetCommand,\n handleAssetDrop: manifest.forgePlay.handleAssetDrop,\n exportDocument: manifest.forgePlay.exportDocument,\n reportError: manifest.forgePlay.reportError,\n }\n : undefined,\n });\n const hostHarness = controller.harness as PlayableLocalEditorHarnessApi<TDocument>;\n bindHarnessLifecycle(lifecycleOperations, controller);\n const lifecycleParticipantDisposers = manifest.pluginHost\n ? resolveFpsEditorLifecycleParticipants(manifest.pluginHost.contributions)\n .map(participant => controller.lifecycle.registerParticipant(participant))\n : [];\n if (lifecycleParticipantDisposers.length > 0) {\n controller.lifecycle.addScopeResource(\n PLAYABLE_LOCAL_EDITOR_APPLICATION_SCOPE_ID,\n () => {\n for (const dispose of [...lifecycleParticipantDisposers].reverse()) dispose();\n },\n );\n }\n\n let disposal: Promise<void> | null = null;\n let harnessDisposed = false;\n return {\n harness: hostHarness,\n lifecycle: controller.lifecycle.lifecycle,\n enterEditor: controller.enterEditor,\n saveScene: controller.saveScene,\n saveAndRunGame: controller.saveAndRunGame,\n discardAndRunGame: async () => {\n await controller.discardAndRunGame();\n },\n runWithAssetLoadingOverlay: controller.runWithAssetLoadingOverlay,\n getBridge: controller.getBridge,\n getCompatibilityReport() {\n return cloneCompatibilityReport(compatibilityReport);\n },\n async dispose() {\n if (disposal) return disposal;\n const pending = (async () => {\n await controller.dispose();\n uninstallBeforeUnloadGuard();\n if (!harnessDisposed) {\n await harness.dispose();\n harnessDisposed = true;\n }\n })();\n disposal = pending;\n void pending.catch(() => {\n if (disposal === pending) disposal = null;\n });\n return pending;\n },\n };\n}\n\nfunction bindHarnessLifecycle<TDocument>(\n lifecycleOperations: LocalEditorHarnessLifecycleOperations,\n controller: Pick<PlayableLocalEditorHost<TDocument>, 'enterEditor'> & {\n saveScene(executor?: PlayableLocalEditorDocumentOperationExecutor): Promise<boolean>;\n } & Pick<\n PlayableLocalEditorLifecycleController,\n | 'saveAndRunGame'\n | 'discardAndRunGame'\n | 'prepareSaveAndRunGame'\n | 'prepareDiscardAndRunGame'\n > & { lifecycle: PlayableLocalEditorLifecycleController },\n): void {\n lifecycleOperations.setLifecycleController({\n enterEditor: controller.enterEditor,\n saveScene: (_operation, _context, executor) => controller.saveScene(executor),\n saveAndRunGame: controller.saveAndRunGame,\n discardAndRunGame: controller.discardAndRunGame,\n prepareSaveAndRunGame: controller.prepareSaveAndRunGame,\n prepareDiscardAndRunGame: controller.prepareDiscardAndRunGame,\n lifecycle: controller.lifecycle.lifecycle,\n synchronizeDocumentState: controller.lifecycle.synchronizeDocumentState,\n registerParticipant: controller.lifecycle.registerParticipant,\n openScope: controller.lifecycle.openScope,\n addScopeResource: controller.lifecycle.addScopeResource,\n closeScope: controller.lifecycle.closeScope,\n });\n}\n\nfunction createNativePlayableLocalEditorInteractionPolicy(\n root: HTMLElement,\n): PlayableLocalEditorInteractionPolicy {\n const browserWindow = resolvePlayableLocalEditorWindow(root);\n return {\n confirmDiscardUnsavedChanges(input: PlayableLocalEditorDiscardConfirmationInput) {\n return browserWindow?.confirm?.(formatNativeDiscardConfirmationMessage(input)) ?? true;\n },\n notifySaveFailed(input: PlayableLocalEditorSaveFailureInput) {\n browserWindow?.alert?.(formatNativeSaveFailureMessage(input));\n },\n };\n}\n\nfunction composePlayableLocalEditorInteractionPolicy(\n override: PlayableLocalEditorInteractionPolicy | undefined,\n fallback: PlayableLocalEditorInteractionPolicy | undefined,\n nativeFallback: PlayableLocalEditorInteractionPolicy,\n): PlayableLocalEditorInteractionPolicy {\n return {\n confirmDiscardUnsavedChanges: override?.confirmDiscardUnsavedChanges\n ?? fallback?.confirmDiscardUnsavedChanges\n ?? nativeFallback.confirmDiscardUnsavedChanges,\n notifySaveFailed: override?.notifySaveFailed\n ?? fallback?.notifySaveFailed\n ?? nativeFallback.notifySaveFailed,\n };\n}\n\nfunction installPlayableLocalEditorBeforeUnloadGuard(\n root: HTMLElement,\n harness: Pick<LocalEditorHarness, 'getUnsavedChangesState'>,\n): () => void {\n const browserWindow = resolvePlayableLocalEditorWindow(root);\n if (!browserWindow?.addEventListener || !browserWindow.removeEventListener) return () => {};\n const onBeforeUnload = (event: BeforeUnloadEvent): string | void => {\n let unsavedChanges: PlayableLocalEditorUnsavedChangesState;\n try {\n unsavedChanges = harness.getUnsavedChangesState();\n } catch (error) {\n console.error('[PlayableLocalEditorHost] beforeunload dirty state unavailable', error);\n return;\n }\n if (!unsavedChanges.dirty || !unsavedChanges.hasWorkingDocument) return;\n event.preventDefault();\n event.returnValue = '';\n return '';\n };\n browserWindow.addEventListener('beforeunload', onBeforeUnload);\n return () => {\n browserWindow.removeEventListener('beforeunload', onBeforeUnload);\n };\n}\n\nfunction resolvePlayableLocalEditorWindow(root: HTMLElement): Window | null {\n return root.ownerDocument?.defaultView ?? (typeof window === 'undefined' ? null : window);\n}\n\nfunction formatNativeDiscardConfirmationMessage(\n _input: PlayableLocalEditorDiscardConfirmationInput,\n): string {\n return '当前编辑内容尚未保存。\\n\\n继续会丢弃这些更改并运行游戏。';\n}\n\nfunction formatNativeSaveFailureMessage(input: PlayableLocalEditorSaveFailureInput): string {\n const status = input.status?.trim() || '保存没有成功,当前编辑内容仍保留在编辑器中。';\n const details = input.details?.trim();\n const error = stringifyPlayableLocalEditorError(input.error)?.trim();\n const extra = [details, error]\n .filter((part): part is string => !!part && part !== status);\n return ['保存失败', status, ...extra].join('\\n\\n');\n}\n\nfunction stringifyPlayableLocalEditorError(error: unknown): string | undefined {\n if (error == null) return undefined;\n if (error instanceof Error) return error.message;\n return String(error);\n}\n\nfunction inspectMetadata(\n metadata: unknown,\n report: PlayableLocalEditorHostCompatibilityReport,\n diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[],\n): void {\n if (metadata === undefined) {\n diagnostics.push(createDiagnostic(\n 'error',\n 'metadata.missing',\n 'Manifest metadata is required for the host compatibility contract.',\n 'metadata',\n ));\n return;\n }\n if (!isRecord(metadata)) {\n diagnostics.push(createDiagnostic(\n 'error',\n 'metadata.invalid',\n 'Manifest metadata must be an object.',\n 'metadata',\n ));\n return;\n }\n\n report.manifestVersion = metadata.manifestVersion;\n report.projectId = readOptionalString(metadata.projectId);\n report.projectName = readOptionalString(metadata.projectName);\n report.compatibilityTag = readOptionalString(metadata.compatibilityTag);\n\n if (metadata.manifestVersion !== PLAYABLE_LOCAL_EDITOR_HOST_MANIFEST_VERSION) {\n diagnostics.push(createDiagnostic(\n 'error',\n 'metadata.manifest-version.unsupported',\n `Manifest version ${String(metadata.manifestVersion)} is incompatible with supported version ${PLAYABLE_LOCAL_EDITOR_HOST_MANIFEST_VERSION}. Upgrade the manifest or use a compatible editor package version.`,\n 'metadata.manifestVersion',\n ));\n }\n}\n\nfunction inspectRequiredCapability(\n manifest: Record<string, unknown>,\n diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[],\n fieldName: string,\n capabilityName: string,\n requiredFunctions: readonly string[],\n): void {\n const capability = manifest[fieldName];\n if (!isRecord(capability)) {\n diagnostics.push(createDiagnostic(\n 'error',\n `${capabilityName}.missing`,\n `${capabilityName} is required.`,\n capabilityName,\n ));\n return;\n }\n for (const functionName of requiredFunctions) {\n const fn = capability[functionName];\n if (typeof fn !== 'function') {\n diagnostics.push(createDiagnostic(\n 'error',\n `${capabilityName}.${functionName}.missing`,\n `${capabilityName}.${functionName} must be a function.`,\n `${capabilityName}.${functionName}`,\n ));\n } else {\n // Validate function signature: check parameter count\n validateFunctionSignature(fn, functionName, capabilityName, diagnostics);\n }\n }\n}\n\n/**\n * Validates function signature by checking parameter count.\n * Issues warnings when declared parameter count differs from expected.\n * \n * Note: Function.length is not fully reliable (rest params, default values, \n * destructured params all affect it), so signature mismatches are reported as\n * warnings rather than blocking errors.\n */\nfunction validateFunctionSignature(\n fn: Function,\n functionName: string,\n capabilityName: string,\n diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[],\n): void {\n const expectedArity = getExpectedFunctionArity(capabilityName, functionName);\n if (expectedArity === undefined) return; // No validation defined for this function\n \n const actualArity = fn.length;\n const arityMismatch = actualArity < expectedArity.min\n || (expectedArity.max !== undefined && actualArity > expectedArity.max);\n if (arityMismatch) {\n const severity = capabilityName === 'worldCapability' ? 'error' : 'warning';\n diagnostics.push(createDiagnostic(\n severity,\n `${capabilityName}.${functionName}.arity-mismatch`,\n `${capabilityName}.${functionName} declares ${actualArity} parameter(s), but SDK expects ${expectedArity.min}${expectedArity.max !== undefined && expectedArity.max !== expectedArity.min ? `-${expectedArity.max}` : ''}. Verify the function signature matches the SDK contract.`,\n `${capabilityName}.${functionName}`,\n ));\n }\n}\n\n/**\n * Returns expected parameter count for required functions.\n * min: minimum required parameters\n * max: maximum expected parameters (undefined = no limit)\n */\nfunction getExpectedFunctionArity(\n capabilityName: string,\n functionName: string,\n): { min: number; max?: number } | undefined {\n // Document capability function signatures\n if (capabilityName === 'documentCapability') {\n switch (functionName) {\n case 'reduceDocument': return { min: 2, max: 2 }; // (document, command)\n case 'getHierarchyItems': return { min: 1, max: 1 }; // (document)\n case 'getProjectionNodes': return { min: 1, max: 1 }; // (document)\n case 'getProjectionNode': return { min: 2, max: 2 }; // (document, id)\n case 'createPatchFromAsset': return { min: 1, max: 2 }; // (asset, input?)\n case 'createSerializedPropertyPatch': return { min: 1, max: 1 }; // (input)\n }\n }\n \n // Persistence capability function signatures\n if (capabilityName === 'persistenceCapability') {\n switch (functionName) {\n case 'loadAssets': return { min: 1, max: 1 }; // (document)\n case 'runGame': return { min: 0, max: 1 }; // (context?)\n }\n }\n \n // World capability function signatures\n if (capabilityName === 'worldCapability') {\n switch (functionName) {\n case 'getCanvas': return { min: 0, max: 0 }; // ()\n case 'disposeWorld': return { min: 0, max: 0 }; // ()\n case 'loadPreviewEngine': return { min: 0, max: 0 }; // ()\n case 'createPreviewEngine': return { min: 2, max: 2 }; // (engineModule, canvas)\n case 'importPreviewAsset': return { min: 1, max: 1 }; // (context)\n }\n }\n \n return undefined;\n}\n\nfunction inspectWorldCapability(\n worldCapability: unknown,\n diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[],\n): void {\n if (!isRecord(worldCapability)) {\n diagnostics.push(createDiagnostic(\n 'error',\n 'worldCapability.missing',\n 'worldCapability is required.',\n 'worldCapability',\n ));\n return;\n }\n for (const functionName of PLAYABLE_LOCAL_EDITOR_HOST_REQUIRED_CONTRACT.world.direct) {\n const fn = worldCapability[functionName];\n if (typeof fn !== 'function') {\n diagnostics.push(createDiagnostic(\n 'error',\n `worldCapability.${functionName}.missing`,\n `worldCapability.${functionName} must be a function.`,\n `worldCapability.${functionName}`,\n ));\n } else {\n validateFunctionSignature(fn, functionName, 'worldCapability', diagnostics);\n }\n }\n}\n\nfunction createHarnessWorldAdapter<TAsset>(\n worldCapability: PlayableLocalEditorWorldCapability<TAsset>,\n): LocalEditorHarnessWorldAdapter<TAsset> {\n const adapter: LocalEditorHarnessWorldAdapter<TAsset> = {\n disposeGameWorld() {\n return worldCapability.disposeWorld?.() as ReturnType<LocalEditorHarnessWorldAdapter<TAsset>['disposeGameWorld']>;\n },\n getCanvas() {\n return worldCapability.getCanvas();\n },\n loadBabylon() {\n return worldCapability.loadPreviewEngine?.() as ReturnType<LocalEditorHarnessWorldAdapter<TAsset>['loadBabylon']>;\n },\n createEngine(engineModule, canvas) {\n return worldCapability.createPreviewEngine?.(engineModule, canvas);\n },\n importProjectionModel(context) {\n return worldCapability.importPreviewAsset?.(context) as ReturnType<LocalEditorHarnessWorldAdapter<TAsset>['importProjectionModel']>;\n },\n };\n if (worldCapability.toBrowserAssetItem) {\n adapter.toBrowserAssetItem = worldCapability.toBrowserAssetItem as LocalEditorHarnessWorldAdapter<TAsset>['toBrowserAssetItem'];\n }\n if (worldCapability.resolveAssetId) {\n adapter.resolveAssetId = worldCapability.resolveAssetId;\n }\n if (worldCapability.resolveMaterialTextureUrl) {\n adapter.resolveMaterialTextureUrl = worldCapability.resolveMaterialTextureUrl;\n }\n return adapter;\n}\n\nfunction inspectLifecycle(\n lifecycle: unknown,\n diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[],\n): void {\n if (!isRecord(lifecycle)) {\n diagnostics.push(createDiagnostic(\n 'error',\n 'lifecycle.missing',\n 'lifecycle is required.',\n 'lifecycle',\n ));\n return;\n }\n if (!isRecord(lifecycle.loadingContent)) {\n diagnostics.push(createDiagnostic(\n 'error',\n 'lifecycle.loading-content.missing',\n 'lifecycle.loadingContent is required.',\n 'lifecycle.loadingContent',\n ));\n }\n}\n\nfunction inspectForgePlay(\n forgePlay: unknown,\n diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[],\n): void {\n if (!isRecord(forgePlay)) return;\n if (forgePlay.enabled !== false && !forgePlay.window) {\n diagnostics.push(createDiagnostic(\n 'warning',\n 'forge-play.window.missing',\n 'Forge Play bridge is enabled but no window was provided; mode and document bridge commands will not be installed.',\n 'forgePlay.window',\n ));\n }\n}\n\nfunction inspectAuthoring(\n authoring: unknown,\n diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[],\n): void {\n if (!isRecord(authoring)) return;\n const drivers = Array.isArray(authoring.drivers) ? authoring.drivers : [];\n if (authoring.host && drivers.length > 0) {\n diagnostics.push(createDiagnostic(\n 'info',\n 'authoring.host-overrides-drivers',\n 'authoring.host and authoring.drivers are both present; the provided host will be used.',\n 'authoring',\n ));\n }\n}\n\nfunction inspectCapabilities(\n capabilities: unknown,\n diagnostics: PlayableLocalEditorHostCompatibilityDiagnostic[],\n): void {\n if (capabilities === undefined) return;\n if (!isRecord(capabilities)) {\n diagnostics.push(createDiagnostic(\n 'warning',\n 'capabilities.invalid',\n 'capabilities must be an object when provided.',\n 'capabilities',\n ));\n return;\n }\n const hierarchyActions = capabilities.hierarchyActions;\n if (isRecord(hierarchyActions) && hierarchyActions.contextActions !== undefined) {\n diagnostics.push(createDiagnostic(\n 'error',\n 'capabilities.hierarchyActions.contextActions.removed',\n 'capabilities.hierarchyActions.contextActions was removed; migrate each action to capabilities.hierarchyActions.operations.',\n 'capabilities.hierarchyActions.contextActions',\n ));\n }\n if (isRecord(hierarchyActions)\n && hierarchyActions.operations !== undefined\n && !Array.isArray(hierarchyActions.operations)) {\n diagnostics.push(createDiagnostic(\n 'warning',\n 'capabilities.hierarchyActions.operations.invalid',\n 'capabilities.hierarchyActions.operations should be an array of typed hierarchy operation registrations.',\n 'capabilities.hierarchyActions.operations',\n ));\n }\n if (isRecord(hierarchyActions) && Array.isArray(hierarchyActions.operations)) {\n hierarchyActions.operations.forEach((operation, index) => {\n if (!isRecord(operation)) return;\n if (operation.contextMenu === undefined) return;\n diagnostics.push(createDiagnostic(\n 'error',\n 'capabilities.hierarchyActions.operations.contextMenu.removed',\n 'Hierarchy operation contextMenu was removed; use operation.menu or menu: false.',\n `capabilities.hierarchyActions.operations[${index}].contextMenu`,\n ));\n });\n }\n}\n\nfunction createDiagnostic(\n severity: PlayableLocalEditorHostCompatibilitySeverity,\n code: string,\n message: string,\n path?: string,\n): PlayableLocalEditorHostCompatibilityDiagnostic {\n return {\n severity,\n code,\n message,\n path,\n };\n}\n\nfunction cloneCompatibilityReport(\n report: PlayableLocalEditorHostCompatibilityReport,\n): PlayableLocalEditorHostCompatibilityReport {\n return {\n supportedManifestVersion: report.supportedManifestVersion,\n manifestVersion: report.manifestVersion,\n projectId: report.projectId,\n projectName: report.projectName,\n compatibilityTag: report.compatibilityTag,\n ok: report.ok,\n diagnostics: report.diagnostics.map(diagnostic => ({ ...diagnostic })),\n };\n}\n\nfunction isRecord(value: unknown): value is Record<string, unknown> {\n return typeof value === 'object' && value !== null;\n}\n\nfunction readOptionalString(value: unknown): string | undefined {\n return typeof value === 'string' ? value : undefined;\n}\n"]}
@@ -1,23 +1,18 @@
1
1
  import { type FpsGameEditorProjectDefinition } from '@fps-games/editor-playable-sdk';
2
2
  import { type FpsGameEditorLocalEditorHostOptions, type PlayableLocalEditorHost } from './playable-local-editor-host.js';
3
3
  import type { FpsEditorPluginHost } from '@fps-games/editor-core/plugin-host';
4
- type MaybePromise<T> = T | Promise<T>;
5
- export interface FpsGameEditorProductRunGameContext {
6
- reason?: string;
7
- [key: string]: unknown;
8
- }
4
+ import type { FpsDiagnostic, FpsPluginEnvironmentModule } from '@fps-games/plugin-api';
5
+ import type { FpsGameEditorProjectModeTransitions } from './playable-project-mode.js';
9
6
  export interface FpsGameEditorProductWindowLike {
10
7
  parent?: unknown;
11
8
  document?: Pick<Document, 'getElementById'>;
12
9
  location: Pick<Location, 'reload'>;
13
10
  setTimeout(handler: () => void, timeout?: number): unknown;
14
- __restartProjectGame?: (context?: FpsGameEditorProductRunGameContext) => MaybePromise<void>;
15
11
  }
16
12
  export interface FpsGameEditorProductLocalEditorContext<TDocument> {
17
13
  getHost(): PlayableLocalEditorHost<TDocument> | null;
18
14
  rememberPlatformAssetDrop(payload: Record<string, unknown>): void;
19
15
  normalizeLoadedPlatformAssetPayload(payload: Record<string, unknown>): Record<string, unknown>;
20
- runBeforeEnterEditor(): Promise<void>;
21
16
  getCanvas(): HTMLCanvasElement | null;
22
17
  }
23
18
  type FpsGameEditorProductBaseHostOptions<TDocument, TPatch, TAsset> = FpsGameEditorLocalEditorHostOptions<TDocument, TPatch, TAsset>;
@@ -25,6 +20,8 @@ export type FpsGameEditorProductLocalEditorHostOptions<TDocument, TPatch, TAsset
25
20
  persistenceAdapter: Omit<FpsGameEditorProductBaseHostOptions<TDocument, TPatch, TAsset>['persistenceAdapter'], 'runGame'>;
26
21
  worldAdapter: Omit<FpsGameEditorProductBaseHostOptions<TDocument, TPatch, TAsset>['worldAdapter'], 'disposeWorld' | 'disposeGameWorld' | 'getCanvas'>;
27
22
  };
23
+ /** Mode intentions required by the product Local Editor assembly. */
24
+ export type FpsGameEditorProductProjectModeTransitions = Pick<FpsGameEditorProjectModeTransitions, 'enterEditorMode'> & Partial<Pick<FpsGameEditorProjectModeTransitions, 'enterPlayMode'>>;
28
25
  export interface FpsGameEditorProductLocalEditorOptions<TDocument, TPatch, TAsset = unknown> {
29
26
  project: Pick<FpsGameEditorProjectDefinition, 'projectId' | 'projectName'>;
30
27
  root?: HTMLElement;
@@ -33,11 +30,8 @@ export interface FpsGameEditorProductLocalEditorOptions<TDocument, TPatch, TAsse
33
30
  pluginHost?: FpsEditorPluginHost;
34
31
  window?: FpsGameEditorProductWindowLike;
35
32
  canvasId?: string;
36
- disposeGameWorld: () => MaybePromise<void>;
33
+ projectMode: FpsGameEditorProductProjectModeTransitions;
37
34
  getCanvas?: () => HTMLCanvasElement | null;
38
- restartGame?: (context?: FpsGameEditorProductRunGameContext) => MaybePromise<void>;
39
- onBeforeEnterEditor?: () => MaybePromise<void>;
40
- onBeforeReload?: () => MaybePromise<void>;
41
35
  setAssetBridgeActive?: (active: boolean) => void;
42
36
  hostAssembly: {
43
37
  createHostOptions: (context: FpsGameEditorProductLocalEditorContext<TDocument>) => FpsGameEditorProductLocalEditorHostOptions<TDocument, TPatch, TAsset>;
@@ -46,10 +40,14 @@ export interface FpsGameEditorProductLocalEditorOptions<TDocument, TPatch, TAsse
46
40
  export interface FpsGameEditorProductLocalEditorModeSwitcher<TDocument = unknown> {
47
41
  enterEditor(): Promise<void>;
48
42
  discardAndRunGame(): Promise<void>;
49
- detachForEditor(): void;
50
43
  dispose(): Promise<void>;
51
44
  getHost(): PlayableLocalEditorHost<TDocument> | null;
52
45
  }
46
+ export type FpsGameEditorProductLocalEditorEnvironmentModuleOptions<TDocument, TPatch, TAsset = unknown> = Omit<FpsGameEditorProductLocalEditorOptions<TDocument, TPatch, TAsset>, 'pluginHost'> & {
47
+ pluginModule: FpsPluginEnvironmentModule;
48
+ reportPluginDiagnostic?: (diagnostic: FpsDiagnostic) => void;
49
+ };
50
+ export declare function mountFpsGameEditorProductLocalEditorFromEnvironmentModule<TDocument, TPatch, TAsset = unknown>(options: FpsGameEditorProductLocalEditorEnvironmentModuleOptions<TDocument, TPatch, TAsset>): Promise<FpsGameEditorProductLocalEditorModeSwitcher<TDocument>>;
53
51
  export declare function mountFpsGameEditorProductLocalEditor<TDocument, TPatch, TAsset = unknown>(options: FpsGameEditorProductLocalEditorOptions<TDocument, TPatch, TAsset>): FpsGameEditorProductLocalEditorModeSwitcher<TDocument>;
54
52
  export {};
55
53
  //# sourceMappingURL=playable-product-local-editor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"playable-product-local-editor.d.ts","sourceRoot":"","sources":["../src/playable-product-local-editor.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,8BAA8B,EACpC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAEL,KAAK,mCAAmC,EACxC,KAAK,uBAAuB,EAC7B,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAE9E,KAAK,YAAY,CAAC,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;AAatC,MAAM,WAAW,kCAAkC;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,8BAA8B;IAC7C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAC;IAC5C,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,QA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