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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (514) hide show
  1. package/dist/build-info.json +44 -44
  2. package/dist/editor-commands/capabilities/assets.d.ts +8 -0
  3. package/dist/editor-commands/capabilities/assets.d.ts.map +1 -0
  4. package/dist/{agent-bridge → editor-commands}/capabilities/assets.js +41 -41
  5. package/dist/editor-commands/capabilities/assets.js.map +1 -0
  6. package/dist/editor-commands/capabilities/editor-state.d.ts +5 -0
  7. package/dist/editor-commands/capabilities/editor-state.d.ts.map +1 -0
  8. package/dist/{agent-bridge → editor-commands}/capabilities/editor-state.js +22 -22
  9. package/dist/editor-commands/capabilities/editor-state.js.map +1 -0
  10. package/dist/editor-commands/capabilities/hierarchy.d.ts +4 -0
  11. package/dist/editor-commands/capabilities/hierarchy.d.ts.map +1 -0
  12. package/dist/{agent-bridge → editor-commands}/capabilities/hierarchy.js +5 -5
  13. package/dist/editor-commands/capabilities/hierarchy.js.map +1 -0
  14. package/dist/editor-commands/capabilities/host-lifecycle.d.ts +11 -0
  15. package/dist/editor-commands/capabilities/host-lifecycle.d.ts.map +1 -0
  16. package/dist/editor-commands/capabilities/host-lifecycle.js +149 -0
  17. package/dist/editor-commands/capabilities/host-lifecycle.js.map +1 -0
  18. package/dist/editor-commands/capabilities/prefabs.d.ts +5 -0
  19. package/dist/editor-commands/capabilities/prefabs.d.ts.map +1 -0
  20. package/dist/{agent-bridge → editor-commands}/capabilities/prefabs.js +93 -93
  21. package/dist/editor-commands/capabilities/prefabs.js.map +1 -0
  22. package/dist/editor-commands/capabilities/scene-objects.d.ts +8 -0
  23. package/dist/editor-commands/capabilities/scene-objects.d.ts.map +1 -0
  24. package/dist/editor-commands/capabilities/scene-objects.js +480 -0
  25. package/dist/editor-commands/capabilities/scene-objects.js.map +1 -0
  26. package/dist/editor-commands/capabilities/selection.d.ts +5 -0
  27. package/dist/editor-commands/capabilities/selection.d.ts.map +1 -0
  28. package/dist/editor-commands/capabilities/selection.js +60 -0
  29. package/dist/editor-commands/capabilities/selection.js.map +1 -0
  30. package/dist/editor-commands/capabilities/shadows.d.ts +5 -0
  31. package/dist/editor-commands/capabilities/shadows.d.ts.map +1 -0
  32. package/dist/{agent-bridge → editor-commands}/capabilities/shadows.js +74 -74
  33. package/dist/editor-commands/capabilities/shadows.js.map +1 -0
  34. package/dist/editor-commands/capabilities/transform.d.ts +5 -0
  35. package/dist/editor-commands/capabilities/transform.d.ts.map +1 -0
  36. package/dist/editor-commands/capabilities/transform.js +164 -0
  37. package/dist/editor-commands/capabilities/transform.js.map +1 -0
  38. package/dist/editor-commands/capabilities/ui-regions.d.ts +4 -0
  39. package/dist/editor-commands/capabilities/ui-regions.d.ts.map +1 -0
  40. package/dist/{agent-bridge → editor-commands}/capabilities/ui-regions.js +55 -57
  41. package/dist/editor-commands/capabilities/ui-regions.js.map +1 -0
  42. package/dist/editor-commands/capabilities/viewport.d.ts +5 -0
  43. package/dist/editor-commands/capabilities/viewport.d.ts.map +1 -0
  44. package/dist/{agent-bridge → editor-commands}/capabilities/viewport.js +100 -100
  45. package/dist/editor-commands/capabilities/viewport.js.map +1 -0
  46. package/dist/editor-commands/command-sources.d.ts +7 -0
  47. package/dist/editor-commands/command-sources.d.ts.map +1 -0
  48. package/dist/editor-commands/command-sources.js +34 -0
  49. package/dist/editor-commands/command-sources.js.map +1 -0
  50. package/dist/editor-commands/diagnostics.d.ts +12 -0
  51. package/dist/editor-commands/diagnostics.d.ts.map +1 -0
  52. package/dist/{agent-bridge → editor-commands}/diagnostics.js +4 -4
  53. package/dist/editor-commands/diagnostics.js.map +1 -0
  54. package/dist/{agent-bridge → editor-commands}/index.d.ts +1 -1
  55. package/dist/editor-commands/index.d.ts.map +1 -0
  56. package/dist/{agent-bridge → editor-commands}/index.js +1 -1
  57. package/dist/editor-commands/index.js.map +1 -0
  58. package/dist/editor-commands/register.d.ts +4 -0
  59. package/dist/editor-commands/register.d.ts.map +1 -0
  60. package/dist/{agent-bridge → editor-commands}/register.js +323 -286
  61. package/dist/editor-commands/register.js.map +1 -0
  62. package/dist/{agent-bridge → editor-commands}/shared.d.ts +80 -80
  63. package/dist/editor-commands/shared.d.ts.map +1 -0
  64. package/dist/{agent-bridge → editor-commands}/shared.js +29 -29
  65. package/dist/editor-commands/shared.js.map +1 -0
  66. package/dist/editor-commands/source-types.d.ts +110 -0
  67. package/dist/editor-commands/source-types.d.ts.map +1 -0
  68. package/dist/editor-commands/source-types.js.map +1 -0
  69. package/dist/editor-plugin-commands.d.ts +4 -0
  70. package/dist/editor-plugin-commands.d.ts.map +1 -0
  71. package/dist/editor-plugin-commands.js +18 -0
  72. package/dist/editor-plugin-commands.js.map +1 -0
  73. package/dist/index.d.ts +2 -2
  74. package/dist/index.d.ts.map +1 -1
  75. package/dist/index.js +1 -1
  76. package/dist/index.js.map +1 -1
  77. package/dist/local-editor-commands.d.ts +2 -0
  78. package/dist/local-editor-commands.d.ts.map +1 -0
  79. package/dist/local-editor-commands.js +2 -0
  80. package/dist/local-editor-commands.js.map +1 -0
  81. package/dist/local-editor-harness.d.ts +35 -21
  82. package/dist/local-editor-harness.d.ts.map +1 -1
  83. package/dist/local-editor-harness.js +1721 -367
  84. package/dist/local-editor-harness.js.map +1 -1
  85. package/dist/local-editor-prefab-stage-transaction.d.ts +2 -1
  86. package/dist/local-editor-prefab-stage-transaction.d.ts.map +1 -1
  87. package/dist/local-editor-prefab-stage-transaction.js +6 -5
  88. package/dist/local-editor-prefab-stage-transaction.js.map +1 -1
  89. package/dist/local-editor-scene-view-interaction-runtime.d.ts.map +1 -1
  90. package/dist/local-editor-scene-view-interaction-runtime.js +2 -5
  91. package/dist/local-editor-scene-view-interaction-runtime.js.map +1 -1
  92. package/dist/playable-local-editor-entry.d.ts +10 -0
  93. package/dist/playable-local-editor-entry.d.ts.map +1 -1
  94. package/dist/playable-local-editor-entry.js +10 -2
  95. package/dist/playable-local-editor-entry.js.map +1 -1
  96. package/dist/playable-local-editor-host.d.ts +3 -32
  97. package/dist/playable-local-editor-host.d.ts.map +1 -1
  98. package/dist/playable-local-editor-host.js +6 -70
  99. package/dist/playable-local-editor-host.js.map +1 -1
  100. package/dist/playable-product-local-editor.d.ts +1 -2
  101. package/dist/playable-product-local-editor.d.ts.map +1 -1
  102. package/dist/playable-product-local-editor.js +0 -1
  103. package/dist/playable-product-local-editor.js.map +1 -1
  104. package/dist/playable-product-projection-preview.d.ts.map +1 -1
  105. package/dist/playable-product-projection-preview.js +1 -1
  106. package/dist/playable-product-projection-preview.js.map +1 -1
  107. package/dist/playable-product-scene-capabilities.d.ts +0 -2
  108. package/dist/playable-product-scene-capabilities.d.ts.map +1 -1
  109. package/dist/playable-product-scene-capabilities.js +33 -6
  110. package/dist/playable-product-scene-capabilities.js.map +1 -1
  111. package/dist/playable-runtime-babylon.d.ts +4 -0
  112. package/dist/playable-runtime-babylon.d.ts.map +1 -1
  113. package/dist/playable-runtime-babylon.js +4 -0
  114. package/dist/playable-runtime-babylon.js.map +1 -1
  115. package/dist/playable-sdk.d.ts +1 -1
  116. package/dist/playable-sdk.d.ts.map +1 -1
  117. package/dist/playable-sdk.js.map +1 -1
  118. package/dist/playable-standard-project.d.ts +0 -2
  119. package/dist/playable-standard-project.d.ts.map +1 -1
  120. package/dist/playable-standard-project.js +1 -2
  121. package/dist/playable-standard-project.js.map +1 -1
  122. package/dist/project-service-projection.d.ts +16 -0
  123. package/dist/project-service-projection.d.ts.map +1 -0
  124. package/dist/project-service-projection.js +67 -0
  125. package/dist/project-service-projection.js.map +1 -0
  126. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts +18 -0
  127. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.d.ts.map +1 -1
  128. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js +54 -18
  129. package/node_modules/@fps-games/babylon-renderer/dist/post-process/babylon-default-pipeline.js.map +1 -1
  130. package/node_modules/@fps-games/babylon-renderer/package.json +9 -9
  131. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +1 -0
  132. package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
  133. package/node_modules/@fps-games/editor-babylon/dist/projection.js +1 -1
  134. package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
  135. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.d.ts.map +1 -1
  136. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js +127 -13
  137. package/node_modules/@fps-games/editor-babylon/dist/selection-presentation-controller.js.map +1 -1
  138. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts.map +1 -1
  139. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js +66 -1
  140. package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js.map +1 -1
  141. package/node_modules/@fps-games/editor-babylon/package.json +6 -6
  142. package/node_modules/@fps-games/editor-browser/dist/editor-command-service-client.d.ts +32 -0
  143. package/node_modules/@fps-games/editor-browser/dist/editor-command-service-client.d.ts.map +1 -0
  144. package/node_modules/@fps-games/editor-browser/dist/editor-command-service-client.js +254 -0
  145. package/node_modules/@fps-games/editor-browser/dist/editor-command-service-client.js.map +1 -0
  146. package/node_modules/@fps-games/editor-browser/dist/index.d.ts +3 -1
  147. package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
  148. package/node_modules/@fps-games/editor-browser/dist/index.js +2 -0
  149. package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
  150. package/node_modules/@fps-games/editor-browser/dist/local-editor-command-center.d.ts +68 -0
  151. package/node_modules/@fps-games/editor-browser/dist/local-editor-command-center.d.ts.map +1 -0
  152. package/node_modules/@fps-games/editor-browser/dist/local-editor-command-center.js +650 -0
  153. package/node_modules/@fps-games/editor-browser/dist/local-editor-command-center.js.map +1 -0
  154. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts +1 -0
  155. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.d.ts.map +1 -1
  156. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js +22 -0
  157. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-formal-surface-visibility.js.map +1 -1
  158. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts +8 -0
  159. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.d.ts.map +1 -1
  160. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js +117 -6
  161. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-controller.js.map +1 -1
  162. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts +14 -1
  163. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.d.ts.map +1 -1
  164. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js +100 -1
  165. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-view.js.map +1 -1
  166. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts +8 -1
  167. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
  168. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +75 -2
  169. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
  170. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +37 -12
  171. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
  172. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.js.map +1 -1
  173. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +25 -2
  174. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
  175. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +332 -107
  176. package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
  177. package/node_modules/@fps-games/editor-browser/package.json +7 -7
  178. package/node_modules/@fps-games/editor-core/dist/editor-authoring-host.d.ts +107 -0
  179. package/node_modules/@fps-games/editor-core/dist/editor-authoring-host.d.ts.map +1 -0
  180. package/node_modules/@fps-games/editor-core/dist/editor-authoring-host.js +1211 -0
  181. package/node_modules/@fps-games/editor-core/dist/editor-authoring-host.js.map +1 -0
  182. package/node_modules/@fps-games/editor-core/dist/editor-command-capability-adapter.d.ts +34 -0
  183. package/node_modules/@fps-games/editor-core/dist/editor-command-capability-adapter.d.ts.map +1 -0
  184. package/node_modules/@fps-games/editor-core/dist/editor-command-capability-adapter.js +260 -0
  185. package/node_modules/@fps-games/editor-core/dist/editor-command-capability-adapter.js.map +1 -0
  186. package/node_modules/@fps-games/editor-core/dist/editor-command-composed-authority.d.ts +9 -0
  187. package/node_modules/@fps-games/editor-core/dist/editor-command-composed-authority.d.ts.map +1 -0
  188. package/node_modules/@fps-games/editor-core/dist/editor-command-composed-authority.js +14 -0
  189. package/node_modules/@fps-games/editor-core/dist/editor-command-composed-authority.js.map +1 -0
  190. package/node_modules/@fps-games/editor-core/dist/editor-command-observability.d.ts +18 -0
  191. package/node_modules/@fps-games/editor-core/dist/editor-command-observability.d.ts.map +1 -0
  192. package/node_modules/@fps-games/editor-core/dist/editor-command-observability.js +113 -0
  193. package/node_modules/@fps-games/editor-core/dist/editor-command-observability.js.map +1 -0
  194. package/node_modules/@fps-games/editor-core/dist/editor-command-system.d.ts +82 -0
  195. package/node_modules/@fps-games/editor-core/dist/editor-command-system.d.ts.map +1 -0
  196. package/node_modules/@fps-games/editor-core/dist/editor-command-system.js +1098 -0
  197. package/node_modules/@fps-games/editor-core/dist/editor-command-system.js.map +1 -0
  198. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts +6 -7
  199. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.d.ts.map +1 -1
  200. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js +62 -103
  201. package/node_modules/@fps-games/editor-core/dist/editor-plugin-host.js.map +1 -1
  202. package/node_modules/@fps-games/editor-core/dist/editor-service-gateway.d.ts +30 -0
  203. package/node_modules/@fps-games/editor-core/dist/editor-service-gateway.d.ts.map +1 -0
  204. package/node_modules/@fps-games/editor-core/dist/editor-service-gateway.js +540 -0
  205. package/node_modules/@fps-games/editor-core/dist/editor-service-gateway.js.map +1 -0
  206. package/node_modules/@fps-games/editor-core/dist/editor-session-authority.d.ts +9 -0
  207. package/node_modules/@fps-games/editor-core/dist/editor-session-authority.d.ts.map +1 -0
  208. package/node_modules/@fps-games/editor-core/dist/editor-session-authority.js +61 -0
  209. package/node_modules/@fps-games/editor-core/dist/editor-session-authority.js.map +1 -0
  210. package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts +55 -0
  211. package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts.map +1 -1
  212. package/node_modules/@fps-games/editor-core/dist/editor-session.js +247 -6
  213. package/node_modules/@fps-games/editor-core/dist/editor-session.js.map +1 -1
  214. package/node_modules/@fps-games/editor-core/dist/index.d.ts +6 -2
  215. package/node_modules/@fps-games/editor-core/dist/index.d.ts.map +1 -1
  216. package/node_modules/@fps-games/editor-core/dist/index.js +6 -2
  217. package/node_modules/@fps-games/editor-core/dist/index.js.map +1 -1
  218. package/node_modules/@fps-games/editor-core/package.json +6 -6
  219. package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts +0 -1
  220. package/node_modules/@fps-games/editor-forge-play/dist/index.d.ts.map +1 -1
  221. package/node_modules/@fps-games/editor-forge-play/dist/index.js +0 -1
  222. package/node_modules/@fps-games/editor-forge-play/dist/index.js.map +1 -1
  223. package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
  224. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts +2 -0
  225. package/node_modules/@fps-games/editor-playable-sdk/dist/bridge-command/protocol.d.ts.map +1 -1
  226. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -1
  227. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +41 -1
  228. package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -1
  229. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts +27 -1
  230. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.d.ts.map +1 -1
  231. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play-types.js.map +1 -1
  232. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts +2 -0
  233. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.d.ts.map +1 -1
  234. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js +214 -7
  235. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/forge-play.js.map +1 -1
  236. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts +1 -0
  237. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.d.ts.map +1 -1
  238. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js +11 -3
  239. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/host-controller.js.map +1 -1
  240. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts +2 -4
  241. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.d.ts.map +1 -1
  242. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js +0 -1
  243. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/index.js.map +1 -1
  244. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.d.ts.map +1 -1
  245. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js +77 -31
  246. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/lifecycle.js.map +1 -1
  247. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts +8 -1
  248. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.d.ts.map +1 -1
  249. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/types.js.map +1 -1
  250. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.d.ts +21 -1
  251. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.d.ts.map +1 -1
  252. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.js +90 -4
  253. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/asset-fields.js.map +1 -1
  254. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts +27 -1
  255. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.d.ts.map +1 -1
  256. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js +161 -1
  257. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/binding.js.map +1 -1
  258. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts +2 -2
  259. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.d.ts.map +1 -1
  260. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js +5 -92
  261. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/inspector.js.map +1 -1
  262. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.d.ts +7 -0
  263. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.d.ts.map +1 -1
  264. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.js +26 -9
  265. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/scene-inspector.js.map +1 -1
  266. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.d.ts +9 -0
  267. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.d.ts.map +1 -1
  268. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.js +19 -8
  269. package/node_modules/@fps-games/editor-playable-sdk/dist/material-binding/slot-inspector.js.map +1 -1
  270. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.d.ts +5 -0
  271. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.d.ts.map +1 -1
  272. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.js +16 -4
  273. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/material-override-inspector.js.map +1 -1
  274. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts +9 -0
  275. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.d.ts.map +1 -1
  276. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js +12 -2
  277. package/node_modules/@fps-games/editor-playable-sdk/dist/prefab-stage/stage-inspector.js.map +1 -1
  278. package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.d.ts +2 -1
  279. package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.d.ts.map +1 -1
  280. package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.js +10 -5
  281. package/node_modules/@fps-games/editor-playable-sdk/dist/product/ground-decal.js.map +1 -1
  282. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts +1 -0
  283. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.d.ts.map +1 -1
  284. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js +1 -0
  285. package/node_modules/@fps-games/editor-playable-sdk/dist/product/index.js.map +1 -1
  286. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts +17 -82
  287. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.d.ts.map +1 -1
  288. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js +53 -57
  289. package/node_modules/@fps-games/editor-playable-sdk/dist/product/project-host-services.js.map +1 -1
  290. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-session.d.ts.map +1 -1
  291. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-session.js +3 -2
  292. package/node_modules/@fps-games/editor-playable-sdk/dist/product/scene-session.js.map +1 -1
  293. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-authoring-commands.d.ts +10 -0
  294. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-authoring-commands.d.ts.map +1 -0
  295. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-authoring-commands.js +256 -0
  296. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-authoring-commands.js.map +1 -0
  297. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.d.ts.map +1 -1
  298. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js +7 -5
  299. package/node_modules/@fps-games/editor-playable-sdk/dist/product/standard-scene-assembly.js.map +1 -1
  300. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -1
  301. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +8 -0
  302. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -1
  303. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +1 -0
  304. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -1
  305. package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.js.map +1 -1
  306. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js +134 -12
  307. package/node_modules/@fps-games/editor-playable-sdk/dist/upgrade-doctor/inspectors.js.map +1 -1
  308. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.d.ts.map +1 -1
  309. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js +47 -0
  310. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-scene-workflow.js.map +1 -1
  311. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-service-vite.d.ts +27 -0
  312. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-service-vite.d.ts.map +1 -0
  313. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-service-vite.js +592 -0
  314. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/editor-service-vite.js.map +1 -0
  315. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts +3 -1
  316. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.d.ts.map +1 -1
  317. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.js +2 -1
  318. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/index.js.map +1 -1
  319. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.d.ts.map +1 -1
  320. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js +61 -6
  321. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/plugin.js.map +1 -1
  322. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts +0 -2
  323. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.d.ts.map +1 -1
  324. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js +1 -10
  325. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-adapter.js.map +1 -1
  326. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.d.ts.map +1 -1
  327. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js +21 -0
  328. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/product-authoring-api.js.map +1 -1
  329. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-authoring-backend.d.ts +13 -0
  330. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-authoring-backend.d.ts.map +1 -0
  331. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-authoring-backend.js +18 -0
  332. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-authoring-backend.js.map +1 -0
  333. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-editor-service.d.ts +28 -0
  334. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-editor-service.d.ts.map +1 -0
  335. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-editor-service.js +863 -0
  336. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/project-editor-service.js.map +1 -0
  337. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts +2 -0
  338. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.d.ts.map +1 -1
  339. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/types.js.map +1 -1
  340. package/node_modules/@fps-games/editor-playable-sdk/package.json +6 -6
  341. package/node_modules/@fps-games/editor-protocol/dist/editor-command-capabilities.d.ts +1626 -0
  342. package/node_modules/@fps-games/editor-protocol/dist/editor-command-capabilities.d.ts.map +1 -0
  343. package/node_modules/@fps-games/editor-protocol/dist/{agent-bridge.js → editor-command-capabilities.js} +766 -620
  344. package/node_modules/@fps-games/editor-protocol/dist/editor-command-capabilities.js.map +1 -0
  345. package/node_modules/@fps-games/editor-protocol/dist/editor-command-trace.d.ts +69 -0
  346. package/node_modules/@fps-games/editor-protocol/dist/editor-command-trace.d.ts.map +1 -0
  347. package/node_modules/@fps-games/editor-protocol/dist/editor-command-trace.js +22 -0
  348. package/node_modules/@fps-games/editor-protocol/dist/editor-command-trace.js.map +1 -0
  349. package/node_modules/@fps-games/editor-protocol/dist/editor-command.d.ts +136 -0
  350. package/node_modules/@fps-games/editor-protocol/dist/editor-command.d.ts.map +1 -0
  351. package/node_modules/@fps-games/editor-protocol/dist/editor-command.js +2 -0
  352. package/node_modules/@fps-games/editor-protocol/dist/editor-command.js.map +1 -0
  353. package/node_modules/@fps-games/editor-protocol/dist/editor-service.d.ts +225 -0
  354. package/node_modules/@fps-games/editor-protocol/dist/editor-service.d.ts.map +1 -0
  355. package/node_modules/@fps-games/editor-protocol/dist/editor-service.js +4 -0
  356. package/node_modules/@fps-games/editor-protocol/dist/editor-service.js.map +1 -0
  357. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts +6 -3
  358. package/node_modules/@fps-games/editor-protocol/dist/index.d.ts.map +1 -1
  359. package/node_modules/@fps-games/editor-protocol/dist/index.js +6 -3
  360. package/node_modules/@fps-games/editor-protocol/dist/index.js.map +1 -1
  361. package/node_modules/@fps-games/editor-protocol/package.json +2 -2
  362. package/node_modules/@fps-games/editor-tooling/package.json +3 -3
  363. package/node_modules/@fps-games/editor-ui/package.json +1 -1
  364. package/node_modules/@fps-games/playable-assets/package.json +1 -1
  365. package/node_modules/@fps-games/playable-contracts/package.json +1 -1
  366. package/node_modules/@fps-games/playable-rendering/package.json +2 -2
  367. package/node_modules/@fps-games/playable-runtime/package.json +12 -12
  368. package/node_modules/@fps-games/playable-runtime-data/package.json +4 -4
  369. package/node_modules/@fps-games/playable-scene/package.json +2 -2
  370. package/node_modules/@fps-games/plugin-api/package.json +1 -1
  371. package/node_modules/@fps-games/plugin-assets/dist/version.d.ts +1 -1
  372. package/node_modules/@fps-games/plugin-assets/dist/version.js +1 -1
  373. package/node_modules/@fps-games/plugin-assets/dist/version.js.map +1 -1
  374. package/node_modules/@fps-games/plugin-assets/package.json +6 -6
  375. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts +1 -0
  376. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.d.ts.map +1 -1
  377. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js +78 -4
  378. package/node_modules/@fps-games/plugin-hierarchy/dist/kernel.js.map +1 -1
  379. package/node_modules/@fps-games/plugin-hierarchy/dist/version.d.ts +1 -1
  380. package/node_modules/@fps-games/plugin-hierarchy/dist/version.js +1 -1
  381. package/node_modules/@fps-games/plugin-hierarchy/dist/version.js.map +1 -1
  382. package/node_modules/@fps-games/plugin-hierarchy/package.json +5 -5
  383. package/node_modules/@fps-games/plugin-host/package.json +2 -2
  384. package/node_modules/@fps-games/plugin-markers/dist/version.d.ts +1 -1
  385. package/node_modules/@fps-games/plugin-markers/dist/version.js +1 -1
  386. package/node_modules/@fps-games/plugin-markers/dist/version.js.map +1 -1
  387. package/node_modules/@fps-games/plugin-markers/package.json +5 -5
  388. package/node_modules/@fps-games/plugin-materials/dist/version.d.ts +1 -1
  389. package/node_modules/@fps-games/plugin-materials/dist/version.js +1 -1
  390. package/node_modules/@fps-games/plugin-materials/dist/version.js.map +1 -1
  391. package/node_modules/@fps-games/plugin-materials/package.json +5 -5
  392. package/node_modules/@fps-games/plugin-rendering/dist/version.d.ts +1 -1
  393. package/node_modules/@fps-games/plugin-rendering/dist/version.js +1 -1
  394. package/node_modules/@fps-games/plugin-rendering/dist/version.js.map +1 -1
  395. package/node_modules/@fps-games/plugin-rendering/package.json +5 -5
  396. package/node_modules/@fps-games/plugin-scene/dist/version.d.ts +1 -1
  397. package/node_modules/@fps-games/plugin-scene/dist/version.js +1 -1
  398. package/node_modules/@fps-games/plugin-scene/dist/version.js.map +1 -1
  399. package/node_modules/@fps-games/plugin-scene/package.json +5 -5
  400. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.d.ts +1 -1
  401. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js +1 -1
  402. package/node_modules/@fps-games/plugin-shadow-map-experiment/dist/version.js.map +1 -1
  403. package/node_modules/@fps-games/plugin-shadow-map-experiment/package.json +5 -5
  404. package/node_modules/@fps-games/plugin-shadows/dist/version.d.ts +1 -1
  405. package/node_modules/@fps-games/plugin-shadows/dist/version.js +1 -1
  406. package/node_modules/@fps-games/plugin-shadows/dist/version.js.map +1 -1
  407. package/node_modules/@fps-games/plugin-shadows/package.json +7 -7
  408. package/package.json +23 -23
  409. package/dist/agent-bridge/capabilities/assets.d.ts +0 -8
  410. package/dist/agent-bridge/capabilities/assets.d.ts.map +0 -1
  411. package/dist/agent-bridge/capabilities/assets.js.map +0 -1
  412. package/dist/agent-bridge/capabilities/editor-state.d.ts +0 -5
  413. package/dist/agent-bridge/capabilities/editor-state.d.ts.map +0 -1
  414. package/dist/agent-bridge/capabilities/editor-state.js.map +0 -1
  415. package/dist/agent-bridge/capabilities/hierarchy.d.ts +0 -4
  416. package/dist/agent-bridge/capabilities/hierarchy.d.ts.map +0 -1
  417. package/dist/agent-bridge/capabilities/hierarchy.js.map +0 -1
  418. package/dist/agent-bridge/capabilities/host-lifecycle.d.ts +0 -11
  419. package/dist/agent-bridge/capabilities/host-lifecycle.d.ts.map +0 -1
  420. package/dist/agent-bridge/capabilities/host-lifecycle.js +0 -149
  421. package/dist/agent-bridge/capabilities/host-lifecycle.js.map +0 -1
  422. package/dist/agent-bridge/capabilities/prefabs.d.ts +0 -5
  423. package/dist/agent-bridge/capabilities/prefabs.d.ts.map +0 -1
  424. package/dist/agent-bridge/capabilities/prefabs.js.map +0 -1
  425. package/dist/agent-bridge/capabilities/scene-objects.d.ts +0 -8
  426. package/dist/agent-bridge/capabilities/scene-objects.d.ts.map +0 -1
  427. package/dist/agent-bridge/capabilities/scene-objects.js +0 -480
  428. package/dist/agent-bridge/capabilities/scene-objects.js.map +0 -1
  429. package/dist/agent-bridge/capabilities/selection.d.ts +0 -5
  430. package/dist/agent-bridge/capabilities/selection.d.ts.map +0 -1
  431. package/dist/agent-bridge/capabilities/selection.js +0 -60
  432. package/dist/agent-bridge/capabilities/selection.js.map +0 -1
  433. package/dist/agent-bridge/capabilities/shadows.d.ts +0 -5
  434. package/dist/agent-bridge/capabilities/shadows.d.ts.map +0 -1
  435. package/dist/agent-bridge/capabilities/shadows.js.map +0 -1
  436. package/dist/agent-bridge/capabilities/transform.d.ts +0 -5
  437. package/dist/agent-bridge/capabilities/transform.d.ts.map +0 -1
  438. package/dist/agent-bridge/capabilities/transform.js +0 -164
  439. package/dist/agent-bridge/capabilities/transform.js.map +0 -1
  440. package/dist/agent-bridge/capabilities/ui-regions.d.ts +0 -4
  441. package/dist/agent-bridge/capabilities/ui-regions.d.ts.map +0 -1
  442. package/dist/agent-bridge/capabilities/ui-regions.js.map +0 -1
  443. package/dist/agent-bridge/capabilities/viewport.d.ts +0 -5
  444. package/dist/agent-bridge/capabilities/viewport.d.ts.map +0 -1
  445. package/dist/agent-bridge/capabilities/viewport.js.map +0 -1
  446. package/dist/agent-bridge/capability-sources.d.ts +0 -7
  447. package/dist/agent-bridge/capability-sources.d.ts.map +0 -1
  448. package/dist/agent-bridge/capability-sources.js +0 -34
  449. package/dist/agent-bridge/capability-sources.js.map +0 -1
  450. package/dist/agent-bridge/diagnostics.d.ts +0 -12
  451. package/dist/agent-bridge/diagnostics.d.ts.map +0 -1
  452. package/dist/agent-bridge/diagnostics.js.map +0 -1
  453. package/dist/agent-bridge/index.d.ts.map +0 -1
  454. package/dist/agent-bridge/index.js.map +0 -1
  455. package/dist/agent-bridge/register.d.ts +0 -4
  456. package/dist/agent-bridge/register.d.ts.map +0 -1
  457. package/dist/agent-bridge/register.js.map +0 -1
  458. package/dist/agent-bridge/shared.d.ts.map +0 -1
  459. package/dist/agent-bridge/shared.js.map +0 -1
  460. package/dist/agent-bridge/source-types.d.ts +0 -110
  461. package/dist/agent-bridge/source-types.d.ts.map +0 -1
  462. package/dist/agent-bridge/source-types.js.map +0 -1
  463. package/dist/editor-plugin-agent-capabilities.d.ts +0 -4
  464. package/dist/editor-plugin-agent-capabilities.d.ts.map +0 -1
  465. package/dist/editor-plugin-agent-capabilities.js +0 -64
  466. package/dist/editor-plugin-agent-capabilities.js.map +0 -1
  467. package/dist/local-editor-agent-actions.d.ts +0 -43
  468. package/dist/local-editor-agent-actions.d.ts.map +0 -1
  469. package/dist/local-editor-agent-actions.js +0 -321
  470. package/dist/local-editor-agent-actions.js.map +0 -1
  471. package/dist/local-editor-agent-bridge-transport.d.ts +0 -129
  472. package/dist/local-editor-agent-bridge-transport.d.ts.map +0 -1
  473. package/dist/local-editor-agent-bridge-transport.js +0 -403
  474. package/dist/local-editor-agent-bridge-transport.js.map +0 -1
  475. package/dist/local-editor-agent-bridge.d.ts +0 -2
  476. package/dist/local-editor-agent-bridge.d.ts.map +0 -1
  477. package/dist/local-editor-agent-bridge.js +0 -2
  478. package/dist/local-editor-agent-bridge.js.map +0 -1
  479. package/dist/local-editor-agent-context.d.ts +0 -68
  480. package/dist/local-editor-agent-context.d.ts.map +0 -1
  481. package/dist/local-editor-agent-context.js +0 -716
  482. package/dist/local-editor-agent-context.js.map +0 -1
  483. package/node_modules/@fps-games/editor-core/dist/agent-bridge.d.ts +0 -22
  484. package/node_modules/@fps-games/editor-core/dist/agent-bridge.d.ts.map +0 -1
  485. package/node_modules/@fps-games/editor-core/dist/agent-bridge.js +0 -106
  486. package/node_modules/@fps-games/editor-core/dist/agent-bridge.js.map +0 -1
  487. package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts +0 -17
  488. package/node_modules/@fps-games/editor-core/dist/agent-interaction.d.ts.map +0 -1
  489. package/node_modules/@fps-games/editor-core/dist/agent-interaction.js +0 -14
  490. package/node_modules/@fps-games/editor-core/dist/agent-interaction.js.map +0 -1
  491. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts +0 -23
  492. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.d.ts.map +0 -1
  493. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js +0 -47
  494. package/node_modules/@fps-games/editor-forge-play/dist/agent-transport.js.map +0 -1
  495. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.d.ts +0 -112
  496. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.d.ts.map +0 -1
  497. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.js +0 -159
  498. package/node_modules/@fps-games/editor-playable-sdk/dist/local-harness/agent-descriptions.js.map +0 -1
  499. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.d.ts +0 -15
  500. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.d.ts.map +0 -1
  501. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.js +0 -76
  502. package/node_modules/@fps-games/editor-playable-sdk/dist/vite/session-metadata.js.map +0 -1
  503. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts +0 -1622
  504. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.d.ts.map +0 -1
  505. package/node_modules/@fps-games/editor-protocol/dist/agent-bridge.js.map +0 -1
  506. package/node_modules/@fps-games/editor-protocol/dist/agent-trace.d.ts +0 -68
  507. package/node_modules/@fps-games/editor-protocol/dist/agent-trace.d.ts.map +0 -1
  508. package/node_modules/@fps-games/editor-protocol/dist/agent-trace.js +0 -23
  509. package/node_modules/@fps-games/editor-protocol/dist/agent-trace.js.map +0 -1
  510. package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts +0 -187
  511. package/node_modules/@fps-games/editor-protocol/dist/agent.d.ts.map +0 -1
  512. package/node_modules/@fps-games/editor-protocol/dist/agent.js +0 -5
  513. package/node_modules/@fps-games/editor-protocol/dist/agent.js.map +0 -1
  514. /package/dist/{agent-bridge → editor-commands}/source-types.js +0 -0
@@ -0,0 +1,69 @@
1
+ import type { EditorCommandDiagnostic, EditorCommandId, EditorCommandJsonObject } from './editor-command';
2
+ export declare const EDITOR_COMMAND_TRACE_SCHEMA_VERSION: 1;
3
+ export declare const EDITOR_COMMAND_TRACE_SOURCES: readonly ["agent", "editor", "playwright", "chrome", "computer-use"];
4
+ export declare const EDITOR_COMMAND_TRACE_LAYERS: readonly ["L0", "L1", "L2", "L3", "observability"];
5
+ export declare const EDITOR_COMMAND_TRACE_STATUSES: readonly ["pending", "ok", "failed", "skipped"];
6
+ export type EditorCommandTraceSource = typeof EDITOR_COMMAND_TRACE_SOURCES[number] | (string & {});
7
+ export type EditorCommandTraceLayer = typeof EDITOR_COMMAND_TRACE_LAYERS[number] | (string & {});
8
+ export type EditorCommandTraceStatus = typeof EDITOR_COMMAND_TRACE_STATUSES[number] | (string & {});
9
+ export interface EditorCommandTraceArtifact {
10
+ kind: string;
11
+ label?: string;
12
+ path?: string;
13
+ url?: string;
14
+ mime?: string;
15
+ metadata?: EditorCommandJsonObject;
16
+ }
17
+ export interface EditorCommandTraceStep {
18
+ id: string;
19
+ traceId: string;
20
+ source: EditorCommandTraceSource;
21
+ layer: EditorCommandTraceLayer;
22
+ action: string;
23
+ status: EditorCommandTraceStatus;
24
+ startedAt: string;
25
+ endedAt?: string;
26
+ durationMs?: number;
27
+ sessionId?: string;
28
+ commandId?: EditorCommandId;
29
+ intentCommandId?: EditorCommandId;
30
+ requestId?: string;
31
+ inputSummary?: EditorCommandJsonObject;
32
+ outputSummary?: EditorCommandJsonObject;
33
+ diagnostics?: EditorCommandDiagnostic[];
34
+ artifacts?: EditorCommandTraceArtifact[];
35
+ message?: string;
36
+ }
37
+ export interface EditorCommandTraceSummary {
38
+ schemaVersion: typeof EDITOR_COMMAND_TRACE_SCHEMA_VERSION;
39
+ traceId: string;
40
+ label?: string;
41
+ status: EditorCommandTraceStatus;
42
+ createdAt: string;
43
+ updatedAt: string;
44
+ stepCount: number;
45
+ diagnosticCount: number;
46
+ artifactCount: number;
47
+ lastAction?: string;
48
+ lastMessage?: string;
49
+ }
50
+ export interface EditorCommandTrace extends EditorCommandTraceSummary {
51
+ steps: EditorCommandTraceStep[];
52
+ }
53
+ export interface EditorCommandTraceExternalEventInput {
54
+ traceId?: string;
55
+ traceLabel?: string;
56
+ source: EditorCommandTraceSource;
57
+ layer: EditorCommandTraceLayer;
58
+ action: string;
59
+ status?: EditorCommandTraceStatus;
60
+ sessionId?: string;
61
+ commandId?: EditorCommandId;
62
+ inputSummary?: EditorCommandJsonObject;
63
+ outputSummary?: EditorCommandJsonObject;
64
+ diagnostics?: EditorCommandDiagnostic[];
65
+ artifacts?: EditorCommandTraceArtifact[];
66
+ message?: string;
67
+ durationMs?: number;
68
+ }
69
+ //# sourceMappingURL=editor-command-trace.d.ts.map
@@ -0,0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uB,EAAE,CAAC;IACxC,SAAS,CAAC,EAAE,0BAA0B,EAAE,CAAC;IACzC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,22 @@
1
+ export const EDITOR_COMMAND_TRACE_SCHEMA_VERSION = 1;
2
+ export const EDITOR_COMMAND_TRACE_SOURCES = [
3
+ 'agent',
4
+ 'editor',
5
+ 'playwright',
6
+ 'chrome',
7
+ 'computer-use',
8
+ ];
9
+ export const EDITOR_COMMAND_TRACE_LAYERS = [
10
+ 'L0',
11
+ 'L1',
12
+ 'L2',
13
+ 'L3',
14
+ 'observability',
15
+ ];
16
+ export const EDITOR_COMMAND_TRACE_STATUSES = [
17
+ 'pending',
18
+ 'ok',
19
+ 'failed',
20
+ 'skipped',
21
+ ];
22
+ //# sourceMappingURL=editor-command-trace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editor-command-trace.js","sourceRoot":"","sources":["../src/editor-command-trace.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAU,CAAC;AAE9D,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,OAAO;IACP,QAAQ;IACR,YAAY;IACZ,QAAQ;IACR,cAAc;CACN,CAAC;AAEX,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,eAAe;CACP,CAAC;AAEX,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,SAAS;IACT,IAAI;IACJ,QAAQ;IACR,SAAS;CACD,CAAC","sourcesContent":["import type { EditorCommandDiagnostic, EditorCommandId, EditorCommandJsonObject } from './editor-command';\n\nexport const EDITOR_COMMAND_TRACE_SCHEMA_VERSION = 1 as const;\n\nexport const EDITOR_COMMAND_TRACE_SOURCES = [\n 'agent',\n 'editor',\n 'playwright',\n 'chrome',\n 'computer-use',\n] as const;\n\nexport const EDITOR_COMMAND_TRACE_LAYERS = [\n 'L0',\n 'L1',\n 'L2',\n 'L3',\n 'observability',\n] as const;\n\nexport const EDITOR_COMMAND_TRACE_STATUSES = [\n 'pending',\n 'ok',\n 'failed',\n 'skipped',\n] as const;\n\nexport type EditorCommandTraceSource =\n | typeof EDITOR_COMMAND_TRACE_SOURCES[number]\n | (string & {});\n\nexport type EditorCommandTraceLayer =\n | typeof EDITOR_COMMAND_TRACE_LAYERS[number]\n | (string & {});\n\nexport type EditorCommandTraceStatus =\n | typeof EDITOR_COMMAND_TRACE_STATUSES[number]\n | (string & {});\n\nexport interface EditorCommandTraceArtifact {\n kind: string;\n label?: string;\n path?: string;\n url?: string;\n mime?: string;\n metadata?: EditorCommandJsonObject;\n}\n\nexport interface EditorCommandTraceStep {\n id: string;\n traceId: string;\n source: EditorCommandTraceSource;\n layer: EditorCommandTraceLayer;\n action: string;\n status: EditorCommandTraceStatus;\n startedAt: string;\n endedAt?: string;\n durationMs?: number;\n sessionId?: string;\n commandId?: EditorCommandId;\n intentCommandId?: EditorCommandId;\n requestId?: string;\n inputSummary?: EditorCommandJsonObject;\n outputSummary?: EditorCommandJsonObject;\n diagnostics?: EditorCommandDiagnostic[];\n artifacts?: EditorCommandTraceArtifact[];\n message?: string;\n}\n\nexport interface EditorCommandTraceSummary {\n schemaVersion: typeof EDITOR_COMMAND_TRACE_SCHEMA_VERSION;\n traceId: string;\n label?: string;\n status: EditorCommandTraceStatus;\n createdAt: string;\n updatedAt: string;\n stepCount: number;\n diagnosticCount: number;\n artifactCount: number;\n lastAction?: string;\n lastMessage?: string;\n}\n\nexport interface EditorCommandTrace extends EditorCommandTraceSummary {\n steps: EditorCommandTraceStep[];\n}\n\nexport interface EditorCommandTraceExternalEventInput {\n traceId?: string;\n traceLabel?: string;\n source: EditorCommandTraceSource;\n layer: EditorCommandTraceLayer;\n action: string;\n status?: EditorCommandTraceStatus;\n sessionId?: string;\n commandId?: EditorCommandId;\n inputSummary?: EditorCommandJsonObject;\n outputSummary?: EditorCommandJsonObject;\n diagnostics?: EditorCommandDiagnostic[];\n artifacts?: EditorCommandTraceArtifact[];\n message?: string;\n durationMs?: number;\n}\n"]}
@@ -0,0 +1,136 @@
1
+ export declare const EDITOR_COMMAND_SCHEMA_VERSION: 1;
2
+ export type EditorCommandJsonPrimitive = string | number | boolean | null;
3
+ export type EditorCommandJsonValue = EditorCommandJsonPrimitive | EditorCommandJsonObject | EditorCommandJsonValue[];
4
+ export interface EditorCommandJsonObject {
5
+ [key: string]: EditorCommandJsonValue | undefined;
6
+ }
7
+ export type EditorCommandId = string & {};
8
+ export type EditorCommandTarget = 'workspace-service' | 'tooling' | 'authoring' | 'view' | 'renderer';
9
+ export type EditorCommandAccess = 'read' | 'write';
10
+ export type EditorCommandStability = 'experimental' | 'stable' | 'deprecated';
11
+ export type EditorCommandPersistence = 'none' | 'view' | 'authoring' | 'filesystem';
12
+ export interface EditorCommandRequirements {
13
+ editorReady?: boolean;
14
+ activeScope?: readonly string[];
15
+ viewAttached?: boolean;
16
+ rendererAttached?: boolean;
17
+ permissions?: readonly string[];
18
+ }
19
+ export interface EditorCommandEffects {
20
+ persistence: EditorCommandPersistence;
21
+ undoable: boolean;
22
+ idempotent: boolean;
23
+ }
24
+ export interface EditorCommandPresentation {
25
+ category?: string;
26
+ aliases?: readonly string[];
27
+ keywords?: readonly string[];
28
+ examples?: readonly string[];
29
+ shortcut?: string;
30
+ menu?: {
31
+ path: readonly string[];
32
+ group?: string;
33
+ order?: number;
34
+ };
35
+ inputMode?: 'none' | 'inline-json' | 'schema-form';
36
+ selectionBinding?: {
37
+ activeId?: string;
38
+ selectedIds?: string;
39
+ };
40
+ }
41
+ /**
42
+ * Serializable command metadata shared by Browser UI, plugins, the project-local
43
+ * gateway, and fps-editor-agent. Handlers and environment resources never enter
44
+ * this protocol object.
45
+ */
46
+ export interface EditorCommandManifest {
47
+ schemaVersion: typeof EDITOR_COMMAND_SCHEMA_VERSION;
48
+ id: EditorCommandId;
49
+ version: number;
50
+ title: string;
51
+ description?: string;
52
+ target: EditorCommandTarget;
53
+ access: EditorCommandAccess;
54
+ stability: EditorCommandStability;
55
+ inputSchema: EditorCommandJsonObject;
56
+ outputSchema: EditorCommandJsonObject;
57
+ requires?: EditorCommandRequirements;
58
+ effects: EditorCommandEffects;
59
+ presentation?: EditorCommandPresentation;
60
+ }
61
+ export type EditorCommandDiagnosticSeverity = 'info' | 'warning' | 'error';
62
+ export interface EditorCommandDiagnostic {
63
+ severity: EditorCommandDiagnosticSeverity;
64
+ source: 'command-system' | 'command' | 'document' | 'adapter' | 'transport' | (string & {});
65
+ code: string;
66
+ message: string;
67
+ path?: string;
68
+ objectId?: string;
69
+ details?: EditorCommandJsonObject;
70
+ }
71
+ export interface EditorCommandPrincipal {
72
+ type: 'human' | 'agent' | 'plugin' | 'system' | (string & {});
73
+ id?: string;
74
+ }
75
+ export interface EditorCommandExpectedRevision {
76
+ serviceInstanceId?: string;
77
+ document?: number;
78
+ scope?: number;
79
+ catalog?: number;
80
+ }
81
+ export interface EditorCommandInvocation {
82
+ commandId: EditorCommandId;
83
+ /** Stable user intent preserved when a service-owned command composes another command. */
84
+ intentCommandId?: EditorCommandId;
85
+ input?: EditorCommandJsonValue;
86
+ requestId: string;
87
+ idempotencyKey?: string;
88
+ principal: EditorCommandPrincipal;
89
+ source: 'browser-ui' | 'agent-cli' | 'plugin' | 'system' | (string & {});
90
+ expectedRevision?: EditorCommandExpectedRevision;
91
+ traceId?: string;
92
+ traceStepId?: string;
93
+ transactionId?: string;
94
+ clientId?: string;
95
+ }
96
+ export type EditorCommandOperationStatus = 'accepted' | 'running' | 'completed' | 'failed' | 'cancelled';
97
+ export interface EditorCommandOperationSnapshot<TOutput = EditorCommandJsonValue> {
98
+ operationId: string;
99
+ requestId: string;
100
+ commandId: EditorCommandId;
101
+ intentCommandId?: EditorCommandId;
102
+ status: EditorCommandOperationStatus;
103
+ source: EditorCommandInvocation['source'];
104
+ principal: EditorCommandPrincipal;
105
+ createdAt: number;
106
+ startedAt?: number;
107
+ completedAt?: number;
108
+ output?: TOutput;
109
+ diagnostics?: EditorCommandDiagnostic[];
110
+ traceId?: string;
111
+ traceStepId?: string;
112
+ transactionId?: string;
113
+ summary?: EditorCommandJsonObject;
114
+ }
115
+ export interface EditorCommandExecutionSuccess<TOutput = EditorCommandJsonValue> extends EditorCommandOperationSnapshot<TOutput> {
116
+ status: 'completed';
117
+ output: TOutput;
118
+ }
119
+ export interface EditorCommandExecutionFailure extends EditorCommandOperationSnapshot<never> {
120
+ status: 'failed' | 'cancelled';
121
+ diagnostics: EditorCommandDiagnostic[];
122
+ }
123
+ export type EditorCommandExecutionResult<TOutput = EditorCommandJsonValue> = EditorCommandExecutionSuccess<TOutput> | EditorCommandExecutionFailure;
124
+ export interface EditorCommandAvailability {
125
+ available: boolean;
126
+ reasons: EditorCommandDiagnostic[];
127
+ }
128
+ export interface EditorCommandCatalogEntry {
129
+ manifest: EditorCommandManifest;
130
+ availability: EditorCommandAvailability;
131
+ }
132
+ export interface EditorCommandCatalogSnapshot {
133
+ catalogRevision: number;
134
+ commands: EditorCommandCatalogEntry[];
135
+ }
136
+ //# sourceMappingURL=editor-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editor-command.d.ts","sourceRoot":"","sources":["../src/editor-command.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,6BAA6B,EAAG,CAAU,CAAC;AAExD,MAAM,MAAM,0BAA0B,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;AAC1E,MAAM,MAAM,sBAAsB,GAC9B,0BAA0B,GAC1B,uBAAuB,GACvB,sBAAsB,EAAE,CAAC;AAC7B,MAAM,WAAW,uBAAuB;IACtC,CAAC,GAAG,EAAE,MAAM,GAAG,sBAAsB,GAAG,SAAS,CAAC;CACnD;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,EAAE,CAAC;AAC1C,MAAM,MAAM,mBAAmB,GAC3B,mBAAmB,GAC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AAC,EAAE,uBAAuB,CAAC;CACnC;AAED,MAAM,WAAW,6BAA6B,CAAC,OAAO,GAAG,sBAAsB,CAC7E,SAAQ,8BAA8B,CAAC,OAAO,CAAC;IAC/C,MAAM,EAAE,WAAW,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,6BACf,SAAQ,8BAA8B,CAAC,KAAK,CAAC;IAC7C,MAAM,EAAE,QAAQ,GAAG,WAAW,CAAC;IAC/B,WAAW,EAAE,uBAAuB,EAAE,CAAC;CACxC;AAED,MAAM,MAAM,4BAA4B,CAAC,OAAO,GAAG,sBAAsB,IACrE,6BAA6B,CAAC,OAAO,CAAC,GACtC,6BAA6B,CAAC;AAElC,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,uBAAuB,EAAE,CAAC;CACpC;AAED,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,qBAAqB,CAAC;IAChC,YAAY,EAAE,yBAAyB,CAAC;CACzC;AAED,MAAM,WAAW,4BAA4B;IAC3C,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,yBAAyB,EAAE,CAAC;CACvC"}
@@ -0,0 +1,2 @@
1
+ export const EDITOR_COMMAND_SCHEMA_VERSION = 1;
2
+ //# sourceMappingURL=editor-command.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editor-command.js","sourceRoot":"","sources":["../src/editor-command.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAU,CAAC","sourcesContent":["export const EDITOR_COMMAND_SCHEMA_VERSION = 1 as const;\n\nexport type EditorCommandJsonPrimitive = string | number | boolean | null;\nexport type EditorCommandJsonValue =\n | EditorCommandJsonPrimitive\n | EditorCommandJsonObject\n | EditorCommandJsonValue[];\nexport interface EditorCommandJsonObject {\n [key: string]: EditorCommandJsonValue | undefined;\n}\n\nexport type EditorCommandId = string & {};\nexport type EditorCommandTarget =\n | 'workspace-service'\n | 'tooling'\n | 'authoring'\n | 'view'\n | 'renderer';\nexport type EditorCommandAccess = 'read' | 'write';\nexport type EditorCommandStability = 'experimental' | 'stable' | 'deprecated';\nexport type EditorCommandPersistence = 'none' | 'view' | 'authoring' | 'filesystem';\n\nexport interface EditorCommandRequirements {\n editorReady?: boolean;\n activeScope?: readonly string[];\n viewAttached?: boolean;\n rendererAttached?: boolean;\n permissions?: readonly string[];\n}\n\nexport interface EditorCommandEffects {\n persistence: EditorCommandPersistence;\n undoable: boolean;\n idempotent: boolean;\n}\n\nexport interface EditorCommandPresentation {\n category?: string;\n aliases?: readonly string[];\n keywords?: readonly string[];\n examples?: readonly string[];\n shortcut?: string;\n menu?: {\n path: readonly string[];\n group?: string;\n order?: number;\n };\n inputMode?: 'none' | 'inline-json' | 'schema-form';\n selectionBinding?: {\n activeId?: string;\n selectedIds?: string;\n };\n}\n\n/**\n * Serializable command metadata shared by Browser UI, plugins, the project-local\n * gateway, and fps-editor-agent. Handlers and environment resources never enter\n * this protocol object.\n */\nexport interface EditorCommandManifest {\n schemaVersion: typeof EDITOR_COMMAND_SCHEMA_VERSION;\n id: EditorCommandId;\n version: number;\n title: string;\n description?: string;\n target: EditorCommandTarget;\n access: EditorCommandAccess;\n stability: EditorCommandStability;\n inputSchema: EditorCommandJsonObject;\n outputSchema: EditorCommandJsonObject;\n requires?: EditorCommandRequirements;\n effects: EditorCommandEffects;\n presentation?: EditorCommandPresentation;\n}\n\nexport type EditorCommandDiagnosticSeverity = 'info' | 'warning' | 'error';\n\nexport interface EditorCommandDiagnostic {\n severity: EditorCommandDiagnosticSeverity;\n source: 'command-system' | 'command' | 'document' | 'adapter' | 'transport' | (string & {});\n code: string;\n message: string;\n path?: string;\n objectId?: string;\n details?: EditorCommandJsonObject;\n}\n\nexport interface EditorCommandPrincipal {\n type: 'human' | 'agent' | 'plugin' | 'system' | (string & {});\n id?: string;\n}\n\nexport interface EditorCommandExpectedRevision {\n serviceInstanceId?: string;\n document?: number;\n scope?: number;\n catalog?: number;\n}\n\nexport interface EditorCommandInvocation {\n commandId: EditorCommandId;\n /** Stable user intent preserved when a service-owned command composes another command. */\n intentCommandId?: EditorCommandId;\n input?: EditorCommandJsonValue;\n requestId: string;\n idempotencyKey?: string;\n principal: EditorCommandPrincipal;\n source: 'browser-ui' | 'agent-cli' | 'plugin' | 'system' | (string & {});\n expectedRevision?: EditorCommandExpectedRevision;\n traceId?: string;\n traceStepId?: string;\n transactionId?: string;\n clientId?: string;\n}\n\nexport type EditorCommandOperationStatus =\n | 'accepted'\n | 'running'\n | 'completed'\n | 'failed'\n | 'cancelled';\n\nexport interface EditorCommandOperationSnapshot<TOutput = EditorCommandJsonValue> {\n operationId: string;\n requestId: string;\n commandId: EditorCommandId;\n intentCommandId?: EditorCommandId;\n status: EditorCommandOperationStatus;\n source: EditorCommandInvocation['source'];\n principal: EditorCommandPrincipal;\n createdAt: number;\n startedAt?: number;\n completedAt?: number;\n output?: TOutput;\n diagnostics?: EditorCommandDiagnostic[];\n traceId?: string;\n traceStepId?: string;\n transactionId?: string;\n summary?: EditorCommandJsonObject;\n}\n\nexport interface EditorCommandExecutionSuccess<TOutput = EditorCommandJsonValue>\n extends EditorCommandOperationSnapshot<TOutput> {\n status: 'completed';\n output: TOutput;\n}\n\nexport interface EditorCommandExecutionFailure\n extends EditorCommandOperationSnapshot<never> {\n status: 'failed' | 'cancelled';\n diagnostics: EditorCommandDiagnostic[];\n}\n\nexport type EditorCommandExecutionResult<TOutput = EditorCommandJsonValue> =\n | EditorCommandExecutionSuccess<TOutput>\n | EditorCommandExecutionFailure;\n\nexport interface EditorCommandAvailability {\n available: boolean;\n reasons: EditorCommandDiagnostic[];\n}\n\nexport interface EditorCommandCatalogEntry {\n manifest: EditorCommandManifest;\n availability: EditorCommandAvailability;\n}\n\nexport interface EditorCommandCatalogSnapshot {\n catalogRevision: number;\n commands: EditorCommandCatalogEntry[];\n}\n"]}
@@ -0,0 +1,225 @@
1
+ import type { EditorCommandCatalogEntry, EditorCommandDiagnostic, EditorCommandInvocation, EditorCommandJsonObject, EditorCommandOperationSnapshot } from './editor-command.js';
2
+ import type { EditorCommandTrace } from './editor-command-trace.js';
3
+ export declare const EDITOR_SERVICE_PROTOCOL_VERSION: 1;
4
+ export declare const EDITOR_SERVICE_DESCRIPTOR_SCHEMA_VERSION: 1;
5
+ export declare const EDITOR_SERVICE_GATEWAY_PATH: "/__fps_editor_agent/v1";
6
+ export type EditorServiceTokenScope = 'read' | 'write';
7
+ export interface EditorServiceRuntimeDescriptor {
8
+ schemaVersion: typeof EDITOR_SERVICE_DESCRIPTOR_SCHEMA_VERSION;
9
+ protocolVersion: typeof EDITOR_SERVICE_PROTOCOL_VERSION;
10
+ canonicalProjectRoot: string;
11
+ serviceInstanceId: string;
12
+ pid: number;
13
+ endpoint: string;
14
+ startedAt: string;
15
+ packageName: '@fps-games/editor';
16
+ packageVersion: string;
17
+ buildKey: string;
18
+ token: string;
19
+ tokenScopes: readonly EditorServiceTokenScope[];
20
+ }
21
+ export interface EditorAuthoringSnapshot<TDocument = EditorCommandJsonObject> {
22
+ serviceInstanceId: string;
23
+ documentRevision: number;
24
+ documentStructureRevision: number;
25
+ eventCursor: number;
26
+ dirty: boolean;
27
+ canUndo: boolean;
28
+ canRedo: boolean;
29
+ history: EditorAuthoringHistoryView;
30
+ document: TDocument;
31
+ savedDocument: TDocument;
32
+ }
33
+ export interface EditorAuthoringHistoryEntry {
34
+ id: string;
35
+ label: string;
36
+ commandType: string;
37
+ createdAt: number;
38
+ }
39
+ export interface EditorAuthoringHistoryView {
40
+ entries: EditorAuthoringHistoryEntry[];
41
+ }
42
+ export type EditorAuthoringEventReason = 'document' | 'history' | 'saved' | 'reset' | 'rebase';
43
+ export interface EditorAuthoringEvent {
44
+ cursor: number;
45
+ serviceInstanceId: string;
46
+ reason: EditorAuthoringEventReason;
47
+ documentRevision: number;
48
+ dirty: boolean;
49
+ timestamp: number;
50
+ }
51
+ export type EditorAuthoringEventReadResult<TDocument = EditorCommandJsonObject> = {
52
+ kind: 'events';
53
+ serviceInstanceId: string;
54
+ latestCursor: number;
55
+ events: EditorAuthoringEvent[];
56
+ } | {
57
+ kind: 'snapshot-required';
58
+ reason: 'cursor.expired' | 'cursor.invalid' | 'service.restarted';
59
+ snapshot: EditorAuthoringSnapshot<TDocument>;
60
+ };
61
+ export interface EditorCommandCatalogPage {
62
+ catalogRevision: number;
63
+ nextCursor?: string;
64
+ commands: EditorCommandCatalogEntry[];
65
+ }
66
+ export interface EditorServiceStatus {
67
+ ok: true;
68
+ protocolVersion: typeof EDITOR_SERVICE_PROTOCOL_VERSION;
69
+ serviceInstanceId: string;
70
+ canonicalProjectRoot: string;
71
+ packageVersion: string;
72
+ buildKey: string;
73
+ startedAt: string;
74
+ documentRevision: number;
75
+ catalogRevision: number;
76
+ dirty: boolean;
77
+ browserAttachmentCount: number;
78
+ browserAttachments: EditorBrowserAttachmentSummary[];
79
+ recovery: {
80
+ draftJournal: false;
81
+ unsavedWorkingStateRecovered: false;
82
+ message: string;
83
+ };
84
+ }
85
+ export interface EditorBrowserAttachmentSummary {
86
+ attachmentId: string;
87
+ label?: string;
88
+ targets: readonly ('view' | 'renderer')[];
89
+ commandCount: number;
90
+ }
91
+ export interface EditorServiceTracePage<TTrace = EditorCommandTrace> {
92
+ nextCursor?: string;
93
+ traces: TTrace[];
94
+ }
95
+ export interface EditorServiceDocumentExportArtifact<TDocument = unknown> {
96
+ transactionId: string;
97
+ documentRevision: number;
98
+ document: TDocument;
99
+ sceneJsonText: string;
100
+ expectedVersion?: number;
101
+ }
102
+ export type EditorServiceGatewayRequest = {
103
+ kind: 'status';
104
+ } | {
105
+ kind: 'commands.list';
106
+ cursor?: string;
107
+ limit?: number;
108
+ } | {
109
+ kind: 'commands.search';
110
+ query: string;
111
+ cursor?: string;
112
+ limit?: number;
113
+ } | {
114
+ kind: 'commands.describe';
115
+ commandId: string;
116
+ } | {
117
+ kind: 'command.invoke';
118
+ invocation: EditorCommandInvocation;
119
+ timeoutMs?: number;
120
+ } | {
121
+ kind: 'operation.get';
122
+ operationId: string;
123
+ } | {
124
+ kind: 'operation.cancel';
125
+ operationId: string;
126
+ } | {
127
+ kind: 'trace.get';
128
+ traceId?: string;
129
+ cursor?: string;
130
+ limit?: number;
131
+ } | {
132
+ kind: 'authoring.snapshot';
133
+ afterEventCursor?: number;
134
+ serviceInstanceId?: string;
135
+ } | {
136
+ kind: 'document.export.get';
137
+ transactionId: string;
138
+ } | {
139
+ kind: 'attachment.register';
140
+ attachment: EditorBrowserAttachmentRegistration;
141
+ } | {
142
+ kind: 'attachment.poll';
143
+ attachmentId: string;
144
+ timeoutMs?: number;
145
+ } | {
146
+ kind: 'attachment.result';
147
+ attachmentId: string;
148
+ result: EditorBrowserAttachmentCommandResult;
149
+ } | {
150
+ kind: 'attachment.unregister';
151
+ attachmentId: string;
152
+ };
153
+ export type EditorServiceGatewayResponse = {
154
+ ok: true;
155
+ kind: 'status';
156
+ status: EditorServiceStatus;
157
+ } | {
158
+ ok: true;
159
+ kind: 'commands';
160
+ page: EditorCommandCatalogPage;
161
+ } | {
162
+ ok: true;
163
+ kind: 'command';
164
+ command: EditorCommandCatalogEntry | null;
165
+ } | {
166
+ ok: true;
167
+ kind: 'operation';
168
+ operation: EditorCommandOperationSnapshot | null;
169
+ } | {
170
+ ok: true;
171
+ kind: 'cancel';
172
+ cancelled: boolean;
173
+ operation: EditorCommandOperationSnapshot | null;
174
+ } | {
175
+ ok: true;
176
+ kind: 'traces';
177
+ page: EditorServiceTracePage;
178
+ } | {
179
+ ok: true;
180
+ kind: 'authoring.snapshot';
181
+ result: EditorAuthoringEventReadResult;
182
+ } | {
183
+ ok: true;
184
+ kind: 'document.export';
185
+ artifact: EditorServiceDocumentExportArtifact | null;
186
+ } | {
187
+ ok: true;
188
+ kind: 'attachment';
189
+ attachmentId: string;
190
+ } | {
191
+ ok: true;
192
+ kind: 'attachment.poll';
193
+ request: EditorBrowserAttachmentCommandRequest | null;
194
+ } | {
195
+ ok: true;
196
+ kind: 'attachment.result';
197
+ accepted: boolean;
198
+ } | {
199
+ ok: true;
200
+ kind: 'attachment.unregister';
201
+ removed: boolean;
202
+ } | {
203
+ ok: false;
204
+ diagnostics: EditorCommandDiagnostic[];
205
+ };
206
+ export interface EditorBrowserAttachmentRegistration {
207
+ attachmentId: string;
208
+ label?: string;
209
+ targets: readonly ('view' | 'renderer')[];
210
+ commandIds: readonly string[];
211
+ connectedAt?: string;
212
+ }
213
+ export interface EditorBrowserAttachmentCommandRequest {
214
+ requestId: string;
215
+ operationId: string;
216
+ invocation: EditorCommandInvocation;
217
+ }
218
+ export interface EditorBrowserAttachmentCommandResult {
219
+ requestId: string;
220
+ operationId: string;
221
+ ok: boolean;
222
+ output?: unknown;
223
+ diagnostics?: EditorCommandDiagnostic[];
224
+ }
225
+ //# sourceMappingURL=editor-service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editor-service.d.ts","sourceRoot":"","sources":["../src/editor-service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EACzB,uBAAuB,EACvB,uBAAuB,EACvB,uBAAuB,EACvB,8BAA8B,EAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,eAAO,MAAM,+BAA+B,EAAG,CAAU,CAAC;AAC1D,eAAO,MAAM,wCAAwC,EAAG,CAAU,CAAC;AACnE,eAAO,MAAM,2BAA2B,EAAG,wBAAiC,CAAC;AAE7E,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,OAAO,CAAC;AAEvD,MAAM,WAAW,8BAA8B;IAC7C,aAAa,EAAE,OAAO,wCAAwC,CAAC;IAC/D,eAAe,EAAE,OAAO,+BAA+B,CAAC;IACxD,oBAAoB,EAAE,MAAM,CAAC;IAC7B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,E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4 @@
1
+ export const EDITOR_SERVICE_PROTOCOL_VERSION = 1;
2
+ export const EDITOR_SERVICE_DESCRIPTOR_SCHEMA_VERSION = 1;
3
+ export const EDITOR_SERVICE_GATEWAY_PATH = '/__fps_editor_agent/v1';
4
+ //# sourceMappingURL=editor-service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editor-service.js","sourceRoot":"","sources":["../src/editor-service.ts"],"names":[],"mappings":"AASA,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAU,CAAC;AAC1D,MAAM,CAAC,MAAM,wCAAwC,GAAG,CAAU,CAAC;AACnE,MAAM,CAAC,MAAM,2BAA2B,GAAG,wBAAiC,CAAC","sourcesContent":["import type {\n EditorCommandCatalogEntry,\n EditorCommandDiagnostic,\n EditorCommandInvocation,\n EditorCommandJsonObject,\n EditorCommandOperationSnapshot,\n} from './editor-command.js';\nimport type { EditorCommandTrace } from './editor-command-trace.js';\n\nexport const EDITOR_SERVICE_PROTOCOL_VERSION = 1 as const;\nexport const EDITOR_SERVICE_DESCRIPTOR_SCHEMA_VERSION = 1 as const;\nexport const EDITOR_SERVICE_GATEWAY_PATH = '/__fps_editor_agent/v1' as const;\n\nexport type EditorServiceTokenScope = 'read' | 'write';\n\nexport interface EditorServiceRuntimeDescriptor {\n schemaVersion: typeof EDITOR_SERVICE_DESCRIPTOR_SCHEMA_VERSION;\n protocolVersion: typeof EDITOR_SERVICE_PROTOCOL_VERSION;\n canonicalProjectRoot: string;\n serviceInstanceId: string;\n pid: number;\n endpoint: string;\n startedAt: string;\n packageName: '@fps-games/editor';\n packageVersion: string;\n buildKey: string;\n token: string;\n tokenScopes: readonly EditorServiceTokenScope[];\n}\n\nexport interface EditorAuthoringSnapshot<TDocument = EditorCommandJsonObject> {\n serviceInstanceId: string;\n documentRevision: number;\n documentStructureRevision: number;\n eventCursor: number;\n dirty: boolean;\n canUndo: boolean;\n canRedo: boolean;\n history: EditorAuthoringHistoryView;\n document: TDocument;\n savedDocument: TDocument;\n}\n\nexport interface EditorAuthoringHistoryEntry {\n id: string;\n label: string;\n commandType: string;\n createdAt: number;\n}\n\nexport interface EditorAuthoringHistoryView {\n entries: EditorAuthoringHistoryEntry[];\n}\n\nexport type EditorAuthoringEventReason =\n | 'document'\n | 'history'\n | 'saved'\n | 'reset'\n | 'rebase';\n\nexport interface EditorAuthoringEvent {\n cursor: number;\n serviceInstanceId: string;\n reason: EditorAuthoringEventReason;\n documentRevision: number;\n dirty: boolean;\n timestamp: number;\n}\n\nexport type EditorAuthoringEventReadResult<TDocument = EditorCommandJsonObject> =\n | {\n kind: 'events';\n serviceInstanceId: string;\n latestCursor: number;\n events: EditorAuthoringEvent[];\n }\n | {\n kind: 'snapshot-required';\n reason: 'cursor.expired' | 'cursor.invalid' | 'service.restarted';\n snapshot: EditorAuthoringSnapshot<TDocument>;\n };\n\nexport interface EditorCommandCatalogPage {\n catalogRevision: number;\n nextCursor?: string;\n commands: EditorCommandCatalogEntry[];\n}\n\nexport interface EditorServiceStatus {\n ok: true;\n protocolVersion: typeof EDITOR_SERVICE_PROTOCOL_VERSION;\n serviceInstanceId: string;\n canonicalProjectRoot: string;\n packageVersion: string;\n buildKey: string;\n startedAt: string;\n documentRevision: number;\n catalogRevision: number;\n dirty: boolean;\n browserAttachmentCount: number;\n browserAttachments: EditorBrowserAttachmentSummary[];\n recovery: {\n draftJournal: false;\n unsavedWorkingStateRecovered: false;\n message: string;\n };\n}\n\nexport interface EditorBrowserAttachmentSummary {\n attachmentId: string;\n label?: string;\n targets: readonly ('view' | 'renderer')[];\n commandCount: number;\n}\n\nexport interface EditorServiceTracePage<TTrace = EditorCommandTrace> {\n nextCursor?: string;\n traces: TTrace[];\n}\n\nexport interface EditorServiceDocumentExportArtifact<\n TDocument = unknown,\n> {\n transactionId: string;\n documentRevision: number;\n document: TDocument;\n sceneJsonText: string;\n expectedVersion?: number;\n}\n\nexport type EditorServiceGatewayRequest =\n | { kind: 'status' }\n | { kind: 'commands.list'; cursor?: string; limit?: number }\n | { kind: 'commands.search'; query: string; cursor?: string; limit?: number }\n | { kind: 'commands.describe'; commandId: string }\n | { kind: 'command.invoke'; invocation: EditorCommandInvocation; timeoutMs?: number }\n | { kind: 'operation.get'; operationId: string }\n | { kind: 'operation.cancel'; operationId: string }\n | { kind: 'trace.get'; traceId?: string; cursor?: string; limit?: number }\n | { kind: 'authoring.snapshot'; afterEventCursor?: number; serviceInstanceId?: string }\n | { kind: 'document.export.get'; transactionId: string }\n | { kind: 'attachment.register'; attachment: EditorBrowserAttachmentRegistration }\n | { kind: 'attachment.poll'; attachmentId: string; timeoutMs?: number }\n | { kind: 'attachment.result'; attachmentId: string; result: EditorBrowserAttachmentCommandResult }\n | { kind: 'attachment.unregister'; attachmentId: string };\n\nexport type EditorServiceGatewayResponse =\n | { ok: true; kind: 'status'; status: EditorServiceStatus }\n | { ok: true; kind: 'commands'; page: EditorCommandCatalogPage }\n | { ok: true; kind: 'command'; command: EditorCommandCatalogEntry | null }\n | { ok: true; kind: 'operation'; operation: EditorCommandOperationSnapshot | null }\n | { ok: true; kind: 'cancel'; cancelled: boolean; operation: EditorCommandOperationSnapshot | null }\n | { ok: true; kind: 'traces'; page: EditorServiceTracePage }\n | { ok: true; kind: 'authoring.snapshot'; result: EditorAuthoringEventReadResult }\n | { ok: true; kind: 'document.export'; artifact: EditorServiceDocumentExportArtifact | null }\n | { ok: true; kind: 'attachment'; attachmentId: string }\n | { ok: true; kind: 'attachment.poll'; request: EditorBrowserAttachmentCommandRequest | null }\n | { ok: true; kind: 'attachment.result'; accepted: boolean }\n | { ok: true; kind: 'attachment.unregister'; removed: boolean }\n | { ok: false; diagnostics: EditorCommandDiagnostic[] };\n\nexport interface EditorBrowserAttachmentRegistration {\n attachmentId: string;\n label?: string;\n targets: readonly ('view' | 'renderer')[];\n commandIds: readonly string[];\n connectedAt?: string;\n}\n\nexport interface EditorBrowserAttachmentCommandRequest {\n requestId: string;\n operationId: string;\n invocation: EditorCommandInvocation;\n}\n\nexport interface EditorBrowserAttachmentCommandResult {\n requestId: string;\n operationId: string;\n ok: boolean;\n output?: unknown;\n diagnostics?: EditorCommandDiagnostic[];\n}\n"]}
@@ -7,11 +7,12 @@
7
7
  */
8
8
  import type { MaterialSlotSourceDescriptor } from '@fps-games/playable-contracts';
9
9
  export type { MaterialSlotSourceDescriptor } from '@fps-games/playable-contracts';
10
- export * from './agent';
11
- export * from './agent-bridge';
12
- export * from './agent-trace';
10
+ export * from './editor-command-capabilities';
11
+ export * from './editor-command-trace';
13
12
  export * from './marker-graph';
14
13
  export * from './editor-diagnostics';
14
+ export * from './editor-command';
15
+ export * from './editor-service';
15
16
  export type JsonPrimitive = string | number | boolean | null;
16
17
  export type JsonValue = JsonPrimitive | JsonObject | JsonValue[];
17
18
  export interface JsonObject {
@@ -298,6 +299,8 @@ export declare const EDITOR_COMMAND_NAME: {
298
299
  };
299
300
  export type EditorCommandName = typeof EDITOR_COMMAND_NAME[keyof typeof EDITOR_COMMAND_NAME];
300
301
  export declare const EDITOR_EVENT_NAME: {
302
+ readonly EDITOR_SESSION_READY: "editor.session.ready";
303
+ readonly DOCUMENT_COMMITTED: "document.committed";
301
304
  readonly DOCUMENT_EXPORTED: "document.exported";
302
305
  readonly UNDO_RESULT: "history.undo.result";
303
306
  readonly REDO_RESULT: "history.redo.result";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAClF,YAAY,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAElF,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AAErC,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;AAC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MAAM,oBAAoB,GAAG,aAAa,CAAC;AACjD,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC;AAC7C,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC;AAC/C,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC;AAC3C,MAAM,MAAM,2BAA2B,GAAG,oBAAoB,CAAC;AAC/D,MAAM,MAAM,+BAA+B,GAAG,wBAAwB,CAAC;AACvE,MAAM,MAAM,4BAA4B,GAAG,qBAAqB,CAAC;AACjE,MAAM,MAAM,uBAAuB,GAAG,gBAAgB,CAAC;AACvD,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC;AACnD,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC;AACjD,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,CAAC;AAC7D,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,CAAC;AAC7D,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,CAAC;AAC7D,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC"}
@@ -5,11 +5,12 @@
5
5
  * Forge Play implementation dependency. Runtime packages may depend on these
6
6
  * contracts; game projects provide adapters for project-specific semantics.
7
7
  */
8
- export * from './agent.js';
9
- export * from './agent-bridge.js';
10
- export * from './agent-trace.js';
8
+ export * from './editor-command-capabilities.js';
9
+ export * from './editor-command-trace.js';
11
10
  export * from './marker-graph.js';
12
11
  export * from './editor-diagnostics.js';
12
+ export * from './editor-command.js';
13
+ export * from './editor-service.js';
13
14
  function isFiniteNumber(value) {
14
15
  return typeof value === 'number' && Number.isFinite(value);
15
16
  }
@@ -298,6 +299,8 @@ export const EDITOR_COMMAND_NAME = {
298
299
  SELECTION_DUPLICATE: 'selection.duplicate',
299
300
  };
300
301
  export const EDITOR_EVENT_NAME = {
302
+ EDITOR_SESSION_READY: 'editor.session.ready',
303
+ DOCUMENT_COMMITTED: 'document.committed',
301
304
  DOCUMENT_EXPORTED: 'document.exported',
302
305
  UNDO_RESULT: 'history.undo.result',
303
306
  REDO_RESULT: 'history.redo.result',