@fps-games/editor 0.2.0-beta.3 → 0.2.1-beta.1

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 (1400) hide show
  1. package/dist/agent-bridge/capabilities/editor-state.d.ts.map +1 -1
  2. package/dist/agent-bridge/capabilities/editor-state.js +32 -17
  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 +243 -60
  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 +111 -25
  14. package/dist/agent-bridge/capabilities/scene-objects.js.map +1 -1
  15. package/dist/agent-bridge/capabilities/selection.d.ts.map +1 -1
  16. package/dist/agent-bridge/capabilities/selection.js +8 -5
  17. package/dist/agent-bridge/capabilities/selection.js.map +1 -1
  18. package/dist/agent-bridge/capabilities/shadows.d.ts.map +1 -1
  19. package/dist/agent-bridge/capabilities/shadows.js +839 -67
  20. package/dist/agent-bridge/capabilities/shadows.js.map +1 -1
  21. package/dist/agent-bridge/capabilities/transform.d.ts.map +1 -1
  22. package/dist/agent-bridge/capabilities/transform.js +6 -4
  23. package/dist/agent-bridge/capabilities/transform.js.map +1 -1
  24. package/dist/agent-bridge/capabilities/ui-regions.d.ts.map +1 -1
  25. package/dist/agent-bridge/capabilities/ui-regions.js +3 -1
  26. package/dist/agent-bridge/capabilities/ui-regions.js.map +1 -1
  27. package/dist/agent-bridge/capabilities/viewport.d.ts.map +1 -1
  28. package/dist/agent-bridge/capabilities/viewport.js +92 -47
  29. package/dist/agent-bridge/capabilities/viewport.js.map +1 -1
  30. package/dist/agent-bridge/capability-sources.d.ts.map +1 -1
  31. package/dist/agent-bridge/capability-sources.js +2 -0
  32. package/dist/agent-bridge/capability-sources.js.map +1 -1
  33. package/dist/agent-bridge/register.d.ts.map +1 -1
  34. package/dist/agent-bridge/register.js +194 -0
  35. package/dist/agent-bridge/register.js.map +1 -1
  36. package/dist/agent-bridge/shared.d.ts +232 -7
  37. package/dist/agent-bridge/shared.d.ts.map +1 -1
  38. package/dist/agent-bridge/shared.js +174 -0
  39. package/dist/agent-bridge/shared.js.map +1 -1
  40. package/dist/agent-bridge/source-types.d.ts +17 -1
  41. package/dist/agent-bridge/source-types.d.ts.map +1 -1
  42. package/dist/agent-bridge/source-types.js.map +1 -1
  43. package/dist/build-info.json +57 -42
  44. package/dist/index.d.ts +7 -6
  45. package/dist/index.d.ts.map +1 -1
  46. package/dist/index.js +4 -3
  47. package/dist/index.js.map +1 -1
  48. package/dist/internal/babylon-preview-engine.d.ts +3 -0
  49. package/dist/internal/babylon-preview-engine.d.ts.map +1 -0
  50. package/dist/internal/babylon-preview-engine.js +11 -0
  51. package/dist/internal/babylon-preview-engine.js.map +1 -0
  52. package/dist/internal/product-local-editor-cleanup.d.ts +5 -0
  53. package/dist/internal/product-local-editor-cleanup.d.ts.map +1 -0
  54. package/dist/internal/product-local-editor-cleanup.js +20 -0
  55. package/dist/internal/product-local-editor-cleanup.js.map +1 -0
  56. package/dist/local-editor-agent-actions.d.ts +2 -4
  57. package/dist/local-editor-agent-actions.d.ts.map +1 -1
  58. package/dist/local-editor-agent-actions.js +61 -33
  59. package/dist/local-editor-agent-actions.js.map +1 -1
  60. package/dist/local-editor-agent-context.d.ts +5 -5
  61. package/dist/local-editor-agent-context.d.ts.map +1 -1
  62. package/dist/local-editor-agent-context.js.map +1 -1
  63. package/dist/local-editor-harness.d.ts +340 -35
  64. package/dist/local-editor-harness.d.ts.map +1 -1
  65. package/dist/local-editor-harness.js +3854 -1118
  66. package/dist/local-editor-harness.js.map +1 -1
  67. package/dist/local-editor-marker-graph.d.ts +15 -15
  68. package/dist/local-editor-marker-graph.d.ts.map +1 -1
  69. package/dist/local-editor-marker-graph.js +3 -0
  70. package/dist/local-editor-marker-graph.js.map +1 -1
  71. package/dist/local-editor-performance-stats.d.ts +3 -2
  72. package/dist/local-editor-performance-stats.d.ts.map +1 -1
  73. package/dist/local-editor-performance-stats.js.map +1 -1
  74. package/dist/local-editor-prefab-stage-transaction.d.ts +19 -0
  75. package/dist/local-editor-prefab-stage-transaction.d.ts.map +1 -0
  76. package/dist/local-editor-prefab-stage-transaction.js +45 -0
  77. package/dist/local-editor-prefab-stage-transaction.js.map +1 -0
  78. package/dist/local-editor-scene-view-interaction-runtime.d.ts +3 -1
  79. package/dist/local-editor-scene-view-interaction-runtime.d.ts.map +1 -1
  80. package/dist/local-editor-scene-view-interaction-runtime.js +24 -0
  81. package/dist/local-editor-scene-view-interaction-runtime.js.map +1 -1
  82. package/dist/local-editor-tools.d.ts +18 -0
  83. package/dist/local-editor-tools.d.ts.map +1 -0
  84. package/dist/local-editor-tools.js +53 -0
  85. package/dist/local-editor-tools.js.map +1 -0
  86. package/dist/playable-babylon-rendering.d.ts +9 -0
  87. package/dist/playable-babylon-rendering.d.ts.map +1 -1
  88. package/dist/playable-babylon-rendering.js +162 -6
  89. package/dist/playable-babylon-rendering.js.map +1 -1
  90. package/dist/playable-local-editor-entry.d.ts +68 -0
  91. package/dist/playable-local-editor-entry.d.ts.map +1 -0
  92. package/dist/playable-local-editor-entry.js +424 -0
  93. package/dist/playable-local-editor-entry.js.map +1 -0
  94. package/dist/playable-local-editor-host.d.ts +51 -29
  95. package/dist/playable-local-editor-host.d.ts.map +1 -1
  96. package/dist/playable-local-editor-host.js +23 -11
  97. package/dist/playable-local-editor-host.js.map +1 -1
  98. package/dist/playable-product-local-editor.d.ts +10 -12
  99. package/dist/playable-product-local-editor.d.ts.map +1 -1
  100. package/dist/playable-product-local-editor.js +178 -85
  101. package/dist/playable-product-local-editor.js.map +1 -1
  102. package/dist/playable-product-projection-preview.d.ts +4 -1
  103. package/dist/playable-product-projection-preview.d.ts.map +1 -1
  104. package/dist/playable-product-projection-preview.js +122 -5
  105. package/dist/playable-product-projection-preview.js.map +1 -1
  106. package/dist/playable-product-rendering.d.ts +12 -0
  107. package/dist/playable-product-rendering.d.ts.map +1 -1
  108. package/dist/playable-product-rendering.js +128 -6
  109. package/dist/playable-product-rendering.js.map +1 -1
  110. package/dist/playable-product-scene-capabilities.d.ts +24 -7
  111. package/dist/playable-product-scene-capabilities.d.ts.map +1 -1
  112. package/dist/playable-product-scene-capabilities.js +172 -15
  113. package/dist/playable-product-scene-capabilities.js.map +1 -1
  114. package/dist/playable-project-mode.d.ts +17 -0
  115. package/dist/playable-project-mode.d.ts.map +1 -0
  116. package/dist/playable-project-mode.js +2 -0
  117. package/dist/playable-project-mode.js.map +1 -0
  118. package/dist/playable-runtime-babylon.d.ts +3 -6
  119. package/dist/playable-runtime-babylon.d.ts.map +1 -1
  120. package/dist/playable-runtime-babylon.js +1 -5
  121. package/dist/playable-runtime-babylon.js.map +1 -1
  122. package/dist/playable-sdk.d.ts +16 -9
  123. package/dist/playable-sdk.d.ts.map +1 -1
  124. package/dist/playable-sdk.js +6 -4
  125. package/dist/playable-sdk.js.map +1 -1
  126. package/dist/playable-standard-project.d.ts +23 -14
  127. package/dist/playable-standard-project.d.ts.map +1 -1
  128. package/dist/playable-standard-project.js +53 -19
  129. package/dist/playable-standard-project.js.map +1 -1
  130. package/dist/vite-client.d.ts +4 -0
  131. package/node_modules/@babel/helper-string-parser/lib/index.js +0 -1
  132. package/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -1
  133. package/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -1
  134. package/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -1
  135. package/node_modules/@babel/parser/lib/index.js +0 -1
  136. package/node_modules/@babel/types/lib/asserts/assertNode.js +0 -1
  137. package/node_modules/@babel/types/lib/asserts/generated/index.js +0 -1
  138. package/node_modules/@babel/types/lib/ast-types/generated/index.js +0 -1
  139. package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js +0 -1
  140. package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js +0 -1
  141. package/node_modules/@babel/types/lib/builders/generated/index.js +0 -1
  142. package/node_modules/@babel/types/lib/builders/generated/lowercase.js +0 -1
  143. package/node_modules/@babel/types/lib/builders/generated/uppercase.js +0 -1
  144. package/node_modules/@babel/types/lib/builders/productions.js +0 -1
  145. package/node_modules/@babel/types/lib/builders/react/buildChildren.js +0 -1
  146. package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js +0 -1
  147. package/node_modules/@babel/types/lib/builders/validateNode.js +0 -1
  148. package/node_modules/@babel/types/lib/clone/clone.js +0 -1
  149. package/node_modules/@babel/types/lib/clone/cloneDeep.js +0 -1
  150. package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js +0 -1
  151. package/node_modules/@babel/types/lib/clone/cloneNode.js +0 -1
  152. package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js +0 -1
  153. package/node_modules/@babel/types/lib/comments/addComment.js +0 -1
  154. package/node_modules/@babel/types/lib/comments/addComments.js +0 -1
  155. package/node_modules/@babel/types/lib/comments/inheritInnerComments.js +0 -1
  156. package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js +0 -1
  157. package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js +0 -1
  158. package/node_modules/@babel/types/lib/comments/inheritsComments.js +0 -1
  159. package/node_modules/@babel/types/lib/comments/removeComments.js +0 -1
  160. package/node_modules/@babel/types/lib/constants/generated/index.js +0 -1
  161. package/node_modules/@babel/types/lib/constants/index.js +0 -1
  162. package/node_modules/@babel/types/lib/converters/ensureBlock.js +0 -1
  163. package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js +0 -1
  164. package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js +0 -1
  165. package/node_modules/@babel/types/lib/converters/toBlock.js +0 -1
  166. package/node_modules/@babel/types/lib/converters/toComputedKey.js +0 -1
  167. package/node_modules/@babel/types/lib/converters/toExpression.js +0 -1
  168. package/node_modules/@babel/types/lib/converters/toIdentifier.js +0 -1
  169. package/node_modules/@babel/types/lib/converters/toKeyAlias.js +0 -1
  170. package/node_modules/@babel/types/lib/converters/toSequenceExpression.js +0 -1
  171. package/node_modules/@babel/types/lib/converters/toStatement.js +0 -1
  172. package/node_modules/@babel/types/lib/converters/valueToNode.js +0 -1
  173. package/node_modules/@babel/types/lib/definitions/core.js +0 -1
  174. package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js +0 -1
  175. package/node_modules/@babel/types/lib/definitions/experimental.js +0 -1
  176. package/node_modules/@babel/types/lib/definitions/flow.js +0 -1
  177. package/node_modules/@babel/types/lib/definitions/index.js +0 -1
  178. package/node_modules/@babel/types/lib/definitions/jsx.js +0 -1
  179. package/node_modules/@babel/types/lib/definitions/misc.js +0 -1
  180. package/node_modules/@babel/types/lib/definitions/placeholders.js +0 -1
  181. package/node_modules/@babel/types/lib/definitions/typescript.js +0 -1
  182. package/node_modules/@babel/types/lib/definitions/utils.js +0 -1
  183. package/node_modules/@babel/types/lib/index.js +0 -1
  184. package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js +0 -1
  185. package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js +0 -1
  186. package/node_modules/@babel/types/lib/modifications/inherits.js +0 -1
  187. package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js +0 -1
  188. package/node_modules/@babel/types/lib/modifications/removeProperties.js +0 -1
  189. package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js +0 -1
  190. package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +0 -1
  191. package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js +0 -1
  192. package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +0 -1
  193. package/node_modules/@babel/types/lib/retrievers/getFunctionName.js +0 -1
  194. package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js +0 -1
  195. package/node_modules/@babel/types/lib/traverse/traverse.js +0 -1
  196. package/node_modules/@babel/types/lib/traverse/traverseFast.js +0 -1
  197. package/node_modules/@babel/types/lib/utils/deprecationWarning.js +0 -1
  198. package/node_modules/@babel/types/lib/utils/inherit.js +0 -1
  199. package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js +0 -1
  200. package/node_modules/@babel/types/lib/utils/shallowEqual.js +0 -1
  201. package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js +0 -1
  202. package/node_modules/@babel/types/lib/validators/generated/index.js +0 -1
  203. package/node_modules/@babel/types/lib/validators/is.js +0 -1
  204. package/node_modules/@babel/types/lib/validators/isBinding.js +0 -1
  205. package/node_modules/@babel/types/lib/validators/isBlockScoped.js +0 -1
  206. package/node_modules/@babel/types/lib/validators/isImmutable.js +0 -1
  207. package/node_modules/@babel/types/lib/validators/isLet.js +0 -1
  208. package/node_modules/@babel/types/lib/validators/isNode.js +0 -1
  209. package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js +0 -1
  210. package/node_modules/@babel/types/lib/validators/isPlaceholderType.js +0 -1
  211. package/node_modules/@babel/types/lib/validators/isReferenced.js +0 -1
  212. package/node_modules/@babel/types/lib/validators/isScope.js +0 -1
  213. package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js +0 -1
  214. package/node_modules/@babel/types/lib/validators/isType.js +0 -1
  215. package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js +0 -1
  216. package/node_modules/@babel/types/lib/validators/isValidIdentifier.js +0 -1
  217. package/node_modules/@babel/types/lib/validators/isVar.js +0 -1
  218. package/node_modules/@babel/types/lib/validators/matchesPattern.js +0 -1
  219. package/node_modules/@babel/types/lib/validators/react/isCompatTag.js +0 -1
  220. package/node_modules/@babel/types/lib/validators/react/isReactComponent.js +0 -1
  221. package/node_modules/@babel/types/lib/validators/validate.js +0 -1
  222. package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.d.ts +69 -0
  223. package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.js +132 -0
  224. package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.d.ts +8 -0
  225. package/node_modules/@babylonjs/loaders/BVH/bvhFileLoader.metadata.js +7 -0
  226. package/node_modules/@babylonjs/loaders/BVH/bvhLoader.d.ts +14 -0
  227. package/node_modules/@babylonjs/loaders/BVH/bvhLoader.js +328 -0
  228. package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.d.ts +9 -0
  229. package/node_modules/@babylonjs/loaders/BVH/bvhLoadingOptions.js +1 -0
  230. package/node_modules/@babylonjs/loaders/BVH/index.d.ts +2 -0
  231. package/node_modules/@babylonjs/loaders/BVH/index.js +3 -0
  232. package/node_modules/@babylonjs/loaders/OBJ/index.d.ts +4 -0
  233. package/node_modules/@babylonjs/loaders/OBJ/index.js +4 -0
  234. package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.d.ts +41 -0
  235. package/node_modules/@babylonjs/loaders/OBJ/mtlFileLoader.js +230 -0
  236. package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.d.ts +136 -0
  237. package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.js +317 -0
  238. package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.d.ts +4 -0
  239. package/node_modules/@babylonjs/loaders/OBJ/objFileLoader.metadata.js +4 -0
  240. package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.d.ts +47 -0
  241. package/node_modules/@babylonjs/loaders/OBJ/objLoadingOptions.js +1 -0
  242. package/node_modules/@babylonjs/loaders/OBJ/solidParser.d.ts +175 -0
  243. package/node_modules/@babylonjs/loaders/OBJ/solidParser.js +903 -0
  244. package/node_modules/@babylonjs/loaders/SPLAT/index.d.ts +2 -0
  245. package/node_modules/@babylonjs/loaders/SPLAT/index.js +3 -0
  246. package/node_modules/@babylonjs/loaders/SPLAT/sog.d.ts +84 -0
  247. package/node_modules/@babylonjs/loaders/SPLAT/sog.js +294 -0
  248. package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.d.ts +26 -0
  249. package/node_modules/@babylonjs/loaders/SPLAT/splatDefs.js +10 -0
  250. package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.d.ts +100 -0
  251. package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.js +536 -0
  252. package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.d.ts +20 -0
  253. package/node_modules/@babylonjs/loaders/SPLAT/splatFileLoader.metadata.js +15 -0
  254. package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.d.ts +33 -0
  255. package/node_modules/@babylonjs/loaders/SPLAT/splatLoadingOptions.js +1 -0
  256. package/node_modules/@babylonjs/loaders/SPLAT/spz.d.ts +11 -0
  257. package/node_modules/@babylonjs/loaders/SPLAT/spz.js +168 -0
  258. package/node_modules/@babylonjs/loaders/STL/index.d.ts +1 -0
  259. package/node_modules/@babylonjs/loaders/STL/index.js +1 -0
  260. package/node_modules/@babylonjs/loaders/STL/stlFileLoader.d.ts +78 -0
  261. package/node_modules/@babylonjs/loaders/STL/stlFileLoader.js +238 -0
  262. package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.d.ts +8 -0
  263. package/node_modules/@babylonjs/loaders/STL/stlFileLoader.metadata.js +7 -0
  264. package/node_modules/@babylonjs/loaders/bvh/license.md +21 -0
  265. package/node_modules/@babylonjs/loaders/dynamic.d.ts +5 -0
  266. package/node_modules/@babylonjs/loaders/dynamic.js +56 -0
  267. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.d.ts +16 -0
  268. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFBinaryExtension.js +64 -0
  269. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.d.ts +144 -0
  270. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoader.js +1841 -0
  271. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.d.ts +412 -0
  272. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderInterfaces.js +95 -0
  273. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.d.ts +71 -0
  274. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFLoaderUtils.js +254 -0
  275. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.d.ts +13 -0
  276. package/node_modules/@babylonjs/loaders/glTF/1.0/glTFMaterialsCommonExtension.js +130 -0
  277. package/node_modules/@babylonjs/loaders/glTF/1.0/index.d.ts +5 -0
  278. package/node_modules/@babylonjs/loaders/glTF/1.0/index.js +5 -0
  279. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.d.ts +41 -0
  280. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_area.js +93 -0
  281. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.d.ts +41 -0
  282. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_ies.js +83 -0
  283. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.d.ts +48 -0
  284. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_lights_image_based.js +115 -0
  285. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.d.ts +39 -0
  286. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.js +94 -0
  287. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.d.ts +39 -0
  288. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_meshopt_compression.js +50 -0
  289. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.d.ts +34 -0
  290. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_avif.js +38 -0
  291. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.d.ts +33 -0
  292. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/EXT_texture_webp.js +37 -0
  293. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.d.ts +53 -0
  294. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/ExtrasAsMetadata.js +73 -0
  295. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.d.ts +47 -0
  296. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.d.ts +1 -0
  297. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.data.js +251 -0
  298. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_animation_pointer.js +77 -0
  299. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.d.ts +47 -0
  300. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_draco_mesh_compression.js +92 -0
  301. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.d.ts +355 -0
  302. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.js +1678 -0
  303. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.d.ts +33 -0
  304. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.js +19 -0
  305. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.d.ts +3 -0
  306. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/index.js +3 -0
  307. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.d.ts +70 -0
  308. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.js +438 -0
  309. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.d.ts +38 -0
  310. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_interactivity.js +150 -0
  311. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.d.ts +41 -0
  312. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_lights_punctual.js +91 -0
  313. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.d.ts +42 -0
  314. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_anisotropy.js +65 -0
  315. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.d.ts +43 -0
  316. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_clearcoat.js +79 -0
  317. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.d.ts +49 -0
  318. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_coat.js +119 -0
  319. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.d.ts +43 -0
  320. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_roughness.js +58 -0
  321. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.d.ts +43 -0
  322. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.js +69 -0
  323. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.d.ts +43 -0
  324. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_dispersion.js +56 -0
  325. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.d.ts +42 -0
  326. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_emissive_strength.js +47 -0
  327. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.d.ts +43 -0
  328. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_fuzz.js +77 -0
  329. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.d.ts +46 -0
  330. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_ior.js +54 -0
  331. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.d.ts +42 -0
  332. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_iridescence.js +68 -0
  333. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.d.ts +42 -0
  334. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.js +80 -0
  335. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.d.ts +43 -0
  336. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_sheen.js +73 -0
  337. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.d.ts +42 -0
  338. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_specular.js +76 -0
  339. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.d.ts +42 -0
  340. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_transmission.js +303 -0
  341. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.d.ts +42 -0
  342. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_unlit.js +66 -0
  343. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.d.ts +112 -0
  344. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_variants.js +262 -0
  345. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.d.ts +43 -0
  346. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume.js +82 -0
  347. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.d.ts +45 -0
  348. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_materials_volume_scatter.js +109 -0
  349. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.d.ts +29 -0
  350. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_mesh_quantization.js +22 -0
  351. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.d.ts +31 -0
  352. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_hoverability.js +189 -0
  353. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.d.ts +30 -0
  354. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_selectability.js +123 -0
  355. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.d.ts +30 -0
  356. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_node_visibility.js +66 -0
  357. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.d.ts +33 -0
  358. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_basisu.js +37 -0
  359. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.d.ts +37 -0
  360. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_texture_transform.js +58 -0
  361. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.d.ts +39 -0
  362. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/KHR_xmp_json_ld.js +47 -0
  363. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.d.ts +56 -0
  364. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_audio_emitter.js +228 -0
  365. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.d.ts +104 -0
  366. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_lod.js +337 -0
  367. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.d.ts +27 -0
  368. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_minecraftMesh.js +39 -0
  369. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.d.ts +27 -0
  370. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/MSFT_sRGBFactors.js +38 -0
  371. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.d.ts +4 -0
  372. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/dynamic.js +212 -0
  373. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.d.ts +45 -0
  374. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/gltfPathToObjectConverter.js +100 -0
  375. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.d.ts +43 -0
  376. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/index.js +44 -0
  377. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.d.ts +306 -0
  378. package/node_modules/@babylonjs/loaders/glTF/2.0/Extensions/objectModelMapping.js +884 -0
  379. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.d.ts +450 -0
  380. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoader.js +2485 -0
  381. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.d.ts +42 -0
  382. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderAnimation.js +79 -0
  383. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.d.ts +165 -0
  384. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtension.js +1 -0
  385. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.d.ts +25 -0
  386. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderExtensionRegistry.js +32 -0
  387. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.d.ts +262 -0
  388. package/node_modules/@babylonjs/loaders/glTF/2.0/glTFLoaderInterfaces.js +1 -0
  389. package/node_modules/@babylonjs/loaders/glTF/2.0/index.d.ts +8 -0
  390. package/node_modules/@babylonjs/loaders/glTF/2.0/index.js +9 -0
  391. package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.d.ts +364 -0
  392. package/node_modules/@babylonjs/loaders/glTF/2.0/materialLoadingAdapter.js +1 -0
  393. package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.d.ts +674 -0
  394. package/node_modules/@babylonjs/loaders/glTF/2.0/openpbrMaterialLoadingAdapter.js +1034 -0
  395. package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.d.ts +705 -0
  396. package/node_modules/@babylonjs/loaders/glTF/2.0/pbrMaterialLoadingAdapter.js +1126 -0
  397. package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.d.ts +553 -0
  398. package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.js +998 -0
  399. package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.d.ts +15 -0
  400. package/node_modules/@babylonjs/loaders/glTF/glTFFileLoader.metadata.js +17 -0
  401. package/node_modules/@babylonjs/loaders/glTF/glTFValidation.d.ts +35 -0
  402. package/node_modules/@babylonjs/loaders/glTF/glTFValidation.js +131 -0
  403. package/node_modules/@babylonjs/loaders/glTF/index.d.ts +5 -0
  404. package/node_modules/@babylonjs/loaders/glTF/index.js +6 -0
  405. package/node_modules/@babylonjs/loaders/index.d.ts +6 -0
  406. package/node_modules/@babylonjs/loaders/index.js +7 -0
  407. package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.d.ts +1 -0
  408. package/node_modules/@babylonjs/loaders/legacy/legacy-bvhFileLoader.js +15 -0
  409. package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.d.ts +1 -0
  410. package/node_modules/@babylonjs/loaders/legacy/legacy-dynamic.js +13 -0
  411. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.d.ts +2 -0
  412. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF.js +18 -0
  413. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.d.ts +2 -0
  414. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1.js +15 -0
  415. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.d.ts +2 -0
  416. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF1FileLoader.js +3 -0
  417. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.d.ts +2 -0
  418. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2.js +34 -0
  419. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.d.ts +2 -0
  420. package/node_modules/@babylonjs/loaders/legacy/legacy-glTF2FileLoader.js +3 -0
  421. package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.d.ts +3 -0
  422. package/node_modules/@babylonjs/loaders/legacy/legacy-glTFFileLoader.js +4 -0
  423. package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.d.ts +1 -0
  424. package/node_modules/@babylonjs/loaders/legacy/legacy-objFileLoader.js +15 -0
  425. package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.d.ts +1 -0
  426. package/node_modules/@babylonjs/loaders/legacy/legacy-stlFileLoader.js +15 -0
  427. package/node_modules/@babylonjs/loaders/legacy/legacy.d.ts +8 -0
  428. package/node_modules/@babylonjs/loaders/legacy/legacy.js +10 -0
  429. package/node_modules/@babylonjs/loaders/license.md +71 -0
  430. package/node_modules/@babylonjs/loaders/package.json +49 -0
  431. package/node_modules/@babylonjs/loaders/readme.md +23 -0
  432. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts +22 -0
  433. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.d.ts.map +1 -0
  434. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js +187 -0
  435. package/node_modules/@fps-games/babylon-renderer/dist/game-world-plugin-lifecycle.js.map +1 -0
  436. package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts +3 -0
  437. package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts.map +1 -1
  438. package/node_modules/@fps-games/babylon-renderer/dist/index.js +3 -0
  439. package/node_modules/@fps-games/babylon-renderer/dist/index.js.map +1 -1
  440. package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts +19 -0
  441. package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.d.ts.map +1 -0
  442. package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js +212 -0
  443. package/node_modules/@fps-games/babylon-renderer/dist/material-owner-candidates.js.map +1 -0
  444. package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts +17 -2
  445. package/node_modules/@fps-games/babylon-renderer/dist/plugin.d.ts.map +1 -1
  446. package/node_modules/@fps-games/babylon-renderer/dist/plugin.js +192 -17
  447. package/node_modules/@fps-games/babylon-renderer/dist/plugin.js.map +1 -1
  448. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +2 -0
  449. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -1
  450. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +139 -3
  451. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -1
  452. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts +4 -0
  453. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.d.ts.map +1 -1
  454. package/node_modules/@fps-games/babylon-renderer/dist/post-process/types.js.map +1 -1
  455. package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts +1 -0
  456. package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.d.ts.map +1 -1
  457. package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js +1 -0
  458. package/node_modules/@fps-games/babylon-renderer/dist/shadows/dynamic-shadow-system.js.map +1 -1
  459. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts +14 -0
  460. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.d.ts.map +1 -0
  461. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js +14 -0
  462. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-generator-shaders.js.map +1 -0
  463. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts +59 -0
  464. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.d.ts.map +1 -0
  465. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js +725 -0
  466. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-depth-backend.js.map +1 -0
  467. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts +136 -0
  468. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.d.ts.map +1 -0
  469. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js +2735 -0
  470. package/node_modules/@fps-games/babylon-renderer/dist/shadows/shadow-map-experiment-system.js.map +1 -0
  471. package/node_modules/@fps-games/babylon-renderer/package.json +7 -7
  472. package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js +1 -1
  473. package/node_modules/@fps-games/editor-babylon/dist/camera-controller.js.map +1 -1
  474. package/node_modules/@fps-games/editor-babylon/dist/index.d.ts +2 -1
  475. package/node_modules/@fps-games/editor-babylon/dist/index.d.ts.map +1 -1
  476. package/node_modules/@fps-games/editor-babylon/dist/index.js +2 -1
  477. package/node_modules/@fps-games/editor-babylon/dist/index.js.map +1 -1
  478. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts +2 -0
  479. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.d.ts.map +1 -1
  480. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js +59 -6
  481. package/node_modules/@fps-games/editor-babylon/dist/main-camera-preview.js.map +1 -1
  482. package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.d.ts.map +1 -1
  483. package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js +81 -11
  484. package/node_modules/@fps-games/editor-babylon/dist/material-slot-source-resolver.js.map +1 -1
  485. package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js +2 -8
  486. package/node_modules/@fps-games/editor-babylon/dist/projection-asset-container-importer.js.map +1 -1
  487. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +17 -5
  488. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
  489. package/node_modules/@fps-games/editor-babylon/dist/projection.js +300 -362
  490. package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
  491. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts +4 -0
  492. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts.map +1 -1
  493. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js +76 -10
  494. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js.map +1 -1
  495. package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts +46 -0
  496. package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.d.ts.map +1 -0
  497. package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js +304 -0
  498. package/node_modules/@fps-games/editor-babylon/dist/selection-identity-pass.js.map +1 -0
  499. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts +85 -0
  500. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts.map +1 -0
  501. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js +1600 -0
  502. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js.map +1 -0
  503. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts +11 -3
  504. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts.map +1 -1
  505. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js +105 -15
  506. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js.map +1 -1
  507. package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts +25 -0
  508. package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.d.ts.map +1 -0
  509. package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js +44 -0
  510. package/node_modules/@fps-games/editor-babylon/dist/viewport-ground-projection.js.map +1 -0
  511. package/node_modules/@fps-games/editor-babylon/package.json +6 -5
  512. package/node_modules/@fps-games/editor-browser/dist/index.d.ts +8 -9
  513. package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
  514. package/node_modules/@fps-games/editor-browser/dist/index.js +6 -7
  515. package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
  516. package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts +2 -0
  517. package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.d.ts.map +1 -0
  518. package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js +36 -0
  519. package/node_modules/@fps-games/editor-browser/dist/local-editor-clipboard.js.map +1 -0
  520. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts +2 -0
  521. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.d.ts.map +1 -1
  522. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js +17 -0
  523. package/node_modules/@fps-games/editor-browser/dist/local-editor-inspector-groups.js.map +1 -1
  524. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts +1 -1
  525. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.d.ts.map +1 -1
  526. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js +6 -0
  527. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-asset-kind.js.map +1 -1
  528. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.d.ts.map +1 -1
  529. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js +157 -77
  530. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js.map +1 -1
  531. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.d.ts.map +1 -1
  532. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js +27 -21
  533. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-dock-panel.js.map +1 -1
  534. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts +19 -0
  535. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts.map +1 -0
  536. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js +44 -0
  537. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js.map +1 -0
  538. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts +36 -5
  539. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
  540. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +831 -702
  541. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
  542. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts +8 -7
  543. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.d.ts.map +1 -1
  544. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js +1 -7
  545. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-drag-policy.js.map +1 -1
  546. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.d.ts +7 -0
  547. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.d.ts.map +1 -0
  548. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.js +20 -0
  549. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view-adapter.js.map +1 -0
  550. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +6 -7
  551. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
  552. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +266 -114
  553. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
  554. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts +1 -1
  555. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts.map +1 -1
  556. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js +11 -0
  557. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js.map +1 -1
  558. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.d.ts +3 -0
  559. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.d.ts.map +1 -1
  560. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js +58 -25
  561. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-input-router.js.map +1 -1
  562. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts +14 -0
  563. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.d.ts.map +1 -1
  564. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js +44 -62
  565. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-modal-dialog.js.map +1 -1
  566. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +10 -7
  567. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
  568. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +591 -639
  569. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
  570. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts +8 -36
  571. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts.map +1 -1
  572. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js +25 -103
  573. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js.map +1 -1
  574. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.d.ts.map +1 -1
  575. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js +29 -110
  576. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js.map +1 -1
  577. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts +1 -3
  578. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.d.ts.map +1 -1
  579. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js +6 -90
  580. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shared.js.map +1 -1
  581. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.d.ts.map +1 -1
  582. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js +9 -54
  583. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-shortcuts.js.map +1 -1
  584. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts +39 -0
  585. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.d.ts.map +1 -0
  586. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js +74 -0
  587. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-diagnostics.js.map +1 -0
  588. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.d.ts +4 -0
  589. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.d.ts.map +1 -0
  590. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.js +44 -0
  591. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-status-format.js.map +1 -0
  592. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.d.ts.map +1 -1
  593. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js +35 -44
  594. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-structured-drag-policy.js.map +1 -1
  595. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.d.ts.map +1 -1
  596. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.js +40 -24
  597. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-theme.js.map +1 -1
  598. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.d.ts.map +1 -1
  599. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js +2 -20
  600. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-tooltip.js.map +1 -1
  601. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +56 -301
  602. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
  603. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.js.map +1 -1
  604. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts +4 -14
  605. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts.map +1 -1
  606. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js +33 -119
  607. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js.map +1 -1
  608. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +5 -10
  609. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
  610. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +760 -524
  611. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
  612. package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts +2 -3
  613. package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.d.ts.map +1 -1
  614. package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js +0 -180
  615. package/node_modules/@fps-games/editor-browser/dist/plugin-contributions.js.map +1 -1
  616. package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts +5 -0
  617. package/node_modules/@fps-games/editor-browser/dist/runtime-debug.d.ts.map +1 -0
  618. package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js +5 -0
  619. package/node_modules/@fps-games/editor-browser/dist/runtime-debug.js.map +1 -0
  620. package/node_modules/@fps-games/editor-browser/package.json +15 -4
  621. package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts +22 -0
  622. package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.d.ts.map +1 -0
  623. package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js +226 -0
  624. package/node_modules/@fps-games/editor-core/dist/editor-diagnostic-store.js.map +1 -0
  625. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts +6 -1
  626. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts.map +1 -1
  627. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js +94 -2
  628. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js.map +1 -1
  629. package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts +26 -1
  630. package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts.map +1 -1
  631. package/node_modules/@fps-games/editor-core/dist/editor-session.js +77 -8
  632. package/node_modules/@fps-games/editor-core/dist/editor-session.js.map +1 -1
  633. package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts +112 -0
  634. package/node_modules/@fps-games/editor-core/dist/editor-tools.d.ts.map +1 -0
  635. package/node_modules/@fps-games/editor-core/dist/editor-tools.js +613 -0
  636. package/node_modules/@fps-games/editor-core/dist/editor-tools.js.map +1 -0
  637. package/node_modules/@fps-games/editor-core/dist/inspector.d.ts +46 -0
  638. package/node_modules/@fps-games/editor-core/dist/inspector.d.ts.map +1 -1
  639. package/node_modules/@fps-games/editor-core/dist/inspector.js +62 -0
  640. package/node_modules/@fps-games/editor-core/dist/inspector.js.map +1 -1
  641. package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts +1 -0
  642. package/node_modules/@fps-games/editor-core/dist/scene-graph.d.ts.map +1 -1
  643. package/node_modules/@fps-games/editor-core/dist/scene-graph.js.map +1 -1
  644. package/node_modules/@fps-games/editor-core/package.json +14 -6
  645. package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
  646. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js +14 -3
  647. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js.map +1 -1
  648. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts +1 -1
  649. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts.map +1 -1
  650. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js +1 -1
  651. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js.map +1 -1
  652. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts +14 -0
  653. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts.map +1 -1
  654. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js +49 -1
  655. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js.map +1 -1
  656. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js +58 -2
  657. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/catalog.js.map +1 -1
  658. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.d.ts.map +1 -1
  659. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js +48 -6
  660. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-library/document.js.map +1 -1
  661. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +28 -3
  662. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -1
  663. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +314 -6
  664. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -1
  665. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts +2 -0
  666. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.d.ts.map +1 -1
  667. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js +2 -0
  668. package/node_modules/@fps-games/editor-playable-sdk/dist/document/index.js.map +1 -1
  669. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts +11 -0
  670. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.d.ts.map +1 -0
  671. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js +27 -0
  672. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-instance-identity.js.map +1 -0
  673. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts +5 -0
  674. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.d.ts.map +1 -0
  675. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js +285 -0
  676. package/node_modules/@fps-games/editor-playable-sdk/dist/document/prefab-marker.js.map +1 -0
  677. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +7 -3
  678. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -1
  679. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.js.map +1 -1
  680. package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +3 -0
  681. package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -1
  682. package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +6 -0
  683. package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -1
  684. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -1
  685. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +23 -81
  686. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -1
  687. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts +41 -0
  688. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.d.ts.map +1 -0
  689. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js +93 -0
  690. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-manifest.js.map +1 -0
  691. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts +29 -0
  692. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.d.ts.map +1 -0
  693. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js +77 -0
  694. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-module.js.map +1 -0
  695. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts +51 -0
  696. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.d.ts.map +1 -0
  697. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js +105 -0
  698. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry-performance.js.map +1 -0
  699. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts +60 -0
  700. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.d.ts.map +1 -0
  701. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js +287 -0
  702. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/editor-entry.js.map +1 -0
  703. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +6 -1
  704. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -1
  705. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -1
  706. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +1 -0
  707. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -1
  708. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +53 -17
  709. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -1
  710. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +16 -8
  711. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -1
  712. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +10 -6
  713. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -1
  714. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +5 -3
  715. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -1
  716. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +2 -1
  717. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -1
  718. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -1
  719. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +134 -66
  720. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -1
  721. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts +11 -0
  722. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.d.ts.map +1 -1
  723. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js +21 -14
  724. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/project-asset-commands.js.map +1 -1
  725. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +17 -9
  726. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -1
  727. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -1
  728. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -1
  729. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +20 -0
  730. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -1
  731. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -1
  732. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +49 -10
  733. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -1
  734. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts +2 -2
  735. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.d.ts.map +1 -1
  736. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js +18 -0
  737. package/node_modules/@fps-games/editor-playable-sdk/dist/package-resolution/aliases.js.map +1 -1
  738. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts +7 -0
  739. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.d.ts.map +1 -1
  740. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js +130 -20
  741. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/action-patches.js.map +1 -1
  742. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts +1 -1
  743. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.d.ts.map +1 -1
  744. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js +12 -3
  745. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/assets.js.map +1 -1
  746. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts +11 -0
  747. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.d.ts.map +1 -0
  748. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js +136 -0
  749. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/derived-markers.js.map +1 -0
  750. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts +1 -0
  751. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.d.ts.map +1 -1
  752. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js +1 -0
  753. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/index.js.map +1 -1
  754. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts +36 -51
  755. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.d.ts.map +1 -1
  756. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js +40 -65
  757. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/projection.js.map +1 -1
  758. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts +5 -2
  759. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts.map +1 -1
  760. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js +207 -1
  761. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js.map +1 -1
  762. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts +1 -0
  763. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts.map +1 -1
  764. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js +3 -0
  765. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js.map +1 -1
  766. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts +18 -7
  767. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts.map +1 -1
  768. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js +110 -18
  769. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js.map +1 -1
  770. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts +5 -0
  771. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.d.ts.map +1 -1
  772. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js +6 -0
  773. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-source.js.map +1 -1
  774. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts +5 -2
  775. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts.map +1 -1
  776. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js +22 -2
  777. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js.map +1 -1
  778. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -1
  779. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +144 -0
  780. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -1
  781. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +16 -0
  782. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -1
  783. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.js.map +1 -1
  784. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -1
  785. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +1 -0
  786. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -1
  787. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +2 -1
  788. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -1
  789. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.js.map +1 -1
  790. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts +2 -0
  791. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts.map +1 -1
  792. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js +241 -13
  793. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js.map +1 -1
  794. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts +1 -0
  795. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts.map +1 -1
  796. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js +1 -0
  797. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js.map +1 -1
  798. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts +31 -0
  799. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.d.ts.map +1 -0
  800. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js +170 -0
  801. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/shadow-map-experiment-migration.js.map +1 -0
  802. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts +153 -13
  803. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts.map +1 -1
  804. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.js.map +1 -1
  805. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts +17 -0
  806. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.d.ts.map +1 -1
  807. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js +1295 -3
  808. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/validation.js.map +1 -1
  809. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -1
  810. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +14 -0
  811. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -1
  812. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.d.ts.map +1 -1
  813. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js +57 -34
  814. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/driver.js.map +1 -1
  815. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -1
  816. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +4 -1
  817. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -1
  818. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +4 -0
  819. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -1
  820. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -1
  821. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.d.ts.map +1 -1
  822. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js +20 -198
  823. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js.map +1 -1
  824. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.d.ts.map +1 -1
  825. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js +5 -1
  826. package/node_modules/@fps-games/editor-playable-sdk/dist/session/hierarchy-facade.js.map +1 -1
  827. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts +5 -0
  828. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -1
  829. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +144 -8
  830. package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -1
  831. package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts +1 -1
  832. package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.d.ts.map +1 -1
  833. package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js +30 -1
  834. package/node_modules/@fps-games/editor-playable-sdk/dist/session/reducer-core.js.map +1 -1
  835. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts +6 -0
  836. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.d.ts.map +1 -1
  837. package/node_modules/@fps-games/editor-playable-sdk/dist/session/types.js.map +1 -1
  838. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +31 -3
  839. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -1
  840. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts +5 -2
  841. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts.map +1 -1
  842. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js +40 -4
  843. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js.map +1 -1
  844. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.d.ts.map +1 -1
  845. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js +116 -3
  846. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js.map +1 -1
  847. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts +2 -1
  848. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts.map +1 -1
  849. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js +1 -0
  850. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js.map +1 -1
  851. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts +17 -1
  852. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.d.ts.map +1 -1
  853. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js +50 -2
  854. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-asset-authoring.js.map +1 -1
  855. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts.map +1 -1
  856. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js +7 -5
  857. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js.map +1 -1
  858. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts +5 -6
  859. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.d.ts.map +1 -1
  860. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js +31 -17
  861. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-scene-authoring.js.map +1 -1
  862. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts +6 -0
  863. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts.map +1 -1
  864. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.js.map +1 -1
  865. package/node_modules/@fps-games/editor-playable-sdk/package.json +6 -6
  866. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts +417 -2
  867. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts.map +1 -1
  868. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js +692 -2
  869. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js.map +1 -1
  870. package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts +55 -0
  871. package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.d.ts.map +1 -0
  872. package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js +2 -0
  873. package/node_modules/@fps-games/editor-protocol/dist/editor-diagnostics.js.map +1 -0
  874. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +3 -18
  875. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
  876. package/node_modules/@fps-games/editor-protocol/dist/index.js +1 -0
  877. package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
  878. package/node_modules/@fps-games/editor-protocol/package.json +2 -2
  879. package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.d.ts.map +1 -1
  880. package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js +5 -0
  881. package/node_modules/@fps-games/editor-tooling/dist/package-metadata-node.js.map +1 -1
  882. package/node_modules/@fps-games/editor-tooling/dist/vite.d.ts.map +1 -1
  883. package/node_modules/@fps-games/editor-tooling/dist/vite.js +151 -5
  884. package/node_modules/@fps-games/editor-tooling/dist/vite.js.map +1 -1
  885. package/node_modules/@fps-games/editor-tooling/package.json +3 -3
  886. package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts +107 -0
  887. package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.d.ts.map +1 -0
  888. package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js +770 -0
  889. package/node_modules/@fps-games/editor-ui/dist/editor-ui-controls.js.map +1 -0
  890. package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts +21 -0
  891. package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.d.ts.map +1 -0
  892. package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js +172 -0
  893. package/node_modules/@fps-games/editor-ui/dist/editor-ui-layer-host.js.map +1 -0
  894. package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts +14 -0
  895. package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.d.ts.map +1 -0
  896. package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js +32 -0
  897. package/node_modules/@fps-games/editor-ui/dist/editor-ui-shell.js.map +1 -0
  898. package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts +3 -0
  899. package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.d.ts.map +1 -0
  900. package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js +653 -0
  901. package/node_modules/@fps-games/editor-ui/dist/editor-ui-theme.js.map +1 -0
  902. package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts +3 -0
  903. package/node_modules/@fps-games/editor-ui/dist/gallery.d.ts.map +1 -0
  904. package/node_modules/@fps-games/editor-ui/dist/gallery.js +3 -0
  905. package/node_modules/@fps-games/editor-ui/dist/gallery.js.map +1 -0
  906. package/node_modules/@fps-games/editor-ui/dist/index.d.ts +5 -0
  907. package/node_modules/@fps-games/editor-ui/dist/index.d.ts.map +1 -0
  908. package/node_modules/@fps-games/editor-ui/dist/index.js +5 -0
  909. package/node_modules/@fps-games/editor-ui/dist/index.js.map +1 -0
  910. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts +7 -0
  911. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.d.ts.map +1 -0
  912. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js +29 -0
  913. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-model.js.map +1 -0
  914. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts +2 -0
  915. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.d.ts.map +1 -0
  916. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js +95 -0
  917. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery-styles.js.map +1 -0
  918. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts +28 -0
  919. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.d.ts.map +1 -0
  920. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js +387 -0
  921. package/node_modules/@fps-games/editor-ui/dist/inspector-property-gallery.js.map +1 -0
  922. package/node_modules/@fps-games/editor-ui/package.json +23 -0
  923. package/node_modules/@fps-games/playable-assets/package.json +1 -1
  924. package/node_modules/@fps-games/playable-contracts/dist/index.d.ts +1 -0
  925. package/node_modules/@fps-games/playable-contracts/dist/index.d.ts.map +1 -1
  926. package/node_modules/@fps-games/playable-contracts/dist/index.js +1 -0
  927. package/node_modules/@fps-games/playable-contracts/dist/index.js.map +1 -1
  928. package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts +116 -0
  929. package/node_modules/@fps-games/playable-contracts/dist/material-owner.d.ts.map +1 -0
  930. package/node_modules/@fps-games/playable-contracts/dist/material-owner.js +403 -0
  931. package/node_modules/@fps-games/playable-contracts/dist/material-owner.js.map +1 -0
  932. package/node_modules/@fps-games/playable-contracts/package.json +1 -1
  933. package/node_modules/@fps-games/playable-rendering/dist/index.d.ts +3 -0
  934. package/node_modules/@fps-games/playable-rendering/dist/index.d.ts.map +1 -1
  935. package/node_modules/@fps-games/playable-rendering/dist/index.js +3 -0
  936. package/node_modules/@fps-games/playable-rendering/dist/index.js.map +1 -1
  937. package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js +5 -25
  938. package/node_modules/@fps-games/playable-rendering/dist/rendering-profile-validation.js.map +1 -1
  939. package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts +3 -0
  940. package/node_modules/@fps-games/playable-rendering/dist/runtime.d.ts.map +1 -1
  941. package/node_modules/@fps-games/playable-rendering/dist/runtime.js +3 -0
  942. package/node_modules/@fps-games/playable-rendering/dist/runtime.js.map +1 -1
  943. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts +61 -0
  944. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.d.ts.map +1 -0
  945. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js +176 -0
  946. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-depth.js.map +1 -0
  947. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts +84 -0
  948. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.d.ts.map +1 -0
  949. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js +362 -0
  950. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment-lifecycle.js.map +1 -0
  951. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts +167 -0
  952. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.d.ts.map +1 -0
  953. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js +484 -0
  954. package/node_modules/@fps-games/playable-rendering/dist/shadow-map-experiment.js.map +1 -0
  955. package/node_modules/@fps-games/playable-rendering/package.json +2 -2
  956. package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts +5 -0
  957. package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.d.ts.map +1 -1
  958. package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js +1 -0
  959. package/node_modules/@fps-games/playable-runtime/dist/compiled-scene-data.js.map +1 -1
  960. package/node_modules/@fps-games/playable-runtime/package.json +12 -12
  961. package/node_modules/@fps-games/playable-runtime-data/package.json +4 -4
  962. package/node_modules/@fps-games/playable-scene/package.json +2 -2
  963. package/node_modules/@fps-games/plugin-api/package.json +1 -1
  964. package/node_modules/@fps-games/plugin-assets/dist/version.d.ts +1 -1
  965. package/node_modules/@fps-games/plugin-assets/dist/version.js +1 -1
  966. package/node_modules/@fps-games/plugin-assets/dist/version.js.map +1 -1
  967. package/node_modules/@fps-games/plugin-assets/package.json +5 -5
  968. package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts +6 -0
  969. package/node_modules/@fps-games/plugin-hierarchy/dist/editor.d.ts.map +1 -0
  970. package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js +16 -0
  971. package/node_modules/@fps-games/plugin-hierarchy/dist/editor.js.map +1 -0
  972. package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts +7 -0
  973. package/node_modules/@fps-games/plugin-hierarchy/dist/integration.d.ts.map +1 -0
  974. package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js +47 -0
  975. package/node_modules/@fps-games/plugin-hierarchy/dist/integration.js.map +1 -0
  976. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts +306 -0
  977. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts.map +1 -0
  978. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js +1237 -0
  979. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js.map +1 -0
  980. package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts +8 -0
  981. package/node_modules/@fps-games/plugin-hierarchy/dist/reference.d.ts.map +1 -0
  982. package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js +32 -0
  983. package/node_modules/@fps-games/plugin-hierarchy/dist/reference.js.map +1 -0
  984. package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts +2 -0
  985. package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts.map +1 -0
  986. package/node_modules/@fps-games/plugin-hierarchy/dist/version.js +2 -0
  987. package/node_modules/@fps-games/plugin-hierarchy/dist/version.js.map +1 -0
  988. package/node_modules/@fps-games/plugin-hierarchy/package.json +57 -0
  989. package/node_modules/@fps-games/plugin-host/package.json +2 -2
  990. package/node_modules/@fps-games/plugin-markers/dist/version.d.ts +1 -1
  991. package/node_modules/@fps-games/plugin-markers/dist/version.js +1 -1
  992. package/node_modules/@fps-games/plugin-markers/dist/version.js.map +1 -1
  993. package/node_modules/@fps-games/plugin-markers/package.json +5 -5
  994. package/node_modules/@fps-games/plugin-materials/dist/version.d.ts +1 -1
  995. package/node_modules/@fps-games/plugin-materials/dist/version.js +1 -1
  996. package/node_modules/@fps-games/plugin-materials/dist/version.js.map +1 -1
  997. package/node_modules/@fps-games/plugin-materials/package.json +5 -5
  998. package/node_modules/@fps-games/plugin-rendering/dist/version.d.ts +1 -1
  999. package/node_modules/@fps-games/plugin-rendering/dist/version.js +1 -1
  1000. package/node_modules/@fps-games/plugin-rendering/dist/version.js.map +1 -1
  1001. package/node_modules/@fps-games/plugin-rendering/package.json +5 -5
  1002. package/node_modules/@fps-games/plugin-scene/dist/version.d.ts +1 -1
  1003. package/node_modules/@fps-games/plugin-scene/dist/version.js +1 -1
  1004. package/node_modules/@fps-games/plugin-scene/dist/version.js.map +1 -1
  1005. package/node_modules/@fps-games/plugin-scene/package.json +5 -5
  1006. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts +8 -0
  1007. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.d.ts.map +1 -0
  1008. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js +35 -0
  1009. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/reference.js.map +1 -0
  1010. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts +11 -0
  1011. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.d.ts.map +1 -0
  1012. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js +14 -0
  1013. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/runtime.js.map +1 -0
  1014. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts +2 -0
  1015. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts.map +1 -0
  1016. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js +2 -0
  1017. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js.map +1 -0
  1018. package/node_modules/@fps-games/plugin-shadow-map-experiment/package.json +53 -0
  1019. package/node_modules/@fps-games/plugin-shadows/dist/version.d.ts +1 -1
  1020. package/node_modules/@fps-games/plugin-shadows/dist/version.js +1 -1
  1021. package/node_modules/@fps-games/plugin-shadows/dist/version.js.map +1 -1
  1022. package/node_modules/@fps-games/plugin-shadows/package.json +7 -7
  1023. package/node_modules/@playcanvas/observer/LICENSE +19 -0
  1024. package/node_modules/@playcanvas/observer/README.md +72 -0
  1025. package/node_modules/@playcanvas/observer/dist/index.cjs +2033 -0
  1026. package/node_modules/@playcanvas/observer/dist/index.js +2039 -0
  1027. package/node_modules/@playcanvas/observer/dist/index.mjs +2026 -0
  1028. package/node_modules/@playcanvas/observer/package.json +78 -0
  1029. package/node_modules/@playcanvas/observer/types/event-handle.d.ts +41 -0
  1030. package/node_modules/@playcanvas/observer/types/events.d.ts +162 -0
  1031. package/node_modules/@playcanvas/observer/types/history.d.ts +123 -0
  1032. package/node_modules/@playcanvas/observer/types/index.d.ts +15 -0
  1033. package/node_modules/@playcanvas/observer/types/observer-history.d.ts +32 -0
  1034. package/node_modules/@playcanvas/observer/types/observer-list.d.ts +39 -0
  1035. package/node_modules/@playcanvas/observer/types/observer.d.ts +157 -0
  1036. package/node_modules/@playcanvas/observer/types/utils.d.ts +33 -0
  1037. package/node_modules/@playcanvas/pcui/LICENSE +19 -0
  1038. package/node_modules/@playcanvas/pcui/README.md +164 -0
  1039. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
  1040. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
  1041. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
  1042. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
  1043. package/node_modules/@playcanvas/pcui/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
  1044. package/node_modules/@playcanvas/pcui/dist/module/src/Math/color-value.mjs +77 -0
  1045. package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingBase/index.mjs +215 -0
  1046. package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
  1047. package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
  1048. package/node_modules/@playcanvas/pcui/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
  1049. package/node_modules/@playcanvas/pcui/dist/module/src/class.mjs +19 -0
  1050. package/node_modules/@playcanvas/pcui/dist/module/src/components/ArrayInput/index.mjs +498 -0
  1051. package/node_modules/@playcanvas/pcui/dist/module/src/components/BooleanInput/index.mjs +122 -0
  1052. package/node_modules/@playcanvas/pcui/dist/module/src/components/Button/index.mjs +119 -0
  1053. package/node_modules/@playcanvas/pcui/dist/module/src/components/Canvas/index.mjs +104 -0
  1054. package/node_modules/@playcanvas/pcui/dist/module/src/components/Code/index.mjs +43 -0
  1055. package/node_modules/@playcanvas/pcui/dist/module/src/components/ColorPicker/index.mjs +619 -0
  1056. package/node_modules/@playcanvas/pcui/dist/module/src/components/Container/index.mjs +642 -0
  1057. package/node_modules/@playcanvas/pcui/dist/module/src/components/Divider/index.mjs +20 -0
  1058. package/node_modules/@playcanvas/pcui/dist/module/src/components/Element/index.mjs +829 -0
  1059. package/node_modules/@playcanvas/pcui/dist/module/src/components/GradientPicker/index.mjs +1136 -0
  1060. package/node_modules/@playcanvas/pcui/dist/module/src/components/GridView/index.mjs +448 -0
  1061. package/node_modules/@playcanvas/pcui/dist/module/src/components/GridViewItem/index.mjs +152 -0
  1062. package/node_modules/@playcanvas/pcui/dist/module/src/components/InfoBox/index.mjs +90 -0
  1063. package/node_modules/@playcanvas/pcui/dist/module/src/components/InputElement/index.mjs +186 -0
  1064. package/node_modules/@playcanvas/pcui/dist/module/src/components/Label/index.mjs +124 -0
  1065. package/node_modules/@playcanvas/pcui/dist/module/src/components/LabelGroup/index.mjs +74 -0
  1066. package/node_modules/@playcanvas/pcui/dist/module/src/components/Menu/index.mjs +174 -0
  1067. package/node_modules/@playcanvas/pcui/dist/module/src/components/MenuItem/index.mjs +223 -0
  1068. package/node_modules/@playcanvas/pcui/dist/module/src/components/NumericInput/index.mjs +400 -0
  1069. package/node_modules/@playcanvas/pcui/dist/module/src/components/Overlay/index.mjs +108 -0
  1070. package/node_modules/@playcanvas/pcui/dist/module/src/components/Panel/index.mjs +400 -0
  1071. package/node_modules/@playcanvas/pcui/dist/module/src/components/Progress/index.mjs +45 -0
  1072. package/node_modules/@playcanvas/pcui/dist/module/src/components/RadioButton/index.mjs +113 -0
  1073. package/node_modules/@playcanvas/pcui/dist/module/src/components/SelectInput/index.mjs +1085 -0
  1074. package/node_modules/@playcanvas/pcui/dist/module/src/components/SliderInput/index.mjs +333 -0
  1075. package/node_modules/@playcanvas/pcui/dist/module/src/components/Spinner/index.mjs +34 -0
  1076. package/node_modules/@playcanvas/pcui/dist/module/src/components/TextAreaInput/index.mjs +50 -0
  1077. package/node_modules/@playcanvas/pcui/dist/module/src/components/TextInput/index.mjs +98 -0
  1078. package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeView/index.mjs +1131 -0
  1079. package/node_modules/@playcanvas/pcui/dist/module/src/components/TreeViewItem/index.mjs +500 -0
  1080. package/node_modules/@playcanvas/pcui/dist/module/src/components/VectorInput/index.mjs +366 -0
  1081. package/node_modules/@playcanvas/pcui/dist/module/src/helpers/search.mjs +194 -0
  1082. package/node_modules/@playcanvas/pcui/dist/module/src/helpers/utils.mjs +43 -0
  1083. package/node_modules/@playcanvas/pcui/dist/module/src/index.mjs +56 -0
  1084. package/node_modules/@playcanvas/pcui/dist/pcui-theme-green.scss +2798 -0
  1085. package/node_modules/@playcanvas/pcui/dist/pcui-theme-grey.scss +2798 -0
  1086. package/node_modules/@playcanvas/pcui/package.json +150 -0
  1087. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/constants.mjs +6 -0
  1088. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-evaluator.mjs +119 -0
  1089. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve-set.mjs +82 -0
  1090. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/curve.mjs +92 -0
  1091. package/node_modules/@playcanvas/pcui/react/dist/module/node_modules/playcanvas/build/playcanvas/src/core/math/math.mjs +105 -0
  1092. package/node_modules/@playcanvas/pcui/react/dist/module/src/Math/color-value.mjs +77 -0
  1093. package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingBase/index.mjs +215 -0
  1094. package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingElementToObservers/index.mjs +297 -0
  1095. package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingObserversToElement/index.mjs +110 -0
  1096. package/node_modules/@playcanvas/pcui/react/dist/module/src/binding/BindingTwoWay/index.mjs +113 -0
  1097. package/node_modules/@playcanvas/pcui/react/dist/module/src/class.mjs +19 -0
  1098. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/component.mjs +11 -0
  1099. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ArrayInput/index.mjs +498 -0
  1100. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/component.mjs +11 -0
  1101. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/BooleanInput/index.mjs +122 -0
  1102. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/component.mjs +16 -0
  1103. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Button/index.mjs +119 -0
  1104. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/component.mjs +16 -0
  1105. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Canvas/index.mjs +104 -0
  1106. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/component.mjs +11 -0
  1107. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Code/index.mjs +43 -0
  1108. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/component.mjs +16 -0
  1109. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/ColorPicker/index.mjs +619 -0
  1110. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/component.mjs +36 -0
  1111. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Container/index.mjs +642 -0
  1112. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/component.mjs +11 -0
  1113. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Divider/index.mjs +20 -0
  1114. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/component.mjs +107 -0
  1115. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Element/index.mjs +829 -0
  1116. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/component.mjs +16 -0
  1117. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GradientPicker/index.mjs +1136 -0
  1118. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/component.mjs +38 -0
  1119. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridView/index.mjs +448 -0
  1120. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/component.mjs +11 -0
  1121. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/GridViewItem/index.mjs +152 -0
  1122. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/component.mjs +16 -0
  1123. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InfoBox/index.mjs +90 -0
  1124. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/InputElement/index.mjs +186 -0
  1125. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/component.mjs +16 -0
  1126. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Label/index.mjs +124 -0
  1127. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/component.mjs +42 -0
  1128. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/LabelGroup/index.mjs +74 -0
  1129. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/component.mjs +23 -0
  1130. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Menu/index.mjs +174 -0
  1131. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/MenuItem/index.mjs +223 -0
  1132. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/component.mjs +11 -0
  1133. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/NumericInput/index.mjs +400 -0
  1134. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/component.mjs +11 -0
  1135. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Overlay/index.mjs +108 -0
  1136. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/component.mjs +32 -0
  1137. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Panel/index.mjs +400 -0
  1138. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/component.mjs +11 -0
  1139. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Progress/index.mjs +45 -0
  1140. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/component.mjs +11 -0
  1141. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/RadioButton/index.mjs +113 -0
  1142. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/component.mjs +21 -0
  1143. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SelectInput/index.mjs +1085 -0
  1144. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/component.mjs +12 -0
  1145. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/SliderInput/index.mjs +333 -0
  1146. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/component.mjs +16 -0
  1147. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/Spinner/index.mjs +34 -0
  1148. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/component.mjs +11 -0
  1149. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextAreaInput/index.mjs +50 -0
  1150. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/component.mjs +23 -0
  1151. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TextInput/index.mjs +98 -0
  1152. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/component.mjs +52 -0
  1153. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeView/index.mjs +1131 -0
  1154. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/component.mjs +33 -0
  1155. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/TreeViewItem/index.mjs +500 -0
  1156. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/component.mjs +11 -0
  1157. package/node_modules/@playcanvas/pcui/react/dist/module/src/components/VectorInput/index.mjs +366 -0
  1158. package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/search.mjs +194 -0
  1159. package/node_modules/@playcanvas/pcui/react/dist/module/src/helpers/utils.mjs +43 -0
  1160. package/node_modules/@playcanvas/pcui/react/dist/module/src/index.mjs +39 -0
  1161. package/node_modules/@playcanvas/pcui/react/package.json +18 -0
  1162. package/node_modules/@playcanvas/pcui/react/types/Math/color-value.d.ts +3 -0
  1163. package/node_modules/@playcanvas/pcui/react/types/binding/BindingBase/index.d.ts +178 -0
  1164. package/node_modules/@playcanvas/pcui/react/types/binding/BindingElementToObservers/index.d.ts +24 -0
  1165. package/node_modules/@playcanvas/pcui/react/types/binding/BindingObserversToElement/index.d.ts +40 -0
  1166. package/node_modules/@playcanvas/pcui/react/types/binding/BindingTwoWay/index.d.ts +54 -0
  1167. package/node_modules/@playcanvas/pcui/react/types/binding/index.d.ts +5 -0
  1168. package/node_modules/@playcanvas/pcui/react/types/class.d.ts +17 -0
  1169. package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/component.d.ts +9 -0
  1170. package/node_modules/@playcanvas/pcui/react/types/components/ArrayInput/index.d.ts +140 -0
  1171. package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/component.d.ts +9 -0
  1172. package/node_modules/@playcanvas/pcui/react/types/components/BooleanInput/index.d.ts +41 -0
  1173. package/node_modules/@playcanvas/pcui/react/types/components/Button/component.d.ts +11 -0
  1174. package/node_modules/@playcanvas/pcui/react/types/components/Button/index.d.ts +75 -0
  1175. package/node_modules/@playcanvas/pcui/react/types/components/Canvas/component.d.ts +11 -0
  1176. package/node_modules/@playcanvas/pcui/react/types/components/Canvas/index.d.ts +61 -0
  1177. package/node_modules/@playcanvas/pcui/react/types/components/Code/component.d.ts +9 -0
  1178. package/node_modules/@playcanvas/pcui/react/types/components/Code/index.d.ts +33 -0
  1179. package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/component.d.ts +11 -0
  1180. package/node_modules/@playcanvas/pcui/react/types/components/ColorPicker/index.d.ts +99 -0
  1181. package/node_modules/@playcanvas/pcui/react/types/components/Container/component.d.ts +15 -0
  1182. package/node_modules/@playcanvas/pcui/react/types/components/Container/index.d.ts +292 -0
  1183. package/node_modules/@playcanvas/pcui/react/types/components/Divider/component.d.ts +10 -0
  1184. package/node_modules/@playcanvas/pcui/react/types/components/Divider/index.d.ts +13 -0
  1185. package/node_modules/@playcanvas/pcui/react/types/components/Element/component.d.ts +23 -0
  1186. package/node_modules/@playcanvas/pcui/react/types/components/Element/index.d.ts +671 -0
  1187. package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/component.d.ts +11 -0
  1188. package/node_modules/@playcanvas/pcui/react/types/components/GradientPicker/index.d.ts +152 -0
  1189. package/node_modules/@playcanvas/pcui/react/types/components/GridView/component.d.ts +14 -0
  1190. package/node_modules/@playcanvas/pcui/react/types/components/GridView/index.d.ts +103 -0
  1191. package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/component.d.ts +9 -0
  1192. package/node_modules/@playcanvas/pcui/react/types/components/GridViewItem/index.d.ts +82 -0
  1193. package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/component.d.ts +11 -0
  1194. package/node_modules/@playcanvas/pcui/react/types/components/InfoBox/index.d.ts +71 -0
  1195. package/node_modules/@playcanvas/pcui/react/types/components/InputElement/index.d.ts +84 -0
  1196. package/node_modules/@playcanvas/pcui/react/types/components/Label/component.d.ts +11 -0
  1197. package/node_modules/@playcanvas/pcui/react/types/components/Label/index.d.ts +85 -0
  1198. package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/component.d.ts +10 -0
  1199. package/node_modules/@playcanvas/pcui/react/types/components/LabelGroup/index.d.ts +62 -0
  1200. package/node_modules/@playcanvas/pcui/react/types/components/Menu/component.d.ts +14 -0
  1201. package/node_modules/@playcanvas/pcui/react/types/components/Menu/index.d.ts +70 -0
  1202. package/node_modules/@playcanvas/pcui/react/types/components/MenuItem/index.d.ts +139 -0
  1203. package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/component.d.ts +9 -0
  1204. package/node_modules/@playcanvas/pcui/react/types/components/NumericInput/index.d.ts +173 -0
  1205. package/node_modules/@playcanvas/pcui/react/types/components/Overlay/component.d.ts +9 -0
  1206. package/node_modules/@playcanvas/pcui/react/types/components/Overlay/index.d.ts +53 -0
  1207. package/node_modules/@playcanvas/pcui/react/types/components/Panel/component.d.ts +16 -0
  1208. package/node_modules/@playcanvas/pcui/react/types/components/Panel/index.d.ts +178 -0
  1209. package/node_modules/@playcanvas/pcui/react/types/components/Progress/component.d.ts +9 -0
  1210. package/node_modules/@playcanvas/pcui/react/types/components/Progress/index.d.ts +33 -0
  1211. package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/component.d.ts +9 -0
  1212. package/node_modules/@playcanvas/pcui/react/types/components/RadioButton/index.d.ts +33 -0
  1213. package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/component.d.ts +12 -0
  1214. package/node_modules/@playcanvas/pcui/react/types/components/SelectInput/index.d.ts +278 -0
  1215. package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/component.d.ts +10 -0
  1216. package/node_modules/@playcanvas/pcui/react/types/components/SliderInput/index.d.ts +133 -0
  1217. package/node_modules/@playcanvas/pcui/react/types/components/Spinner/component.d.ts +11 -0
  1218. package/node_modules/@playcanvas/pcui/react/types/components/Spinner/index.d.ts +27 -0
  1219. package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/component.d.ts +9 -0
  1220. package/node_modules/@playcanvas/pcui/react/types/components/TextAreaInput/index.d.ts +24 -0
  1221. package/node_modules/@playcanvas/pcui/react/types/components/TextInput/component.d.ts +12 -0
  1222. package/node_modules/@playcanvas/pcui/react/types/components/TextInput/index.d.ts +40 -0
  1223. package/node_modules/@playcanvas/pcui/react/types/components/TreeView/component.d.ts +17 -0
  1224. package/node_modules/@playcanvas/pcui/react/types/components/TreeView/index.d.ts +359 -0
  1225. package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/component.d.ts +13 -0
  1226. package/node_modules/@playcanvas/pcui/react/types/components/TreeViewItem/index.d.ts +224 -0
  1227. package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/component.d.ts +9 -0
  1228. package/node_modules/@playcanvas/pcui/react/types/components/VectorInput/index.d.ts +176 -0
  1229. package/node_modules/@playcanvas/pcui/react/types/components/components.d.ts +30 -0
  1230. package/node_modules/@playcanvas/pcui/react/types/components/index.d.ts +32 -0
  1231. package/node_modules/@playcanvas/pcui/react/types/helpers/search.d.ts +31 -0
  1232. package/node_modules/@playcanvas/pcui/react/types/helpers/utils.d.ts +2 -0
  1233. package/node_modules/@playcanvas/pcui/react/types/index.d.ts +4 -0
  1234. package/node_modules/@playcanvas/pcui/styles/dist/index.mjs +11 -0
  1235. package/node_modules/@playcanvas/pcui/styles/package.json +17 -0
  1236. package/node_modules/@playcanvas/pcui/types/Math/color-value.d.ts +3 -0
  1237. package/node_modules/@playcanvas/pcui/types/binding/BindingBase/index.d.ts +178 -0
  1238. package/node_modules/@playcanvas/pcui/types/binding/BindingElementToObservers/index.d.ts +24 -0
  1239. package/node_modules/@playcanvas/pcui/types/binding/BindingObserversToElement/index.d.ts +40 -0
  1240. package/node_modules/@playcanvas/pcui/types/binding/BindingTwoWay/index.d.ts +54 -0
  1241. package/node_modules/@playcanvas/pcui/types/binding/index.d.ts +5 -0
  1242. package/node_modules/@playcanvas/pcui/types/class.d.ts +17 -0
  1243. package/node_modules/@playcanvas/pcui/types/components/ArrayInput/index.d.ts +140 -0
  1244. package/node_modules/@playcanvas/pcui/types/components/BooleanInput/index.d.ts +41 -0
  1245. package/node_modules/@playcanvas/pcui/types/components/Button/index.d.ts +75 -0
  1246. package/node_modules/@playcanvas/pcui/types/components/Canvas/index.d.ts +61 -0
  1247. package/node_modules/@playcanvas/pcui/types/components/Code/index.d.ts +33 -0
  1248. package/node_modules/@playcanvas/pcui/types/components/ColorPicker/index.d.ts +99 -0
  1249. package/node_modules/@playcanvas/pcui/types/components/Container/index.d.ts +292 -0
  1250. package/node_modules/@playcanvas/pcui/types/components/Divider/index.d.ts +13 -0
  1251. package/node_modules/@playcanvas/pcui/types/components/Element/index.d.ts +671 -0
  1252. package/node_modules/@playcanvas/pcui/types/components/GradientPicker/index.d.ts +152 -0
  1253. package/node_modules/@playcanvas/pcui/types/components/GridView/index.d.ts +103 -0
  1254. package/node_modules/@playcanvas/pcui/types/components/GridViewItem/index.d.ts +82 -0
  1255. package/node_modules/@playcanvas/pcui/types/components/InfoBox/index.d.ts +71 -0
  1256. package/node_modules/@playcanvas/pcui/types/components/InputElement/index.d.ts +84 -0
  1257. package/node_modules/@playcanvas/pcui/types/components/Label/index.d.ts +85 -0
  1258. package/node_modules/@playcanvas/pcui/types/components/LabelGroup/index.d.ts +62 -0
  1259. package/node_modules/@playcanvas/pcui/types/components/Menu/index.d.ts +70 -0
  1260. package/node_modules/@playcanvas/pcui/types/components/MenuItem/index.d.ts +139 -0
  1261. package/node_modules/@playcanvas/pcui/types/components/NumericInput/index.d.ts +173 -0
  1262. package/node_modules/@playcanvas/pcui/types/components/Overlay/index.d.ts +53 -0
  1263. package/node_modules/@playcanvas/pcui/types/components/Panel/index.d.ts +178 -0
  1264. package/node_modules/@playcanvas/pcui/types/components/Progress/index.d.ts +33 -0
  1265. package/node_modules/@playcanvas/pcui/types/components/RadioButton/index.d.ts +33 -0
  1266. package/node_modules/@playcanvas/pcui/types/components/SelectInput/index.d.ts +278 -0
  1267. package/node_modules/@playcanvas/pcui/types/components/SliderInput/index.d.ts +133 -0
  1268. package/node_modules/@playcanvas/pcui/types/components/Spinner/index.d.ts +27 -0
  1269. package/node_modules/@playcanvas/pcui/types/components/TextAreaInput/index.d.ts +24 -0
  1270. package/node_modules/@playcanvas/pcui/types/components/TextInput/index.d.ts +40 -0
  1271. package/node_modules/@playcanvas/pcui/types/components/TreeView/index.d.ts +359 -0
  1272. package/node_modules/@playcanvas/pcui/types/components/TreeViewItem/index.d.ts +224 -0
  1273. package/node_modules/@playcanvas/pcui/types/components/VectorInput/index.d.ts +176 -0
  1274. package/node_modules/@playcanvas/pcui/types/components/index.d.ts +32 -0
  1275. package/node_modules/@playcanvas/pcui/types/helpers/search.d.ts +31 -0
  1276. package/node_modules/@playcanvas/pcui/types/helpers/utils.d.ts +2 -0
  1277. package/node_modules/@playcanvas/pcui/types/index.d.ts +20 -0
  1278. package/node_modules/babylonjs-gltf2interface/babylon.glTF2Interface.d.ts +1655 -0
  1279. package/node_modules/babylonjs-gltf2interface/license.md +71 -0
  1280. package/node_modules/babylonjs-gltf2interface/package.json +26 -0
  1281. package/package.json +31 -19
  1282. package/dist/editor-plugin-hierarchy-command.d.ts +0 -19
  1283. package/dist/editor-plugin-hierarchy-command.d.ts.map +0 -1
  1284. package/dist/editor-plugin-hierarchy-command.js +0 -119
  1285. package/dist/editor-plugin-hierarchy-command.js.map +0 -1
  1286. package/node_modules/@babel/helper-string-parser/lib/index.js.map +0 -1
  1287. package/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
  1288. package/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
  1289. package/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
  1290. package/node_modules/@babel/parser/lib/index.js.map +0 -1
  1291. package/node_modules/@babel/types/lib/asserts/assertNode.js.map +0 -1
  1292. package/node_modules/@babel/types/lib/asserts/generated/index.js.map +0 -1
  1293. package/node_modules/@babel/types/lib/ast-types/generated/index.js.map +0 -1
  1294. package/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js.map +0 -1
  1295. package/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js.map +0 -1
  1296. package/node_modules/@babel/types/lib/builders/generated/index.js.map +0 -1
  1297. package/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +0 -1
  1298. package/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +0 -1
  1299. package/node_modules/@babel/types/lib/builders/productions.js.map +0 -1
  1300. package/node_modules/@babel/types/lib/builders/react/buildChildren.js.map +0 -1
  1301. package/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js.map +0 -1
  1302. package/node_modules/@babel/types/lib/builders/validateNode.js.map +0 -1
  1303. package/node_modules/@babel/types/lib/clone/clone.js.map +0 -1
  1304. package/node_modules/@babel/types/lib/clone/cloneDeep.js.map +0 -1
  1305. package/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js.map +0 -1
  1306. package/node_modules/@babel/types/lib/clone/cloneNode.js.map +0 -1
  1307. package/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js.map +0 -1
  1308. package/node_modules/@babel/types/lib/comments/addComment.js.map +0 -1
  1309. package/node_modules/@babel/types/lib/comments/addComments.js.map +0 -1
  1310. package/node_modules/@babel/types/lib/comments/inheritInnerComments.js.map +0 -1
  1311. package/node_modules/@babel/types/lib/comments/inheritLeadingComments.js.map +0 -1
  1312. package/node_modules/@babel/types/lib/comments/inheritTrailingComments.js.map +0 -1
  1313. package/node_modules/@babel/types/lib/comments/inheritsComments.js.map +0 -1
  1314. package/node_modules/@babel/types/lib/comments/removeComments.js.map +0 -1
  1315. package/node_modules/@babel/types/lib/constants/generated/index.js.map +0 -1
  1316. package/node_modules/@babel/types/lib/constants/index.js.map +0 -1
  1317. package/node_modules/@babel/types/lib/converters/ensureBlock.js.map +0 -1
  1318. package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +0 -1
  1319. package/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js.map +0 -1
  1320. package/node_modules/@babel/types/lib/converters/toBlock.js.map +0 -1
  1321. package/node_modules/@babel/types/lib/converters/toComputedKey.js.map +0 -1
  1322. package/node_modules/@babel/types/lib/converters/toExpression.js.map +0 -1
  1323. package/node_modules/@babel/types/lib/converters/toIdentifier.js.map +0 -1
  1324. package/node_modules/@babel/types/lib/converters/toKeyAlias.js.map +0 -1
  1325. package/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +0 -1
  1326. package/node_modules/@babel/types/lib/converters/toStatement.js.map +0 -1
  1327. package/node_modules/@babel/types/lib/converters/valueToNode.js.map +0 -1
  1328. package/node_modules/@babel/types/lib/definitions/core.js.map +0 -1
  1329. package/node_modules/@babel/types/lib/definitions/deprecated-aliases.js.map +0 -1
  1330. package/node_modules/@babel/types/lib/definitions/experimental.js.map +0 -1
  1331. package/node_modules/@babel/types/lib/definitions/flow.js.map +0 -1
  1332. package/node_modules/@babel/types/lib/definitions/index.js.map +0 -1
  1333. package/node_modules/@babel/types/lib/definitions/jsx.js.map +0 -1
  1334. package/node_modules/@babel/types/lib/definitions/misc.js.map +0 -1
  1335. package/node_modules/@babel/types/lib/definitions/placeholders.js.map +0 -1
  1336. package/node_modules/@babel/types/lib/definitions/typescript.js.map +0 -1
  1337. package/node_modules/@babel/types/lib/definitions/utils.js.map +0 -1
  1338. package/node_modules/@babel/types/lib/index.js.map +0 -1
  1339. package/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js.map +0 -1
  1340. package/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js.map +0 -1
  1341. package/node_modules/@babel/types/lib/modifications/inherits.js.map +0 -1
  1342. package/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js.map +0 -1
  1343. package/node_modules/@babel/types/lib/modifications/removeProperties.js.map +0 -1
  1344. package/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js.map +0 -1
  1345. package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +0 -1
  1346. package/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js.map +0 -1
  1347. package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +0 -1
  1348. package/node_modules/@babel/types/lib/retrievers/getFunctionName.js.map +0 -1
  1349. package/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js.map +0 -1
  1350. package/node_modules/@babel/types/lib/traverse/traverse.js.map +0 -1
  1351. package/node_modules/@babel/types/lib/traverse/traverseFast.js.map +0 -1
  1352. package/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +0 -1
  1353. package/node_modules/@babel/types/lib/utils/inherit.js.map +0 -1
  1354. package/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js.map +0 -1
  1355. package/node_modules/@babel/types/lib/utils/shallowEqual.js.map +0 -1
  1356. package/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js.map +0 -1
  1357. package/node_modules/@babel/types/lib/validators/generated/index.js.map +0 -1
  1358. package/node_modules/@babel/types/lib/validators/is.js.map +0 -1
  1359. package/node_modules/@babel/types/lib/validators/isBinding.js.map +0 -1
  1360. package/node_modules/@babel/types/lib/validators/isBlockScoped.js.map +0 -1
  1361. package/node_modules/@babel/types/lib/validators/isImmutable.js.map +0 -1
  1362. package/node_modules/@babel/types/lib/validators/isLet.js.map +0 -1
  1363. package/node_modules/@babel/types/lib/validators/isNode.js.map +0 -1
  1364. package/node_modules/@babel/types/lib/validators/isNodesEquivalent.js.map +0 -1
  1365. package/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +0 -1
  1366. package/node_modules/@babel/types/lib/validators/isReferenced.js.map +0 -1
  1367. package/node_modules/@babel/types/lib/validators/isScope.js.map +0 -1
  1368. package/node_modules/@babel/types/lib/validators/isSpecifierDefault.js.map +0 -1
  1369. package/node_modules/@babel/types/lib/validators/isType.js.map +0 -1
  1370. package/node_modules/@babel/types/lib/validators/isValidES3Identifier.js.map +0 -1
  1371. package/node_modules/@babel/types/lib/validators/isValidIdentifier.js.map +0 -1
  1372. package/node_modules/@babel/types/lib/validators/isVar.js.map +0 -1
  1373. package/node_modules/@babel/types/lib/validators/matchesPattern.js.map +0 -1
  1374. package/node_modules/@babel/types/lib/validators/react/isCompatTag.js.map +0 -1
  1375. package/node_modules/@babel/types/lib/validators/react/isReactComponent.js.map +0 -1
  1376. package/node_modules/@babel/types/lib/validators/validate.js.map +0 -1
  1377. package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts +0 -37
  1378. package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.d.ts.map +0 -1
  1379. package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js +0 -451
  1380. package/node_modules/@fps-games/editor-babylon/dist/prefab-comparison-preview-controller.js.map +0 -1
  1381. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts +0 -49
  1382. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +0 -1
  1383. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +0 -627
  1384. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +0 -1
  1385. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts +0 -52
  1386. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.d.ts.map +0 -1
  1387. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js +0 -450
  1388. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js.map +0 -1
  1389. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts +0 -21
  1390. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts.map +0 -1
  1391. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js +0 -75
  1392. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js.map +0 -1
  1393. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts +0 -5
  1394. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts.map +0 -1
  1395. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js +0 -92
  1396. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js.map +0 -1
  1397. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts +0 -63
  1398. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +0 -1
  1399. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js +0 -285
  1400. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../src/asset-database/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC;AAqB7B,MAAM,CAAC,KAAK,UAAU,kCAAkC,CACtD,KAA8C;IAE9C,MAAM,QAAQ,GAAG;QACf,GAAG,CAAC,KAAK,CAAC,gBAAgB,IAAI,EAAE,CAAC;QACjC,GAAG,CAAC,KAAK,CAAC,eAAe,IAAI,EAAE,CAAC;KACjC,CAAC;IAC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E,UAAU,CAAC,CAAC;IACrC,CAAC;IACD,OAAO,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;AACpD,CAAC","sourcesContent":["import fs from 'node:fs/promises';\nimport path from 'node:path';\nimport type {\n PlayableEditorAssetKind,\n} from './types';\n\nexport interface ResolvePlayableEditorAssetMetadataInput {\n kind: PlayableEditorAssetKind;\n sourcePath: string;\n existingMetadata?: Record<string, unknown> | null;\n payloadMetadata?: Record<string, unknown> | null;\n guid?: string;\n assetId?: string;\n cwd?: string;\n assetsDir?: string;\n}\n\nexport interface ResolvePlayableEditorAssetAnalysisInput {\n kind: PlayableEditorAssetKind;\n sourcePath: string;\n}\n\nexport async function resolvePlayableEditorAssetMetadata(\n input: ResolvePlayableEditorAssetMetadataInput,\n): Promise<Record<string, unknown> | null> {\n const metadata = {\n ...(input.existingMetadata ?? {}),\n ...(input.payloadMetadata ?? {}),\n };\n const assetAnalysis = await resolvePlayableEditorAssetAnalysis(input);\n if (assetAnalysis) {\n metadata.assetAnalysis = assetAnalysis;\n metadata.assetAnalysisStatus = 'complete';\n } else {\n delete metadata.assetAnalysis;\n metadata.assetAnalysisStatus = 'unavailable';\n }\n\n if (input.kind === 'texture' || input.kind === 'image') {\n const textureCapabilities = createPlayableEditorTextureAssetCapabilities(input.sourcePath, metadata);\n if (textureCapabilities) {\n metadata.textureUsage = textureCapabilities.usage;\n metadata.capabilities = {\n ...(isRecord(metadata.capabilities) ? metadata.capabilities : {}),\n materialTexture: textureCapabilities.materialTexture,\n environmentTexture: textureCapabilities.environmentTexture,\n };\n }\n return Object.keys(metadata).length > 0 ? metadata : null;\n }\n if (input.kind !== 'model') return Object.keys(metadata).length > 0 ? metadata : null;\n\n const materialSlots = await extractPlayableEditorGltfMaterialSlots(input.sourcePath, {\n assetGuid: input.guid,\n assetId: input.assetId,\n cwd: input.cwd,\n assetsDir: input.assetsDir,\n existingMaterialSlots: metadata.materialSlots,\n });\n if (materialSlots.length === 0) {\n delete metadata.materialSlots;\n } else {\n metadata.materialSlots = materialSlots;\n }\n return Object.keys(metadata).length > 0 ? metadata : null;\n}\n\nexport async function resolvePlayableEditorAssetAnalysis(\n input: ResolvePlayableEditorAssetAnalysisInput,\n): Promise<Record<string, unknown> | null> {\n if (input.kind === 'model') {\n return resolvePlayableEditorGltfAssetAnalysis(input.sourcePath);\n }\n if (input.kind === 'texture' || input.kind === 'image') {\n return resolvePlayableEditorImageAssetAnalysis(input.sourcePath);\n }\n return null;\n}\n\nexport interface ExtractPlayableEditorGltfMaterialSlotsContext {\n assetGuid?: string;\n assetId?: string;\n cwd?: string;\n assetsDir?: string;\n sourcePath?: string;\n existingMaterialSlots?: unknown;\n}\n\nexport async function extractPlayableEditorGltfMaterialSlots(\n sourcePath: string,\n context: ExtractPlayableEditorGltfMaterialSlotsContext = {},\n): Promise<Array<Record<string, unknown>>> {\n try {\n const gltf = await readGltfJson(sourcePath);\n return collectGltfMaterialSlots(gltf, {\n ...context,\n sourcePath,\n });\n } catch {\n return [];\n }\n}\n\nasync function readGltfJson(sourcePath: string): Promise<any> {\n const extension = path.extname(sourcePath).toLowerCase();\n if (extension === '.gltf') {\n return JSON.parse(await fs.readFile(sourcePath, 'utf8'));\n }\n if (extension !== '.glb') return null;\n const bytes = await fs.readFile(sourcePath);\n if (bytes.length < 20 || bytes.toString('utf8', 0, 4) !== 'glTF') return null;\n const version = bytes.readUInt32LE(4);\n if (version !== 2) return null;\n const declaredLength = bytes.readUInt32LE(8);\n if (declaredLength > bytes.length) return null;\n\n let offset = 12;\n while (offset + 8 <= bytes.length) {\n const chunkLength = bytes.readUInt32LE(offset);\n const chunkType = bytes.readUInt32LE(offset + 4);\n offset += 8;\n if (offset + chunkLength > bytes.length) return null;\n if (chunkType === 0x4e4f534a) {\n const jsonText = bytes.toString('utf8', offset, offset + chunkLength).replace(/\\0+$/g, '');\n return JSON.parse(jsonText);\n }\n offset += chunkLength;\n }\n return null;\n}\n\nasync function resolvePlayableEditorGltfAssetAnalysis(sourcePath: string): Promise<Record<string, unknown> | null> {\n try {\n const gltf = await readGltfJson(sourcePath);\n if (!gltf || typeof gltf !== 'object') return null;\n const scenes: any[] = Array.isArray(gltf.scenes) ? gltf.scenes : [];\n const nodes: any[] = Array.isArray(gltf.nodes) ? gltf.nodes : [];\n const meshes: any[] = Array.isArray(gltf.meshes) ? gltf.meshes : [];\n const materials: any[] = Array.isArray(gltf.materials) ? gltf.materials : [];\n const textures: any[] = Array.isArray(gltf.textures) ? gltf.textures : [];\n const images: any[] = Array.isArray(gltf.images) ? gltf.images : [];\n const animations: any[] = Array.isArray(gltf.animations) ? gltf.animations : [];\n const skins: any[] = Array.isArray(gltf.skins) ? gltf.skins : [];\n const accessors: any[] = Array.isArray(gltf.accessors) ? gltf.accessors : [];\n const sceneRootNodeIndexes = collectGltfSceneRootNodeIndexes(gltf);\n const parentByNode = buildGltfParentIndex(nodes);\n const rootSet = new Set(sceneRootNodeIndexes);\n const primitiveCount = meshes.reduce((count: number, mesh: any) => (\n count + (Array.isArray(mesh?.primitives) ? mesh.primitives.length : 0)\n ), 0);\n const complexity = resolveAssetComplexity({\n nodeCount: nodes.length,\n meshCount: meshes.length,\n primitiveCount,\n materialCount: materials.length,\n textureCount: textures.length,\n imageCount: images.length,\n });\n const diagnostics = createGltfAssetAnalysisDiagnostics({\n nodeCount: nodes.length,\n meshCount: meshes.length,\n primitiveCount,\n materialCount: materials.length,\n textureCount: textures.length,\n imageCount: images.length,\n animationCount: animations.length,\n skinCount: skins.length,\n complexity,\n });\n const analysis: Record<string, unknown> = {\n kind: 'gltf',\n format: path.extname(sourcePath).toLowerCase() === '.gltf' ? 'gltf' : 'glb',\n summary: `${nodes.length} nodes, ${meshes.length} meshes, ${primitiveCount} primitives, ${materials.length} materials`,\n complexity,\n sceneCount: scenes.length,\n nodeCount: nodes.length,\n meshCount: meshes.length,\n primitiveCount,\n materialCount: materials.length,\n textureCount: textures.length,\n imageCount: images.length,\n animationCount: animations.length,\n skinCount: skins.length,\n nodes: createGltfNodeAnalysisSummaries(nodes, meshes, materials, accessors, parentByNode, rootSet),\n meshes: createGltfMeshAnalysisSummaries(meshes, materials, accessors),\n materials: createGltfMaterialAnalysisSummaries(gltf),\n diagnostics,\n };\n return analysis;\n } catch {\n return null;\n }\n}\n\nasync function resolvePlayableEditorImageAssetAnalysis(sourcePath: string): Promise<Record<string, unknown> | null> {\n try {\n const bytes = await fs.readFile(sourcePath);\n const extension = path.extname(sourcePath).toLowerCase();\n const image = extension === '.png'\n ? readPngImageAnalysis(bytes)\n : extension === '.jpg' || extension === '.jpeg'\n ? readJpegImageAnalysis(bytes)\n : extension === '.webp'\n ? readWebpImageAnalysis(bytes)\n : null;\n if (!image) return null;\n const diagnostics = createImageAssetAnalysisDiagnostics(image);\n return {\n kind: 'image',\n format: image.format,\n summary: `${image.width}x${image.height} ${image.mime}`,\n complexity: image.estimatedPixels >= 4096 * 4096 ? 'high' : image.estimatedPixels >= 2048 * 2048 ? 'medium' : 'low',\n width: image.width,\n height: image.height,\n mime: image.mime,\n bitDepth: image.bitDepth,\n hasAlpha: image.hasAlpha,\n estimatedPixels: image.estimatedPixels,\n diagnostics,\n };\n } catch {\n return null;\n }\n}\n\nfunction createGltfNodeAnalysisSummaries(\n nodes: readonly any[],\n meshes: readonly any[],\n materials: readonly any[],\n accessors: readonly any[],\n parentByNode: Map<number, number>,\n rootSet: Set<number>,\n): Array<Record<string, unknown>> {\n return nodes.slice(0, 100).map((node, nodeIndex) => {\n const meshIndex = Number.isInteger(node?.mesh) ? node.mesh as number : -1;\n const mesh = meshIndex >= 0 && meshIndex < meshes.length ? meshes[meshIndex] : null;\n const children = Array.isArray(node?.children)\n ? node.children.filter((childIndex: unknown): childIndex is number => Number.isInteger(childIndex))\n : [];\n const ownerNodePath = buildGltfOwnerNodePath(nodes, parentByNode, rootSet, nodeIndex);\n const nodeSummary: Record<string, unknown> = {\n nodeIndex,\n nodeIndexPath: buildGltfNodeIndexPath(parentByNode, nodeIndex),\n ...(typeof node?.name === 'string' && node.name.trim() ? { name: node.name.trim() } : {}),\n ...(ownerNodePath ? { ownerNodePath } : {}),\n ...(children.length > 0 ? { children } : {}),\n };\n if (mesh) {\n const primitives = createGltfPrimitiveAnalysisSummaries(mesh, materials, accessors);\n Object.assign(nodeSummary, {\n meshIndex,\n ...(typeof mesh?.name === 'string' && mesh.name.trim() ? { meshName: mesh.name.trim() } : {}),\n primitiveCount: primitives.length,\n ...(primitives.length > 0 ? { primitives } : {}),\n });\n }\n return nodeSummary;\n });\n}\n\nfunction createGltfMeshAnalysisSummaries(\n meshes: readonly any[],\n materials: readonly any[],\n accessors: readonly any[],\n): Array<Record<string, unknown>> {\n return meshes.slice(0, 50).map((mesh, meshIndex) => {\n const primitives: any[] = Array.isArray(mesh?.primitives) ? mesh.primitives : [];\n const materialIndices = [...new Set(primitives\n .map((primitive: any) => Number.isInteger(primitive?.material) ? primitive.material as number : -1)\n .filter((materialIndex: number) => materialIndex >= 0))];\n const primitiveSummaries = createGltfPrimitiveAnalysisSummaries(mesh, materials, accessors);\n return {\n meshIndex,\n ...(typeof mesh?.name === 'string' && mesh.name.trim() ? { name: mesh.name.trim() } : {}),\n primitiveCount: primitives.length,\n ...(primitiveSummaries.length > 0 ? { primitives: primitiveSummaries } : {}),\n ...(materialIndices.length > 0 ? { materialIndices } : {}),\n ...(materialIndices.length > 0\n ? {\n materialNames: materialIndices\n .map((materialIndex) => {\n const material = materials[materialIndex];\n return typeof material?.name === 'string' ? material.name.trim() : '';\n })\n .filter(Boolean),\n }\n : {}),\n };\n });\n}\n\nfunction createGltfPrimitiveAnalysisSummaries(\n mesh: unknown,\n materials: readonly any[],\n accessors: readonly any[],\n): Array<Record<string, unknown>> {\n const meshRecord = isRecord(mesh) ? mesh : {};\n const primitives = Array.isArray(meshRecord.primitives) ? meshRecord.primitives : [];\n return primitives.map((primitive: any, primitiveIndex: number) => {\n const sourceMaterialIndex = Number.isInteger(primitive?.material) ? primitive.material as number : -1;\n const material = sourceMaterialIndex >= 0 ? materials[sourceMaterialIndex] : null;\n const materialName = typeof material?.name === 'string' && material.name.trim() ? material.name.trim() : '';\n const triangleCount = readGltfPrimitiveTriangleCount(primitive, accessors);\n const boundingBox = readGltfPrimitiveBoundingBox(primitive, accessors);\n return {\n primitiveIndex,\n ...(Number.isInteger(primitive?.mode) ? { mode: primitive.mode } : {}),\n ...(sourceMaterialIndex >= 0 ? { sourceMaterialIndex } : {}),\n ...(materialName ? { materialName } : {}),\n ...(Number.isFinite(triangleCount) ? { triangleCount } : {}),\n ...(boundingBox ? { boundingBox } : {}),\n };\n });\n}\n\nfunction createGltfMaterialAnalysisSummaries(gltf: any): Array<Record<string, unknown>> {\n const materials: any[] = Array.isArray(gltf?.materials) ? gltf.materials : [];\n return materials.slice(0, 50).map((material: any, sourceMaterialIndex: number) => {\n const pbr = material?.pbrMetallicRoughness && typeof material.pbrMetallicRoughness === 'object'\n ? material.pbrMetallicRoughness\n : {};\n const textureSlots = readGltfMaterialTextureSlots(material, pbr);\n return {\n sourceMaterialIndex,\n ...(typeof material?.name === 'string' && material.name.trim() ? { materialName: material.name.trim() } : {}),\n ...(Array.isArray(pbr.baseColorFactor) ? { baseColorFactor: pbr.baseColorFactor.slice(0, 4) } : {}),\n metallicFactor: Number.isFinite(pbr.metallicFactor) ? pbr.metallicFactor : 1,\n roughnessFactor: Number.isFinite(pbr.roughnessFactor) ? pbr.roughnessFactor : 1,\n alphaMode: normalizeGltfAlphaMode(material?.alphaMode) ?? 'opaque',\n ...(Number.isFinite(material?.alphaCutoff) ? { alphaCutoff: material.alphaCutoff } : {}),\n ...(textureSlots.length > 0 ? { textureSlots } : {}),\n };\n });\n}\n\nfunction readGltfMaterialTextureSlots(material: any, pbr: any): Array<Record<string, unknown>> {\n const slots: Array<Record<string, unknown>> = [];\n pushGltfTextureSlot(slots, 'baseColor', pbr?.baseColorTexture);\n pushGltfTextureSlot(slots, 'metallicRoughness', pbr?.metallicRoughnessTexture);\n pushGltfTextureSlot(slots, 'normal', material?.normalTexture);\n pushGltfTextureSlot(slots, 'occlusion', material?.occlusionTexture);\n pushGltfTextureSlot(slots, 'emissive', material?.emissiveTexture);\n return slots;\n}\n\nfunction pushGltfTextureSlot(slots: Array<Record<string, unknown>>, slot: string, textureInfo: unknown): void {\n if (!isRecord(textureInfo) || !Number.isInteger(textureInfo.index)) return;\n slots.push({\n slot,\n textureIndex: textureInfo.index,\n ...(Number.isFinite(textureInfo.texCoord) ? { texCoord: textureInfo.texCoord } : {}),\n });\n}\n\nfunction resolveAssetComplexity(input: {\n nodeCount: number;\n meshCount: number;\n primitiveCount: number;\n materialCount: number;\n textureCount: number;\n imageCount: number;\n}): string {\n if (\n input.nodeCount >= 300\n || input.meshCount >= 250\n || input.primitiveCount >= 300\n || input.materialCount >= 200\n || input.textureCount >= 80\n || input.imageCount >= 80\n ) return 'high';\n if (\n input.nodeCount >= 100\n || input.meshCount >= 80\n || input.primitiveCount >= 100\n || input.materialCount >= 50\n || input.textureCount >= 24\n || input.imageCount >= 24\n ) return 'medium';\n return 'low';\n}\n\nfunction createGltfAssetAnalysisDiagnostics(input: {\n nodeCount: number;\n meshCount: number;\n primitiveCount: number;\n materialCount: number;\n textureCount: number;\n imageCount: number;\n animationCount: number;\n skinCount: number;\n complexity: string;\n}): Array<Record<string, unknown>> {\n const diagnostics: Array<Record<string, unknown>> = [];\n if (input.complexity === 'high') {\n diagnostics.push({\n severity: 'warning',\n source: 'asset',\n code: 'asset.analysis.highComplexity',\n message: 'GLTF asset is structurally complex; agent should place and inspect it before duplicating or using dense shadows.',\n details: {\n nodeCount: input.nodeCount,\n meshCount: input.meshCount,\n primitiveCount: input.primitiveCount,\n materialCount: input.materialCount,\n textureCount: input.textureCount,\n imageCount: input.imageCount,\n },\n });\n }\n if (input.animationCount > 0 || input.skinCount > 0) {\n diagnostics.push({\n severity: 'info',\n source: 'asset',\n code: 'asset.analysis.riggedOrAnimated',\n message: 'GLTF asset contains animation or skin data.',\n details: {\n animationCount: input.animationCount,\n skinCount: input.skinCount,\n },\n });\n }\n return diagnostics;\n}\n\ninterface ImageAssetHeaderAnalysis {\n format: string;\n mime: string;\n width: number;\n height: number;\n bitDepth?: number;\n hasAlpha: boolean;\n estimatedPixels: number;\n}\n\nfunction readPngImageAnalysis(bytes: Buffer): ImageAssetHeaderAnalysis | null {\n if (bytes.length < 33) return null;\n if (\n bytes[0] !== 0x89\n || bytes.toString('ascii', 1, 4) !== 'PNG'\n || bytes[4] !== 0x0d\n || bytes[5] !== 0x0a\n || bytes[6] !== 0x1a\n || bytes[7] !== 0x0a\n ) return null;\n const chunkType = bytes.toString('ascii', 12, 16);\n if (chunkType !== 'IHDR') return null;\n const width = bytes.readUInt32BE(16);\n const height = bytes.readUInt32BE(20);\n const bitDepth = bytes[24];\n const colorType = bytes[25];\n return {\n format: 'png',\n mime: 'image/png',\n width,\n height,\n bitDepth,\n hasAlpha: colorType === 4 || colorType === 6,\n estimatedPixels: width * height,\n };\n}\n\nfunction readJpegImageAnalysis(bytes: Buffer): ImageAssetHeaderAnalysis | null {\n if (bytes.length < 4 || bytes[0] !== 0xff || bytes[1] !== 0xd8) return null;\n let offset = 2;\n while (offset + 9 < bytes.length) {\n if (bytes[offset] !== 0xff) {\n offset += 1;\n continue;\n }\n const marker = bytes[offset + 1];\n const length = bytes.readUInt16BE(offset + 2);\n if (length < 2) return null;\n const isStartOfFrame = (\n marker >= 0xc0\n && marker <= 0xcf\n && ![0xc4, 0xc8, 0xcc].includes(marker)\n );\n if (isStartOfFrame && offset + 8 < bytes.length) {\n const bitDepth = bytes[offset + 4];\n const height = bytes.readUInt16BE(offset + 5);\n const width = bytes.readUInt16BE(offset + 7);\n return {\n format: 'jpeg',\n mime: 'image/jpeg',\n width,\n height,\n bitDepth,\n hasAlpha: false,\n estimatedPixels: width * height,\n };\n }\n offset += 2 + length;\n }\n return null;\n}\n\nfunction readWebpImageAnalysis(bytes: Buffer): ImageAssetHeaderAnalysis | null {\n if (bytes.length < 30 || bytes.toString('ascii', 0, 4) !== 'RIFF' || bytes.toString('ascii', 8, 12) !== 'WEBP') return null;\n const chunkType = bytes.toString('ascii', 12, 16);\n if (chunkType === 'VP8X' && bytes.length >= 30) {\n const flags = bytes[20];\n const width = readUInt24LE(bytes, 24) + 1;\n const height = readUInt24LE(bytes, 27) + 1;\n return {\n format: 'webp',\n mime: 'image/webp',\n width,\n height,\n hasAlpha: (flags & 0x10) !== 0,\n estimatedPixels: width * height,\n };\n }\n if (chunkType === 'VP8 ' && bytes.length >= 30) {\n const width = bytes.readUInt16LE(26) & 0x3fff;\n const height = bytes.readUInt16LE(28) & 0x3fff;\n return {\n format: 'webp',\n mime: 'image/webp',\n width,\n height,\n hasAlpha: false,\n estimatedPixels: width * height,\n };\n }\n if (chunkType === 'VP8L' && bytes.length >= 25 && bytes[20] === 0x2f) {\n const bits = bytes.readUInt32LE(21);\n const width = (bits & 0x3fff) + 1;\n const height = ((bits >> 14) & 0x3fff) + 1;\n return {\n format: 'webp',\n mime: 'image/webp',\n width,\n height,\n hasAlpha: true,\n estimatedPixels: width * height,\n };\n }\n return null;\n}\n\nfunction readUInt24LE(bytes: Buffer, offset: number): number {\n return bytes[offset] | (bytes[offset + 1] << 8) | (bytes[offset + 2] << 16);\n}\n\nfunction createImageAssetAnalysisDiagnostics(input: ImageAssetHeaderAnalysis): Array<Record<string, unknown>> {\n const diagnostics: Array<Record<string, unknown>> = [];\n if (input.estimatedPixels >= 4096 * 4096) {\n diagnostics.push({\n severity: 'warning',\n source: 'asset',\n code: 'asset.analysis.largeImage',\n message: 'Image asset is large; agent should inspect texture usage before assigning it broadly.',\n details: {\n width: input.width,\n height: input.height,\n estimatedPixels: input.estimatedPixels,\n },\n });\n }\n return diagnostics;\n}\n\nfunction collectGltfMaterialSlots(gltf: any, context: ExtractPlayableEditorGltfMaterialSlotsContext = {}): Array<Record<string, unknown>> {\n if (!gltf || typeof gltf !== 'object') return [];\n const nodes = Array.isArray(gltf.nodes) ? gltf.nodes : [];\n const meshes = Array.isArray(gltf.meshes) ? gltf.meshes : [];\n const materials = Array.isArray(gltf.materials) ? gltf.materials : [];\n const sourceMaterialProfiles = collectGltfSourceMaterialProfiles(gltf, context);\n const sceneIndexes = collectGltfSceneRootNodeIndexes(gltf);\n const parentByNode = buildGltfParentIndex(nodes);\n const rootSet = new Set(sceneIndexes);\n const accessors = Array.isArray(gltf.accessors) ? gltf.accessors : [];\n const previousSlotIds = createPreviousMaterialSlotIdMaps(context.existingMaterialSlots);\n const slots: Array<Record<string, unknown>> = [];\n\n for (let nodeIndex = 0; nodeIndex < nodes.length; nodeIndex += 1) {\n const node = nodes[nodeIndex];\n const meshIndex = Number.isInteger(node?.mesh) ? node.mesh : -1;\n if (meshIndex < 0 || meshIndex >= meshes.length) continue;\n\n const ownerNodePath = buildGltfOwnerNodePath(nodes, parentByNode, rootSet, nodeIndex);\n if (!ownerNodePath) continue;\n\n const mesh = meshes[meshIndex];\n const primitives = Array.isArray(mesh?.primitives) ? mesh.primitives : [];\n const baseLabel = readGltfNodeMeshLabel(node, mesh, ownerNodePath);\n const nodeIndexPath = buildGltfNodeIndexPath(parentByNode, nodeIndex);\n\n for (let primitiveIndex = 0; primitiveIndex < primitives.length; primitiveIndex += 1) {\n const primitive = primitives[primitiveIndex];\n const materialRef = readGltfPrimitiveMaterialRef(primitive, materials);\n const exactSourceKey = createGltfMaterialSlotSourceKey({\n ownerNodePath,\n nodeIndex,\n meshIndex,\n primitiveIndex,\n });\n const reusableExactSlotId = previousSlotIds.byExactSource.get(exactSourceKey);\n const slotId = reusableExactSlotId\n ?? createGltfMaterialSlotId({\n assetGuid: context.assetGuid,\n assetId: context.assetId,\n nodeIndex,\n meshIndex,\n primitiveIndex: primitives.length > 1 ? primitiveIndex : undefined,\n });\n const sourceMaterialIndices = materialRef.index >= 0 ? [materialRef.index] : [];\n const triangleCount = readGltfPrimitiveTriangleCount(primitive, accessors);\n const boundingBox = readGltfPrimitiveBoundingBox(primitive, accessors);\n slots.push({\n slotId,\n ownerNodePath,\n label: primitives.length > 1 ? `${baseLabel} / Primitive ${primitiveIndex}` : baseLabel,\n nodeIndex,\n nodeIndexPath,\n meshIndex,\n primitiveIndex,\n ...(materialRef.index >= 0 ? { sourceMaterialIndex: materialRef.index } : {}),\n ...(sourceMaterialIndices.length > 0 ? { sourceMaterialIndices } : {}),\n ...(materialRef.name ? { materialName: materialRef.name, materialNames: [materialRef.name] } : {}),\n ...(Number.isFinite(triangleCount) ? { triangleCount } : {}),\n ...(boundingBox ? { boundingBox } : {}),\n ...pickGltfSlotSourceMaterialProfiles(sourceMaterialProfiles, sourceMaterialIndices),\n });\n }\n }\n\n return slots.sort((left, right) => {\n const ownerCompare = String(left.ownerNodePath).localeCompare(String(right.ownerNodePath));\n if (ownerCompare !== 0) return ownerCompare;\n const leftPrimitiveIndex = Number.isInteger(left.primitiveIndex) ? left.primitiveIndex as number : -1;\n const rightPrimitiveIndex = Number.isInteger(right.primitiveIndex) ? right.primitiveIndex as number : -1;\n return leftPrimitiveIndex - rightPrimitiveIndex;\n });\n}\n\nfunction collectGltfSourceMaterialProfiles(gltf: any, context: ExtractPlayableEditorGltfMaterialSlotsContext = {}): Array<Record<string, unknown>> {\n const materials = Array.isArray(gltf?.materials) ? gltf.materials : [];\n const profiles: Array<Record<string, unknown>> = [];\n for (let sourceMaterialIndex = 0; sourceMaterialIndex < materials.length; sourceMaterialIndex += 1) {\n const sourceProfile = readGltfSourceMaterialProfile(gltf, sourceMaterialIndex, context);\n if (sourceProfile) profiles.push(sourceProfile);\n }\n return profiles;\n}\n\nfunction pickGltfSlotSourceMaterialProfiles(\n sourceProfiles: Array<Record<string, unknown>>,\n sourceMaterialIndices: readonly number[],\n): Record<string, unknown> {\n if (!sourceMaterialIndices.length || !sourceProfiles.length) return {};\n const profileByIndex = new Map(sourceProfiles.map(profile => [profile.sourceMaterialIndex, profile]));\n const sourceMaterialProfiles = sourceMaterialIndices\n .map(sourceMaterialIndex => profileByIndex.get(sourceMaterialIndex))\n .filter(Boolean);\n return sourceMaterialProfiles.length > 0 ? { sourceMaterialProfiles } : {};\n}\n\nfunction readGltfSourceMaterialProfile(\n gltf: any,\n sourceMaterialIndex: number,\n context: ExtractPlayableEditorGltfMaterialSlotsContext = {},\n): Record<string, unknown> | null {\n const material = Array.isArray(gltf?.materials) ? gltf.materials[sourceMaterialIndex] : null;\n if (!material || typeof material !== 'object') return null;\n\n const profile: Record<string, any> = {};\n const textureHints: Array<Record<string, unknown>> = [];\n const pbr = material.pbrMetallicRoughness && typeof material.pbrMetallicRoughness === 'object'\n ? material.pbrMetallicRoughness\n : {};\n\n const baseColor: Record<string, unknown> = {};\n const baseColorFactor = Array.isArray(pbr.baseColorFactor) ? pbr.baseColorFactor : null;\n const baseColorRgb = readGltfRgbFactor(baseColorFactor);\n if (baseColorRgb) baseColor.color = baseColorRgb;\n const baseColorTextureRef = applyGltfTextureRef(gltf, pbr.baseColorTexture, context, 'baseColor.texture', baseColor, 'texture', textureHints);\n if (Object.keys(baseColor).length > 0) profile.baseColor = {\n ...baseColor,\n brightness: 1,\n saturation: 1,\n contrast: 1,\n hue: 0,\n };\n\n const normal: Record<string, unknown> = {};\n applyGltfTextureRef(gltf, material.normalTexture, context, 'normal.texture', normal, 'texture', textureHints);\n if (Number.isFinite(material.normalTexture?.scale)) normal.strength = material.normalTexture.scale;\n else if (normal.texture) normal.strength = 1;\n if (Object.keys(normal).length > 0) profile.normal = normal;\n\n profile.metallic = Number.isFinite(pbr.metallicFactor) ? pbr.metallicFactor : 1;\n profile.roughness = Number.isFinite(pbr.roughnessFactor) ? pbr.roughnessFactor : 1;\n\n const metallicRoughness: Record<string, unknown> = {};\n applyGltfTextureRef(gltf, pbr.metallicRoughnessTexture, context, 'metallicRoughness.texture', metallicRoughness, 'texture', textureHints);\n if (Object.keys(metallicRoughness).length > 0) profile.metallicRoughness = metallicRoughness;\n\n const occlusion: Record<string, unknown> = {};\n applyGltfTextureRef(gltf, material.occlusionTexture, context, 'occlusion.texture', occlusion, 'texture', textureHints);\n if (Number.isFinite(material.occlusionTexture?.strength)) occlusion.strength = material.occlusionTexture.strength;\n else if (occlusion.texture) occlusion.strength = 1;\n if (Object.keys(occlusion).length > 0) profile.occlusion = occlusion;\n\n const emission: Record<string, unknown> = {};\n const emissiveColor = readGltfRgbFactor(Array.isArray(material.emissiveFactor) ? material.emissiveFactor : null);\n const hasEmissionColor = emissiveColor && (emissiveColor.r !== 0 || emissiveColor.g !== 0 || emissiveColor.b !== 0);\n if (hasEmissionColor) emission.color = emissiveColor;\n applyGltfTextureRef(gltf, material.emissiveTexture, context, 'emission.texture', emission, 'texture', textureHints);\n if (hasEmissionColor) emission.intensity = 1;\n if (Object.keys(emission).length > 0) profile.emission = emission;\n\n const alpha: Record<string, unknown> = {};\n const alphaMode = normalizeGltfAlphaMode(material.alphaMode);\n if (alphaMode) alpha.mode = alphaMode;\n if (alphaMode === 'mask' || alphaMode === 'blend') {\n if (baseColorFactor && Number.isFinite(baseColorFactor[3]) && baseColorFactor[3] !== 1) alpha.opacity = baseColorFactor[3];\n if (Number.isFinite(material.alphaCutoff)) alpha.cutoff = material.alphaCutoff;\n else if (alphaMode === 'mask') alpha.cutoff = 0.5;\n if (baseColorTextureRef.texture) {\n alpha.texture = structuredClone(baseColorTextureRef.texture);\n } else if (baseColorTextureRef.hint) {\n textureHints.push({\n ...baseColorTextureRef.hint,\n profilePath: 'alpha.texture',\n });\n }\n }\n if (Object.keys(alpha).length > 0) profile.alpha = alpha;\n\n if (Object.keys(profile).length === 0 && textureHints.length === 0) return null;\n const materialName = typeof material.name === 'string' && material.name.trim() ? material.name.trim() : '';\n return {\n sourceMaterialIndex,\n ...(materialName ? { materialName } : {}),\n ...(Object.keys(profile).length > 0 ? { profile } : {}),\n ...(textureHints.length > 0 ? { textureHints } : {}),\n };\n}\n\nfunction readGltfRgbFactor(value: unknown): { r: number; g: number; b: number } | null {\n if (!Array.isArray(value) || value.length < 3) return null;\n const [r, g, b] = value;\n return Number.isFinite(r) && Number.isFinite(g) && Number.isFinite(b) ? { r, g, b } : null;\n}\n\nfunction normalizeGltfAlphaMode(value: unknown): string | null {\n if (value === 'MASK') return 'mask';\n if (value === 'BLEND') return 'blend';\n if (value === 'OPAQUE') return 'opaque';\n return null;\n}\n\nfunction applyGltfTextureRef(\n gltf: any,\n textureInfo: unknown,\n context: ExtractPlayableEditorGltfMaterialSlotsContext,\n profilePath: string,\n target: Record<string, unknown>,\n targetProperty: string,\n textureHints: Array<Record<string, unknown>>,\n): { texture?: Record<string, unknown>; hint?: Record<string, unknown> } {\n const result = resolveGltfTextureRef(gltf, textureInfo, context, profilePath);\n if (result.texture) target[targetProperty] = result.texture;\n if (result.hint) textureHints.push(result.hint);\n return result;\n}\n\nfunction resolveGltfTextureRef(\n gltf: any,\n textureInfo: unknown,\n context: ExtractPlayableEditorGltfMaterialSlotsContext,\n profilePath: string,\n): { texture?: Record<string, unknown>; hint?: Record<string, unknown> } {\n const textureRecord = isRecord(textureInfo) ? textureInfo : {};\n const textureIndex = Number.isInteger(textureRecord.index) ? textureRecord.index as number : -1;\n if (textureIndex < 0) return {};\n const textures = Array.isArray(gltf?.textures) ? gltf.textures : [];\n const images = Array.isArray(gltf?.images) ? gltf.images : [];\n const texture = textures[textureIndex];\n const imageIndex = Number.isInteger(texture?.source) ? texture.source : -1;\n const image = imageIndex >= 0 ? images[imageIndex] : null;\n const uri = typeof image?.uri === 'string' ? image.uri.trim() : '';\n const baseHint = {\n profilePath,\n textureIndex,\n ...(imageIndex >= 0 ? { imageIndex } : {}),\n ...(uri ? { uri } : {}),\n ...(Number.isInteger(image?.bufferView) ? { bufferView: image.bufferView } : {}),\n ...(typeof image?.mimeType === 'string' && image.mimeType.trim() ? { mimeType: image.mimeType.trim() } : {}),\n };\n if (image?.bufferView != null) return { hint: { ...baseHint, reason: 'embedded-texture' } };\n if (!uri) return { hint: { ...baseHint, reason: 'missing-image-uri' } };\n if (/^data:/i.test(uri)) return { hint: { ...baseHint, reason: 'embedded-texture' } };\n if (/^https?:\\/\\//i.test(uri) || uri.startsWith('/')) return { texture: { url: uri } };\n\n let decodedUri = uri;\n try {\n decodedUri = decodeURIComponent(uri);\n } catch {\n return { hint: { ...baseHint, reason: 'unresolved-external-texture' } };\n }\n const sourceDir = path.dirname(String(context.sourcePath ?? ''));\n const absolutePath = path.resolve(sourceDir, decodedUri);\n const assetsDir = context.assetsDir ? path.resolve(context.assetsDir) : '';\n const cwd = context.cwd ? path.resolve(context.cwd) : '';\n const relativeToAssets = assetsDir ? path.relative(assetsDir, absolutePath) : '../';\n if (assetsDir && cwd && relativeToAssets && !relativeToAssets.startsWith('..') && !path.isAbsolute(relativeToAssets)) {\n const relativeToCwd = path.relative(cwd, absolutePath).split(path.sep).join('/');\n return { texture: { url: `/${relativeToCwd}` } };\n }\n return { hint: { ...baseHint, reason: 'unresolved-external-texture' } };\n}\n\nfunction createPreviousMaterialSlotIdMaps(rawSlots: unknown): {\n byExactSource: Map<string, string>;\n} {\n const byExactSource = new Map<string, string>();\n if (!Array.isArray(rawSlots)) return { byExactSource };\n for (const rawSlot of rawSlots) {\n if (!isRecord(rawSlot)) continue;\n const ownerNodePath = typeof rawSlot.ownerNodePath === 'string'\n ? rawSlot.ownerNodePath.trim().replace(/^\\/+|\\/+$/g, '')\n : '';\n const slotId = typeof rawSlot.slotId === 'string' ? rawSlot.slotId.trim() : '';\n if (!ownerNodePath || !slotId) continue;\n const nodeIndex = Number.isInteger(rawSlot.nodeIndex) ? rawSlot.nodeIndex as number : -1;\n const meshIndex = Number.isInteger(rawSlot.meshIndex) ? rawSlot.meshIndex as number : -1;\n const primitiveIndex = Number.isInteger(rawSlot.primitiveIndex) ? rawSlot.primitiveIndex as number : -1;\n if (nodeIndex >= 0 && meshIndex >= 0 && primitiveIndex >= 0) {\n byExactSource.set(createGltfMaterialSlotSourceKey({\n ownerNodePath,\n nodeIndex,\n meshIndex,\n primitiveIndex,\n }), slotId);\n }\n }\n return { byExactSource };\n}\n\nfunction createGltfMaterialSlotSourceKey(input: {\n ownerNodePath: string;\n nodeIndex: number;\n meshIndex: number;\n primitiveIndex: number;\n}): string {\n return [\n input.ownerNodePath,\n input.nodeIndex,\n input.meshIndex,\n input.primitiveIndex,\n ].join('\\u0000');\n}\n\nfunction createGltfMaterialSlotId(input: {\n assetGuid?: string;\n assetId?: string;\n nodeIndex: number;\n meshIndex: number;\n primitiveIndex?: number;\n}): string {\n const primitiveSeed = Number.isInteger(input.primitiveIndex) ? `:${input.primitiveIndex}` : '';\n const seed = `${input.assetGuid || input.assetId || 'asset'}:${input.nodeIndex}:${input.meshIndex}${primitiveSeed}`;\n return `slot_${stableHashToken(seed)}`;\n}\n\nfunction createPlayableEditorTextureAssetCapabilities(\n sourcePath: string,\n metadata: Record<string, unknown>,\n): { usage: string; materialTexture: boolean; environmentTexture: boolean } | null {\n if (metadata.textureUsage === 'environment' || metadata.usage === 'environment') {\n return { usage: 'environment', materialTexture: false, environmentTexture: true };\n }\n if (isRecord(metadata.capabilities) && metadata.capabilities.environmentTexture === true) {\n return { usage: 'environment', materialTexture: false, environmentTexture: true };\n }\n const extension = path.extname(sourcePath).toLowerCase();\n if (['.env', '.hdr', '.dds', '.ktx', '.ktx2'].includes(extension)) {\n return { usage: 'environment', materialTexture: false, environmentTexture: true };\n }\n if (['.png', '.jpg', '.jpeg', '.webp'].includes(extension)) {\n return { usage: 'material', materialTexture: true, environmentTexture: false };\n }\n return null;\n}\n\nfunction collectGltfSceneRootNodeIndexes(gltf: any): number[] {\n const scenes = Array.isArray(gltf.scenes) ? gltf.scenes : [];\n const sceneIndex = Number.isInteger(gltf.scene) ? gltf.scene : 0;\n const scene = scenes[sceneIndex] ?? scenes[0];\n return Array.isArray(scene?.nodes) ? scene.nodes.filter(Number.isInteger) : [];\n}\n\nfunction buildGltfParentIndex(nodes: readonly any[]): Map<number, number> {\n const parentByNode = new Map<number, number>();\n for (let parentIndex = 0; parentIndex < nodes.length; parentIndex += 1) {\n const children = Array.isArray(nodes[parentIndex]?.children) ? nodes[parentIndex].children : [];\n for (const childIndex of children) {\n if (Number.isInteger(childIndex) && !parentByNode.has(childIndex)) {\n parentByNode.set(childIndex, parentIndex);\n }\n }\n }\n return parentByNode;\n}\n\nfunction buildGltfOwnerNodePath(\n nodes: readonly any[],\n parentByNode: Map<number, number>,\n rootSet: Set<number>,\n nodeIndex: number,\n): string {\n const segments: string[] = [];\n let currentIndex = nodeIndex;\n const visited = new Set<number>();\n while (Number.isInteger(currentIndex) && currentIndex >= 0 && currentIndex < nodes.length) {\n if (visited.has(currentIndex)) return '';\n visited.add(currentIndex);\n segments.push(stableGltfNodeSegment(nodes[currentIndex], currentIndex));\n const parentIndex = parentByNode.get(currentIndex);\n if (typeof parentIndex !== 'number' || !Number.isInteger(parentIndex)) break;\n currentIndex = parentIndex;\n }\n segments.reverse();\n if (segments.length > 1 && rootSet.has(currentIndex)) segments.shift();\n return segments.filter(Boolean).join('/');\n}\n\nfunction stableGltfNodeSegment(node: unknown, index: number): string {\n const name = isRecord(node) && typeof node.name === 'string' ? node.name.trim() : '';\n return name || `node_${index}`;\n}\n\nfunction readGltfNodeMeshLabel(node: unknown, mesh: unknown, ownerNodePath: string): string {\n const nodeName = isRecord(node) && typeof node.name === 'string' ? node.name.trim() : '';\n const meshName = isRecord(mesh) && typeof mesh.name === 'string' ? mesh.name.trim() : '';\n return nodeName || meshName || ownerNodePath.split('/').filter(Boolean).pop() || ownerNodePath;\n}\n\nfunction buildGltfNodeIndexPath(parentByNode: Map<number, number>, nodeIndex: number): number[] {\n const path: number[] = [];\n let currentIndex = nodeIndex;\n const visited = new Set<number>();\n while (Number.isInteger(currentIndex) && currentIndex >= 0) {\n if (visited.has(currentIndex)) return [];\n visited.add(currentIndex);\n path.push(currentIndex);\n const parentIndex = parentByNode.get(currentIndex);\n if (!Number.isInteger(parentIndex)) break;\n currentIndex = parentIndex as number;\n }\n path.reverse();\n return path;\n}\n\nfunction readGltfPrimitiveMaterialRef(primitive: unknown, materials: readonly any[]): {\n index: number;\n name: string;\n} {\n const primitiveRecord = isRecord(primitive) ? primitive : {};\n const index = Number.isInteger(primitiveRecord.material) ? primitiveRecord.material as number : -1;\n const material = index >= 0 ? materials[index] : null;\n const name = typeof material?.name === 'string' && material.name.trim() ? material.name.trim() : '';\n return { index, name };\n}\n\nfunction readGltfPrimitiveTriangleCount(primitive: unknown, accessors: readonly any[]): number | null {\n const primitiveRecord = isRecord(primitive) ? primitive : {};\n const indexAccessorIndex = Number.isInteger(primitiveRecord.indices) ? primitiveRecord.indices as number : -1;\n const positionAccessorIndex = readGltfPrimitivePositionAccessorIndex(primitiveRecord);\n const indexAccessor = indexAccessorIndex >= 0 ? accessors[indexAccessorIndex] : null;\n const positionAccessor = positionAccessorIndex >= 0 ? accessors[positionAccessorIndex] : null;\n const elementCount = Number.isFinite(indexAccessor?.count)\n ? Number(indexAccessor.count)\n : Number.isFinite(positionAccessor?.count)\n ? Number(positionAccessor.count)\n : null;\n if (elementCount == null) return null;\n const mode = Number.isInteger(primitiveRecord.mode) ? primitiveRecord.mode as number : 4;\n if (mode === 4) return Math.floor(elementCount / 3);\n if (mode === 5 || mode === 6) return Math.max(0, elementCount - 2);\n return 0;\n}\n\nfunction readGltfPrimitiveBoundingBox(primitive: unknown, accessors: readonly any[]): {\n min: [number, number, number];\n max: [number, number, number];\n} | null {\n const primitiveRecord = isRecord(primitive) ? primitive : {};\n const positionAccessorIndex = readGltfPrimitivePositionAccessorIndex(primitiveRecord);\n const accessor = positionAccessorIndex >= 0 ? accessors[positionAccessorIndex] : null;\n const min = readGltfVec3Tuple(accessor?.min);\n const max = readGltfVec3Tuple(accessor?.max);\n return min && max ? { min, max } : null;\n}\n\nfunction readGltfPrimitivePositionAccessorIndex(primitive: Record<string, any>): number {\n const attributes = isRecord(primitive.attributes) ? primitive.attributes : {};\n return Number.isInteger(attributes.POSITION) ? attributes.POSITION as number : -1;\n}\n\nfunction readGltfVec3Tuple(value: unknown): [number, number, number] | null {\n if (!Array.isArray(value) || value.length < 3) return null;\n const x = Number(value[0]);\n const y = Number(value[1]);\n const z = Number(value[2]);\n return Number.isFinite(x) && Number.isFinite(y) && Number.isFinite(z) ? [x, y, z] : null;\n}\n\nfunction isRecord(value: unknown): value is Record<string, any> {\n return value != null && typeof value === 'object' && !Array.isArray(value);\n}\n\nfunction stableHashToken(value: unknown): string {\n const text = String(value ?? '');\n let hash = 0x811c9dc5;\n for (let index = 0; index < text.length; index += 1) {\n hash ^= text.charCodeAt(index);\n hash = Math.imul(hash, 0x01000193);\n }\n return (hash >>> 0).toString(16).padStart(8, '0');\n}\n"]}
1
+ {"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../src/asset-database/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAClC,OAAO,IAAI,MAAM,WAAW,CAAC;AAqB7B,MAAM,CAAC,KAAK,UAAU,kCAAkC,CACtD,KAA8C;IAE9C,MAAM,QAAQ,GAAG;QACf,GAAG,CAAC,KAAK,CAAC,gBAAgB,IAAI,EAAE,CAAC;QACjC,GAAG,CAAC,KAAK,CAAC,eAAe,IAAI,EAAE,CAAC;KACjC,CAAC;IACF,MAAM,aAAa,GAAG,MAAM,kCAAkC,CAAC,KAAK,CAAC,CAAC;IACtE,IAAI,aAAa,EAAE,CAAC;QAClB,QAAQ,CAAC,aAAa,GAAG,aAAa,CAAC;QACvC,QAAQ,CAAC,mBAAmB,GAAG,UAAU,CAAC;IAC5C,CAAC;SAAM,CAAC;QACN,OAAO,QAAQ,CAAC,aAAa,CAAC;QAC9B,QAAQ,CAAC,mBAAmB,GAAG,aAAa,CAAC;IAC/C,CAAC;IAED,IAAI,KAAK,CAAC,IAAI,KAAK,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;QACvD,MAAM,mBAAmB,GAAG,4CAA4C,CAAC,KAAK,CAAC,UAAU,EAAE,QAAQ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AAK,CAAC,CAAC;AAC7E,CAAC;AAED,SAAS,eAAe,CAAC,KAAc;IACrC,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;IACjC,IAAI,IAAI,GAAG,UAAU,CAAC;IACtB,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,IAAI,CAAC,MAAM,EAAE,KAAK,IAAI,CAAC,EAAE,CAAC;QACpD,IAAI,IAAI,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QAC/B,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IACrC,CAAC;IACD,OAAO,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;AACpD,CAAC","sourcesContent":["import fs from 'node:fs/promises';\nimport path from 'node:path';\nimport type {\n PlayableEditorAssetKind,\n} from './types';\n\nexport interface ResolvePlayableEditorAssetMetadataInput {\n kind: PlayableEditorAssetKind;\n sourcePath: string;\n existingMetadata?: Record<string, unknown> | null;\n payloadMetadata?: Record<string, unknown> | null;\n guid?: string;\n assetId?: string;\n cwd?: string;\n assetsDir?: string;\n}\n\nexport interface ResolvePlayableEditorAssetAnalysisInput {\n kind: PlayableEditorAssetKind;\n sourcePath: string;\n}\n\nexport async function resolvePlayableEditorAssetMetadata(\n input: ResolvePlayableEditorAssetMetadataInput,\n): Promise<Record<string, unknown> | null> {\n const metadata = {\n ...(input.existingMetadata ?? {}),\n ...(input.payloadMetadata ?? {}),\n };\n const assetAnalysis = await resolvePlayableEditorAssetAnalysis(input);\n if (assetAnalysis) {\n metadata.assetAnalysis = assetAnalysis;\n metadata.assetAnalysisStatus = 'complete';\n } else {\n delete metadata.assetAnalysis;\n metadata.assetAnalysisStatus = 'unavailable';\n }\n\n if (input.kind === 'texture' || input.kind === 'image') {\n const textureCapabilities = createPlayableEditorTextureAssetCapabilities(input.sourcePath, metadata);\n if (textureCapabilities) {\n metadata.textureUsage = textureCapabilities.usage;\n metadata.capabilities = {\n ...(isRecord(metadata.capabilities) ? metadata.capabilities : {}),\n materialTexture: textureCapabilities.materialTexture,\n environmentTexture: textureCapabilities.environmentTexture,\n };\n }\n return Object.keys(metadata).length > 0 ? metadata : null;\n }\n if (input.kind !== 'model') return Object.keys(metadata).length > 0 ? metadata : null;\n\n const materialSlots = await extractPlayableEditorGltfMaterialSlots(input.sourcePath, {\n assetGuid: input.guid,\n assetId: input.assetId,\n cwd: input.cwd,\n assetsDir: input.assetsDir,\n existingMaterialSlots: metadata.materialSlots,\n });\n if (materialSlots.length === 0) {\n delete metadata.materialSlots;\n } else {\n metadata.materialSlots = materialSlots;\n }\n return Object.keys(metadata).length > 0 ? metadata : null;\n}\n\nexport async function resolvePlayableEditorAssetAnalysis(\n input: ResolvePlayableEditorAssetAnalysisInput,\n): Promise<Record<string, unknown> | null> {\n if (input.kind === 'model') {\n return resolvePlayableEditorGltfAssetAnalysis(input.sourcePath);\n }\n if (input.kind === 'texture' || input.kind === 'image') {\n return resolvePlayableEditorImageAssetAnalysis(input.sourcePath);\n }\n return null;\n}\n\nexport interface ExtractPlayableEditorGltfMaterialSlotsContext {\n assetGuid?: string;\n assetId?: string;\n cwd?: string;\n assetsDir?: string;\n sourcePath?: string;\n existingMaterialSlots?: unknown;\n}\n\nexport async function extractPlayableEditorGltfMaterialSlots(\n sourcePath: string,\n context: ExtractPlayableEditorGltfMaterialSlotsContext = {},\n): Promise<Array<Record<string, unknown>>> {\n try {\n const gltf = await readGltfJson(sourcePath);\n return collectGltfMaterialSlots(gltf, {\n ...context,\n sourcePath,\n });\n } catch {\n return [];\n }\n}\n\nasync function readGltfJson(sourcePath: string): Promise<any> {\n const extension = path.extname(sourcePath).toLowerCase();\n if (extension === '.gltf') {\n return JSON.parse(await fs.readFile(sourcePath, 'utf8'));\n }\n if (extension !== '.glb') return null;\n const bytes = await fs.readFile(sourcePath);\n if (bytes.length < 20 || bytes.toString('utf8', 0, 4) !== 'glTF') return null;\n const version = bytes.readUInt32LE(4);\n if (version !== 2) return null;\n const declaredLength = bytes.readUInt32LE(8);\n if (declaredLength > bytes.length) return null;\n\n let offset = 12;\n while (offset + 8 <= bytes.length) {\n const chunkLength = bytes.readUInt32LE(offset);\n const chunkType = bytes.readUInt32LE(offset + 4);\n offset += 8;\n if (offset + chunkLength > bytes.length) return null;\n if (chunkType === 0x4e4f534a) {\n const jsonText = bytes.toString('utf8', offset, offset + chunkLength).replace(/\\0+$/g, '');\n return JSON.parse(jsonText);\n }\n offset += chunkLength;\n }\n return null;\n}\n\nasync function resolvePlayableEditorGltfAssetAnalysis(sourcePath: string): Promise<Record<string, unknown> | null> {\n try {\n const gltf = await readGltfJson(sourcePath);\n if (!gltf || typeof gltf !== 'object') return null;\n const scenes: any[] = Array.isArray(gltf.scenes) ? gltf.scenes : [];\n const nodes: any[] = Array.isArray(gltf.nodes) ? gltf.nodes : [];\n const meshes: any[] = Array.isArray(gltf.meshes) ? gltf.meshes : [];\n const materials: any[] = Array.isArray(gltf.materials) ? gltf.materials : [];\n const textures: any[] = Array.isArray(gltf.textures) ? gltf.textures : [];\n const images: any[] = Array.isArray(gltf.images) ? gltf.images : [];\n const animations: any[] = Array.isArray(gltf.animations) ? gltf.animations : [];\n const skins: any[] = Array.isArray(gltf.skins) ? gltf.skins : [];\n const accessors: any[] = Array.isArray(gltf.accessors) ? gltf.accessors : [];\n const sceneRootNodeIndexes = collectGltfSceneRootNodeIndexes(gltf);\n const parentByNode = buildGltfParentIndex(nodes);\n const rootSet = new Set(sceneRootNodeIndexes);\n const primitiveCount = meshes.reduce((count: number, mesh: any) => (\n count + (Array.isArray(mesh?.primitives) ? mesh.primitives.length : 0)\n ), 0);\n const morphTargetCount = meshes.reduce((count: number, mesh: any) => (\n count + (Array.isArray(mesh?.primitives)\n ? mesh.primitives.reduce((primitiveCount: number, primitive: any) => (\n primitiveCount + (Array.isArray(primitive?.targets) ? primitive.targets.length : 0)\n ), 0)\n : 0)\n ), 0);\n const complexity = resolveAssetComplexity({\n nodeCount: nodes.length,\n meshCount: meshes.length,\n primitiveCount,\n materialCount: materials.length,\n textureCount: textures.length,\n imageCount: images.length,\n });\n const diagnostics = createGltfAssetAnalysisDiagnostics({\n nodeCount: nodes.length,\n meshCount: meshes.length,\n primitiveCount,\n materialCount: materials.length,\n textureCount: textures.length,\n imageCount: images.length,\n animationCount: animations.length,\n skinCount: skins.length,\n morphTargetCount,\n complexity,\n });\n const analysis: Record<string, unknown> = {\n kind: 'gltf',\n format: path.extname(sourcePath).toLowerCase() === '.gltf' ? 'gltf' : 'glb',\n summary: `${nodes.length} nodes, ${meshes.length} meshes, ${primitiveCount} primitives, ${materials.length} materials`,\n complexity,\n sceneCount: scenes.length,\n nodeCount: nodes.length,\n meshCount: meshes.length,\n primitiveCount,\n materialCount: materials.length,\n textureCount: textures.length,\n imageCount: images.length,\n animationCount: animations.length,\n skinCount: skins.length,\n morphTargetCount,\n nodes: createGltfNodeAnalysisSummaries(nodes, meshes, materials, accessors, parentByNode, rootSet),\n meshes: createGltfMeshAnalysisSummaries(meshes, materials, accessors),\n materials: createGltfMaterialAnalysisSummaries(gltf),\n diagnostics,\n };\n return analysis;\n } catch {\n return null;\n }\n}\n\nasync function resolvePlayableEditorImageAssetAnalysis(sourcePath: string): Promise<Record<string, unknown> | null> {\n try {\n const bytes = await fs.readFile(sourcePath);\n const extension = path.extname(sourcePath).toLowerCase();\n const image = extension === '.png'\n ? readPngImageAnalysis(bytes)\n : extension === '.jpg' || extension === '.jpeg'\n ? readJpegImageAnalysis(bytes)\n : extension === '.webp'\n ? readWebpImageAnalysis(bytes)\n : null;\n if (!image) return null;\n const diagnostics = createImageAssetAnalysisDiagnostics(image);\n return {\n kind: 'image',\n format: image.format,\n summary: `${image.width}x${image.height} ${image.mime}`,\n complexity: image.estimatedPixels >= 4096 * 4096 ? 'high' : image.estimatedPixels >= 2048 * 2048 ? 'medium' : 'low',\n width: image.width,\n height: image.height,\n mime: image.mime,\n bitDepth: image.bitDepth,\n hasAlpha: image.hasAlpha,\n estimatedPixels: image.estimatedPixels,\n diagnostics,\n };\n } catch {\n return null;\n }\n}\n\nfunction createGltfNodeAnalysisSummaries(\n nodes: readonly any[],\n meshes: readonly any[],\n materials: readonly any[],\n accessors: readonly any[],\n parentByNode: Map<number, number>,\n rootSet: Set<number>,\n): Array<Record<string, unknown>> {\n return nodes.slice(0, 100).map((node, nodeIndex) => {\n const meshIndex = Number.isInteger(node?.mesh) ? node.mesh as number : -1;\n const mesh = meshIndex >= 0 && meshIndex < meshes.length ? meshes[meshIndex] : null;\n const children = Array.isArray(node?.children)\n ? node.children.filter((childIndex: unknown): childIndex is number => Number.isInteger(childIndex))\n : [];\n const ownerNodePath = buildGltfOwnerNodePath(nodes, parentByNode, rootSet, nodeIndex);\n const nodeSummary: Record<string, unknown> = {\n nodeIndex,\n nodeIndexPath: buildGltfNodeIndexPath(parentByNode, nodeIndex),\n ...(typeof node?.name === 'string' && node.name.trim() ? { name: node.name.trim() } : {}),\n ...(ownerNodePath ? { ownerNodePath } : {}),\n ...(children.length > 0 ? { children } : {}),\n };\n if (mesh) {\n const primitives = createGltfPrimitiveAnalysisSummaries(mesh, materials, accessors);\n Object.assign(nodeSummary, {\n meshIndex,\n ...(typeof mesh?.name === 'string' && mesh.name.trim() ? { meshName: mesh.name.trim() } : {}),\n primitiveCount: primitives.length,\n ...(primitives.length > 0 ? { primitives } : {}),\n });\n }\n return nodeSummary;\n });\n}\n\nfunction createGltfMeshAnalysisSummaries(\n meshes: readonly any[],\n materials: readonly any[],\n accessors: readonly any[],\n): Array<Record<string, unknown>> {\n return meshes.slice(0, 50).map((mesh, meshIndex) => {\n const primitives: any[] = Array.isArray(mesh?.primitives) ? mesh.primitives : [];\n const materialIndices = [...new Set(primitives\n .map((primitive: any) => Number.isInteger(primitive?.material) ? primitive.material as number : -1)\n .filter((materialIndex: number) => materialIndex >= 0))];\n const primitiveSummaries = createGltfPrimitiveAnalysisSummaries(mesh, materials, accessors);\n return {\n meshIndex,\n ...(typeof mesh?.name === 'string' && mesh.name.trim() ? { name: mesh.name.trim() } : {}),\n primitiveCount: primitives.length,\n ...(primitiveSummaries.length > 0 ? { primitives: primitiveSummaries } : {}),\n ...(materialIndices.length > 0 ? { materialIndices } : {}),\n ...(materialIndices.length > 0\n ? {\n materialNames: materialIndices\n .map((materialIndex) => {\n const material = materials[materialIndex];\n return typeof material?.name === 'string' ? material.name.trim() : '';\n })\n .filter(Boolean),\n }\n : {}),\n };\n });\n}\n\nfunction createGltfPrimitiveAnalysisSummaries(\n mesh: unknown,\n materials: readonly any[],\n accessors: readonly any[],\n): Array<Record<string, unknown>> {\n const meshRecord = isRecord(mesh) ? mesh : {};\n const primitives = Array.isArray(meshRecord.primitives) ? meshRecord.primitives : [];\n return primitives.map((primitive: any, primitiveIndex: number) => {\n const sourceMaterialIndex = Number.isInteger(primitive?.material) ? primitive.material as number : -1;\n const material = sourceMaterialIndex >= 0 ? materials[sourceMaterialIndex] : null;\n const materialName = typeof material?.name === 'string' && material.name.trim() ? material.name.trim() : '';\n const triangleCount = readGltfPrimitiveTriangleCount(primitive, accessors);\n const boundingBox = readGltfPrimitiveBoundingBox(primitive, accessors);\n return {\n primitiveIndex,\n ...(Number.isInteger(primitive?.mode) ? { mode: primitive.mode } : {}),\n ...(sourceMaterialIndex >= 0 ? { sourceMaterialIndex } : {}),\n ...(materialName ? { materialName } : {}),\n ...(Number.isFinite(triangleCount) ? { triangleCount } : {}),\n ...(boundingBox ? { boundingBox } : {}),\n };\n });\n}\n\nfunction createGltfMaterialAnalysisSummaries(gltf: any): Array<Record<string, unknown>> {\n const materials: any[] = Array.isArray(gltf?.materials) ? gltf.materials : [];\n return materials.slice(0, 50).map((material: any, sourceMaterialIndex: number) => {\n const pbr = material?.pbrMetallicRoughness && typeof material.pbrMetallicRoughness === 'object'\n ? material.pbrMetallicRoughness\n : {};\n const textureSlots = readGltfMaterialTextureSlots(material, pbr);\n return {\n sourceMaterialIndex,\n ...(typeof material?.name === 'string' && material.name.trim() ? { materialName: material.name.trim() } : {}),\n ...(Array.isArray(pbr.baseColorFactor) ? { baseColorFactor: pbr.baseColorFactor.slice(0, 4) } : {}),\n metallicFactor: Number.isFinite(pbr.metallicFactor) ? pbr.metallicFactor : 1,\n roughnessFactor: Number.isFinite(pbr.roughnessFactor) ? pbr.roughnessFactor : 1,\n alphaMode: normalizeGltfAlphaMode(material?.alphaMode) ?? 'opaque',\n ...(Number.isFinite(material?.alphaCutoff) ? { alphaCutoff: material.alphaCutoff } : {}),\n ...(textureSlots.length > 0 ? { textureSlots } : {}),\n };\n });\n}\n\nfunction readGltfMaterialTextureSlots(material: any, pbr: any): Array<Record<string, unknown>> {\n const slots: Array<Record<string, unknown>> = [];\n pushGltfTextureSlot(slots, 'baseColor', pbr?.baseColorTexture);\n pushGltfTextureSlot(slots, 'metallicRoughness', pbr?.metallicRoughnessTexture);\n pushGltfTextureSlot(slots, 'normal', material?.normalTexture);\n pushGltfTextureSlot(slots, 'occlusion', material?.occlusionTexture);\n pushGltfTextureSlot(slots, 'emissive', material?.emissiveTexture);\n return slots;\n}\n\nfunction pushGltfTextureSlot(slots: Array<Record<string, unknown>>, slot: string, textureInfo: unknown): void {\n if (!isRecord(textureInfo) || !Number.isInteger(textureInfo.index)) return;\n slots.push({\n slot,\n textureIndex: textureInfo.index,\n ...(Number.isFinite(textureInfo.texCoord) ? { texCoord: textureInfo.texCoord } : {}),\n });\n}\n\nfunction resolveAssetComplexity(input: {\n nodeCount: number;\n meshCount: number;\n primitiveCount: number;\n materialCount: number;\n textureCount: number;\n imageCount: number;\n}): string {\n if (\n input.nodeCount >= 300\n || input.meshCount >= 250\n || input.primitiveCount >= 300\n || input.materialCount >= 200\n || input.textureCount >= 80\n || input.imageCount >= 80\n ) return 'high';\n if (\n input.nodeCount >= 100\n || input.meshCount >= 80\n || input.primitiveCount >= 100\n || input.materialCount >= 50\n || input.textureCount >= 24\n || input.imageCount >= 24\n ) return 'medium';\n return 'low';\n}\n\nfunction createGltfAssetAnalysisDiagnostics(input: {\n nodeCount: number;\n meshCount: number;\n primitiveCount: number;\n materialCount: number;\n textureCount: number;\n imageCount: number;\n animationCount: number;\n skinCount: number;\n morphTargetCount: number;\n complexity: string;\n}): Array<Record<string, unknown>> {\n const diagnostics: Array<Record<string, unknown>> = [];\n if (input.complexity === 'high') {\n diagnostics.push({\n severity: 'warning',\n source: 'asset',\n code: 'asset.analysis.highComplexity',\n message: 'GLTF asset is structurally complex; agent should place and inspect it before duplicating or using dense shadows.',\n details: {\n nodeCount: input.nodeCount,\n meshCount: input.meshCount,\n primitiveCount: input.primitiveCount,\n materialCount: input.materialCount,\n textureCount: input.textureCount,\n imageCount: input.imageCount,\n },\n });\n }\n if (input.animationCount > 0 || input.skinCount > 0 || input.morphTargetCount > 0) {\n diagnostics.push({\n severity: 'info',\n source: 'asset',\n code: 'asset.analysis.riggedOrAnimated',\n message: 'GLTF asset contains animation, skin, or morph target data.',\n details: {\n animationCount: input.animationCount,\n skinCount: input.skinCount,\n morphTargetCount: input.morphTargetCount,\n },\n });\n }\n return diagnostics;\n}\n\ninterface ImageAssetHeaderAnalysis {\n format: string;\n mime: string;\n width: number;\n height: number;\n bitDepth?: number;\n hasAlpha: boolean;\n estimatedPixels: number;\n}\n\nfunction readPngImageAnalysis(bytes: Buffer): ImageAssetHeaderAnalysis | null {\n if (bytes.length < 33) return null;\n if (\n bytes[0] !== 0x89\n || bytes.toString('ascii', 1, 4) !== 'PNG'\n || bytes[4] !== 0x0d\n || bytes[5] !== 0x0a\n || bytes[6] !== 0x1a\n || bytes[7] !== 0x0a\n ) return null;\n const chunkType = bytes.toString('ascii', 12, 16);\n if (chunkType !== 'IHDR') return null;\n const width = bytes.readUInt32BE(16);\n const height = bytes.readUInt32BE(20);\n const bitDepth = bytes[24];\n const colorType = bytes[25];\n return {\n format: 'png',\n mime: 'image/png',\n width,\n height,\n bitDepth,\n hasAlpha: colorType === 4 || colorType === 6,\n estimatedPixels: width * height,\n };\n}\n\nfunction readJpegImageAnalysis(bytes: Buffer): ImageAssetHeaderAnalysis | null {\n if (bytes.length < 4 || bytes[0] !== 0xff || bytes[1] !== 0xd8) return null;\n let offset = 2;\n while (offset + 9 < bytes.length) {\n if (bytes[offset] !== 0xff) {\n offset += 1;\n continue;\n }\n const marker = bytes[offset + 1];\n const length = bytes.readUInt16BE(offset + 2);\n if (length < 2) return null;\n const isStartOfFrame = (\n marker >= 0xc0\n && marker <= 0xcf\n && ![0xc4, 0xc8, 0xcc].includes(marker)\n );\n if (isStartOfFrame && offset + 8 < bytes.length) {\n const bitDepth = bytes[offset + 4];\n const height = bytes.readUInt16BE(offset + 5);\n const width = bytes.readUInt16BE(offset + 7);\n return {\n format: 'jpeg',\n mime: 'image/jpeg',\n width,\n height,\n bitDepth,\n hasAlpha: false,\n estimatedPixels: width * height,\n };\n }\n offset += 2 + length;\n }\n return null;\n}\n\nfunction readWebpImageAnalysis(bytes: Buffer): ImageAssetHeaderAnalysis | null {\n if (bytes.length < 30 || bytes.toString('ascii', 0, 4) !== 'RIFF' || bytes.toString('ascii', 8, 12) !== 'WEBP') return null;\n const chunkType = bytes.toString('ascii', 12, 16);\n if (chunkType === 'VP8X' && bytes.length >= 30) {\n const flags = bytes[20];\n const width = readUInt24LE(bytes, 24) + 1;\n const height = readUInt24LE(bytes, 27) + 1;\n return {\n format: 'webp',\n mime: 'image/webp',\n width,\n height,\n hasAlpha: (flags & 0x10) !== 0,\n estimatedPixels: width * height,\n };\n }\n if (chunkType === 'VP8 ' && bytes.length >= 30) {\n const width = bytes.readUInt16LE(26) & 0x3fff;\n const height = bytes.readUInt16LE(28) & 0x3fff;\n return {\n format: 'webp',\n mime: 'image/webp',\n width,\n height,\n hasAlpha: false,\n estimatedPixels: width * height,\n };\n }\n if (chunkType === 'VP8L' && bytes.length >= 25 && bytes[20] === 0x2f) {\n const bits = bytes.readUInt32LE(21);\n const width = (bits & 0x3fff) + 1;\n const height = ((bits >> 14) & 0x3fff) + 1;\n return {\n format: 'webp',\n mime: 'image/webp',\n width,\n height,\n hasAlpha: true,\n estimatedPixels: width * height,\n };\n }\n return null;\n}\n\nfunction readUInt24LE(bytes: Buffer, offset: number): number {\n return bytes[offset] | (bytes[offset + 1] << 8) | (bytes[offset + 2] << 16);\n}\n\nfunction createImageAssetAnalysisDiagnostics(input: ImageAssetHeaderAnalysis): Array<Record<string, unknown>> {\n const diagnostics: Array<Record<string, unknown>> = [];\n if (input.estimatedPixels >= 4096 * 4096) {\n diagnostics.push({\n severity: 'warning',\n source: 'asset',\n code: 'asset.analysis.largeImage',\n message: 'Image asset is large; agent should inspect texture usage before assigning it broadly.',\n details: {\n width: input.width,\n height: input.height,\n estimatedPixels: input.estimatedPixels,\n },\n });\n }\n return diagnostics;\n}\n\nfunction collectGltfMaterialSlots(gltf: any, context: ExtractPlayableEditorGltfMaterialSlotsContext = {}): Array<Record<string, unknown>> {\n if (!gltf || typeof gltf !== 'object') return [];\n const nodes = Array.isArray(gltf.nodes) ? gltf.nodes : [];\n const meshes = Array.isArray(gltf.meshes) ? gltf.meshes : [];\n const materials = Array.isArray(gltf.materials) ? gltf.materials : [];\n const sourceMaterialProfiles = collectGltfSourceMaterialProfiles(gltf, context);\n const sceneIndexes = collectGltfSceneRootNodeIndexes(gltf);\n const parentByNode = buildGltfParentIndex(nodes);\n const rootSet = new Set(sceneIndexes);\n const accessors = Array.isArray(gltf.accessors) ? gltf.accessors : [];\n const previousSlotIds = createPreviousMaterialSlotIdMaps(context.existingMaterialSlots);\n const slots: Array<Record<string, unknown>> = [];\n\n for (let nodeIndex = 0; nodeIndex < nodes.length; nodeIndex += 1) {\n const node = nodes[nodeIndex];\n const meshIndex = Number.isInteger(node?.mesh) ? node.mesh : -1;\n if (meshIndex < 0 || meshIndex >= meshes.length) continue;\n\n const ownerNodePath = buildGltfOwnerNodePath(nodes, parentByNode, rootSet, nodeIndex);\n if (!ownerNodePath) continue;\n\n const mesh = meshes[meshIndex];\n const primitives = Array.isArray(mesh?.primitives) ? mesh.primitives : [];\n const baseLabel = readGltfNodeMeshLabel(node, mesh, ownerNodePath);\n const sourceMeshName = readGltfMeshName(mesh);\n const nodeIndexPath = buildGltfNodeIndexPath(parentByNode, nodeIndex);\n\n for (let primitiveIndex = 0; primitiveIndex < primitives.length; primitiveIndex += 1) {\n const primitive = primitives[primitiveIndex];\n const materialRef = readGltfPrimitiveMaterialRef(primitive, materials);\n const exactSourceKey = createGltfMaterialSlotSourceKey({\n ownerNodePath,\n nodeIndex,\n meshIndex,\n primitiveIndex,\n });\n const reusableExactSlotId = previousSlotIds.byExactSource.get(exactSourceKey);\n const slotId = reusableExactSlotId\n ?? createGltfMaterialSlotId({\n assetGuid: context.assetGuid,\n assetId: context.assetId,\n nodeIndex,\n meshIndex,\n primitiveIndex: primitives.length > 1 ? primitiveIndex : undefined,\n });\n const sourceMaterialIndices = materialRef.index >= 0 ? [materialRef.index] : [];\n const triangleCount = readGltfPrimitiveTriangleCount(primitive, accessors);\n const boundingBox = readGltfPrimitiveBoundingBox(primitive, accessors);\n slots.push({\n slotId,\n ownerNodePath,\n label: primitives.length > 1 ? `${baseLabel} / Primitive ${primitiveIndex}` : baseLabel,\n nodeIndex,\n nodeIndexPath,\n meshIndex,\n primitiveIndex,\n ...(sourceMeshName ? { sourceMeshName } : {}),\n ...(materialRef.index >= 0 ? { sourceMaterialIndex: materialRef.index } : {}),\n ...(sourceMaterialIndices.length > 0 ? { sourceMaterialIndices } : {}),\n ...(materialRef.name ? { materialName: materialRef.name, materialNames: [materialRef.name] } : {}),\n ...(Number.isFinite(triangleCount) ? { triangleCount } : {}),\n ...(boundingBox ? { boundingBox } : {}),\n ...pickGltfSlotSourceMaterialProfiles(sourceMaterialProfiles, sourceMaterialIndices),\n });\n }\n }\n\n return slots.sort((left, right) => {\n const ownerCompare = String(left.ownerNodePath).localeCompare(String(right.ownerNodePath));\n if (ownerCompare !== 0) return ownerCompare;\n const leftPrimitiveIndex = Number.isInteger(left.primitiveIndex) ? left.primitiveIndex as number : -1;\n const rightPrimitiveIndex = Number.isInteger(right.primitiveIndex) ? right.primitiveIndex as number : -1;\n return leftPrimitiveIndex - rightPrimitiveIndex;\n });\n}\n\nfunction collectGltfSourceMaterialProfiles(gltf: any, context: ExtractPlayableEditorGltfMaterialSlotsContext = {}): Array<Record<string, unknown>> {\n const materials = Array.isArray(gltf?.materials) ? gltf.materials : [];\n const profiles: Array<Record<string, unknown>> = [];\n for (let sourceMaterialIndex = 0; sourceMaterialIndex < materials.length; sourceMaterialIndex += 1) {\n const sourceProfile = readGltfSourceMaterialProfile(gltf, sourceMaterialIndex, context);\n if (sourceProfile) profiles.push(sourceProfile);\n }\n return profiles;\n}\n\nfunction pickGltfSlotSourceMaterialProfiles(\n sourceProfiles: Array<Record<string, unknown>>,\n sourceMaterialIndices: readonly number[],\n): Record<string, unknown> {\n if (!sourceMaterialIndices.length || !sourceProfiles.length) return {};\n const profileByIndex = new Map(sourceProfiles.map(profile => [profile.sourceMaterialIndex, profile]));\n const sourceMaterialProfiles = sourceMaterialIndices\n .map(sourceMaterialIndex => profileByIndex.get(sourceMaterialIndex))\n .filter(Boolean);\n return sourceMaterialProfiles.length > 0 ? { sourceMaterialProfiles } : {};\n}\n\nfunction readGltfSourceMaterialProfile(\n gltf: any,\n sourceMaterialIndex: number,\n context: ExtractPlayableEditorGltfMaterialSlotsContext = {},\n): Record<string, unknown> | null {\n const material = Array.isArray(gltf?.materials) ? gltf.materials[sourceMaterialIndex] : null;\n if (!material || typeof material !== 'object') return null;\n\n const profile: Record<string, any> = {};\n const textureHints: Array<Record<string, unknown>> = [];\n const pbr = material.pbrMetallicRoughness && typeof material.pbrMetallicRoughness === 'object'\n ? material.pbrMetallicRoughness\n : {};\n\n const baseColor: Record<string, unknown> = {};\n const baseColorFactor = Array.isArray(pbr.baseColorFactor) ? pbr.baseColorFactor : null;\n const baseColorRgb = readGltfRgbFactor(baseColorFactor);\n if (baseColorRgb) baseColor.color = baseColorRgb;\n const baseColorTextureRef = applyGltfTextureRef(gltf, pbr.baseColorTexture, context, 'baseColor.texture', baseColor, 'texture', textureHints);\n if (Object.keys(baseColor).length > 0) profile.baseColor = {\n ...baseColor,\n brightness: 1,\n saturation: 1,\n contrast: 1,\n hue: 0,\n };\n\n const normal: Record<string, unknown> = {};\n applyGltfTextureRef(gltf, material.normalTexture, context, 'normal.texture', normal, 'texture', textureHints);\n if (Number.isFinite(material.normalTexture?.scale)) normal.strength = material.normalTexture.scale;\n else if (normal.texture) normal.strength = 1;\n if (Object.keys(normal).length > 0) profile.normal = normal;\n\n profile.metallic = Number.isFinite(pbr.metallicFactor) ? pbr.metallicFactor : 1;\n profile.roughness = Number.isFinite(pbr.roughnessFactor) ? pbr.roughnessFactor : 1;\n\n const metallicRoughness: Record<string, unknown> = {};\n applyGltfTextureRef(gltf, pbr.metallicRoughnessTexture, context, 'metallicRoughness.texture', metallicRoughness, 'texture', textureHints);\n if (Object.keys(metallicRoughness).length > 0) profile.metallicRoughness = metallicRoughness;\n\n const occlusion: Record<string, unknown> = {};\n applyGltfTextureRef(gltf, material.occlusionTexture, context, 'occlusion.texture', occlusion, 'texture', textureHints);\n if (Number.isFinite(material.occlusionTexture?.strength)) occlusion.strength = material.occlusionTexture.strength;\n else if (occlusion.texture) occlusion.strength = 1;\n if (Object.keys(occlusion).length > 0) profile.occlusion = occlusion;\n\n const emission: Record<string, unknown> = {};\n const emissiveColor = readGltfRgbFactor(Array.isArray(material.emissiveFactor) ? material.emissiveFactor : null);\n const hasEmissionColor = emissiveColor && (emissiveColor.r !== 0 || emissiveColor.g !== 0 || emissiveColor.b !== 0);\n if (hasEmissionColor) emission.color = emissiveColor;\n applyGltfTextureRef(gltf, material.emissiveTexture, context, 'emission.texture', emission, 'texture', textureHints);\n if (hasEmissionColor) emission.intensity = 1;\n if (Object.keys(emission).length > 0) profile.emission = emission;\n\n const alpha: Record<string, unknown> = {};\n const alphaMode = normalizeGltfAlphaMode(material.alphaMode);\n if (alphaMode) alpha.mode = alphaMode;\n if (alphaMode === 'mask' || alphaMode === 'blend') {\n if (baseColorFactor && Number.isFinite(baseColorFactor[3]) && baseColorFactor[3] !== 1) alpha.opacity = baseColorFactor[3];\n if (Number.isFinite(material.alphaCutoff)) alpha.cutoff = material.alphaCutoff;\n else if (alphaMode === 'mask') alpha.cutoff = 0.5;\n if (baseColorTextureRef.texture) {\n alpha.texture = structuredClone(baseColorTextureRef.texture);\n } else if (baseColorTextureRef.hint) {\n textureHints.push({\n ...baseColorTextureRef.hint,\n profilePath: 'alpha.texture',\n });\n }\n }\n if (Object.keys(alpha).length > 0) profile.alpha = alpha;\n\n if (Object.keys(profile).length === 0 && textureHints.length === 0) return null;\n const materialName = typeof material.name === 'string' && material.name.trim() ? material.name.trim() : '';\n return {\n sourceMaterialIndex,\n ...(materialName ? { materialName } : {}),\n ...(Object.keys(profile).length > 0 ? { profile } : {}),\n ...(textureHints.length > 0 ? { textureHints } : {}),\n };\n}\n\nfunction readGltfRgbFactor(value: unknown): { r: number; g: number; b: number } | null {\n if (!Array.isArray(value) || value.length < 3) return null;\n const [r, g, b] = value;\n return Number.isFinite(r) && Number.isFinite(g) && Number.isFinite(b) ? { r, g, b } : null;\n}\n\nfunction normalizeGltfAlphaMode(value: unknown): string | null {\n if (value === 'MASK') return 'mask';\n if (value === 'BLEND') return 'blend';\n if (value === 'OPAQUE') return 'opaque';\n return null;\n}\n\nfunction applyGltfTextureRef(\n gltf: any,\n textureInfo: unknown,\n context: ExtractPlayableEditorGltfMaterialSlotsContext,\n profilePath: string,\n target: Record<string, unknown>,\n targetProperty: string,\n textureHints: Array<Record<string, unknown>>,\n): { texture?: Record<string, unknown>; hint?: Record<string, unknown> } {\n const result = resolveGltfTextureRef(gltf, textureInfo, context, profilePath);\n if (result.texture) target[targetProperty] = result.texture;\n if (result.hint) textureHints.push(result.hint);\n return result;\n}\n\nfunction resolveGltfTextureRef(\n gltf: any,\n textureInfo: unknown,\n context: ExtractPlayableEditorGltfMaterialSlotsContext,\n profilePath: string,\n): { texture?: Record<string, unknown>; hint?: Record<string, unknown> } {\n const textureRecord = isRecord(textureInfo) ? textureInfo : {};\n const textureIndex = Number.isInteger(textureRecord.index) ? textureRecord.index as number : -1;\n if (textureIndex < 0) return {};\n const textures = Array.isArray(gltf?.textures) ? gltf.textures : [];\n const images = Array.isArray(gltf?.images) ? gltf.images : [];\n const texture = textures[textureIndex];\n const imageIndex = Number.isInteger(texture?.source) ? texture.source : -1;\n const image = imageIndex >= 0 ? images[imageIndex] : null;\n const uri = typeof image?.uri === 'string' ? image.uri.trim() : '';\n const baseHint = {\n profilePath,\n textureIndex,\n ...(imageIndex >= 0 ? { imageIndex } : {}),\n ...(uri ? { uri } : {}),\n ...(Number.isInteger(image?.bufferView) ? { bufferView: image.bufferView } : {}),\n ...(typeof image?.mimeType === 'string' && image.mimeType.trim() ? { mimeType: image.mimeType.trim() } : {}),\n };\n if (image?.bufferView != null) return { hint: { ...baseHint, reason: 'embedded-texture' } };\n if (!uri) return { hint: { ...baseHint, reason: 'missing-image-uri' } };\n if (/^data:/i.test(uri)) return { hint: { ...baseHint, reason: 'embedded-texture' } };\n if (/^https?:\\/\\//i.test(uri) || uri.startsWith('/')) return { texture: { url: uri } };\n\n let decodedUri = uri;\n try {\n decodedUri = decodeURIComponent(uri);\n } catch {\n return { hint: { ...baseHint, reason: 'unresolved-external-texture' } };\n }\n const sourceDir = path.dirname(String(context.sourcePath ?? ''));\n const absolutePath = path.resolve(sourceDir, decodedUri);\n const assetsDir = context.assetsDir ? path.resolve(context.assetsDir) : '';\n const cwd = context.cwd ? path.resolve(context.cwd) : '';\n const relativeToAssets = assetsDir ? path.relative(assetsDir, absolutePath) : '../';\n if (assetsDir && cwd && relativeToAssets && !relativeToAssets.startsWith('..') && !path.isAbsolute(relativeToAssets)) {\n const relativeToCwd = path.relative(cwd, absolutePath).split(path.sep).join('/');\n return { texture: { url: `/${relativeToCwd}` } };\n }\n return { hint: { ...baseHint, reason: 'unresolved-external-texture' } };\n}\n\nfunction createPreviousMaterialSlotIdMaps(rawSlots: unknown): {\n byExactSource: Map<string, string>;\n} {\n const byExactSource = new Map<string, string>();\n if (!Array.isArray(rawSlots)) return { byExactSource };\n for (const rawSlot of rawSlots) {\n if (!isRecord(rawSlot)) continue;\n const ownerNodePath = typeof rawSlot.ownerNodePath === 'string'\n ? rawSlot.ownerNodePath.trim().replace(/^\\/+|\\/+$/g, '')\n : '';\n const slotId = typeof rawSlot.slotId === 'string' ? rawSlot.slotId.trim() : '';\n if (!ownerNodePath || !slotId) continue;\n const nodeIndex = Number.isInteger(rawSlot.nodeIndex) ? rawSlot.nodeIndex as number : -1;\n const meshIndex = Number.isInteger(rawSlot.meshIndex) ? rawSlot.meshIndex as number : -1;\n const primitiveIndex = Number.isInteger(rawSlot.primitiveIndex) ? rawSlot.primitiveIndex as number : -1;\n if (nodeIndex >= 0 && meshIndex >= 0 && primitiveIndex >= 0) {\n byExactSource.set(createGltfMaterialSlotSourceKey({\n ownerNodePath,\n nodeIndex,\n meshIndex,\n primitiveIndex,\n }), slotId);\n }\n }\n return { byExactSource };\n}\n\nfunction createGltfMaterialSlotSourceKey(input: {\n ownerNodePath: string;\n nodeIndex: number;\n meshIndex: number;\n primitiveIndex: number;\n}): string {\n return [\n input.ownerNodePath,\n input.nodeIndex,\n input.meshIndex,\n input.primitiveIndex,\n ].join('\\u0000');\n}\n\nfunction createGltfMaterialSlotId(input: {\n assetGuid?: string;\n assetId?: string;\n nodeIndex: number;\n meshIndex: number;\n primitiveIndex?: number;\n}): string {\n const primitiveSeed = Number.isInteger(input.primitiveIndex) ? `:${input.primitiveIndex}` : '';\n const seed = `${input.assetGuid || input.assetId || 'asset'}:${input.nodeIndex}:${input.meshIndex}${primitiveSeed}`;\n return `slot_${stableHashToken(seed)}`;\n}\n\nfunction createPlayableEditorTextureAssetCapabilities(\n sourcePath: string,\n metadata: Record<string, unknown>,\n): { usage: string; materialTexture: boolean; environmentTexture: boolean } | null {\n if (metadata.textureUsage === 'environment' || metadata.usage === 'environment') {\n return { usage: 'environment', materialTexture: false, environmentTexture: true };\n }\n if (isRecord(metadata.capabilities) && metadata.capabilities.environmentTexture === true) {\n return { usage: 'environment', materialTexture: false, environmentTexture: true };\n }\n const extension = path.extname(sourcePath).toLowerCase();\n if (['.env', '.hdr', '.dds', '.ktx', '.ktx2'].includes(extension)) {\n return { usage: 'environment', materialTexture: false, environmentTexture: true };\n }\n if (['.png', '.jpg', '.jpeg', '.webp'].includes(extension)) {\n return { usage: 'material', materialTexture: true, environmentTexture: false };\n }\n return null;\n}\n\nfunction collectGltfSceneRootNodeIndexes(gltf: any): number[] {\n const scenes = Array.isArray(gltf.scenes) ? gltf.scenes : [];\n const sceneIndex = Number.isInteger(gltf.scene) ? gltf.scene : 0;\n const scene = scenes[sceneIndex] ?? scenes[0];\n return Array.isArray(scene?.nodes) ? scene.nodes.filter(Number.isInteger) : [];\n}\n\nfunction buildGltfParentIndex(nodes: readonly any[]): Map<number, number> {\n const parentByNode = new Map<number, number>();\n for (let parentIndex = 0; parentIndex < nodes.length; parentIndex += 1) {\n const children = Array.isArray(nodes[parentIndex]?.children) ? nodes[parentIndex].children : [];\n for (const childIndex of children) {\n if (Number.isInteger(childIndex) && !parentByNode.has(childIndex)) {\n parentByNode.set(childIndex, parentIndex);\n }\n }\n }\n return parentByNode;\n}\n\nfunction buildGltfOwnerNodePath(\n nodes: readonly any[],\n parentByNode: Map<number, number>,\n rootSet: Set<number>,\n nodeIndex: number,\n): string {\n const segments: string[] = [];\n let currentIndex = nodeIndex;\n const visited = new Set<number>();\n while (Number.isInteger(currentIndex) && currentIndex >= 0 && currentIndex < nodes.length) {\n if (visited.has(currentIndex)) return '';\n visited.add(currentIndex);\n segments.push(stableGltfNodeSegment(nodes[currentIndex], currentIndex));\n const parentIndex = parentByNode.get(currentIndex);\n if (typeof parentIndex !== 'number' || !Number.isInteger(parentIndex)) break;\n currentIndex = parentIndex;\n }\n segments.reverse();\n if (segments.length > 1 && rootSet.has(currentIndex)) segments.shift();\n return segments.filter(Boolean).join('/');\n}\n\nfunction stableGltfNodeSegment(node: unknown, index: number): string {\n const name = isRecord(node) && typeof node.name === 'string' ? node.name.trim() : '';\n return name || `node_${index}`;\n}\n\nfunction readGltfNodeMeshLabel(node: unknown, mesh: unknown, ownerNodePath: string): string {\n const nodeName = isRecord(node) && typeof node.name === 'string' ? node.name.trim() : '';\n const meshName = readGltfMeshName(mesh);\n return nodeName || meshName || ownerNodePath.split('/').filter(Boolean).pop() || ownerNodePath;\n}\n\nfunction readGltfMeshName(mesh: unknown): string {\n return isRecord(mesh) && typeof mesh.name === 'string' ? mesh.name.trim() : '';\n}\n\nfunction buildGltfNodeIndexPath(parentByNode: Map<number, number>, nodeIndex: number): number[] {\n const path: number[] = [];\n let currentIndex = nodeIndex;\n const visited = new Set<number>();\n while (Number.isInteger(currentIndex) && currentIndex >= 0) {\n if (visited.has(currentIndex)) return [];\n visited.add(currentIndex);\n path.push(currentIndex);\n const parentIndex = parentByNode.get(currentIndex);\n if (!Number.isInteger(parentIndex)) break;\n currentIndex = parentIndex as number;\n }\n path.reverse();\n return path;\n}\n\nfunction readGltfPrimitiveMaterialRef(primitive: unknown, materials: readonly any[]): {\n index: number;\n name: string;\n} {\n const primitiveRecord = isRecord(primitive) ? primitive : {};\n const index = Number.isInteger(primitiveRecord.material) ? primitiveRecord.material as number : -1;\n const material = index >= 0 ? materials[index] : null;\n const name = typeof material?.name === 'string' && material.name.trim() ? material.name.trim() : '';\n return { index, name };\n}\n\nfunction readGltfPrimitiveTriangleCount(primitive: unknown, accessors: readonly any[]): number | null {\n const primitiveRecord = isRecord(primitive) ? primitive : {};\n const indexAccessorIndex = Number.isInteger(primitiveRecord.indices) ? primitiveRecord.indices as number : -1;\n const positionAccessorIndex = readGltfPrimitivePositionAccessorIndex(primitiveRecord);\n const indexAccessor = indexAccessorIndex >= 0 ? accessors[indexAccessorIndex] : null;\n const positionAccessor = positionAccessorIndex >= 0 ? accessors[positionAccessorIndex] : null;\n const elementCount = Number.isFinite(indexAccessor?.count)\n ? Number(indexAccessor.count)\n : Number.isFinite(positionAccessor?.count)\n ? Number(positionAccessor.count)\n : null;\n if (elementCount == null) return null;\n const mode = Number.isInteger(primitiveRecord.mode) ? primitiveRecord.mode as number : 4;\n if (mode === 4) return Math.floor(elementCount / 3);\n if (mode === 5 || mode === 6) return Math.max(0, elementCount - 2);\n return 0;\n}\n\nfunction readGltfPrimitiveBoundingBox(primitive: unknown, accessors: readonly any[]): {\n min: [number, number, number];\n max: [number, number, number];\n} | null {\n const primitiveRecord = isRecord(primitive) ? primitive : {};\n const positionAccessorIndex = readGltfPrimitivePositionAccessorIndex(primitiveRecord);\n const accessor = positionAccessorIndex >= 0 ? accessors[positionAccessorIndex] : null;\n const min = readGltfVec3Tuple(accessor?.min);\n const max = readGltfVec3Tuple(accessor?.max);\n return min && max ? { min, max } : null;\n}\n\nfunction readGltfPrimitivePositionAccessorIndex(primitive: Record<string, any>): number {\n const attributes = isRecord(primitive.attributes) ? primitive.attributes : {};\n return Number.isInteger(attributes.POSITION) ? attributes.POSITION as number : -1;\n}\n\nfunction readGltfVec3Tuple(value: unknown): [number, number, number] | null {\n if (!Array.isArray(value) || value.length < 3) return null;\n const x = Number(value[0]);\n const y = Number(value[1]);\n const z = Number(value[2]);\n return Number.isFinite(x) && Number.isFinite(y) && Number.isFinite(z) ? [x, y, z] : null;\n}\n\nfunction isRecord(value: unknown): value is Record<string, any> {\n return value != null && typeof value === 'object' && !Array.isArray(value);\n}\n\nfunction stableHashToken(value: unknown): string {\n const text = String(value ?? '');\n let hash = 0x811c9dc5;\n for (let index = 0; index < text.length; index += 1) {\n hash ^= text.charCodeAt(index);\n hash = Math.imul(hash, 0x01000193);\n }\n return (hash >>> 0).toString(16).padStart(8, '0');\n}\n"]}
@@ -1,5 +1,5 @@
1
1
  export { PLAYABLE_EDITOR_ASSET_CATALOG_KINDS, PLAYABLE_EDITOR_DEFAULT_EXTENSIONS, PLAYABLE_EDITOR_ENVIRONMENT_TEXTURE_EXTENSIONS, PLAYABLE_EDITOR_IMAGE_EXTENSIONS, PLAYABLE_EDITOR_MODEL_EXTENSIONS, PLAYABLE_EDITOR_SOUND_EXTENSIONS, PLAYABLE_EDITOR_TEXTURE_EXTENSIONS, createPlayableEditorAssetGuid, createPlayableEditorAssetId, getPlayableEditorAssetKindExtensions, guidToPlayableEditorAssetStableToken, normalizePlayableEditorAssetCodeKey, normalizePlayableEditorAssetDisplayName, normalizePlayableEditorAssetKind, stripKnownPlayableEditorAssetExtension, toPlayableEditorAssetImportName, } from '@fps-games/playable-assets';
2
2
  export { generatePlayableEditorAssetCatalogModule, type PlayableEditorAssetCatalogModuleOptions, } from './generated-module';
3
3
  export { extractPlayableEditorGltfMaterialSlots, resolvePlayableEditorAssetAnalysis, resolvePlayableEditorAssetMetadata, type ExtractPlayableEditorGltfMaterialSlotsContext, type ResolvePlayableEditorAssetAnalysisInput, type ResolvePlayableEditorAssetMetadataInput, } from './metadata';
4
- export { PlayableEditorAssetRegistryError, loadPlayableEditorAssetManifest, loadPlayableEditorAssetRegistryRules, parsePlayableEditorAssetRegistryArgs, registerPlayableEditorAsset, runPlayableEditorAssetRegistryCli, unregisterPlayableEditorAsset, type PlayableEditorAssetMetadataInput, type PlayableEditorAssetRegistryArgs, type PlayableEditorAssetRegistryConfig, type PlayableEditorAssetRegistryErrorCodes, type PlayableEditorAssetRegistryResult, } from './registry';
4
+ export { PlayableEditorAssetRegistryError, loadPlayableEditorAssetManifest, loadPlayableEditorAssetRegistryRules, parsePlayableEditorAssetRegistryArgs, refreshPlayableEditorAssetRegistry, registerPlayableEditorAsset, runPlayableEditorAssetRegistryCli, unregisterPlayableEditorAsset, type PlayableEditorAssetMetadataInput, type PlayableEditorAssetRegistryArgs, type PlayableEditorAssetRegistryConfig, type PlayableEditorAssetRegistryErrorCodes, type PlayableEditorAssetRegistryResult, type PlayableEditorAssetRegistryRefreshEntry, type PlayableEditorAssetRegistryRefreshResult, } from './registry';
5
5
  //# sourceMappingURL=node.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/asset-database/node.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mCAAmC,EACnC,kCAAkC,EAClC,8CAA8C,EAC9C,gCAAgC,EAChC,gCAAgC,EAChC,gCAAgC,EAChC,kCAAkC,EAClC,6BAA6B,EAC7B,2BAA2B,EAC3B,oCAAoC,EACpC,oCAAoC,EACpC,mCAAmC,EACnC,uCAAuC,EACvC,gCAAgC,EAChC,sCAAsC,EACtC,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,wCAAwC,EACxC,KAAK,uCAAuC,GAC7C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,sCAAsC,EACtC,kCAAkC,EAClC,kCAAkC,EAClC,KAAK,6CAA6C,EAClD,KAAK,uCAAuC,EAC5C,KAAK,uCAAuC,GAC7C,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,gCAAgC,EAChC,+BAA+B,EAC/B,oCAAoC,EACpC,oCAAoC,EACpC,2BAA2B,EAC3B,iCAAiC,EACjC,6BAA6B,EAC7B,KAAK,gCAAgC,EACrC,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,qCAAqC,EAC1C,KAAK,iCAAiC,GACvC,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/asset-database/node.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mCAAmC,EACnC,kCAAkC,EAClC,8CAA8C,EAC9C,gCAAgC,EAChC,gCAAgC,EAChC,gCAAgC,EAChC,kCAAkC,EAClC,6BAA6B,EAC7B,2BAA2B,EAC3B,oCAAoC,EACpC,oCAAoC,EACpC,mCAAmC,EACnC,uCAAuC,EACvC,gCAAgC,EAChC,sCAAsC,EACtC,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,wCAAwC,EACxC,KAAK,uCAAuC,GAC7C,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,sCAAsC,EACtC,kCAAkC,EAClC,kCAAkC,EAClC,KAAK,6CAA6C,EAClD,KAAK,uCAAuC,EAC5C,KAAK,uCAAuC,GAC7C,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,gCAAgC,EAChC,+BAA+B,EAC/B,oCAAoC,EACpC,oCAAoC,EACpC,kCAAkC,EAClC,2BAA2B,EAC3B,iCAAiC,EACjC,6BAA6B,EAC7B,KAAK,gCAAgC,EACrC,KAAK,+BAA+B,EACpC,KAAK,iCAAiC,EACtC,KAAK,qCAAqC,EAC1C,KAAK,iCAAiC,EACtC,KAAK,uCAAuC,EAC5C,KAAK,wCAAwC,GAC9C,MAAM,YAAY,CAAC"}
@@ -1,5 +1,5 @@
1
1
  export { PLAYABLE_EDITOR_ASSET_CATALOG_KINDS, PLAYABLE_EDITOR_DEFAULT_EXTENSIONS, PLAYABLE_EDITOR_ENVIRONMENT_TEXTURE_EXTENSIONS, PLAYABLE_EDITOR_IMAGE_EXTENSIONS, PLAYABLE_EDITOR_MODEL_EXTENSIONS, PLAYABLE_EDITOR_SOUND_EXTENSIONS, PLAYABLE_EDITOR_TEXTURE_EXTENSIONS, createPlayableEditorAssetGuid, createPlayableEditorAssetId, getPlayableEditorAssetKindExtensions, guidToPlayableEditorAssetStableToken, normalizePlayableEditorAssetCodeKey, normalizePlayableEditorAssetDisplayName, normalizePlayableEditorAssetKind, stripKnownPlayableEditorAssetExtension, toPlayableEditorAssetImportName, } from '@fps-games/playable-assets';
2
2
  export { generatePlayableEditorAssetCatalogModule, } from './generated-module.js';
3
3
  export { extractPlayableEditorGltfMaterialSlots, resolvePlayableEditorAssetAnalysis, resolvePlayableEditorAssetMetadata, } from './metadata.js';
4
- export { PlayableEditorAssetRegistryError, loadPlayableEditorAssetManifest, loadPlayableEditorAssetRegistryRules, parsePlayableEditorAssetRegistryArgs, registerPlayableEditorAsset, runPlayableEditorAssetRegistryCli, unregisterPlayableEditorAsset, } from './registry.js';
4
+ export { PlayableEditorAssetRegistryError, loadPlayableEditorAssetManifest, loadPlayableEditorAssetRegistryRules, parsePlayableEditorAssetRegistryArgs, refreshPlayableEditorAssetRegistry, registerPlayableEditorAsset, runPlayableEditorAssetRegistryCli, unregisterPlayableEditorAsset, } from './registry.js';
5
5
  //# sourceMappingURL=node.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"node.js","sourceRoot":"","sources":["../../src/asset-database/node.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mCAAmC,EACnC,kCAAkC,EAClC,8CAA8C,EAC9C,gCAAgC,EAChC,gCAAgC,EAChC,gCAAgC,EAChC,kCAAkC,EAClC,6BAA6B,EAC7B,2BAA2B,EAC3B,oCAAoC,EACpC,oCAAoC,EACpC,mCAAmC,EACnC,uCAAuC,EACvC,gCAAgC,EAChC,sCAAsC,EACtC,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,wCAAwC,GAEzC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,sCAAsC,EACtC,kCAAkC,EAClC,kCAAkC,GAInC,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,gCAAgC,EAChC,+BAA+B,EAC/B,oCAAoC,EACpC,oCAAoC,EACpC,2BAA2B,EAC3B,iCAAiC,EACjC,6BAA6B,GAM9B,MAAM,YAAY,CAAC","sourcesContent":["export {\n PLAYABLE_EDITOR_ASSET_CATALOG_KINDS,\n PLAYABLE_EDITOR_DEFAULT_EXTENSIONS,\n PLAYABLE_EDITOR_ENVIRONMENT_TEXTURE_EXTENSIONS,\n PLAYABLE_EDITOR_IMAGE_EXTENSIONS,\n PLAYABLE_EDITOR_MODEL_EXTENSIONS,\n PLAYABLE_EDITOR_SOUND_EXTENSIONS,\n PLAYABLE_EDITOR_TEXTURE_EXTENSIONS,\n createPlayableEditorAssetGuid,\n createPlayableEditorAssetId,\n getPlayableEditorAssetKindExtensions,\n guidToPlayableEditorAssetStableToken,\n normalizePlayableEditorAssetCodeKey,\n normalizePlayableEditorAssetDisplayName,\n normalizePlayableEditorAssetKind,\n stripKnownPlayableEditorAssetExtension,\n toPlayableEditorAssetImportName,\n} from '@fps-games/playable-assets';\nexport {\n generatePlayableEditorAssetCatalogModule,\n type PlayableEditorAssetCatalogModuleOptions,\n} from './generated-module';\nexport {\n extractPlayableEditorGltfMaterialSlots,\n resolvePlayableEditorAssetAnalysis,\n resolvePlayableEditorAssetMetadata,\n type ExtractPlayableEditorGltfMaterialSlotsContext,\n type ResolvePlayableEditorAssetAnalysisInput,\n type ResolvePlayableEditorAssetMetadataInput,\n} from './metadata';\nexport {\n PlayableEditorAssetRegistryError,\n loadPlayableEditorAssetManifest,\n loadPlayableEditorAssetRegistryRules,\n parsePlayableEditorAssetRegistryArgs,\n registerPlayableEditorAsset,\n runPlayableEditorAssetRegistryCli,\n unregisterPlayableEditorAsset,\n type PlayableEditorAssetMetadataInput,\n type PlayableEditorAssetRegistryArgs,\n type PlayableEditorAssetRegistryConfig,\n type PlayableEditorAssetRegistryErrorCodes,\n type PlayableEditorAssetRegistryResult,\n} from './registry';\n"]}
1
+ {"version":3,"file":"node.js","sourceRoot":"","sources":["../../src/asset-database/node.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mCAAmC,EACnC,kCAAkC,EAClC,8CAA8C,EAC9C,gCAAgC,EAChC,gCAAgC,EAChC,gCAAgC,EAChC,kCAAkC,EAClC,6BAA6B,EAC7B,2BAA2B,EAC3B,oCAAoC,EACpC,oCAAoC,EACpC,mCAAmC,EACnC,uCAAuC,EACvC,gCAAgC,EAChC,sCAAsC,EACtC,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,wCAAwC,GAEzC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,sCAAsC,EACtC,kCAAkC,EAClC,kCAAkC,GAInC,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,gCAAgC,EAChC,+BAA+B,EAC/B,oCAAoC,EACpC,oCAAoC,EACpC,kCAAkC,EAClC,2BAA2B,EAC3B,iCAAiC,EACjC,6BAA6B,GAQ9B,MAAM,YAAY,CAAC","sourcesContent":["export {\n PLAYABLE_EDITOR_ASSET_CATALOG_KINDS,\n PLAYABLE_EDITOR_DEFAULT_EXTENSIONS,\n PLAYABLE_EDITOR_ENVIRONMENT_TEXTURE_EXTENSIONS,\n PLAYABLE_EDITOR_IMAGE_EXTENSIONS,\n PLAYABLE_EDITOR_MODEL_EXTENSIONS,\n PLAYABLE_EDITOR_SOUND_EXTENSIONS,\n PLAYABLE_EDITOR_TEXTURE_EXTENSIONS,\n createPlayableEditorAssetGuid,\n createPlayableEditorAssetId,\n getPlayableEditorAssetKindExtensions,\n guidToPlayableEditorAssetStableToken,\n normalizePlayableEditorAssetCodeKey,\n normalizePlayableEditorAssetDisplayName,\n normalizePlayableEditorAssetKind,\n stripKnownPlayableEditorAssetExtension,\n toPlayableEditorAssetImportName,\n} from '@fps-games/playable-assets';\nexport {\n generatePlayableEditorAssetCatalogModule,\n type PlayableEditorAssetCatalogModuleOptions,\n} from './generated-module';\nexport {\n extractPlayableEditorGltfMaterialSlots,\n resolvePlayableEditorAssetAnalysis,\n resolvePlayableEditorAssetMetadata,\n type ExtractPlayableEditorGltfMaterialSlotsContext,\n type ResolvePlayableEditorAssetAnalysisInput,\n type ResolvePlayableEditorAssetMetadataInput,\n} from './metadata';\nexport {\n PlayableEditorAssetRegistryError,\n loadPlayableEditorAssetManifest,\n loadPlayableEditorAssetRegistryRules,\n parsePlayableEditorAssetRegistryArgs,\n refreshPlayableEditorAssetRegistry,\n registerPlayableEditorAsset,\n runPlayableEditorAssetRegistryCli,\n unregisterPlayableEditorAsset,\n type PlayableEditorAssetMetadataInput,\n type PlayableEditorAssetRegistryArgs,\n type PlayableEditorAssetRegistryConfig,\n type PlayableEditorAssetRegistryErrorCodes,\n type PlayableEditorAssetRegistryResult,\n type PlayableEditorAssetRegistryRefreshEntry,\n type PlayableEditorAssetRegistryRefreshResult,\n} from './registry';\n"]}
@@ -2,6 +2,7 @@ import type { PlayableEditorAssetKind, PlayableEditorAssetRegistryEntry } from '
2
2
  type AnyRecord = Record<string, any>;
3
3
  export interface PlayableEditorAssetRegistryArgs {
4
4
  payload?: string;
5
+ payloadData?: Record<string, unknown>;
5
6
  unregister?: boolean;
6
7
  assetId?: string;
7
8
  guid?: string;
@@ -67,6 +68,18 @@ export interface PlayableEditorAssetRegistryResult {
67
68
  force?: boolean;
68
69
  deletedFile?: boolean;
69
70
  }
71
+ export interface PlayableEditorAssetRegistryRefreshEntry {
72
+ guid: string;
73
+ assetId: string;
74
+ kind: PlayableEditorAssetKind;
75
+ previousContentHash?: string;
76
+ contentHash: string;
77
+ }
78
+ export interface PlayableEditorAssetRegistryRefreshResult {
79
+ ok: true;
80
+ scannedAssetCount: number;
81
+ refreshedAssets: PlayableEditorAssetRegistryRefreshEntry[];
82
+ }
70
83
  export declare class PlayableEditorAssetRegistryError extends Error {
71
84
  details: Record<string, unknown>;
72
85
  constructor(message: string, details?: Record<string, unknown>);
@@ -74,6 +87,7 @@ export declare class PlayableEditorAssetRegistryError extends Error {
74
87
  export declare function parsePlayableEditorAssetRegistryArgs(argv: readonly string[]): PlayableEditorAssetRegistryArgs;
75
88
  export declare function runPlayableEditorAssetRegistryCli(config: PlayableEditorAssetRegistryConfig, argv?: string[]): Promise<void>;
76
89
  export declare function registerPlayableEditorAsset(config: PlayableEditorAssetRegistryConfig, args: PlayableEditorAssetRegistryArgs, errorCodes?: PlayableEditorAssetRegistryErrorCodes): Promise<PlayableEditorAssetRegistryResult>;
90
+ export declare function refreshPlayableEditorAssetRegistry(config: PlayableEditorAssetRegistryConfig, errorCodes?: PlayableEditorAssetRegistryErrorCodes): Promise<PlayableEditorAssetRegistryRefreshResult>;
77
91
  export declare function unregisterPlayableEditorAsset(config: PlayableEditorAssetRegistryConfig, args: PlayableEditorAssetRegistryArgs, errorCodes?: PlayableEditorAssetRegistryErrorCodes): Promise<PlayableEditorAssetRegistryResult>;
78
92
  export declare function loadPlayableEditorAssetManifest(config: Pick<PlayableEditorAssetRegistryConfig, 'manifestPath'>): Promise<PlayableEditorAssetRegistryEntry[]>;
79
93
  export declare function loadPlayableEditorAssetRegistryRules(config: PlayableEditorAssetRegistryConfig): Promise<AnyRecord>;
@@ -1 +1 @@
1
- {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../src/asset-database/registry.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EACV,uBAAuB,EACvB,gCAAgC,EACjC,MAAM,SAAS,CAAC;AAEjB,KAAK,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAErC,MAAM,WAAW,+BAA+B;IAC9C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,qCAAqC;IACpD,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;CACnC;AAED,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,CAAC,EAAE,gCAAgC,GAAG,IAAI,CAAC;IACnD,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAClD,OAAO,EAAE,SAAS,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACjD,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,uBAAuB,CAAC;IAC9B,I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AM;CAKnE;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,+BAA+B,CAwC7G;AAED,wBAAsB,iCAAiC,CACrD,MAAM,EAAE,iCAAiC,EACzC,IAAI,WAAwB,GAC3B,OAAO,CAAC,IAAI,CAAC,CAqCf;AAED,wBAAsB,2BAA2B,CAC/C,MAAM,EAAE,iCAAiC,EACzC,IAAI,EAAE,+BAA+B,EACrC,UAAU,GAAE,qCAA0C,GACrD,OAAO,CAAC,iCAAiC,CAAC,CAkK5C;AAED,wBAAsB,kCAAkC,CACtD,MAAM,EAAE,iCAAiC,EACzC,UAAU,GAAE,qCAA0C,GACrD,OAAO,CAAC,wCAAwC,CAAC,CA8CnD;AAED,wBAAsB,6BAA6B,CACjD,MAAM,EAAE,iCAAiC,EACzC,IAAI,EAAE,+BAA+B,EACrC,UAAU,GAAE,qCAA0C,GACrD,OAAO,CAAC,iCAAiC,CAAC,CAgD5C;AAED,wBAAsB,+BAA+B,CACnD,MAAM,EAAE,IAAI,CAAC,iCAAiC,EAAE,cAAc,CAAC,GAC9D,OAAO,CAAC,gCAAgC,EAAE,CAAC,CA4B7C;AAED,wBAAsB,oCAAoC,CAAC,MAAM,EAAE,iCAAiC,GAAG,OAAO,CAAC,SAAS,CAAC,CAIxH"}
@@ -93,7 +93,7 @@ export async function runPlayableEditorAssetRegistryCli(config, argv = process.a
93
93
  }
94
94
  }
95
95
  export async function registerPlayableEditorAsset(config, args, errorCodes = {}) {
96
- if (!args.payload)
96
+ if (!args.payload && !args.payloadData)
97
97
  throw new PlayableEditorAssetRegistryError('missing_payload_arg');
98
98
  const payload = await loadPayload(config, args);
99
99
  const sourcePath = path.resolve(config.cwd, String(payload.sourcePath ?? payload.assetPath ?? ''));
@@ -243,6 +243,52 @@ export async function registerPlayableEditorAsset(config, args, errorCodes = {})
243
243
  registryPath: config.registryPath,
244
244
  };
245
245
  }
246
+ export async function refreshPlayableEditorAssetRegistry(config, errorCodes = {}) {
247
+ const manifest = await loadPlayableEditorAssetManifest(config);
248
+ const refreshedAssets = [];
249
+ for (const entry of manifest) {
250
+ const sourcePath = resolveCatalogAssetPath(config, entry.relativePath, entry.kind, 'refresh_source_path');
251
+ let audit;
252
+ try {
253
+ audit = await getFileAudit(sourcePath);
254
+ }
255
+ catch (error) {
256
+ if (isNodeError(error) && error.code === 'ENOENT') {
257
+ throw new PlayableEditorAssetRegistryError(errorCodes.sourceFileNotFound ?? 'source_file_not_found', { assetId: entry.assetId, guid: entry.guid, sourcePath });
258
+ }
259
+ throw error;
260
+ }
261
+ if (entry.contentHash === audit.contentHash && entry.byteSize === audit.byteSize)
262
+ continue;
263
+ const registered = await registerPlayableEditorAsset(config, {
264
+ payloadData: {
265
+ sourcePath,
266
+ guid: entry.guid,
267
+ projectAssetId: entry.assetId,
268
+ kind: entry.kind,
269
+ },
270
+ }, errorCodes);
271
+ if (!registered.contentHash) {
272
+ throw new PlayableEditorAssetRegistryError('asset_refresh_missing_content_hash', {
273
+ assetId: entry.assetId,
274
+ guid: entry.guid,
275
+ sourcePath,
276
+ });
277
+ }
278
+ refreshedAssets.push({
279
+ guid: entry.guid,
280
+ assetId: entry.assetId,
281
+ kind: entry.kind,
282
+ ...(entry.contentHash ? { previousContentHash: entry.contentHash } : {}),
283
+ contentHash: registered.contentHash,
284
+ });
285
+ }
286
+ return {
287
+ ok: true,
288
+ scannedAssetCount: manifest.length,
289
+ refreshedAssets,
290
+ };
291
+ }
246
292
  export async function unregisterPlayableEditorAsset(config, args, errorCodes = {}) {
247
293
  const payload = await loadPayload(config, args);
248
294
  const assetId = readOptionalString(args.assetId ?? payload?.assetId);
@@ -425,6 +471,8 @@ async function readJson(filePath, fallback) {
425
471
  }
426
472
  }
427
473
  async function loadPayload(config, args) {
474
+ if (args.payloadData)
475
+ return structuredClone(args.payloadData);
428
476
  if (!args.payload)
429
477
  return {};
430
478
  const payloadPath = path.resolve(config.cwd, args.payload);