@fps-games/editor 0.1.6-beta.1 → 0.1.7-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (373) hide show
  1. package/dist/agent-bridge/capabilities/assets.d.ts +8 -0
  2. package/dist/agent-bridge/capabilities/assets.d.ts.map +1 -0
  3. package/dist/agent-bridge/capabilities/assets.js +226 -0
  4. package/dist/agent-bridge/capabilities/assets.js.map +1 -0
  5. package/dist/agent-bridge/capabilities/editor-state.d.ts +5 -0
  6. package/dist/agent-bridge/capabilities/editor-state.d.ts.map +1 -0
  7. package/dist/agent-bridge/capabilities/editor-state.js +72 -0
  8. package/dist/agent-bridge/capabilities/editor-state.js.map +1 -0
  9. package/dist/agent-bridge/capabilities/host-lifecycle.d.ts +4 -0
  10. package/dist/agent-bridge/capabilities/host-lifecycle.d.ts.map +1 -0
  11. package/dist/agent-bridge/capabilities/host-lifecycle.js +87 -0
  12. package/dist/agent-bridge/capabilities/host-lifecycle.js.map +1 -0
  13. package/dist/agent-bridge/capabilities/prefabs.d.ts +5 -0
  14. package/dist/agent-bridge/capabilities/prefabs.d.ts.map +1 -0
  15. package/dist/agent-bridge/capabilities/prefabs.js +735 -0
  16. package/dist/agent-bridge/capabilities/prefabs.js.map +1 -0
  17. package/dist/agent-bridge/capabilities/scene-objects.d.ts +9 -0
  18. package/dist/agent-bridge/capabilities/scene-objects.d.ts.map +1 -0
  19. package/dist/agent-bridge/capabilities/scene-objects.js +394 -0
  20. package/dist/agent-bridge/capabilities/scene-objects.js.map +1 -0
  21. package/dist/agent-bridge/capabilities/selection.d.ts +5 -0
  22. package/dist/agent-bridge/capabilities/selection.d.ts.map +1 -0
  23. package/dist/agent-bridge/capabilities/selection.js +57 -0
  24. package/dist/agent-bridge/capabilities/selection.js.map +1 -0
  25. package/dist/agent-bridge/capabilities/shadows.d.ts +5 -0
  26. package/dist/agent-bridge/capabilities/shadows.d.ts.map +1 -0
  27. package/dist/agent-bridge/capabilities/shadows.js +1876 -0
  28. package/dist/agent-bridge/capabilities/shadows.js.map +1 -0
  29. package/dist/agent-bridge/capabilities/transform.d.ts +5 -0
  30. package/dist/agent-bridge/capabilities/transform.d.ts.map +1 -0
  31. package/dist/agent-bridge/capabilities/transform.js +162 -0
  32. package/dist/agent-bridge/capabilities/transform.js.map +1 -0
  33. package/dist/agent-bridge/capabilities/ui-regions.d.ts +4 -0
  34. package/dist/agent-bridge/capabilities/ui-regions.d.ts.map +1 -0
  35. package/dist/agent-bridge/capabilities/ui-regions.js +168 -0
  36. package/dist/agent-bridge/capabilities/ui-regions.js.map +1 -0
  37. package/dist/agent-bridge/capabilities/viewport.d.ts +5 -0
  38. package/dist/agent-bridge/capabilities/viewport.d.ts.map +1 -0
  39. package/dist/agent-bridge/capabilities/viewport.js +407 -0
  40. package/dist/agent-bridge/capabilities/viewport.js.map +1 -0
  41. package/dist/agent-bridge/capability-sources.d.ts +6 -0
  42. package/dist/agent-bridge/capability-sources.d.ts.map +1 -0
  43. package/dist/agent-bridge/capability-sources.js +26 -0
  44. package/dist/agent-bridge/capability-sources.js.map +1 -0
  45. package/dist/agent-bridge/diagnostics.d.ts +12 -0
  46. package/dist/agent-bridge/diagnostics.d.ts.map +1 -0
  47. package/dist/agent-bridge/diagnostics.js +45 -0
  48. package/dist/agent-bridge/diagnostics.js.map +1 -0
  49. package/dist/agent-bridge/index.d.ts +5 -0
  50. package/dist/agent-bridge/index.d.ts.map +1 -0
  51. package/dist/agent-bridge/index.js +5 -0
  52. package/dist/agent-bridge/index.js.map +1 -0
  53. package/dist/agent-bridge/register.d.ts +4 -0
  54. package/dist/agent-bridge/register.d.ts.map +1 -0
  55. package/dist/agent-bridge/register.js +908 -0
  56. package/dist/agent-bridge/register.js.map +1 -0
  57. package/dist/agent-bridge/shared.d.ts +189 -0
  58. package/dist/agent-bridge/shared.d.ts.map +1 -0
  59. package/dist/agent-bridge/shared.js +39 -0
  60. package/dist/agent-bridge/shared.js.map +1 -0
  61. package/dist/agent-bridge/source-types.d.ts +90 -0
  62. package/dist/agent-bridge/source-types.d.ts.map +1 -0
  63. package/dist/agent-bridge/source-types.js +2 -0
  64. package/dist/agent-bridge/source-types.js.map +1 -0
  65. package/dist/build-info.json +17 -17
  66. package/dist/index.d.ts +1 -1
  67. package/dist/index.d.ts.map +1 -1
  68. package/dist/index.js.map +1 -1
  69. package/dist/local-editor-agent-bridge-transport.d.ts +95 -0
  70. package/dist/local-editor-agent-bridge-transport.d.ts.map +1 -0
  71. package/dist/local-editor-agent-bridge-transport.js +340 -0
  72. package/dist/local-editor-agent-bridge-transport.js.map +1 -0
  73. package/dist/local-editor-agent-bridge.d.ts +2 -0
  74. package/dist/local-editor-agent-bridge.d.ts.map +1 -0
  75. package/dist/local-editor-agent-bridge.js +2 -0
  76. package/dist/local-editor-agent-bridge.js.map +1 -0
  77. package/dist/local-editor-harness.d.ts +26 -2
  78. package/dist/local-editor-harness.d.ts.map +1 -1
  79. package/dist/local-editor-harness.js +773 -75
  80. package/dist/local-editor-harness.js.map +1 -1
  81. package/dist/playable-babylon-rendering.js +20 -0
  82. package/dist/playable-babylon-rendering.js.map +1 -1
  83. package/dist/playable-local-editor-host.d.ts +5 -0
  84. package/dist/playable-local-editor-host.d.ts.map +1 -1
  85. package/dist/playable-local-editor-host.js +2 -0
  86. package/dist/playable-local-editor-host.js.map +1 -1
  87. package/dist/playable-sdk.d.ts +1 -1
  88. package/dist/playable-sdk.d.ts.map +1 -1
  89. package/dist/playable-sdk.js.map +1 -1
  90. package/node_modules/@fps-games/babylon-renderer/dist/shadows/blob-shadow-system.d.ts.map +1 -1
  91. package/node_modules/@fps-games/babylon-renderer/dist/shadows/blob-shadow-system.js +6 -4
  92. package/node_modules/@fps-games/babylon-renderer/dist/shadows/blob-shadow-system.js.map +1 -1
  93. package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-shaders.d.ts.map +1 -1
  94. package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-shaders.js +103 -1
  95. package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-shaders.js.map +1 -1
  96. package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-system.d.ts.map +1 -1
  97. package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-system.js +330 -27
  98. package/node_modules/@fps-games/babylon-renderer/dist/shadows/planar-shadow-system.js.map +1 -1
  99. package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-artifact-system.d.ts.map +1 -1
  100. package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-artifact-system.js +159 -0
  101. package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-artifact-system.js.map +1 -1
  102. package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-baker.js +8 -1
  103. package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-baker.js.map +1 -1
  104. package/node_modules/@fps-games/babylon-renderer/dist/shadows/types.d.ts +53 -2
  105. package/node_modules/@fps-games/babylon-renderer/dist/shadows/types.d.ts.map +1 -1
  106. package/node_modules/@fps-games/babylon-renderer/dist/shadows/types.js +1 -0
  107. package/node_modules/@fps-games/babylon-renderer/dist/shadows/types.js.map +1 -1
  108. package/node_modules/@fps-games/babylon-renderer/package.json +1 -1
  109. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +30 -0
  110. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
  111. package/node_modules/@fps-games/editor-babylon/dist/projection.js +346 -11
  112. package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
  113. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts +11 -0
  114. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.d.ts.map +1 -1
  115. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js +113 -29
  116. package/node_modules/@fps-games/editor-babylon/dist/scene-view-camera-controller.js.map +1 -1
  117. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts +13 -1
  118. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts.map +1 -1
  119. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js +543 -3
  120. package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js.map +1 -1
  121. package/node_modules/@fps-games/editor-babylon/package.json +5 -5
  122. package/node_modules/@fps-games/editor-browser/dist/index.d.ts +5 -2
  123. package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
  124. package/node_modules/@fps-games/editor-browser/dist/index.js +3 -1
  125. package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
  126. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js +1 -1
  127. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-context-menu.js.map +1 -1
  128. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.d.ts.map +1 -1
  129. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js +7 -9
  130. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-actions.js.map +1 -1
  131. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js +2 -2
  132. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-attach-dialog.js.map +1 -1
  133. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts +21 -0
  134. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.d.ts.map +1 -0
  135. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js +75 -0
  136. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-command-adapter.js.map +1 -0
  137. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
  138. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +288 -71
  139. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
  140. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts +5 -0
  141. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.d.ts.map +1 -0
  142. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js +92 -0
  143. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-scope.js.map +1 -0
  144. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts +3 -0
  145. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +1 -1
  146. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js +22 -7
  147. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +1 -1
  148. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +4 -0
  149. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
  150. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +21 -14
  151. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
  152. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
  153. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +6 -4
  154. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
  155. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts +19 -1
  156. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.d.ts.map +1 -1
  157. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js +79 -39
  158. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-prefab-stage.js.map +1 -1
  159. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js +2 -2
  160. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-primitives.js.map +1 -1
  161. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +68 -1
  162. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
  163. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts +2 -0
  164. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.d.ts.map +1 -1
  165. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js +10 -0
  166. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-workbench.js.map +1 -1
  167. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +3 -2
  168. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
  169. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +401 -241
  170. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
  171. package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.d.ts +1 -0
  172. package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.d.ts.map +1 -1
  173. package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.js +1 -0
  174. package/node_modules/@fps-games/editor-browser/dist/runtime-camera-debug-panel.js.map +1 -1
  175. package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.d.ts +2 -0
  176. package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.d.ts.map +1 -1
  177. package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.js +27 -13
  178. package/node_modules/@fps-games/editor-browser/dist/runtime-debug-panel-shell.js.map +1 -1
  179. package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.d.ts +1 -0
  180. package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.d.ts.map +1 -1
  181. package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.js +1 -0
  182. package/node_modules/@fps-games/editor-browser/dist/runtime-lighting-debug-panel.js.map +1 -1
  183. package/node_modules/@fps-games/editor-browser/package.json +3 -3
  184. package/node_modules/@fps-games/editor-core/dist/agent-bridge.d.ts +18 -0
  185. package/node_modules/@fps-games/editor-core/dist/agent-bridge.d.ts.map +1 -0
  186. package/node_modules/@fps-games/editor-core/dist/agent-bridge.js +102 -0
  187. package/node_modules/@fps-games/editor-core/dist/agent-bridge.js.map +1 -0
  188. package/node_modules/@fps-games/editor-core/dist/index.d.ts +1 -0
  189. package/node_modules/@fps-games/editor-core/dist/index.d.ts.map +1 -1
  190. package/node_modules/@fps-games/editor-core/dist/index.js +1 -0
  191. package/node_modules/@fps-games/editor-core/dist/index.js.map +1 -1
  192. package/node_modules/@fps-games/editor-core/dist/viewport-tools.d.ts +1 -1
  193. package/node_modules/@fps-games/editor-core/dist/viewport-tools.d.ts.map +1 -1
  194. package/node_modules/@fps-games/editor-core/dist/viewport-tools.js.map +1 -1
  195. package/node_modules/@fps-games/editor-core/package.json +2 -2
  196. package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
  197. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/config.d.ts +3 -0
  198. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/config.d.ts.map +1 -0
  199. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/config.js +9 -0
  200. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/config.js.map +1 -0
  201. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/generated-module.d.ts +6 -0
  202. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/generated-module.d.ts.map +1 -0
  203. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/generated-module.js +89 -0
  204. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/generated-module.js.map +1 -0
  205. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/identity.d.ts +18 -0
  206. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/identity.d.ts.map +1 -0
  207. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/identity.js +121 -0
  208. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/identity.js.map +1 -0
  209. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/index.d.ts +4 -0
  210. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/index.d.ts.map +1 -0
  211. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/index.js +3 -0
  212. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/index.js.map +1 -0
  213. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.d.ts +27 -0
  214. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.d.ts.map +1 -0
  215. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js +782 -0
  216. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/metadata.js.map +1 -0
  217. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts +5 -0
  218. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.d.ts.map +1 -0
  219. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js +5 -0
  220. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/node.js.map +1 -0
  221. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts +80 -0
  222. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.d.ts.map +1 -0
  223. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js +600 -0
  224. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/registry.js.map +1 -0
  225. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/types.d.ts +51 -0
  226. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/types.d.ts.map +1 -0
  227. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/types.js +2 -0
  228. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-database/types.js.map +1 -0
  229. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts +0 -1
  230. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts.map +1 -1
  231. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js +4 -42
  232. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js.map +1 -1
  233. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts +1 -1
  234. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.d.ts.map +1 -1
  235. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js +1 -1
  236. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/index.js.map +1 -1
  237. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.d.ts.map +1 -1
  238. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js +2 -1
  239. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js.map +1 -1
  240. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.d.ts +3 -0
  241. package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/types.d.ts.map +1 -1
  242. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +42 -2
  243. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -1
  244. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +612 -8
  245. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -1
  246. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +42 -0
  247. package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -1
  248. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts +1 -1
  249. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.d.ts.map +1 -1
  250. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js +1 -1
  251. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/index.js.map +1 -1
  252. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts.map +1 -1
  253. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js +16 -9
  254. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js.map +1 -1
  255. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts +5 -0
  256. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.d.ts.map +1 -1
  257. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js +28 -0
  258. package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/validators.js.map +1 -1
  259. package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +3 -0
  260. package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -1
  261. package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +3 -0
  262. package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -1
  263. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts +82 -2
  264. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -1
  265. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +396 -22
  266. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -1
  267. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts +1 -1
  268. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts.map +1 -1
  269. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js +1 -1
  270. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js.map +1 -1
  271. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.d.ts.map +1 -1
  272. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.js +0 -3
  273. package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/validation.js.map +1 -1
  274. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.d.ts +29 -1
  275. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.d.ts.map +1 -1
  276. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.js +143 -0
  277. package/node_modules/@fps-games/editor-playable-sdk/dist/lighting-debug/math.js.map +1 -1
  278. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -1
  279. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +99 -11
  280. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -1
  281. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -1
  282. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +4 -1
  283. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -1
  284. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.d.ts.map +1 -1
  285. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.js +19 -1
  286. package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/transform.js.map +1 -1
  287. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -1
  288. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +19 -3
  289. package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -1
  290. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.d.ts +1 -2
  291. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.d.ts.map +1 -1
  292. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js +0 -14
  293. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/assets.js.map +1 -1
  294. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.d.ts +1 -7
  295. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.d.ts.map +1 -1
  296. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.js +3 -32
  297. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/import-plan.js.map +1 -1
  298. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -1
  299. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +16 -32
  300. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -1
  301. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +5 -22
  302. package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -1
  303. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts +5 -0
  304. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.d.ts.map +1 -0
  305. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js +996 -0
  306. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/compiler.js.map +1 -0
  307. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts +3 -0
  308. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.d.ts.map +1 -0
  309. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js +3 -0
  310. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/index.js.map +1 -0
  311. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts +152 -0
  312. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.d.ts.map +1 -0
  313. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.js +2 -0
  314. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-compiler/types.js.map +1 -0
  315. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.d.ts.map +1 -1
  316. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js +4 -0
  317. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/protocol.js.map +1 -1
  318. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts.map +1 -1
  319. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js +224 -12
  320. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js.map +1 -1
  321. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.d.ts.map +1 -1
  322. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js +158 -50
  323. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js.map +1 -1
  324. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.d.ts.map +1 -1
  325. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.js +45 -1
  326. package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/patch.js.map +1 -1
  327. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/index.d.ts +5 -0
  328. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/index.d.ts.map +1 -0
  329. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/index.js +5 -0
  330. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/index.js.map +1 -0
  331. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/legacy.d.ts +21 -0
  332. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/legacy.d.ts.map +1 -0
  333. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/legacy.js +158 -0
  334. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/legacy.js.map +1 -0
  335. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/quality.d.ts +5 -0
  336. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/quality.d.ts.map +1 -0
  337. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/quality.js +83 -0
  338. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/quality.js.map +1 -0
  339. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/resolver.d.ts +35 -0
  340. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/resolver.d.ts.map +1 -0
  341. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/resolver.js +363 -0
  342. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/resolver.js.map +1 -0
  343. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/types.d.ts +105 -0
  344. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/types.d.ts.map +1 -0
  345. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/types.js +6 -0
  346. package/node_modules/@fps-games/editor-playable-sdk/dist/shadow-system/types.js.map +1 -0
  347. package/node_modules/@fps-games/editor-playable-sdk/dist/static-shadows/artifact.d.ts +3 -0
  348. package/node_modules/@fps-games/editor-playable-sdk/dist/static-shadows/artifact.d.ts.map +1 -1
  349. package/node_modules/@fps-games/editor-playable-sdk/dist/static-shadows/artifact.js +44 -0
  350. package/node_modules/@fps-games/editor-playable-sdk/dist/static-shadows/artifact.js.map +1 -1
  351. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/asset-authoring.d.ts +26 -0
  352. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/asset-authoring.d.ts.map +1 -0
  353. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/asset-authoring.js +105 -0
  354. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/asset-authoring.js.map +1 -0
  355. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts +3 -0
  356. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts.map +1 -1
  357. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.js +3 -0
  358. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.js.map +1 -1
  359. package/node_modules/@fps-games/editor-playable-sdk/package.json +3 -3
  360. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts +1127 -0
  361. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts.map +1 -0
  362. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js +2180 -0
  363. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js.map +1 -0
  364. package/node_modules/@fps-games/editor-protocol/dist/agent-trace.d.ts +68 -0
  365. package/node_modules/@fps-games/editor-protocol/dist/agent-trace.d.ts.map +1 -0
  366. package/node_modules/@fps-games/editor-protocol/dist/agent-trace.js +23 -0
  367. package/node_modules/@fps-games/editor-protocol/dist/agent-trace.js.map +1 -0
  368. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +2 -0
  369. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
  370. package/node_modules/@fps-games/editor-protocol/dist/index.js +2 -0
  371. package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
  372. package/node_modules/@fps-games/editor-protocol/package.json +1 -1
  373. package/package.json +8 -8
@@ -0,0 +1,2180 @@
1
+ export const EDITOR_AGENT_BRIDGE_SCHEMA_VERSION = 1;
2
+ export const EDITOR_AGENT_BRIDGE_CAPABILITY_ID = {
3
+ ASSET_ANALYSIS_GET: 'asset.analysis.get',
4
+ ASSET_INFO_GET: 'asset.info.get',
5
+ ASSET_LIBRARY_LIST: 'asset.library.list',
6
+ EDITOR_SNAPSHOT_GET: 'editor.snapshot.get',
7
+ EDITOR_STATE_GET: 'editor.state.get',
8
+ EDITOR_UI_REGIONS_GET: 'editor.ui.regions.get',
9
+ HOST_EDITOR_ENTER: 'host.editor.enter',
10
+ HOST_EDITOR_WAIT_READY: 'host.editor.waitReady',
11
+ HOST_MODE_GET: 'host.mode.get',
12
+ OBJECT_CREATE_FROM_ASSET: 'object.createFromAsset',
13
+ OBJECT_CREATE_PRIMITIVE: 'object.createPrimitive',
14
+ OBJECT_DELETE: 'object.delete',
15
+ OBJECT_RESOLVE: 'object.resolve',
16
+ PREFAB_MATERIAL_SLOTS_LIST: 'prefab.materialSlots.list',
17
+ PREFAB_ASSET_RENAME: 'prefab.asset.rename',
18
+ PREFAB_NODE_CREATE_FROM_ASSET: 'prefab.node.createFromAsset',
19
+ PREFAB_NODE_CREATE_GROUP: 'prefab.node.createGroup',
20
+ PREFAB_NODE_CREATE_PRIMITIVE: 'prefab.node.createPrimitive',
21
+ PREFAB_NODE_DELETE: 'prefab.node.delete',
22
+ PREFAB_NODE_REPARENT: 'prefab.node.reparent',
23
+ PREFAB_NODE_RENAME: 'prefab.node.rename',
24
+ PREFAB_NODE_SELECT: 'prefab.node.select',
25
+ PREFAB_NODE_SET_TRANSFORM: 'prefab.node.setTransform',
26
+ PREFAB_RESOLVE: 'prefab.resolve',
27
+ PREFAB_SCENE_GET: 'prefab.scene.get',
28
+ PREFAB_SOURCE_STRUCTURE_GET: 'prefab.source.structure.get',
29
+ PREFAB_STAGE_EXIT: 'prefab.stage.exit',
30
+ PREFAB_STAGE_OPEN: 'prefab.stage.open',
31
+ SCENE_OBJECTS_LIST: 'scene.objects.list',
32
+ SELECTION_SET: 'selection.set',
33
+ SHADOW_POLICY_GET: 'shadow.policy.get',
34
+ SHADOW_POLICY_SET: 'shadow.policy.set',
35
+ SHADOW_DEBUG_INSPECT: 'shadow.debug.inspect',
36
+ SHADOW_DEBUG_CONTEXT_CLEAR: 'shadow.debug.context.clear',
37
+ SHADOW_DEBUG_CONTEXT_ENTER: 'shadow.debug.context.enter',
38
+ SHADOW_DEBUG_OVERLAY_CLEAR: 'shadow.debug.overlay.clear',
39
+ SHADOW_DEBUG_OVERLAY_SET: 'shadow.debug.overlay.set',
40
+ SHADOW_DEBUG_VISIBILITY_MEASURE: 'shadow.debug.visibilityMeasure',
41
+ SHADOW_RECEIVERS_LIST: 'shadow.receivers.list',
42
+ SHADOW_RESOLVE_PREVIEW: 'shadow.resolvePreview',
43
+ SHADOW_STATIC_BAKE: 'shadow.static.bake',
44
+ SHADOW_STATIC_INVALIDATE: 'shadow.static.invalidate',
45
+ TRANSFORM_MOVE: 'transform.move',
46
+ TRANSFORM_SET: 'transform.set',
47
+ VIEWPORT_CAMERA_GET: 'viewport.camera.get',
48
+ VIEWPORT_CAMERA_ORBIT: 'viewport.camera.orbit',
49
+ VIEWPORT_CAMERA_SET_PRESET: 'viewport.camera.setPreset',
50
+ VIEWPORT_FRAME_SELECTION: 'viewport.frameSelection',
51
+ VIEWPORT_FOCUS_OBJECT: 'viewport.focusObject',
52
+ VIEWPORT_ISOLATION_ENTER: 'viewport.isolation.enter',
53
+ VIEWPORT_VISIBILITY_CLEAR: 'viewport.visibility.clear',
54
+ VIEWPORT_VISIBILITY_SET: 'viewport.visibility.set',
55
+ VIEWPORT_VISIBILITY_SNAPSHOT: 'viewport.visibility.snapshot',
56
+ };
57
+ export const EDITOR_AGENT_BRIDGE_VEC3_SCHEMA = {
58
+ type: 'object',
59
+ properties: {
60
+ x: { type: 'number' },
61
+ y: { type: 'number' },
62
+ z: { type: 'number' },
63
+ },
64
+ required: ['x', 'y', 'z'],
65
+ additionalProperties: false,
66
+ };
67
+ export const EDITOR_AGENT_BRIDGE_TRANSFORM_SCHEMA = {
68
+ type: 'object',
69
+ properties: {
70
+ position: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
71
+ rotation: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
72
+ scale: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
73
+ },
74
+ additionalProperties: false,
75
+ };
76
+ export const EDITOR_AGENT_BRIDGE_BOUNDS_SCHEMA = {
77
+ type: 'object',
78
+ properties: {
79
+ min: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
80
+ max: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
81
+ size: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
82
+ center: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
83
+ },
84
+ additionalProperties: false,
85
+ };
86
+ export const EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA = {
87
+ type: 'object',
88
+ properties: {
89
+ severity: { type: 'string', enum: ['info', 'warning', 'error'] },
90
+ source: { type: 'string' },
91
+ code: { type: 'string' },
92
+ message: { type: 'string' },
93
+ objectId: { type: 'string' },
94
+ details: { type: 'object', additionalProperties: true },
95
+ },
96
+ required: ['severity', 'source', 'message'],
97
+ additionalProperties: false,
98
+ };
99
+ export const EDITOR_AGENT_BRIDGE_ASSET_KIND_SCHEMA = {
100
+ type: 'string',
101
+ };
102
+ export const EDITOR_AGENT_BRIDGE_ASSET_ANALYSIS_SUMMARY_SCHEMA = {
103
+ type: 'object',
104
+ properties: {
105
+ kind: { type: 'string' },
106
+ summary: { type: 'string' },
107
+ complexity: { type: 'string' },
108
+ nodeCount: { type: 'number' },
109
+ meshCount: { type: 'number' },
110
+ primitiveCount: { type: 'number' },
111
+ materialCount: { type: 'number' },
112
+ textureCount: { type: 'number' },
113
+ imageCount: { type: 'number' },
114
+ animationCount: { type: 'number' },
115
+ skinCount: { type: 'number' },
116
+ width: { type: 'number' },
117
+ height: { type: 'number' },
118
+ mime: { type: 'string' },
119
+ hasAlpha: { type: 'boolean' },
120
+ diagnostics: {
121
+ type: 'array',
122
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
123
+ },
124
+ },
125
+ additionalProperties: true,
126
+ };
127
+ export const EDITOR_AGENT_BRIDGE_ASSET_SUMMARY_SCHEMA_PROPERTIES = {
128
+ assetId: { type: 'string' },
129
+ guid: { type: 'string' },
130
+ displayName: { type: 'string' },
131
+ kind: EDITOR_AGENT_BRIDGE_ASSET_KIND_SCHEMA,
132
+ type: { type: 'string' },
133
+ category: { type: 'string' },
134
+ placeable: { type: 'boolean' },
135
+ byteSize: { type: 'number' },
136
+ contentHash: { type: 'string' },
137
+ relativePath: { type: 'string' },
138
+ metadataSummary: {
139
+ type: 'object',
140
+ additionalProperties: true,
141
+ },
142
+ analysisSummary: EDITOR_AGENT_BRIDGE_ASSET_ANALYSIS_SUMMARY_SCHEMA,
143
+ };
144
+ export const EDITOR_AGENT_BRIDGE_ASSET_SUMMARY_SCHEMA = {
145
+ type: 'object',
146
+ properties: EDITOR_AGENT_BRIDGE_ASSET_SUMMARY_SCHEMA_PROPERTIES,
147
+ required: ['assetId', 'displayName', 'kind', 'type', 'placeable'],
148
+ additionalProperties: false,
149
+ };
150
+ export const EDITOR_AGENT_BRIDGE_ASSET_INFO_SCHEMA = {
151
+ type: 'object',
152
+ properties: {
153
+ ...EDITOR_AGENT_BRIDGE_ASSET_SUMMARY_SCHEMA_PROPERTIES,
154
+ origin: { type: 'string' },
155
+ dedupeKey: { type: 'string' },
156
+ materialMode: { type: 'string' },
157
+ metadata: {
158
+ type: 'object',
159
+ additionalProperties: true,
160
+ },
161
+ external: {
162
+ type: 'object',
163
+ additionalProperties: true,
164
+ },
165
+ defaults: {
166
+ type: 'object',
167
+ additionalProperties: true,
168
+ },
169
+ prefab: {
170
+ type: 'object',
171
+ additionalProperties: true,
172
+ },
173
+ },
174
+ required: ['assetId', 'displayName', 'kind', 'type', 'placeable'],
175
+ additionalProperties: false,
176
+ };
177
+ export const EDITOR_AGENT_BRIDGE_ASSET_LIBRARY_LIST_INPUT_SCHEMA = {
178
+ type: 'object',
179
+ properties: {
180
+ includeUnplaceable: { type: 'boolean' },
181
+ query: { type: 'string' },
182
+ kind: EDITOR_AGENT_BRIDGE_ASSET_KIND_SCHEMA,
183
+ limit: {
184
+ type: 'number',
185
+ minimum: 0,
186
+ maximum: 500,
187
+ },
188
+ },
189
+ additionalProperties: false,
190
+ };
191
+ export const EDITOR_AGENT_BRIDGE_ASSET_LIBRARY_LIST_OUTPUT_SCHEMA = {
192
+ type: 'object',
193
+ properties: {
194
+ assets: {
195
+ type: 'array',
196
+ items: EDITOR_AGENT_BRIDGE_ASSET_SUMMARY_SCHEMA,
197
+ },
198
+ assetCount: { type: 'number' },
199
+ },
200
+ required: ['assets', 'assetCount'],
201
+ additionalProperties: false,
202
+ };
203
+ export const EDITOR_AGENT_BRIDGE_ASSET_INFO_GET_INPUT_SCHEMA = {
204
+ type: 'object',
205
+ properties: {
206
+ assetId: { type: 'string' },
207
+ },
208
+ required: ['assetId'],
209
+ additionalProperties: false,
210
+ };
211
+ export const EDITOR_AGENT_BRIDGE_ASSET_INFO_GET_OUTPUT_SCHEMA = {
212
+ type: 'object',
213
+ properties: {
214
+ asset: EDITOR_AGENT_BRIDGE_ASSET_INFO_SCHEMA,
215
+ },
216
+ required: ['asset'],
217
+ additionalProperties: false,
218
+ };
219
+ export const EDITOR_AGENT_BRIDGE_ASSET_ANALYSIS_GET_INPUT_SCHEMA = {
220
+ type: 'object',
221
+ properties: {
222
+ assetId: { type: 'string' },
223
+ },
224
+ required: ['assetId'],
225
+ additionalProperties: false,
226
+ };
227
+ export const EDITOR_AGENT_BRIDGE_ASSET_ANALYSIS_SCHEMA = {
228
+ type: 'object',
229
+ properties: {
230
+ kind: { type: 'string' },
231
+ format: { type: 'string' },
232
+ summary: { type: 'string' },
233
+ complexity: { type: 'string' },
234
+ sceneCount: { type: 'number' },
235
+ nodeCount: { type: 'number' },
236
+ meshCount: { type: 'number' },
237
+ primitiveCount: { type: 'number' },
238
+ materialCount: { type: 'number' },
239
+ textureCount: { type: 'number' },
240
+ imageCount: { type: 'number' },
241
+ animationCount: { type: 'number' },
242
+ skinCount: { type: 'number' },
243
+ width: { type: 'number' },
244
+ height: { type: 'number' },
245
+ mime: { type: 'string' },
246
+ bitDepth: { type: 'number' },
247
+ hasAlpha: { type: 'boolean' },
248
+ estimatedPixels: { type: 'number' },
249
+ meshes: {
250
+ type: 'array',
251
+ items: {
252
+ type: 'object',
253
+ additionalProperties: true,
254
+ },
255
+ },
256
+ materials: {
257
+ type: 'array',
258
+ items: {
259
+ type: 'object',
260
+ additionalProperties: true,
261
+ },
262
+ },
263
+ diagnostics: {
264
+ type: 'array',
265
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
266
+ },
267
+ },
268
+ additionalProperties: true,
269
+ };
270
+ export const EDITOR_AGENT_BRIDGE_ASSET_ANALYSIS_GET_OUTPUT_SCHEMA = {
271
+ type: 'object',
272
+ properties: {
273
+ assetId: { type: 'string' },
274
+ kind: EDITOR_AGENT_BRIDGE_ASSET_KIND_SCHEMA,
275
+ analysis: EDITOR_AGENT_BRIDGE_ASSET_ANALYSIS_SCHEMA,
276
+ },
277
+ required: ['assetId', 'kind', 'analysis'],
278
+ additionalProperties: false,
279
+ };
280
+ export const EDITOR_AGENT_BRIDGE_PREFAB_SUMMARY_SCHEMA = {
281
+ type: 'object',
282
+ properties: {
283
+ assetId: { type: 'string' },
284
+ browserAssetId: { type: 'string' },
285
+ displayName: { type: 'string' },
286
+ sourceAssetId: { type: 'string' },
287
+ sourceAssetGuid: { type: 'string' },
288
+ placeable: { type: 'boolean' },
289
+ readonly: { type: 'boolean' },
290
+ status: { type: 'string' },
291
+ },
292
+ required: ['assetId', 'displayName'],
293
+ additionalProperties: false,
294
+ };
295
+ export const EDITOR_AGENT_BRIDGE_PREFAB_STAGE_STATE_SCHEMA = {
296
+ type: 'object',
297
+ properties: {
298
+ assetId: { type: 'string' },
299
+ browserAssetId: { type: 'string' },
300
+ label: { type: 'string' },
301
+ sourceAssetId: { type: 'string' },
302
+ sourceAssetGuid: { type: 'string' },
303
+ previewNodeId: { type: 'string' },
304
+ selectedItemId: {
305
+ anyOf: [{ type: 'string' }, { type: 'null' }],
306
+ },
307
+ readonly: { type: 'boolean' },
308
+ },
309
+ required: ['assetId', 'label'],
310
+ additionalProperties: false,
311
+ };
312
+ export const EDITOR_AGENT_BRIDGE_PREFAB_RESOLVE_INPUT_SCHEMA = {
313
+ type: 'object',
314
+ properties: {
315
+ assetId: { type: 'string' },
316
+ browserAssetId: { type: 'string' },
317
+ name: { type: 'string' },
318
+ query: { type: 'string' },
319
+ includeUnavailable: { type: 'boolean' },
320
+ },
321
+ additionalProperties: false,
322
+ };
323
+ export const EDITOR_AGENT_BRIDGE_PREFAB_RESOLVE_OUTPUT_SCHEMA = {
324
+ type: 'object',
325
+ properties: {
326
+ prefabs: {
327
+ type: 'array',
328
+ items: EDITOR_AGENT_BRIDGE_PREFAB_SUMMARY_SCHEMA,
329
+ },
330
+ resolvedPrefab: {
331
+ anyOf: [EDITOR_AGENT_BRIDGE_PREFAB_SUMMARY_SCHEMA, { type: 'null' }],
332
+ },
333
+ ambiguous: { type: 'boolean' },
334
+ currentStage: {
335
+ anyOf: [EDITOR_AGENT_BRIDGE_PREFAB_STAGE_STATE_SCHEMA, { type: 'null' }],
336
+ },
337
+ },
338
+ required: ['prefabs', 'resolvedPrefab', 'ambiguous'],
339
+ additionalProperties: false,
340
+ };
341
+ export const EDITOR_AGENT_BRIDGE_PREFAB_STAGE_OPEN_INPUT_SCHEMA = {
342
+ type: 'object',
343
+ properties: {
344
+ assetId: { type: 'string' },
345
+ browserAssetId: { type: 'string' },
346
+ name: { type: 'string' },
347
+ query: { type: 'string' },
348
+ },
349
+ anyOf: [
350
+ { required: ['assetId'] },
351
+ { required: ['browserAssetId'] },
352
+ { required: ['name'] },
353
+ { required: ['query'] },
354
+ ],
355
+ additionalProperties: false,
356
+ };
357
+ export const EDITOR_AGENT_BRIDGE_PREFAB_STAGE_OPEN_OUTPUT_SCHEMA = {
358
+ type: 'object',
359
+ properties: {
360
+ opened: { type: 'boolean' },
361
+ alreadyOpen: { type: 'boolean' },
362
+ prefab: EDITOR_AGENT_BRIDGE_PREFAB_SUMMARY_SCHEMA,
363
+ stage: EDITOR_AGENT_BRIDGE_PREFAB_STAGE_STATE_SCHEMA,
364
+ status: { type: 'string' },
365
+ },
366
+ required: ['opened', 'alreadyOpen', 'prefab', 'stage', 'status'],
367
+ additionalProperties: false,
368
+ };
369
+ export const EDITOR_AGENT_BRIDGE_PREFAB_STAGE_EXIT_INPUT_SCHEMA = {
370
+ type: 'object',
371
+ properties: {},
372
+ additionalProperties: false,
373
+ };
374
+ export const EDITOR_AGENT_BRIDGE_PREFAB_STAGE_EXIT_OUTPUT_SCHEMA = {
375
+ type: 'object',
376
+ properties: {
377
+ exited: { type: 'boolean' },
378
+ wasOpen: { type: 'boolean' },
379
+ previousStage: {
380
+ anyOf: [EDITOR_AGENT_BRIDGE_PREFAB_STAGE_STATE_SCHEMA, { type: 'null' }],
381
+ },
382
+ status: { type: 'string' },
383
+ },
384
+ required: ['exited', 'wasOpen', 'status'],
385
+ additionalProperties: false,
386
+ };
387
+ export const EDITOR_AGENT_BRIDGE_PREFAB_ASSET_RENAME_INPUT_SCHEMA = {
388
+ type: 'object',
389
+ properties: {
390
+ assetId: { type: 'string' },
391
+ displayName: {
392
+ type: 'string',
393
+ minLength: 1,
394
+ maxLength: 80,
395
+ },
396
+ },
397
+ required: ['displayName'],
398
+ additionalProperties: false,
399
+ };
400
+ export const EDITOR_AGENT_BRIDGE_PREFAB_ASSET_RENAME_OUTPUT_SCHEMA = {
401
+ type: 'object',
402
+ properties: {
403
+ assetId: { type: 'string' },
404
+ previousDisplayName: { type: 'string' },
405
+ displayName: { type: 'string' },
406
+ stageActive: { type: 'boolean' },
407
+ renamed: { type: 'boolean' },
408
+ },
409
+ required: ['assetId', 'previousDisplayName', 'displayName', 'stageActive', 'renamed'],
410
+ additionalProperties: false,
411
+ };
412
+ export const EDITOR_AGENT_BRIDGE_PREFAB_NODE_KIND_SCHEMA = {
413
+ type: 'string',
414
+ enum: ['root', 'group', 'model', 'primitive', 'light', 'prefabInstance', 'collision'],
415
+ };
416
+ export const EDITOR_AGENT_BRIDGE_PREFAB_NODE_SCHEMA = {
417
+ type: 'object',
418
+ properties: {
419
+ nodeId: { type: 'string' },
420
+ guid: { type: 'string' },
421
+ name: { type: 'string' },
422
+ parentNodeId: {
423
+ anyOf: [{ type: 'string' }, { type: 'null' }],
424
+ },
425
+ kind: EDITOR_AGENT_BRIDGE_PREFAB_NODE_KIND_SCHEMA,
426
+ path: { type: 'string' },
427
+ transform: EDITOR_AGENT_BRIDGE_TRANSFORM_SCHEMA,
428
+ sourceAssetId: { type: 'string' },
429
+ sourceNodePath: { type: 'string' },
430
+ childPrefabId: { type: 'string' },
431
+ primitive: {
432
+ type: 'object',
433
+ properties: {
434
+ shape: { type: 'string' },
435
+ },
436
+ required: ['shape'],
437
+ additionalProperties: true,
438
+ },
439
+ defaults: {
440
+ type: 'object',
441
+ additionalProperties: true,
442
+ },
443
+ overrides: {
444
+ type: 'object',
445
+ additionalProperties: true,
446
+ },
447
+ readonly: { type: 'boolean' },
448
+ diagnostics: {
449
+ type: 'array',
450
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
451
+ },
452
+ },
453
+ required: ['nodeId', 'kind'],
454
+ additionalProperties: false,
455
+ };
456
+ export const EDITOR_AGENT_BRIDGE_PREFAB_SCENE_GET_INPUT_SCHEMA = {
457
+ type: 'object',
458
+ properties: {
459
+ assetId: { type: 'string' },
460
+ includeSourceSummary: { type: 'boolean' },
461
+ includeMaterialSlots: { type: 'boolean' },
462
+ },
463
+ additionalProperties: false,
464
+ };
465
+ export const EDITOR_AGENT_BRIDGE_PREFAB_SCENE_GET_OUTPUT_SCHEMA = {
466
+ type: 'object',
467
+ properties: {
468
+ stage: EDITOR_AGENT_BRIDGE_PREFAB_STAGE_STATE_SCHEMA,
469
+ rootNodeId: { type: 'string' },
470
+ selectedNodeId: {
471
+ anyOf: [{ type: 'string' }, { type: 'null' }],
472
+ },
473
+ nodes: {
474
+ type: 'array',
475
+ items: EDITOR_AGENT_BRIDGE_PREFAB_NODE_SCHEMA,
476
+ },
477
+ diagnostics: {
478
+ type: 'array',
479
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
480
+ },
481
+ },
482
+ required: ['stage', 'rootNodeId', 'selectedNodeId', 'nodes'],
483
+ additionalProperties: false,
484
+ };
485
+ export const EDITOR_AGENT_BRIDGE_PREFAB_NODE_SELECT_INPUT_SCHEMA = {
486
+ type: 'object',
487
+ properties: {
488
+ nodeId: { type: 'string' },
489
+ },
490
+ required: ['nodeId'],
491
+ additionalProperties: false,
492
+ };
493
+ export const EDITOR_AGENT_BRIDGE_PREFAB_NODE_SELECT_OUTPUT_SCHEMA = {
494
+ type: 'object',
495
+ properties: {
496
+ stage: EDITOR_AGENT_BRIDGE_PREFAB_STAGE_STATE_SCHEMA,
497
+ selectedNodeId: { type: 'string' },
498
+ node: EDITOR_AGENT_BRIDGE_PREFAB_NODE_SCHEMA,
499
+ },
500
+ required: ['stage', 'selectedNodeId', 'node'],
501
+ additionalProperties: false,
502
+ };
503
+ export const EDITOR_AGENT_BRIDGE_PREFAB_NODE_CREATE_FROM_ASSET_INPUT_SCHEMA = {
504
+ type: 'object',
505
+ properties: {
506
+ assetId: { type: 'string' },
507
+ parentNodeId: { type: 'string' },
508
+ name: { type: 'string' },
509
+ sourceNodePath: { type: 'string' },
510
+ position: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
511
+ rotation: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
512
+ scale: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
513
+ select: { type: 'boolean' },
514
+ },
515
+ required: ['assetId'],
516
+ additionalProperties: false,
517
+ };
518
+ export const EDITOR_AGENT_BRIDGE_PREFAB_NODE_CREATE_PRIMITIVE_INPUT_SCHEMA = {
519
+ type: 'object',
520
+ properties: {
521
+ shape: { type: 'string', enum: ['cube', 'sphere', 'plane', 'capsule'] },
522
+ parentNodeId: { type: 'string' },
523
+ name: { type: 'string' },
524
+ position: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
525
+ rotation: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
526
+ scale: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
527
+ select: { type: 'boolean' },
528
+ },
529
+ required: ['shape'],
530
+ additionalProperties: false,
531
+ };
532
+ export const EDITOR_AGENT_BRIDGE_PREFAB_NODE_CREATE_GROUP_INPUT_SCHEMA = {
533
+ type: 'object',
534
+ properties: {
535
+ parentNodeId: { type: 'string' },
536
+ name: { type: 'string' },
537
+ position: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
538
+ rotation: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
539
+ scale: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
540
+ select: { type: 'boolean' },
541
+ },
542
+ additionalProperties: false,
543
+ };
544
+ export const EDITOR_AGENT_BRIDGE_PREFAB_NODE_MUTATION_OUTPUT_SCHEMA = {
545
+ type: 'object',
546
+ properties: {
547
+ stage: EDITOR_AGENT_BRIDGE_PREFAB_STAGE_STATE_SCHEMA,
548
+ changed: { type: 'boolean' },
549
+ createdNodeId: { type: 'string' },
550
+ changedNodeId: { type: 'string' },
551
+ deletedNodeIds: {
552
+ type: 'array',
553
+ items: { type: 'string' },
554
+ },
555
+ selectedNodeId: {
556
+ anyOf: [{ type: 'string' }, { type: 'null' }],
557
+ },
558
+ node: {
559
+ anyOf: [EDITOR_AGENT_BRIDGE_PREFAB_NODE_SCHEMA, { type: 'null' }],
560
+ },
561
+ rootNodeId: { type: 'string' },
562
+ nodes: {
563
+ type: 'array',
564
+ items: EDITOR_AGENT_BRIDGE_PREFAB_NODE_SCHEMA,
565
+ },
566
+ status: { type: 'string' },
567
+ diagnostics: {
568
+ type: 'array',
569
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
570
+ },
571
+ },
572
+ required: ['stage', 'changed', 'selectedNodeId', 'rootNodeId', 'nodes', 'status'],
573
+ additionalProperties: false,
574
+ };
575
+ export const EDITOR_AGENT_BRIDGE_PREFAB_NODE_SET_TRANSFORM_INPUT_SCHEMA = {
576
+ type: 'object',
577
+ properties: {
578
+ nodeId: { type: 'string' },
579
+ position: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
580
+ rotation: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
581
+ scale: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
582
+ },
583
+ required: ['nodeId'],
584
+ anyOf: [
585
+ { required: ['position'] },
586
+ { required: ['rotation'] },
587
+ { required: ['scale'] },
588
+ ],
589
+ additionalProperties: false,
590
+ };
591
+ export const EDITOR_AGENT_BRIDGE_PREFAB_NODE_RENAME_INPUT_SCHEMA = {
592
+ type: 'object',
593
+ properties: {
594
+ nodeId: { type: 'string' },
595
+ name: {
596
+ type: 'string',
597
+ minLength: 1,
598
+ maxLength: 80,
599
+ },
600
+ },
601
+ required: ['nodeId', 'name'],
602
+ additionalProperties: false,
603
+ };
604
+ export const EDITOR_AGENT_BRIDGE_PREFAB_NODE_RENAME_OUTPUT_SCHEMA = {
605
+ type: 'object',
606
+ properties: {
607
+ nodeId: { type: 'string' },
608
+ previousName: { type: 'string' },
609
+ name: { type: 'string' },
610
+ selectedNodeId: {
611
+ anyOf: [{ type: 'string' }, { type: 'null' }],
612
+ },
613
+ nodes: {
614
+ type: 'array',
615
+ items: EDITOR_AGENT_BRIDGE_PREFAB_NODE_SCHEMA,
616
+ },
617
+ },
618
+ required: ['nodeId', 'previousName', 'name', 'selectedNodeId', 'nodes'],
619
+ additionalProperties: false,
620
+ };
621
+ export const EDITOR_AGENT_BRIDGE_PREFAB_NODE_REPARENT_INPUT_SCHEMA = {
622
+ type: 'object',
623
+ properties: {
624
+ nodeId: { type: 'string' },
625
+ parentNodeId: { type: 'string' },
626
+ },
627
+ required: ['nodeId', 'parentNodeId'],
628
+ additionalProperties: false,
629
+ };
630
+ export const EDITOR_AGENT_BRIDGE_PREFAB_NODE_DELETE_INPUT_SCHEMA = {
631
+ type: 'object',
632
+ properties: {
633
+ nodeId: { type: 'string' },
634
+ },
635
+ required: ['nodeId'],
636
+ additionalProperties: false,
637
+ };
638
+ export const EDITOR_AGENT_BRIDGE_PREFAB_SOURCE_STRUCTURE_GET_INPUT_SCHEMA = {
639
+ type: 'object',
640
+ properties: {
641
+ nodeId: { type: 'string' },
642
+ assetId: { type: 'string' },
643
+ },
644
+ additionalProperties: false,
645
+ };
646
+ export const EDITOR_AGENT_BRIDGE_PREFAB_SOURCE_STRUCTURE_SCHEMA = {
647
+ type: 'object',
648
+ properties: {
649
+ assetId: { type: 'string' },
650
+ nodeId: { type: 'string' },
651
+ sourceNodePath: { type: 'string' },
652
+ nodeCount: { type: 'number' },
653
+ meshCount: { type: 'number' },
654
+ materialCount: { type: 'number' },
655
+ textureCount: { type: 'number' },
656
+ nodes: {
657
+ type: 'array',
658
+ items: {
659
+ type: 'object',
660
+ additionalProperties: true,
661
+ },
662
+ },
663
+ meshes: {
664
+ type: 'array',
665
+ items: {
666
+ type: 'object',
667
+ additionalProperties: true,
668
+ },
669
+ },
670
+ materials: {
671
+ type: 'array',
672
+ items: {
673
+ type: 'object',
674
+ additionalProperties: true,
675
+ },
676
+ },
677
+ },
678
+ additionalProperties: true,
679
+ };
680
+ export const EDITOR_AGENT_BRIDGE_PREFAB_SOURCE_STRUCTURE_GET_OUTPUT_SCHEMA = {
681
+ type: 'object',
682
+ properties: {
683
+ stage: EDITOR_AGENT_BRIDGE_PREFAB_STAGE_STATE_SCHEMA,
684
+ nodeId: { type: 'string' },
685
+ assetId: { type: 'string' },
686
+ structure: EDITOR_AGENT_BRIDGE_PREFAB_SOURCE_STRUCTURE_SCHEMA,
687
+ diagnostics: {
688
+ type: 'array',
689
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
690
+ },
691
+ },
692
+ required: ['stage', 'assetId', 'structure'],
693
+ additionalProperties: false,
694
+ };
695
+ export const EDITOR_AGENT_BRIDGE_PREFAB_MATERIAL_SLOT_SCHEMA = {
696
+ type: 'object',
697
+ properties: {
698
+ slotId: { type: 'string' },
699
+ label: { type: 'string' },
700
+ ownerNodePath: { type: 'string' },
701
+ sourceMaterialIndex: { type: 'number' },
702
+ sourceMaterialName: { type: 'string' },
703
+ bindingPath: { type: 'string' },
704
+ materialAssetIdPath: { type: 'string' },
705
+ overridePath: { type: 'string' },
706
+ editable: { type: 'boolean' },
707
+ readonlyReason: { type: 'string' },
708
+ },
709
+ required: ['label', 'editable'],
710
+ additionalProperties: true,
711
+ };
712
+ export const EDITOR_AGENT_BRIDGE_PREFAB_MATERIAL_SLOTS_LIST_INPUT_SCHEMA = {
713
+ type: 'object',
714
+ properties: {
715
+ nodeId: { type: 'string' },
716
+ assetId: { type: 'string' },
717
+ includeReadonly: { type: 'boolean' },
718
+ },
719
+ additionalProperties: false,
720
+ };
721
+ export const EDITOR_AGENT_BRIDGE_PREFAB_MATERIAL_SLOTS_LIST_OUTPUT_SCHEMA = {
722
+ type: 'object',
723
+ properties: {
724
+ stage: EDITOR_AGENT_BRIDGE_PREFAB_STAGE_STATE_SCHEMA,
725
+ nodeId: { type: 'string' },
726
+ assetId: { type: 'string' },
727
+ slots: {
728
+ type: 'array',
729
+ items: EDITOR_AGENT_BRIDGE_PREFAB_MATERIAL_SLOT_SCHEMA,
730
+ },
731
+ diagnostics: {
732
+ type: 'array',
733
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
734
+ },
735
+ },
736
+ required: ['stage', 'slots'],
737
+ additionalProperties: false,
738
+ };
739
+ export const EDITOR_AGENT_BRIDGE_SELECTION_STATE_SCHEMA = {
740
+ type: 'object',
741
+ properties: {
742
+ selectedIds: {
743
+ type: 'array',
744
+ items: { type: 'string' },
745
+ },
746
+ activeId: {
747
+ anyOf: [{ type: 'string' }, { type: 'null' }],
748
+ },
749
+ },
750
+ required: ['selectedIds', 'activeId'],
751
+ additionalProperties: false,
752
+ };
753
+ export const EDITOR_AGENT_BRIDGE_SCENE_OBJECT_SCHEMA = {
754
+ type: 'object',
755
+ properties: {
756
+ id: { type: 'string' },
757
+ name: { type: 'string' },
758
+ label: { type: 'string' },
759
+ type: { type: 'string' },
760
+ path: { type: 'string' },
761
+ parentId: {
762
+ anyOf: [{ type: 'string' }, { type: 'null' }],
763
+ },
764
+ selectable: { type: 'boolean' },
765
+ locked: { type: 'boolean' },
766
+ transform: EDITOR_AGENT_BRIDGE_TRANSFORM_SCHEMA,
767
+ bounds: EDITOR_AGENT_BRIDGE_BOUNDS_SCHEMA,
768
+ },
769
+ required: ['id'],
770
+ additionalProperties: false,
771
+ };
772
+ export const EDITOR_AGENT_BRIDGE_SCENE_OBJECTS_LIST_INPUT_SCHEMA = {
773
+ type: 'object',
774
+ properties: {
775
+ includeUnselectable: { type: 'boolean' },
776
+ },
777
+ additionalProperties: false,
778
+ };
779
+ export const EDITOR_AGENT_BRIDGE_SCENE_OBJECTS_LIST_OUTPUT_SCHEMA = {
780
+ type: 'object',
781
+ properties: {
782
+ objects: {
783
+ type: 'array',
784
+ items: EDITOR_AGENT_BRIDGE_SCENE_OBJECT_SCHEMA,
785
+ },
786
+ },
787
+ required: ['objects'],
788
+ additionalProperties: false,
789
+ };
790
+ export const EDITOR_AGENT_BRIDGE_OBJECT_RESOLVE_INPUT_SCHEMA = {
791
+ type: 'object',
792
+ properties: {
793
+ objectId: { type: 'string' },
794
+ name: { type: 'string' },
795
+ path: { type: 'string' },
796
+ type: { type: 'string' },
797
+ query: { type: 'string' },
798
+ includeUnselectable: { type: 'boolean' },
799
+ },
800
+ additionalProperties: false,
801
+ };
802
+ export const EDITOR_AGENT_BRIDGE_OBJECT_RESOLVE_OUTPUT_SCHEMA = {
803
+ type: 'object',
804
+ properties: {
805
+ objects: {
806
+ type: 'array',
807
+ items: EDITOR_AGENT_BRIDGE_SCENE_OBJECT_SCHEMA,
808
+ },
809
+ resolvedObject: {
810
+ anyOf: [EDITOR_AGENT_BRIDGE_SCENE_OBJECT_SCHEMA, { type: 'null' }],
811
+ },
812
+ ambiguous: { type: 'boolean' },
813
+ },
814
+ required: ['objects', 'resolvedObject', 'ambiguous'],
815
+ additionalProperties: false,
816
+ };
817
+ export const EDITOR_AGENT_BRIDGE_SELECTION_SET_INPUT_SCHEMA = {
818
+ type: 'object',
819
+ properties: {
820
+ objectId: { type: 'string' },
821
+ objectIds: {
822
+ type: 'array',
823
+ items: { type: 'string' },
824
+ },
825
+ activeId: {
826
+ anyOf: [{ type: 'string' }, { type: 'null' }],
827
+ },
828
+ },
829
+ oneOf: [
830
+ { required: ['objectId'], not: { required: ['objectIds'] } },
831
+ { required: ['objectIds'], not: { required: ['objectId'] } },
832
+ ],
833
+ additionalProperties: false,
834
+ };
835
+ export const EDITOR_AGENT_BRIDGE_SELECTION_SET_OUTPUT_SCHEMA = {
836
+ type: 'object',
837
+ properties: {
838
+ selection: EDITOR_AGENT_BRIDGE_SELECTION_STATE_SCHEMA,
839
+ },
840
+ required: ['selection'],
841
+ additionalProperties: false,
842
+ };
843
+ export const EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA_PROPERTIES = {
844
+ objectId: { type: 'string' },
845
+ nodeId: { type: 'string' },
846
+ assetId: { type: 'string' },
847
+ };
848
+ export const EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA = {
849
+ type: 'object',
850
+ properties: EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA_PROPERTIES,
851
+ additionalProperties: false,
852
+ };
853
+ export const EDITOR_AGENT_BRIDGE_SHADOW_CAST_MODE_SCHEMA = {
854
+ type: 'string',
855
+ enum: ['inherit', 'none', 'enabled', 'auto'],
856
+ };
857
+ export const EDITOR_AGENT_BRIDGE_SHADOW_RECEIVE_MODE_SCHEMA = {
858
+ type: 'string',
859
+ enum: ['inherit', 'none', 'enabled', 'auto'],
860
+ };
861
+ export const EDITOR_AGENT_BRIDGE_SHADOW_MODE_SCHEMA = {
862
+ type: 'string',
863
+ enum: ['inherit', 'none', 'dynamic', 'static', 'blob', 'projected', 'auto'],
864
+ };
865
+ export const EDITOR_AGENT_BRIDGE_SHADOW_QUALITY_SCHEMA = {
866
+ type: 'string',
867
+ enum: ['inherit', 'low', 'medium', 'high', 'ultra'],
868
+ };
869
+ export const EDITOR_AGENT_BRIDGE_SHADOW_LIGHT_MODE_SCHEMA = {
870
+ type: 'string',
871
+ enum: ['inherit', 'scene-main', 'nearest', 'explicit'],
872
+ };
873
+ export const EDITOR_AGENT_BRIDGE_SHADOW_PARAMS_SCHEMA = {
874
+ type: 'object',
875
+ properties: {
876
+ opacity: { type: 'number', minimum: 0, maximum: 1 },
877
+ softness: { type: 'number', minimum: 0, maximum: 1 },
878
+ bias: { type: 'number' },
879
+ normalBias: { type: 'number' },
880
+ maxDistance: { type: 'number', minimum: 0 },
881
+ resolution: { type: 'number', enum: [512, 1024, 2048, 4096] },
882
+ cascadeCount: { type: 'number', enum: [1, 2, 4] },
883
+ bakeSamples: { type: 'number', minimum: 1 },
884
+ blurKernel: { type: 'number', minimum: 0 },
885
+ },
886
+ additionalProperties: false,
887
+ };
888
+ export const EDITOR_AGENT_BRIDGE_SHADOW_SETTINGS_SCHEMA = {
889
+ type: 'object',
890
+ properties: {
891
+ cast: EDITOR_AGENT_BRIDGE_SHADOW_CAST_MODE_SCHEMA,
892
+ receive: EDITOR_AGENT_BRIDGE_SHADOW_RECEIVE_MODE_SCHEMA,
893
+ mode: EDITOR_AGENT_BRIDGE_SHADOW_MODE_SCHEMA,
894
+ quality: EDITOR_AGENT_BRIDGE_SHADOW_QUALITY_SCHEMA,
895
+ light: {
896
+ type: 'object',
897
+ properties: {
898
+ mode: EDITOR_AGENT_BRIDGE_SHADOW_LIGHT_MODE_SCHEMA,
899
+ lightId: { type: 'string' },
900
+ },
901
+ additionalProperties: false,
902
+ },
903
+ params: EDITOR_AGENT_BRIDGE_SHADOW_PARAMS_SCHEMA,
904
+ },
905
+ additionalProperties: false,
906
+ };
907
+ export const EDITOR_AGENT_BRIDGE_SHADOW_RESOLVED_PARAMS_SCHEMA = {
908
+ type: 'object',
909
+ properties: {
910
+ opacity: { type: 'number' },
911
+ softness: { type: 'number' },
912
+ bias: { type: 'number' },
913
+ normalBias: { type: 'number' },
914
+ maxDistance: { type: 'number' },
915
+ resolution: { type: 'number', enum: [512, 1024, 2048, 4096] },
916
+ cascadeCount: { type: 'number', enum: [1, 2, 4] },
917
+ bakeSamples: { type: 'number' },
918
+ blurKernel: { type: 'number' },
919
+ },
920
+ required: ['opacity', 'softness', 'bias', 'normalBias', 'maxDistance', 'resolution', 'cascadeCount', 'bakeSamples', 'blurKernel'],
921
+ additionalProperties: false,
922
+ };
923
+ export const EDITOR_AGENT_BRIDGE_SHADOW_PLAN_SCHEMA = {
924
+ type: 'object',
925
+ properties: {
926
+ casterId: { type: 'string' },
927
+ receiverIds: {
928
+ type: 'array',
929
+ items: { type: 'string' },
930
+ },
931
+ lightId: { type: 'string' },
932
+ backend: {
933
+ type: 'string',
934
+ enum: ['none', 'dynamic-map', 'static-baked', 'blob', 'projected'],
935
+ },
936
+ mode: { type: 'string', enum: ['none', 'dynamic', 'static', 'blob', 'projected'] },
937
+ quality: { type: 'string', enum: ['low', 'medium', 'high', 'ultra'] },
938
+ params: EDITOR_AGENT_BRIDGE_SHADOW_RESOLVED_PARAMS_SCHEMA,
939
+ stale: { type: 'boolean' },
940
+ diagnostics: {
941
+ type: 'array',
942
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
943
+ },
944
+ },
945
+ required: ['casterId', 'receiverIds', 'backend', 'mode', 'quality', 'params', 'diagnostics'],
946
+ additionalProperties: false,
947
+ };
948
+ export const EDITOR_AGENT_BRIDGE_SHADOW_RECEIVER_CANDIDATE_SCHEMA = {
949
+ type: 'object',
950
+ properties: {
951
+ receiverId: { type: 'string' },
952
+ source: { type: 'string', enum: ['explicit', 'prefab', 'auto', 'scene-default'] },
953
+ score: { type: 'number' },
954
+ bounds: EDITOR_AGENT_BRIDGE_BOUNDS_SCHEMA,
955
+ boundsCenter: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
956
+ active: { type: 'boolean' },
957
+ visible: { type: 'boolean' },
958
+ receive: EDITOR_AGENT_BRIDGE_SHADOW_RECEIVE_MODE_SCHEMA,
959
+ suitability: {
960
+ type: 'object',
961
+ properties: {
962
+ score: { type: 'number' },
963
+ overlap: { type: 'number' },
964
+ distance: { type: 'number' },
965
+ material: { type: 'string' },
966
+ light: { type: 'string' },
967
+ reasons: {
968
+ type: 'array',
969
+ items: { type: 'string' },
970
+ },
971
+ },
972
+ additionalProperties: false,
973
+ },
974
+ diagnostics: {
975
+ type: 'array',
976
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
977
+ },
978
+ },
979
+ required: ['receiverId', 'source', 'score'],
980
+ additionalProperties: false,
981
+ };
982
+ export const EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_SUMMARY_SCHEMA = {
983
+ type: 'object',
984
+ properties: {
985
+ objectId: { type: 'string' },
986
+ nodeId: { type: 'string' },
987
+ label: { type: 'string' },
988
+ kind: { type: 'string' },
989
+ active: { type: 'boolean' },
990
+ visible: { type: 'boolean' },
991
+ bounds: EDITOR_AGENT_BRIDGE_BOUNDS_SCHEMA,
992
+ transform: EDITOR_AGENT_BRIDGE_TRANSFORM_SCHEMA,
993
+ diagnostics: {
994
+ type: 'array',
995
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
996
+ },
997
+ },
998
+ additionalProperties: false,
999
+ };
1000
+ export const EDITOR_AGENT_BRIDGE_SHADOW_LIGHT_SUMMARY_SCHEMA = {
1001
+ type: 'object',
1002
+ properties: {
1003
+ lightId: { type: 'string' },
1004
+ label: { type: 'string' },
1005
+ type: { type: 'string' },
1006
+ mode: EDITOR_AGENT_BRIDGE_SHADOW_LIGHT_MODE_SCHEMA,
1007
+ direction: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
1008
+ directionSource: { type: 'string', enum: ['light.direction', 'transform.rotation', 'unknown'] },
1009
+ orientationDiagnostics: {
1010
+ type: 'array',
1011
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1012
+ },
1013
+ position: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
1014
+ intensity: { type: 'number' },
1015
+ diagnostics: {
1016
+ type: 'array',
1017
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1018
+ },
1019
+ },
1020
+ additionalProperties: false,
1021
+ };
1022
+ export const EDITOR_AGENT_BRIDGE_SHADOW_FOOTPRINT_SCHEMA = {
1023
+ type: 'object',
1024
+ properties: {
1025
+ kind: { type: 'string', enum: ['none', 'estimated', 'artifact', 'unknown'] },
1026
+ receiverId: { type: 'string' },
1027
+ center: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
1028
+ size: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
1029
+ normal: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
1030
+ direction: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
1031
+ area: { type: 'number' },
1032
+ confidence: { type: 'number', minimum: 0, maximum: 1 },
1033
+ diagnostics: {
1034
+ type: 'array',
1035
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1036
+ },
1037
+ },
1038
+ required: ['kind', 'confidence'],
1039
+ additionalProperties: false,
1040
+ };
1041
+ export const EDITOR_AGENT_BRIDGE_SHADOW_RUNTIME_EVIDENCE_SCHEMA = {
1042
+ type: 'object',
1043
+ properties: {
1044
+ backend: { type: 'string' },
1045
+ renderableShadowPrimitiveCount: { type: 'number' },
1046
+ casterRuntimeObjectCount: { type: 'number' },
1047
+ receiverRuntimeObjectCount: { type: 'number' },
1048
+ planar: {
1049
+ type: 'object',
1050
+ properties: {
1051
+ strategy: { type: 'string', enum: ['auto', 'projected-mesh', 'convex-hull'] },
1052
+ sourceMeshCount: { type: 'number' },
1053
+ projectedMeshCount: { type: 'number' },
1054
+ convexHullMeshCount: { type: 'number' },
1055
+ alphaCutoutMeshCount: { type: 'number' },
1056
+ alphaCutoutChannels: {
1057
+ type: 'array',
1058
+ items: { type: 'string', enum: ['alpha', 'luminance', 'red'] },
1059
+ },
1060
+ alphaCutoutUvSets: {
1061
+ type: 'array',
1062
+ items: { type: 'number' },
1063
+ },
1064
+ alphaCutoutLevels: {
1065
+ type: 'array',
1066
+ items: { type: 'number' },
1067
+ },
1068
+ fallbackReasons: {
1069
+ type: 'array',
1070
+ items: { type: 'string' },
1071
+ },
1072
+ casters: {
1073
+ type: 'array',
1074
+ items: {
1075
+ type: 'object',
1076
+ properties: {
1077
+ sourceName: { type: 'string' },
1078
+ sourceMeshNames: {
1079
+ type: 'array',
1080
+ items: { type: 'string' },
1081
+ },
1082
+ sourceNodeId: { type: 'string' },
1083
+ sourceNodeIds: {
1084
+ type: 'array',
1085
+ items: { type: 'string' },
1086
+ },
1087
+ shadowName: { type: 'string' },
1088
+ strategy: { type: 'string', enum: ['auto', 'projected-mesh', 'convex-hull'] },
1089
+ hasSkeleton: { type: 'boolean' },
1090
+ projectedMeshCount: { type: 'number' },
1091
+ convexHullMeshCount: { type: 'number' },
1092
+ alphaCutoutMeshCount: { type: 'number' },
1093
+ alphaCutoutChannels: {
1094
+ type: 'array',
1095
+ items: { type: 'string', enum: ['alpha', 'luminance', 'red'] },
1096
+ },
1097
+ fallbackReasons: {
1098
+ type: 'array',
1099
+ items: { type: 'string' },
1100
+ },
1101
+ },
1102
+ required: ['sourceName', 'shadowName', 'strategy', 'hasSkeleton', 'projectedMeshCount', 'convexHullMeshCount', 'alphaCutoutMeshCount'],
1103
+ additionalProperties: false,
1104
+ },
1105
+ },
1106
+ },
1107
+ additionalProperties: false,
1108
+ },
1109
+ artifactId: { type: 'string' },
1110
+ artifactStale: { type: 'boolean' },
1111
+ diagnostics: {
1112
+ type: 'array',
1113
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1114
+ },
1115
+ },
1116
+ additionalProperties: false,
1117
+ };
1118
+ export const EDITOR_AGENT_BRIDGE_SHADOW_POLICY_GET_INPUT_SCHEMA = {
1119
+ type: 'object',
1120
+ properties: EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA.properties,
1121
+ additionalProperties: false,
1122
+ };
1123
+ export const EDITOR_AGENT_BRIDGE_SHADOW_POLICY_GET_OUTPUT_SCHEMA = {
1124
+ type: 'object',
1125
+ properties: {
1126
+ target: EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA,
1127
+ policy: EDITOR_AGENT_BRIDGE_SHADOW_SETTINGS_SCHEMA,
1128
+ effectivePolicy: EDITOR_AGENT_BRIDGE_SHADOW_SETTINGS_SCHEMA,
1129
+ plan: EDITOR_AGENT_BRIDGE_SHADOW_PLAN_SCHEMA,
1130
+ diagnostics: {
1131
+ type: 'array',
1132
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1133
+ },
1134
+ },
1135
+ required: ['target', 'effectivePolicy', 'plan'],
1136
+ additionalProperties: false,
1137
+ };
1138
+ export const EDITOR_AGENT_BRIDGE_SHADOW_POLICY_SET_INPUT_SCHEMA = {
1139
+ type: 'object',
1140
+ properties: {
1141
+ ...EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA_PROPERTIES,
1142
+ policy: EDITOR_AGENT_BRIDGE_SHADOW_SETTINGS_SCHEMA,
1143
+ },
1144
+ required: ['policy'],
1145
+ additionalProperties: false,
1146
+ };
1147
+ export const EDITOR_AGENT_BRIDGE_SHADOW_POLICY_SET_OUTPUT_SCHEMA = {
1148
+ type: 'object',
1149
+ properties: {
1150
+ target: EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA,
1151
+ changed: { type: 'boolean' },
1152
+ policy: EDITOR_AGENT_BRIDGE_SHADOW_SETTINGS_SCHEMA,
1153
+ effectivePolicy: EDITOR_AGENT_BRIDGE_SHADOW_SETTINGS_SCHEMA,
1154
+ plan: EDITOR_AGENT_BRIDGE_SHADOW_PLAN_SCHEMA,
1155
+ diagnostics: {
1156
+ type: 'array',
1157
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1158
+ },
1159
+ },
1160
+ required: ['target', 'changed', 'effectivePolicy', 'plan'],
1161
+ additionalProperties: false,
1162
+ };
1163
+ export const EDITOR_AGENT_BRIDGE_SHADOW_RECEIVERS_LIST_INPUT_SCHEMA = {
1164
+ type: 'object',
1165
+ properties: {
1166
+ objectId: { type: 'string' },
1167
+ nodeId: { type: 'string' },
1168
+ includeAuto: { type: 'boolean' },
1169
+ },
1170
+ additionalProperties: false,
1171
+ };
1172
+ export const EDITOR_AGENT_BRIDGE_SHADOW_RECEIVERS_LIST_OUTPUT_SCHEMA = {
1173
+ type: 'object',
1174
+ properties: {
1175
+ receivers: {
1176
+ type: 'array',
1177
+ items: EDITOR_AGENT_BRIDGE_SHADOW_RECEIVER_CANDIDATE_SCHEMA,
1178
+ },
1179
+ diagnostics: {
1180
+ type: 'array',
1181
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1182
+ },
1183
+ },
1184
+ required: ['receivers'],
1185
+ additionalProperties: false,
1186
+ };
1187
+ export const EDITOR_AGENT_BRIDGE_SHADOW_RESOLVE_PREVIEW_INPUT_SCHEMA = {
1188
+ type: 'object',
1189
+ properties: {
1190
+ ...EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA_PROPERTIES,
1191
+ policy: EDITOR_AGENT_BRIDGE_SHADOW_SETTINGS_SCHEMA,
1192
+ receiverIds: {
1193
+ type: 'array',
1194
+ items: { type: 'string' },
1195
+ },
1196
+ },
1197
+ additionalProperties: false,
1198
+ };
1199
+ export const EDITOR_AGENT_BRIDGE_SHADOW_RESOLVE_PREVIEW_OUTPUT_SCHEMA = {
1200
+ type: 'object',
1201
+ properties: {
1202
+ target: EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA,
1203
+ plan: EDITOR_AGENT_BRIDGE_SHADOW_PLAN_SCHEMA,
1204
+ caster: EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_SUMMARY_SCHEMA,
1205
+ light: EDITOR_AGENT_BRIDGE_SHADOW_LIGHT_SUMMARY_SCHEMA,
1206
+ footprint: EDITOR_AGENT_BRIDGE_SHADOW_FOOTPRINT_SCHEMA,
1207
+ receivers: {
1208
+ type: 'array',
1209
+ items: EDITOR_AGENT_BRIDGE_SHADOW_RECEIVER_CANDIDATE_SCHEMA,
1210
+ },
1211
+ diagnostics: {
1212
+ type: 'array',
1213
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1214
+ },
1215
+ },
1216
+ required: ['target', 'plan'],
1217
+ additionalProperties: false,
1218
+ };
1219
+ export const EDITOR_AGENT_BRIDGE_SHADOW_STATIC_BAKE_INPUT_SCHEMA = {
1220
+ type: 'object',
1221
+ properties: {
1222
+ ...EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA_PROPERTIES,
1223
+ receiverIds: {
1224
+ type: 'array',
1225
+ items: { type: 'string' },
1226
+ },
1227
+ quality: EDITOR_AGENT_BRIDGE_SHADOW_QUALITY_SCHEMA,
1228
+ force: { type: 'boolean' },
1229
+ },
1230
+ additionalProperties: false,
1231
+ };
1232
+ export const EDITOR_AGENT_BRIDGE_SHADOW_STATIC_BAKE_OUTPUT_SCHEMA = {
1233
+ type: 'object',
1234
+ properties: {
1235
+ target: EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA,
1236
+ baked: { type: 'boolean' },
1237
+ plan: EDITOR_AGENT_BRIDGE_SHADOW_PLAN_SCHEMA,
1238
+ artifactId: { type: 'string' },
1239
+ stale: { type: 'boolean' },
1240
+ diagnostics: {
1241
+ type: 'array',
1242
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1243
+ },
1244
+ },
1245
+ required: ['target', 'baked', 'plan', 'stale'],
1246
+ additionalProperties: false,
1247
+ };
1248
+ export const EDITOR_AGENT_BRIDGE_SHADOW_STATIC_INVALIDATE_INPUT_SCHEMA = {
1249
+ type: 'object',
1250
+ properties: EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA_PROPERTIES,
1251
+ additionalProperties: false,
1252
+ };
1253
+ export const EDITOR_AGENT_BRIDGE_SHADOW_STATIC_INVALIDATE_OUTPUT_SCHEMA = {
1254
+ type: 'object',
1255
+ properties: {
1256
+ target: EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA,
1257
+ invalidated: { type: 'boolean' },
1258
+ stale: { type: 'boolean' },
1259
+ diagnostics: {
1260
+ type: 'array',
1261
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1262
+ },
1263
+ },
1264
+ required: ['target', 'invalidated', 'stale'],
1265
+ additionalProperties: false,
1266
+ };
1267
+ export const EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_INSPECT_INPUT_SCHEMA = {
1268
+ type: 'object',
1269
+ properties: EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA_PROPERTIES,
1270
+ additionalProperties: false,
1271
+ };
1272
+ export const EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_INSPECT_OUTPUT_SCHEMA = {
1273
+ type: 'object',
1274
+ properties: {
1275
+ target: EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA,
1276
+ caster: EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_SUMMARY_SCHEMA,
1277
+ policy: EDITOR_AGENT_BRIDGE_SHADOW_SETTINGS_SCHEMA,
1278
+ effectivePolicy: EDITOR_AGENT_BRIDGE_SHADOW_SETTINGS_SCHEMA,
1279
+ plan: EDITOR_AGENT_BRIDGE_SHADOW_PLAN_SCHEMA,
1280
+ light: EDITOR_AGENT_BRIDGE_SHADOW_LIGHT_SUMMARY_SCHEMA,
1281
+ receivers: {
1282
+ type: 'array',
1283
+ items: EDITOR_AGENT_BRIDGE_SHADOW_RECEIVER_CANDIDATE_SCHEMA,
1284
+ },
1285
+ footprint: EDITOR_AGENT_BRIDGE_SHADOW_FOOTPRINT_SCHEMA,
1286
+ runtimeEvidence: EDITOR_AGENT_BRIDGE_SHADOW_RUNTIME_EVIDENCE_SCHEMA,
1287
+ diagnostics: {
1288
+ type: 'array',
1289
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1290
+ },
1291
+ },
1292
+ required: ['target', 'plan', 'receivers', 'footprint', 'runtimeEvidence'],
1293
+ additionalProperties: false,
1294
+ };
1295
+ export const EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_OVERLAY_SET_INPUT_SCHEMA = {
1296
+ type: 'object',
1297
+ properties: {
1298
+ ...EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA_PROPERTIES,
1299
+ showCasterBounds: { type: 'boolean' },
1300
+ showReceiverBounds: { type: 'boolean' },
1301
+ showLightDirection: { type: 'boolean' },
1302
+ showFootprint: { type: 'boolean' },
1303
+ showArtifactBounds: { type: 'boolean' },
1304
+ receiverIds: {
1305
+ type: 'array',
1306
+ items: { type: 'string' },
1307
+ },
1308
+ },
1309
+ additionalProperties: false,
1310
+ };
1311
+ export const EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_OVERLAY_SET_OUTPUT_SCHEMA = {
1312
+ type: 'object',
1313
+ properties: {
1314
+ enabled: { type: 'boolean' },
1315
+ target: EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA,
1316
+ overlayIds: {
1317
+ type: 'array',
1318
+ items: { type: 'string' },
1319
+ },
1320
+ diagnostics: {
1321
+ type: 'array',
1322
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1323
+ },
1324
+ },
1325
+ required: ['enabled', 'overlayIds'],
1326
+ additionalProperties: false,
1327
+ };
1328
+ export const EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_OVERLAY_CLEAR_INPUT_SCHEMA = {
1329
+ type: 'object',
1330
+ properties: {},
1331
+ additionalProperties: false,
1332
+ };
1333
+ export const EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_OVERLAY_CLEAR_OUTPUT_SCHEMA = {
1334
+ type: 'object',
1335
+ properties: {
1336
+ cleared: { type: 'boolean' },
1337
+ diagnostics: {
1338
+ type: 'array',
1339
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1340
+ },
1341
+ },
1342
+ required: ['cleared'],
1343
+ additionalProperties: false,
1344
+ };
1345
+ export const EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_VISIBILITY_MEASURE_INPUT_SCHEMA = {
1346
+ type: 'object',
1347
+ properties: {
1348
+ ...EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA_PROPERTIES,
1349
+ receiverIds: {
1350
+ type: 'array',
1351
+ items: { type: 'string' },
1352
+ },
1353
+ },
1354
+ additionalProperties: false,
1355
+ };
1356
+ export const EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_VISIBILITY_MEASURE_OUTPUT_SCHEMA = {
1357
+ type: 'object',
1358
+ properties: {
1359
+ target: EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA,
1360
+ visible: { type: 'boolean' },
1361
+ visibleScore: { type: 'number', minimum: 0, maximum: 1 },
1362
+ coverage: { type: 'number', minimum: 0, maximum: 1 },
1363
+ contrastDelta: { type: 'number' },
1364
+ renderableShadowPrimitiveCount: { type: 'number' },
1365
+ measurementKind: { type: 'string', enum: ['pixel-readback', 'structural'] },
1366
+ diagnostics: {
1367
+ type: 'array',
1368
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1369
+ },
1370
+ },
1371
+ required: ['target', 'visible', 'visibleScore', 'coverage', 'renderableShadowPrimitiveCount', 'measurementKind'],
1372
+ additionalProperties: false,
1373
+ };
1374
+ export const EDITOR_AGENT_BRIDGE_TRANSFORM_MOVE_INPUT_SCHEMA = {
1375
+ type: 'object',
1376
+ properties: {
1377
+ objectId: { type: 'string' },
1378
+ position: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
1379
+ offset: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
1380
+ },
1381
+ required: ['objectId'],
1382
+ oneOf: [
1383
+ { required: ['position'], not: { required: ['offset'] } },
1384
+ { required: ['offset'], not: { required: ['position'] } },
1385
+ ],
1386
+ additionalProperties: false,
1387
+ };
1388
+ export const EDITOR_AGENT_BRIDGE_TRANSFORM_MOVE_OUTPUT_SCHEMA = {
1389
+ type: 'object',
1390
+ properties: {
1391
+ objectId: { type: 'string' },
1392
+ before: EDITOR_AGENT_BRIDGE_TRANSFORM_SCHEMA,
1393
+ after: EDITOR_AGENT_BRIDGE_TRANSFORM_SCHEMA,
1394
+ selection: EDITOR_AGENT_BRIDGE_SELECTION_STATE_SCHEMA,
1395
+ },
1396
+ required: ['objectId', 'before', 'after', 'selection'],
1397
+ additionalProperties: false,
1398
+ };
1399
+ export const EDITOR_AGENT_BRIDGE_TRANSFORM_SET_INPUT_SCHEMA = {
1400
+ type: 'object',
1401
+ properties: {
1402
+ objectId: { type: 'string' },
1403
+ position: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
1404
+ rotation: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
1405
+ scale: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
1406
+ },
1407
+ required: ['objectId'],
1408
+ anyOf: [
1409
+ { required: ['position'] },
1410
+ { required: ['rotation'] },
1411
+ { required: ['scale'] },
1412
+ ],
1413
+ additionalProperties: false,
1414
+ };
1415
+ export const EDITOR_AGENT_BRIDGE_VIEWPORT_FOCUS_OBJECT_INPUT_SCHEMA = {
1416
+ type: 'object',
1417
+ properties: {
1418
+ objectId: { type: 'string' },
1419
+ },
1420
+ required: ['objectId'],
1421
+ additionalProperties: false,
1422
+ };
1423
+ export const EDITOR_AGENT_BRIDGE_VIEWPORT_FOCUS_OBJECT_OUTPUT_SCHEMA = {
1424
+ type: 'object',
1425
+ properties: {
1426
+ objectId: { type: 'string' },
1427
+ focused: { type: 'boolean' },
1428
+ },
1429
+ required: ['objectId', 'focused'],
1430
+ additionalProperties: false,
1431
+ };
1432
+ export const EDITOR_AGENT_BRIDGE_VIEWPORT_FRAME_SELECTION_INPUT_SCHEMA = {
1433
+ type: 'object',
1434
+ properties: {},
1435
+ additionalProperties: false,
1436
+ };
1437
+ export const EDITOR_AGENT_BRIDGE_VIEWPORT_FRAME_SELECTION_OUTPUT_SCHEMA = {
1438
+ type: 'object',
1439
+ properties: {
1440
+ focused: { type: 'boolean' },
1441
+ selection: EDITOR_AGENT_BRIDGE_SELECTION_STATE_SCHEMA,
1442
+ },
1443
+ required: ['focused', 'selection'],
1444
+ additionalProperties: false,
1445
+ };
1446
+ export const EDITOR_AGENT_BRIDGE_VIEWPORT_CAMERA_PRESET_SCHEMA = {
1447
+ type: 'string',
1448
+ enum: ['perspective', 'top', 'bottom', 'front', 'back', 'left', 'right', 'iso', 'threeQuarterTop'],
1449
+ };
1450
+ export const EDITOR_AGENT_BRIDGE_VIEWPORT_CAMERA_TARGET_SCHEMA = {
1451
+ oneOf: [
1452
+ {
1453
+ type: 'object',
1454
+ properties: {
1455
+ kind: { type: 'string', enum: ['selection'] },
1456
+ },
1457
+ required: ['kind'],
1458
+ additionalProperties: false,
1459
+ },
1460
+ {
1461
+ type: 'object',
1462
+ properties: {
1463
+ kind: { type: 'string', enum: ['scene'] },
1464
+ },
1465
+ required: ['kind'],
1466
+ additionalProperties: false,
1467
+ },
1468
+ {
1469
+ type: 'object',
1470
+ properties: {
1471
+ kind: { type: 'string', enum: ['object'] },
1472
+ objectId: { type: 'string' },
1473
+ },
1474
+ required: ['kind', 'objectId'],
1475
+ additionalProperties: false,
1476
+ },
1477
+ {
1478
+ type: 'object',
1479
+ properties: {
1480
+ kind: { type: 'string', enum: ['point'] },
1481
+ point: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
1482
+ },
1483
+ required: ['kind', 'point'],
1484
+ additionalProperties: false,
1485
+ },
1486
+ ],
1487
+ };
1488
+ export const EDITOR_AGENT_BRIDGE_VIEWPORT_CAMERA_STATE_SCHEMA = {
1489
+ type: 'object',
1490
+ properties: {
1491
+ viewPreset: EDITOR_AGENT_BRIDGE_VIEWPORT_CAMERA_PRESET_SCHEMA,
1492
+ projectionMode: { type: 'string', enum: ['perspective', 'orthographic'] },
1493
+ target: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
1494
+ position: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
1495
+ alpha: { type: 'number' },
1496
+ beta: { type: 'number' },
1497
+ radius: { type: 'number' },
1498
+ selection: EDITOR_AGENT_BRIDGE_SELECTION_STATE_SCHEMA,
1499
+ },
1500
+ required: ['viewPreset', 'projectionMode', 'selection'],
1501
+ additionalProperties: false,
1502
+ };
1503
+ export const EDITOR_AGENT_BRIDGE_VIEWPORT_CAMERA_GET_INPUT_SCHEMA = {
1504
+ type: 'object',
1505
+ properties: {},
1506
+ additionalProperties: false,
1507
+ };
1508
+ export const EDITOR_AGENT_BRIDGE_VIEWPORT_CAMERA_SET_PRESET_INPUT_SCHEMA = {
1509
+ type: 'object',
1510
+ properties: {
1511
+ preset: EDITOR_AGENT_BRIDGE_VIEWPORT_CAMERA_PRESET_SCHEMA,
1512
+ target: EDITOR_AGENT_BRIDGE_VIEWPORT_CAMERA_TARGET_SCHEMA,
1513
+ radius: { type: 'number', exclusiveMinimum: 0 },
1514
+ distanceScale: { type: 'number', exclusiveMinimum: 0 },
1515
+ },
1516
+ required: ['preset'],
1517
+ additionalProperties: false,
1518
+ };
1519
+ export const EDITOR_AGENT_BRIDGE_VIEWPORT_CAMERA_SET_PRESET_OUTPUT_SCHEMA = {
1520
+ type: 'object',
1521
+ properties: {
1522
+ changed: { type: 'boolean' },
1523
+ viewPreset: EDITOR_AGENT_BRIDGE_VIEWPORT_CAMERA_PRESET_SCHEMA,
1524
+ projectionMode: { type: 'string', enum: ['perspective', 'orthographic'] },
1525
+ target: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
1526
+ radius: { type: 'number' },
1527
+ selection: EDITOR_AGENT_BRIDGE_SELECTION_STATE_SCHEMA,
1528
+ },
1529
+ required: ['changed', 'viewPreset', 'projectionMode', 'selection'],
1530
+ additionalProperties: false,
1531
+ };
1532
+ export const EDITOR_AGENT_BRIDGE_VIEWPORT_CAMERA_ORBIT_INPUT_SCHEMA = {
1533
+ type: 'object',
1534
+ properties: {
1535
+ target: EDITOR_AGENT_BRIDGE_VIEWPORT_CAMERA_TARGET_SCHEMA,
1536
+ yawDeltaDeg: { type: 'number' },
1537
+ pitchDeltaDeg: { type: 'number' },
1538
+ distanceScale: { type: 'number', exclusiveMinimum: 0 },
1539
+ },
1540
+ additionalProperties: false,
1541
+ };
1542
+ export const EDITOR_AGENT_BRIDGE_VIEWPORT_VISIBILITY_ENTRY_SCHEMA = {
1543
+ type: 'object',
1544
+ properties: {
1545
+ objectId: { type: 'string' },
1546
+ authoredVisible: { type: 'boolean' },
1547
+ previewVisible: { type: 'boolean' },
1548
+ overrideVisible: { type: 'boolean' },
1549
+ isolated: { type: 'boolean' },
1550
+ diagnostics: {
1551
+ type: 'array',
1552
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1553
+ },
1554
+ },
1555
+ required: ['objectId', 'authoredVisible', 'previewVisible', 'isolated'],
1556
+ additionalProperties: false,
1557
+ };
1558
+ export const EDITOR_AGENT_BRIDGE_VIEWPORT_VISIBILITY_SNAPSHOT_INPUT_SCHEMA = {
1559
+ type: 'object',
1560
+ properties: {},
1561
+ additionalProperties: false,
1562
+ };
1563
+ export const EDITOR_AGENT_BRIDGE_VIEWPORT_VISIBILITY_SNAPSHOT_OUTPUT_SCHEMA = {
1564
+ type: 'object',
1565
+ properties: {
1566
+ isolated: { type: 'boolean' },
1567
+ isolatedObjectIds: {
1568
+ type: 'array',
1569
+ items: { type: 'string' },
1570
+ },
1571
+ entries: {
1572
+ type: 'array',
1573
+ items: EDITOR_AGENT_BRIDGE_VIEWPORT_VISIBILITY_ENTRY_SCHEMA,
1574
+ },
1575
+ reason: { type: 'string' },
1576
+ diagnostics: {
1577
+ type: 'array',
1578
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1579
+ },
1580
+ },
1581
+ required: ['isolated', 'isolatedObjectIds', 'entries'],
1582
+ additionalProperties: false,
1583
+ };
1584
+ export const EDITOR_AGENT_BRIDGE_VIEWPORT_VISIBILITY_SET_INPUT_SCHEMA = {
1585
+ type: 'object',
1586
+ properties: {
1587
+ objectIds: {
1588
+ type: 'array',
1589
+ items: { type: 'string' },
1590
+ minItems: 1,
1591
+ },
1592
+ visible: { type: 'boolean' },
1593
+ reason: { type: 'string' },
1594
+ },
1595
+ required: ['objectIds', 'visible'],
1596
+ additionalProperties: false,
1597
+ };
1598
+ export const EDITOR_AGENT_BRIDGE_VIEWPORT_VISIBILITY_MUTATION_OUTPUT_SCHEMA = {
1599
+ type: 'object',
1600
+ properties: {
1601
+ changed: { type: 'boolean' },
1602
+ snapshot: EDITOR_AGENT_BRIDGE_VIEWPORT_VISIBILITY_SNAPSHOT_OUTPUT_SCHEMA,
1603
+ diagnostics: {
1604
+ type: 'array',
1605
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1606
+ },
1607
+ },
1608
+ required: ['changed', 'snapshot'],
1609
+ additionalProperties: false,
1610
+ };
1611
+ export const EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_CONTEXT_ENTER_INPUT_SCHEMA = {
1612
+ type: 'object',
1613
+ properties: {
1614
+ ...EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA_PROPERTIES,
1615
+ receiverIds: {
1616
+ type: 'array',
1617
+ items: { type: 'string' },
1618
+ },
1619
+ includeAmbientLights: { type: 'boolean' },
1620
+ showOverlay: { type: 'boolean' },
1621
+ reason: { type: 'string' },
1622
+ },
1623
+ additionalProperties: false,
1624
+ };
1625
+ export const EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_CONTEXT_ENTER_OUTPUT_SCHEMA = {
1626
+ type: 'object',
1627
+ properties: {
1628
+ entered: { type: 'boolean' },
1629
+ target: EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA,
1630
+ keptObjectIds: {
1631
+ type: 'array',
1632
+ items: { type: 'string' },
1633
+ },
1634
+ hiddenObjectIds: {
1635
+ type: 'array',
1636
+ items: { type: 'string' },
1637
+ },
1638
+ protectedReceiverIds: {
1639
+ type: 'array',
1640
+ items: { type: 'string' },
1641
+ },
1642
+ lightIds: {
1643
+ type: 'array',
1644
+ items: { type: 'string' },
1645
+ },
1646
+ ambientLightIds: {
1647
+ type: 'array',
1648
+ items: { type: 'string' },
1649
+ },
1650
+ overlayIds: {
1651
+ type: 'array',
1652
+ items: { type: 'string' },
1653
+ },
1654
+ snapshot: EDITOR_AGENT_BRIDGE_VIEWPORT_VISIBILITY_SNAPSHOT_OUTPUT_SCHEMA,
1655
+ inspect: EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_INSPECT_OUTPUT_SCHEMA,
1656
+ visibilityMeasure: EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_VISIBILITY_MEASURE_OUTPUT_SCHEMA,
1657
+ diagnostics: {
1658
+ type: 'array',
1659
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1660
+ },
1661
+ },
1662
+ required: ['entered', 'target', 'keptObjectIds', 'hiddenObjectIds', 'protectedReceiverIds', 'lightIds', 'ambientLightIds', 'overlayIds', 'snapshot', 'inspect', 'visibilityMeasure'],
1663
+ additionalProperties: false,
1664
+ };
1665
+ export const EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_CONTEXT_CLEAR_INPUT_SCHEMA = {
1666
+ type: 'object',
1667
+ properties: {},
1668
+ additionalProperties: false,
1669
+ };
1670
+ export const EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_CONTEXT_CLEAR_OUTPUT_SCHEMA = {
1671
+ type: 'object',
1672
+ properties: {
1673
+ cleared: { type: 'boolean' },
1674
+ overlayCleared: { type: 'boolean' },
1675
+ visibilityCleared: { type: 'boolean' },
1676
+ diagnostics: {
1677
+ type: 'array',
1678
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1679
+ },
1680
+ },
1681
+ required: ['cleared', 'overlayCleared', 'visibilityCleared'],
1682
+ additionalProperties: false,
1683
+ };
1684
+ export const EDITOR_AGENT_BRIDGE_VIEWPORT_VISIBILITY_CLEAR_INPUT_SCHEMA = {
1685
+ type: 'object',
1686
+ properties: {},
1687
+ additionalProperties: false,
1688
+ };
1689
+ export const EDITOR_AGENT_BRIDGE_VIEWPORT_ISOLATION_ENTER_INPUT_SCHEMA = {
1690
+ type: 'object',
1691
+ properties: {
1692
+ objectIds: {
1693
+ type: 'array',
1694
+ items: { type: 'string' },
1695
+ minItems: 1,
1696
+ },
1697
+ includeShadowDependencies: { type: 'boolean' },
1698
+ shadowTarget: EDITOR_AGENT_BRIDGE_SHADOW_TARGET_SCHEMA,
1699
+ reason: { type: 'string' },
1700
+ },
1701
+ required: ['objectIds'],
1702
+ additionalProperties: false,
1703
+ };
1704
+ export const EDITOR_AGENT_BRIDGE_EDITOR_STATE_GET_INPUT_SCHEMA = {
1705
+ type: 'object',
1706
+ properties: {
1707
+ objectId: { type: 'string' },
1708
+ },
1709
+ additionalProperties: false,
1710
+ };
1711
+ export const EDITOR_AGENT_BRIDGE_UI_REGIONS_GET_INPUT_SCHEMA = {
1712
+ type: 'object',
1713
+ properties: {},
1714
+ additionalProperties: false,
1715
+ };
1716
+ export const EDITOR_AGENT_BRIDGE_UI_REGION_SCHEMA = {
1717
+ type: 'object',
1718
+ properties: {
1719
+ id: { type: 'string' },
1720
+ label: { type: 'string' },
1721
+ location: { type: 'string' },
1722
+ purpose: { type: 'string' },
1723
+ primaryCapabilities: {
1724
+ type: 'array',
1725
+ items: { type: 'string' },
1726
+ },
1727
+ fallbackTools: {
1728
+ type: 'array',
1729
+ items: { type: 'string' },
1730
+ },
1731
+ notes: {
1732
+ type: 'array',
1733
+ items: { type: 'string' },
1734
+ },
1735
+ },
1736
+ required: ['id', 'label', 'location', 'purpose', 'primaryCapabilities'],
1737
+ additionalProperties: false,
1738
+ };
1739
+ export const EDITOR_AGENT_BRIDGE_UI_REGIONS_SCHEMA = {
1740
+ type: 'object',
1741
+ properties: {
1742
+ mode: { type: 'string' },
1743
+ editorReady: { type: 'boolean' },
1744
+ sessionActive: { type: 'boolean' },
1745
+ regions: {
1746
+ type: 'array',
1747
+ items: EDITOR_AGENT_BRIDGE_UI_REGION_SCHEMA,
1748
+ },
1749
+ recommendedOperationOrder: {
1750
+ type: 'array',
1751
+ items: { type: 'string' },
1752
+ },
1753
+ l0FallbackRules: {
1754
+ type: 'array',
1755
+ items: { type: 'string' },
1756
+ },
1757
+ },
1758
+ required: ['mode', 'editorReady', 'sessionActive', 'regions', 'recommendedOperationOrder', 'l0FallbackRules'],
1759
+ additionalProperties: false,
1760
+ };
1761
+ export const EDITOR_AGENT_BRIDGE_EDITOR_SNAPSHOT_GET_INPUT_SCHEMA = {
1762
+ type: 'object',
1763
+ properties: {
1764
+ includeObjects: { type: 'boolean' },
1765
+ includeUnselectable: { type: 'boolean' },
1766
+ objectLimit: {
1767
+ type: 'number',
1768
+ minimum: 0,
1769
+ maximum: 500,
1770
+ },
1771
+ },
1772
+ additionalProperties: false,
1773
+ };
1774
+ export const EDITOR_AGENT_BRIDGE_HOST_MODE_GET_INPUT_SCHEMA = {
1775
+ type: 'object',
1776
+ properties: {},
1777
+ additionalProperties: false,
1778
+ };
1779
+ export const EDITOR_AGENT_BRIDGE_HOST_STATUS_SCHEMA_PROPERTIES = {
1780
+ mode: { type: 'string' },
1781
+ editorReady: { type: 'boolean' },
1782
+ busy: { type: 'boolean' },
1783
+ status: { type: 'string' },
1784
+ statusTone: { type: 'string' },
1785
+ statusDetails: { type: 'string' },
1786
+ sessionActive: { type: 'boolean' },
1787
+ };
1788
+ export const EDITOR_AGENT_BRIDGE_HOST_STATUS_SCHEMA_REQUIRED = [
1789
+ 'mode',
1790
+ 'editorReady',
1791
+ 'busy',
1792
+ 'status',
1793
+ 'sessionActive',
1794
+ ];
1795
+ export const EDITOR_AGENT_BRIDGE_HOST_STATUS_SCHEMA = {
1796
+ type: 'object',
1797
+ properties: EDITOR_AGENT_BRIDGE_HOST_STATUS_SCHEMA_PROPERTIES,
1798
+ required: [...EDITOR_AGENT_BRIDGE_HOST_STATUS_SCHEMA_REQUIRED],
1799
+ additionalProperties: false,
1800
+ };
1801
+ export const EDITOR_AGENT_BRIDGE_HOST_EDITOR_ENTER_INPUT_SCHEMA = {
1802
+ type: 'object',
1803
+ properties: {
1804
+ timeoutMs: {
1805
+ type: 'number',
1806
+ minimum: 0,
1807
+ maximum: 60000,
1808
+ },
1809
+ },
1810
+ additionalProperties: false,
1811
+ };
1812
+ export const EDITOR_AGENT_BRIDGE_HOST_EDITOR_ENTER_OUTPUT_SCHEMA = {
1813
+ type: 'object',
1814
+ properties: {
1815
+ ...EDITOR_AGENT_BRIDGE_HOST_STATUS_SCHEMA_PROPERTIES,
1816
+ entered: { type: 'boolean' },
1817
+ alreadyEditor: { type: 'boolean' },
1818
+ },
1819
+ required: [
1820
+ ...EDITOR_AGENT_BRIDGE_HOST_STATUS_SCHEMA_REQUIRED,
1821
+ 'entered',
1822
+ 'alreadyEditor',
1823
+ ],
1824
+ additionalProperties: false,
1825
+ };
1826
+ export const EDITOR_AGENT_BRIDGE_HOST_EDITOR_WAIT_READY_INPUT_SCHEMA = {
1827
+ type: 'object',
1828
+ properties: {
1829
+ timeoutMs: {
1830
+ type: 'number',
1831
+ minimum: 0,
1832
+ maximum: 60000,
1833
+ },
1834
+ pollIntervalMs: {
1835
+ type: 'number',
1836
+ minimum: 1,
1837
+ maximum: 1000,
1838
+ },
1839
+ },
1840
+ additionalProperties: false,
1841
+ };
1842
+ export const EDITOR_AGENT_BRIDGE_OBJECT_CREATE_PRIMITIVE_INPUT_SCHEMA = {
1843
+ type: 'object',
1844
+ properties: {
1845
+ shape: { type: 'string', enum: ['cube', 'sphere', 'plane', 'capsule'] },
1846
+ name: { type: 'string' },
1847
+ parentId: {
1848
+ anyOf: [{ type: 'string' }, { type: 'null' }],
1849
+ },
1850
+ activeId: {
1851
+ anyOf: [{ type: 'string' }, { type: 'null' }],
1852
+ },
1853
+ },
1854
+ required: ['shape'],
1855
+ additionalProperties: false,
1856
+ };
1857
+ export const EDITOR_AGENT_BRIDGE_OBJECT_CREATE_PRIMITIVE_OUTPUT_SCHEMA = {
1858
+ type: 'object',
1859
+ properties: {
1860
+ createdId: { type: 'string' },
1861
+ object: EDITOR_AGENT_BRIDGE_SCENE_OBJECT_SCHEMA,
1862
+ selection: EDITOR_AGENT_BRIDGE_SELECTION_STATE_SCHEMA,
1863
+ },
1864
+ required: ['createdId', 'selection'],
1865
+ additionalProperties: false,
1866
+ };
1867
+ export const EDITOR_AGENT_BRIDGE_OBJECT_CREATE_FROM_ASSET_INPUT_SCHEMA = {
1868
+ type: 'object',
1869
+ properties: {
1870
+ assetId: { type: 'string' },
1871
+ name: { type: 'string' },
1872
+ position: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
1873
+ rotation: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
1874
+ scale: EDITOR_AGENT_BRIDGE_VEC3_SCHEMA,
1875
+ select: { type: 'boolean' },
1876
+ focus: { type: 'boolean' },
1877
+ },
1878
+ required: ['assetId'],
1879
+ additionalProperties: false,
1880
+ };
1881
+ export const EDITOR_AGENT_BRIDGE_OBJECT_CREATE_FROM_ASSET_OUTPUT_SCHEMA = {
1882
+ type: 'object',
1883
+ properties: {
1884
+ assetId: { type: 'string' },
1885
+ createdId: { type: 'string' },
1886
+ object: EDITOR_AGENT_BRIDGE_SCENE_OBJECT_SCHEMA,
1887
+ selection: EDITOR_AGENT_BRIDGE_SELECTION_STATE_SCHEMA,
1888
+ focused: { type: 'boolean' },
1889
+ status: { type: 'string' },
1890
+ },
1891
+ required: ['assetId', 'createdId', 'selection', 'status'],
1892
+ additionalProperties: false,
1893
+ };
1894
+ export const EDITOR_AGENT_BRIDGE_OBJECT_DELETE_INPUT_SCHEMA = {
1895
+ type: 'object',
1896
+ properties: {
1897
+ objectId: { type: 'string' },
1898
+ objectIds: {
1899
+ type: 'array',
1900
+ items: { type: 'string' },
1901
+ },
1902
+ activeId: {
1903
+ anyOf: [{ type: 'string' }, { type: 'null' }],
1904
+ },
1905
+ },
1906
+ oneOf: [
1907
+ { required: ['objectId'], not: { required: ['objectIds'] } },
1908
+ { required: ['objectIds'], not: { required: ['objectId'] } },
1909
+ ],
1910
+ additionalProperties: false,
1911
+ };
1912
+ export const EDITOR_AGENT_BRIDGE_OBJECT_DELETE_OUTPUT_SCHEMA = {
1913
+ type: 'object',
1914
+ properties: {
1915
+ deletedIds: {
1916
+ type: 'array',
1917
+ items: { type: 'string' },
1918
+ },
1919
+ fallbackSelectionId: {
1920
+ anyOf: [{ type: 'string' }, { type: 'null' }],
1921
+ },
1922
+ selection: EDITOR_AGENT_BRIDGE_SELECTION_STATE_SCHEMA,
1923
+ },
1924
+ required: ['deletedIds', 'selection'],
1925
+ additionalProperties: false,
1926
+ };
1927
+ export const EDITOR_AGENT_BRIDGE_EDITOR_STATE_SCHEMA = {
1928
+ type: 'object',
1929
+ properties: {
1930
+ mode: { type: 'string' },
1931
+ status: { type: 'string' },
1932
+ statusTone: { type: 'string' },
1933
+ statusDetails: { type: 'string' },
1934
+ dirty: { type: 'boolean' },
1935
+ busy: { type: 'boolean' },
1936
+ selection: EDITOR_AGENT_BRIDGE_SELECTION_STATE_SCHEMA,
1937
+ object: {
1938
+ anyOf: [EDITOR_AGENT_BRIDGE_SCENE_OBJECT_SCHEMA, { type: 'null' }],
1939
+ },
1940
+ diagnostics: {
1941
+ type: 'array',
1942
+ items: EDITOR_AGENT_BRIDGE_DIAGNOSTIC_SCHEMA,
1943
+ },
1944
+ },
1945
+ required: ['mode', 'status', 'selection'],
1946
+ additionalProperties: false,
1947
+ };
1948
+ export const EDITOR_AGENT_BRIDGE_EDITOR_SNAPSHOT_SCHEMA = {
1949
+ type: 'object',
1950
+ properties: {
1951
+ mode: { type: 'string' },
1952
+ busy: { type: 'boolean' },
1953
+ dirty: { type: 'boolean' },
1954
+ status: { type: 'string' },
1955
+ statusTone: { type: 'string' },
1956
+ selection: EDITOR_AGENT_BRIDGE_SELECTION_STATE_SCHEMA,
1957
+ objectCount: { type: 'number' },
1958
+ objects: {
1959
+ type: 'array',
1960
+ items: EDITOR_AGENT_BRIDGE_SCENE_OBJECT_SCHEMA,
1961
+ },
1962
+ },
1963
+ required: ['mode', 'busy', 'dirty', 'status', 'selection', 'objectCount'],
1964
+ additionalProperties: false,
1965
+ };
1966
+ export const EDITOR_AGENT_BRIDGE_CAPABILITY_SCHEMAS = {
1967
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.ASSET_ANALYSIS_GET]: {
1968
+ inputSchema: EDITOR_AGENT_BRIDGE_ASSET_ANALYSIS_GET_INPUT_SCHEMA,
1969
+ outputSchema: EDITOR_AGENT_BRIDGE_ASSET_ANALYSIS_GET_OUTPUT_SCHEMA,
1970
+ },
1971
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.ASSET_INFO_GET]: {
1972
+ inputSchema: EDITOR_AGENT_BRIDGE_ASSET_INFO_GET_INPUT_SCHEMA,
1973
+ outputSchema: EDITOR_AGENT_BRIDGE_ASSET_INFO_GET_OUTPUT_SCHEMA,
1974
+ },
1975
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.ASSET_LIBRARY_LIST]: {
1976
+ inputSchema: EDITOR_AGENT_BRIDGE_ASSET_LIBRARY_LIST_INPUT_SCHEMA,
1977
+ outputSchema: EDITOR_AGENT_BRIDGE_ASSET_LIBRARY_LIST_OUTPUT_SCHEMA,
1978
+ },
1979
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.EDITOR_SNAPSHOT_GET]: {
1980
+ inputSchema: EDITOR_AGENT_BRIDGE_EDITOR_SNAPSHOT_GET_INPUT_SCHEMA,
1981
+ outputSchema: EDITOR_AGENT_BRIDGE_EDITOR_SNAPSHOT_SCHEMA,
1982
+ },
1983
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.EDITOR_STATE_GET]: {
1984
+ inputSchema: EDITOR_AGENT_BRIDGE_EDITOR_STATE_GET_INPUT_SCHEMA,
1985
+ outputSchema: EDITOR_AGENT_BRIDGE_EDITOR_STATE_SCHEMA,
1986
+ },
1987
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.EDITOR_UI_REGIONS_GET]: {
1988
+ inputSchema: EDITOR_AGENT_BRIDGE_UI_REGIONS_GET_INPUT_SCHEMA,
1989
+ outputSchema: EDITOR_AGENT_BRIDGE_UI_REGIONS_SCHEMA,
1990
+ },
1991
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.HOST_EDITOR_ENTER]: {
1992
+ inputSchema: EDITOR_AGENT_BRIDGE_HOST_EDITOR_ENTER_INPUT_SCHEMA,
1993
+ outputSchema: EDITOR_AGENT_BRIDGE_HOST_EDITOR_ENTER_OUTPUT_SCHEMA,
1994
+ },
1995
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.HOST_EDITOR_WAIT_READY]: {
1996
+ inputSchema: EDITOR_AGENT_BRIDGE_HOST_EDITOR_WAIT_READY_INPUT_SCHEMA,
1997
+ outputSchema: EDITOR_AGENT_BRIDGE_HOST_STATUS_SCHEMA,
1998
+ },
1999
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.HOST_MODE_GET]: {
2000
+ inputSchema: EDITOR_AGENT_BRIDGE_HOST_MODE_GET_INPUT_SCHEMA,
2001
+ outputSchema: EDITOR_AGENT_BRIDGE_HOST_STATUS_SCHEMA,
2002
+ },
2003
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.OBJECT_CREATE_FROM_ASSET]: {
2004
+ inputSchema: EDITOR_AGENT_BRIDGE_OBJECT_CREATE_FROM_ASSET_INPUT_SCHEMA,
2005
+ outputSchema: EDITOR_AGENT_BRIDGE_OBJECT_CREATE_FROM_ASSET_OUTPUT_SCHEMA,
2006
+ },
2007
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.OBJECT_CREATE_PRIMITIVE]: {
2008
+ inputSchema: EDITOR_AGENT_BRIDGE_OBJECT_CREATE_PRIMITIVE_INPUT_SCHEMA,
2009
+ outputSchema: EDITOR_AGENT_BRIDGE_OBJECT_CREATE_PRIMITIVE_OUTPUT_SCHEMA,
2010
+ },
2011
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.OBJECT_DELETE]: {
2012
+ inputSchema: EDITOR_AGENT_BRIDGE_OBJECT_DELETE_INPUT_SCHEMA,
2013
+ outputSchema: EDITOR_AGENT_BRIDGE_OBJECT_DELETE_OUTPUT_SCHEMA,
2014
+ },
2015
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.OBJECT_RESOLVE]: {
2016
+ inputSchema: EDITOR_AGENT_BRIDGE_OBJECT_RESOLVE_INPUT_SCHEMA,
2017
+ outputSchema: EDITOR_AGENT_BRIDGE_OBJECT_RESOLVE_OUTPUT_SCHEMA,
2018
+ },
2019
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.PREFAB_MATERIAL_SLOTS_LIST]: {
2020
+ inputSchema: EDITOR_AGENT_BRIDGE_PREFAB_MATERIAL_SLOTS_LIST_INPUT_SCHEMA,
2021
+ outputSchema: EDITOR_AGENT_BRIDGE_PREFAB_MATERIAL_SLOTS_LIST_OUTPUT_SCHEMA,
2022
+ },
2023
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.PREFAB_ASSET_RENAME]: {
2024
+ inputSchema: EDITOR_AGENT_BRIDGE_PREFAB_ASSET_RENAME_INPUT_SCHEMA,
2025
+ outputSchema: EDITOR_AGENT_BRIDGE_PREFAB_ASSET_RENAME_OUTPUT_SCHEMA,
2026
+ },
2027
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.PREFAB_NODE_CREATE_FROM_ASSET]: {
2028
+ inputSchema: EDITOR_AGENT_BRIDGE_PREFAB_NODE_CREATE_FROM_ASSET_INPUT_SCHEMA,
2029
+ outputSchema: EDITOR_AGENT_BRIDGE_PREFAB_NODE_MUTATION_OUTPUT_SCHEMA,
2030
+ },
2031
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.PREFAB_NODE_CREATE_GROUP]: {
2032
+ inputSchema: EDITOR_AGENT_BRIDGE_PREFAB_NODE_CREATE_GROUP_INPUT_SCHEMA,
2033
+ outputSchema: EDITOR_AGENT_BRIDGE_PREFAB_NODE_MUTATION_OUTPUT_SCHEMA,
2034
+ },
2035
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.PREFAB_NODE_CREATE_PRIMITIVE]: {
2036
+ inputSchema: EDITOR_AGENT_BRIDGE_PREFAB_NODE_CREATE_PRIMITIVE_INPUT_SCHEMA,
2037
+ outputSchema: EDITOR_AGENT_BRIDGE_PREFAB_NODE_MUTATION_OUTPUT_SCHEMA,
2038
+ },
2039
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.PREFAB_NODE_DELETE]: {
2040
+ inputSchema: EDITOR_AGENT_BRIDGE_PREFAB_NODE_DELETE_INPUT_SCHEMA,
2041
+ outputSchema: EDITOR_AGENT_BRIDGE_PREFAB_NODE_MUTATION_OUTPUT_SCHEMA,
2042
+ },
2043
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.PREFAB_NODE_REPARENT]: {
2044
+ inputSchema: EDITOR_AGENT_BRIDGE_PREFAB_NODE_REPARENT_INPUT_SCHEMA,
2045
+ outputSchema: EDITOR_AGENT_BRIDGE_PREFAB_NODE_MUTATION_OUTPUT_SCHEMA,
2046
+ },
2047
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.PREFAB_NODE_RENAME]: {
2048
+ inputSchema: EDITOR_AGENT_BRIDGE_PREFAB_NODE_RENAME_INPUT_SCHEMA,
2049
+ outputSchema: EDITOR_AGENT_BRIDGE_PREFAB_NODE_RENAME_OUTPUT_SCHEMA,
2050
+ },
2051
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.PREFAB_NODE_SELECT]: {
2052
+ inputSchema: EDITOR_AGENT_BRIDGE_PREFAB_NODE_SELECT_INPUT_SCHEMA,
2053
+ outputSchema: EDITOR_AGENT_BRIDGE_PREFAB_NODE_SELECT_OUTPUT_SCHEMA,
2054
+ },
2055
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.PREFAB_NODE_SET_TRANSFORM]: {
2056
+ inputSchema: EDITOR_AGENT_BRIDGE_PREFAB_NODE_SET_TRANSFORM_INPUT_SCHEMA,
2057
+ outputSchema: EDITOR_AGENT_BRIDGE_PREFAB_NODE_MUTATION_OUTPUT_SCHEMA,
2058
+ },
2059
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.PREFAB_RESOLVE]: {
2060
+ inputSchema: EDITOR_AGENT_BRIDGE_PREFAB_RESOLVE_INPUT_SCHEMA,
2061
+ outputSchema: EDITOR_AGENT_BRIDGE_PREFAB_RESOLVE_OUTPUT_SCHEMA,
2062
+ },
2063
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.PREFAB_SCENE_GET]: {
2064
+ inputSchema: EDITOR_AGENT_BRIDGE_PREFAB_SCENE_GET_INPUT_SCHEMA,
2065
+ outputSchema: EDITOR_AGENT_BRIDGE_PREFAB_SCENE_GET_OUTPUT_SCHEMA,
2066
+ },
2067
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.PREFAB_SOURCE_STRUCTURE_GET]: {
2068
+ inputSchema: EDITOR_AGENT_BRIDGE_PREFAB_SOURCE_STRUCTURE_GET_INPUT_SCHEMA,
2069
+ outputSchema: EDITOR_AGENT_BRIDGE_PREFAB_SOURCE_STRUCTURE_GET_OUTPUT_SCHEMA,
2070
+ },
2071
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.PREFAB_STAGE_EXIT]: {
2072
+ inputSchema: EDITOR_AGENT_BRIDGE_PREFAB_STAGE_EXIT_INPUT_SCHEMA,
2073
+ outputSchema: EDITOR_AGENT_BRIDGE_PREFAB_STAGE_EXIT_OUTPUT_SCHEMA,
2074
+ },
2075
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.PREFAB_STAGE_OPEN]: {
2076
+ inputSchema: EDITOR_AGENT_BRIDGE_PREFAB_STAGE_OPEN_INPUT_SCHEMA,
2077
+ outputSchema: EDITOR_AGENT_BRIDGE_PREFAB_STAGE_OPEN_OUTPUT_SCHEMA,
2078
+ },
2079
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.SCENE_OBJECTS_LIST]: {
2080
+ inputSchema: EDITOR_AGENT_BRIDGE_SCENE_OBJECTS_LIST_INPUT_SCHEMA,
2081
+ outputSchema: EDITOR_AGENT_BRIDGE_SCENE_OBJECTS_LIST_OUTPUT_SCHEMA,
2082
+ },
2083
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.SELECTION_SET]: {
2084
+ inputSchema: EDITOR_AGENT_BRIDGE_SELECTION_SET_INPUT_SCHEMA,
2085
+ outputSchema: EDITOR_AGENT_BRIDGE_SELECTION_SET_OUTPUT_SCHEMA,
2086
+ },
2087
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.SHADOW_POLICY_GET]: {
2088
+ inputSchema: EDITOR_AGENT_BRIDGE_SHADOW_POLICY_GET_INPUT_SCHEMA,
2089
+ outputSchema: EDITOR_AGENT_BRIDGE_SHADOW_POLICY_GET_OUTPUT_SCHEMA,
2090
+ },
2091
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.SHADOW_POLICY_SET]: {
2092
+ inputSchema: EDITOR_AGENT_BRIDGE_SHADOW_POLICY_SET_INPUT_SCHEMA,
2093
+ outputSchema: EDITOR_AGENT_BRIDGE_SHADOW_POLICY_SET_OUTPUT_SCHEMA,
2094
+ },
2095
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.SHADOW_DEBUG_INSPECT]: {
2096
+ inputSchema: EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_INSPECT_INPUT_SCHEMA,
2097
+ outputSchema: EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_INSPECT_OUTPUT_SCHEMA,
2098
+ },
2099
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.SHADOW_DEBUG_CONTEXT_CLEAR]: {
2100
+ inputSchema: EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_CONTEXT_CLEAR_INPUT_SCHEMA,
2101
+ outputSchema: EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_CONTEXT_CLEAR_OUTPUT_SCHEMA,
2102
+ },
2103
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.SHADOW_DEBUG_CONTEXT_ENTER]: {
2104
+ inputSchema: EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_CONTEXT_ENTER_INPUT_SCHEMA,
2105
+ outputSchema: EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_CONTEXT_ENTER_OUTPUT_SCHEMA,
2106
+ },
2107
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.SHADOW_DEBUG_OVERLAY_CLEAR]: {
2108
+ inputSchema: EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_OVERLAY_CLEAR_INPUT_SCHEMA,
2109
+ outputSchema: EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_OVERLAY_CLEAR_OUTPUT_SCHEMA,
2110
+ },
2111
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.SHADOW_DEBUG_OVERLAY_SET]: {
2112
+ inputSchema: EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_OVERLAY_SET_INPUT_SCHEMA,
2113
+ outputSchema: EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_OVERLAY_SET_OUTPUT_SCHEMA,
2114
+ },
2115
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.SHADOW_DEBUG_VISIBILITY_MEASURE]: {
2116
+ inputSchema: EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_VISIBILITY_MEASURE_INPUT_SCHEMA,
2117
+ outputSchema: EDITOR_AGENT_BRIDGE_SHADOW_DEBUG_VISIBILITY_MEASURE_OUTPUT_SCHEMA,
2118
+ },
2119
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.SHADOW_RECEIVERS_LIST]: {
2120
+ inputSchema: EDITOR_AGENT_BRIDGE_SHADOW_RECEIVERS_LIST_INPUT_SCHEMA,
2121
+ outputSchema: EDITOR_AGENT_BRIDGE_SHADOW_RECEIVERS_LIST_OUTPUT_SCHEMA,
2122
+ },
2123
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.SHADOW_RESOLVE_PREVIEW]: {
2124
+ inputSchema: EDITOR_AGENT_BRIDGE_SHADOW_RESOLVE_PREVIEW_INPUT_SCHEMA,
2125
+ outputSchema: EDITOR_AGENT_BRIDGE_SHADOW_RESOLVE_PREVIEW_OUTPUT_SCHEMA,
2126
+ },
2127
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.SHADOW_STATIC_BAKE]: {
2128
+ inputSchema: EDITOR_AGENT_BRIDGE_SHADOW_STATIC_BAKE_INPUT_SCHEMA,
2129
+ outputSchema: EDITOR_AGENT_BRIDGE_SHADOW_STATIC_BAKE_OUTPUT_SCHEMA,
2130
+ },
2131
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.SHADOW_STATIC_INVALIDATE]: {
2132
+ inputSchema: EDITOR_AGENT_BRIDGE_SHADOW_STATIC_INVALIDATE_INPUT_SCHEMA,
2133
+ outputSchema: EDITOR_AGENT_BRIDGE_SHADOW_STATIC_INVALIDATE_OUTPUT_SCHEMA,
2134
+ },
2135
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.TRANSFORM_MOVE]: {
2136
+ inputSchema: EDITOR_AGENT_BRIDGE_TRANSFORM_MOVE_INPUT_SCHEMA,
2137
+ outputSchema: EDITOR_AGENT_BRIDGE_TRANSFORM_MOVE_OUTPUT_SCHEMA,
2138
+ },
2139
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.TRANSFORM_SET]: {
2140
+ inputSchema: EDITOR_AGENT_BRIDGE_TRANSFORM_SET_INPUT_SCHEMA,
2141
+ outputSchema: EDITOR_AGENT_BRIDGE_TRANSFORM_MOVE_OUTPUT_SCHEMA,
2142
+ },
2143
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.VIEWPORT_CAMERA_GET]: {
2144
+ inputSchema: EDITOR_AGENT_BRIDGE_VIEWPORT_CAMERA_GET_INPUT_SCHEMA,
2145
+ outputSchema: EDITOR_AGENT_BRIDGE_VIEWPORT_CAMERA_STATE_SCHEMA,
2146
+ },
2147
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.VIEWPORT_CAMERA_ORBIT]: {
2148
+ inputSchema: EDITOR_AGENT_BRIDGE_VIEWPORT_CAMERA_ORBIT_INPUT_SCHEMA,
2149
+ outputSchema: EDITOR_AGENT_BRIDGE_VIEWPORT_CAMERA_SET_PRESET_OUTPUT_SCHEMA,
2150
+ },
2151
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.VIEWPORT_CAMERA_SET_PRESET]: {
2152
+ inputSchema: EDITOR_AGENT_BRIDGE_VIEWPORT_CAMERA_SET_PRESET_INPUT_SCHEMA,
2153
+ outputSchema: EDITOR_AGENT_BRIDGE_VIEWPORT_CAMERA_SET_PRESET_OUTPUT_SCHEMA,
2154
+ },
2155
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.VIEWPORT_FRAME_SELECTION]: {
2156
+ inputSchema: EDITOR_AGENT_BRIDGE_VIEWPORT_FRAME_SELECTION_INPUT_SCHEMA,
2157
+ outputSchema: EDITOR_AGENT_BRIDGE_VIEWPORT_FRAME_SELECTION_OUTPUT_SCHEMA,
2158
+ },
2159
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.VIEWPORT_FOCUS_OBJECT]: {
2160
+ inputSchema: EDITOR_AGENT_BRIDGE_VIEWPORT_FOCUS_OBJECT_INPUT_SCHEMA,
2161
+ outputSchema: EDITOR_AGENT_BRIDGE_VIEWPORT_FOCUS_OBJECT_OUTPUT_SCHEMA,
2162
+ },
2163
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.VIEWPORT_ISOLATION_ENTER]: {
2164
+ inputSchema: EDITOR_AGENT_BRIDGE_VIEWPORT_ISOLATION_ENTER_INPUT_SCHEMA,
2165
+ outputSchema: EDITOR_AGENT_BRIDGE_VIEWPORT_VISIBILITY_MUTATION_OUTPUT_SCHEMA,
2166
+ },
2167
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.VIEWPORT_VISIBILITY_CLEAR]: {
2168
+ inputSchema: EDITOR_AGENT_BRIDGE_VIEWPORT_VISIBILITY_CLEAR_INPUT_SCHEMA,
2169
+ outputSchema: EDITOR_AGENT_BRIDGE_VIEWPORT_VISIBILITY_MUTATION_OUTPUT_SCHEMA,
2170
+ },
2171
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.VIEWPORT_VISIBILITY_SET]: {
2172
+ inputSchema: EDITOR_AGENT_BRIDGE_VIEWPORT_VISIBILITY_SET_INPUT_SCHEMA,
2173
+ outputSchema: EDITOR_AGENT_BRIDGE_VIEWPORT_VISIBILITY_MUTATION_OUTPUT_SCHEMA,
2174
+ },
2175
+ [EDITOR_AGENT_BRIDGE_CAPABILITY_ID.VIEWPORT_VISIBILITY_SNAPSHOT]: {
2176
+ inputSchema: EDITOR_AGENT_BRIDGE_VIEWPORT_VISIBILITY_SNAPSHOT_INPUT_SCHEMA,
2177
+ outputSchema: EDITOR_AGENT_BRIDGE_VIEWPORT_VISIBILITY_SNAPSHOT_OUTPUT_SCHEMA,
2178
+ },
2179
+ };
2180
+ //# sourceMappingURL=agent-bridge.js.map