@dxos/app-framework 0.8.4-main.422d1c7879 → 0.8.4-main.4f23b4e393

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 (272) hide show
  1. package/dist/lib/browser/{capability-DOMNPRJP.mjs → capability-5RRH3WIB.mjs} +11 -11
  2. package/dist/lib/browser/capability-5RRH3WIB.mjs.map +7 -0
  3. package/dist/lib/browser/{capability-KSNT34SN.mjs → capability-LUKGKUQH.mjs} +10 -10
  4. package/dist/lib/browser/{chunk-T3Y4AEKX.mjs → chunk-23D4SJUE.mjs} +3 -3
  5. package/dist/lib/browser/{chunk-T3Y4AEKX.mjs.map → chunk-23D4SJUE.mjs.map} +1 -1
  6. package/dist/lib/browser/{chunk-2CKCJ6PN.mjs → chunk-3JWJXGLK.mjs} +1 -1
  7. package/dist/lib/browser/{chunk-2CKCJ6PN.mjs.map → chunk-3JWJXGLK.mjs.map} +1 -1
  8. package/dist/lib/browser/{chunk-I34GF4NG.mjs → chunk-45CHLTBV.mjs} +2 -2
  9. package/dist/lib/browser/{chunk-QSXYHXCE.mjs → chunk-66IXTIVK.mjs} +1 -1
  10. package/dist/lib/browser/{chunk-QSXYHXCE.mjs.map → chunk-66IXTIVK.mjs.map} +2 -2
  11. package/dist/lib/browser/{chunk-QRTB4Q3U.mjs → chunk-7VZJR2OA.mjs} +4 -17
  12. package/dist/lib/browser/chunk-7VZJR2OA.mjs.map +7 -0
  13. package/dist/lib/browser/chunk-CZ4BIAHH.mjs +422 -0
  14. package/dist/lib/browser/chunk-CZ4BIAHH.mjs.map +7 -0
  15. package/dist/lib/browser/{chunk-TGX63LTL.mjs → chunk-FJ4765WW.mjs} +1 -1
  16. package/dist/lib/browser/{chunk-TGX63LTL.mjs.map → chunk-FJ4765WW.mjs.map} +2 -2
  17. package/dist/lib/browser/chunk-FO3IYSLV.mjs +68 -0
  18. package/dist/lib/browser/chunk-FO3IYSLV.mjs.map +7 -0
  19. package/dist/lib/browser/{chunk-BMIAYUWT.mjs → chunk-JD3Z5NEF.mjs} +147 -75
  20. package/dist/lib/browser/chunk-JD3Z5NEF.mjs.map +7 -0
  21. package/dist/lib/browser/chunk-NBXPP7JR.mjs +1174 -0
  22. package/dist/lib/browser/chunk-NBXPP7JR.mjs.map +7 -0
  23. package/dist/lib/browser/{chunk-JKWMHZP6.mjs → chunk-WBHCSOBW.mjs} +2 -2
  24. package/dist/lib/browser/chunk-WBHCSOBW.mjs.map +7 -0
  25. package/dist/lib/browser/{chunk-GDWTW4ZW.mjs → chunk-Z55LVAGN.mjs} +76 -11
  26. package/dist/lib/browser/chunk-Z55LVAGN.mjs.map +7 -0
  27. package/dist/lib/browser/{chunk-F7FW2RK2.mjs → chunk-ZGJAZSNE.mjs} +7 -32
  28. package/dist/lib/browser/chunk-ZGJAZSNE.mjs.map +7 -0
  29. package/dist/lib/browser/cli/index.mjs +14 -28
  30. package/dist/lib/browser/cli/index.mjs.map +3 -3
  31. package/dist/lib/browser/common/activation-events.mjs +7 -7
  32. package/dist/lib/browser/common/capabilities.mjs +7 -7
  33. package/dist/lib/browser/core/activation-event.mjs +1 -1
  34. package/dist/lib/browser/core/capability.mjs +1 -1
  35. package/dist/lib/browser/core/plugin-manager.mjs +8 -4
  36. package/dist/lib/browser/core/plugin.mjs +10 -2
  37. package/dist/lib/browser/core/url-loader.mjs +13 -5
  38. package/dist/lib/browser/index.mjs +34 -17
  39. package/dist/lib/browser/index.mjs.map +3 -3
  40. package/dist/lib/browser/{invoker-capability-VCMPQOIA.mjs → invoker-capability-K4GHUFXF.mjs} +12 -11
  41. package/dist/lib/browser/invoker-capability-K4GHUFXF.mjs.map +7 -0
  42. package/dist/lib/browser/meta.json +1 -1
  43. package/dist/lib/browser/testing/index.mjs +20 -32
  44. package/dist/lib/browser/testing/index.mjs.map +3 -3
  45. package/dist/lib/browser/testing/react.mjs +11 -11
  46. package/dist/lib/browser/ui/index.mjs +14 -12
  47. package/dist/lib/node-esm/{capability-EOQTORML.mjs → capability-FCGZVIEG.mjs} +10 -10
  48. package/dist/lib/node-esm/{capability-KJTQIWDK.mjs → capability-JOIQ2MQE.mjs} +11 -11
  49. package/dist/lib/node-esm/capability-JOIQ2MQE.mjs.map +7 -0
  50. package/dist/lib/node-esm/{chunk-FKE4Z3D6.mjs → chunk-37Z53PXZ.mjs} +1 -1
  51. package/dist/lib/node-esm/{chunk-FKE4Z3D6.mjs.map → chunk-37Z53PXZ.mjs.map} +2 -2
  52. package/dist/lib/node-esm/{chunk-WZCSOX5Q.mjs → chunk-6XW6LET6.mjs} +2 -2
  53. package/dist/lib/node-esm/{chunk-URWHJQT2.mjs → chunk-D347W3KO.mjs} +7 -32
  54. package/dist/lib/node-esm/chunk-D347W3KO.mjs.map +7 -0
  55. package/dist/lib/node-esm/{chunk-WZ6DHQER.mjs → chunk-DRZKO5UZ.mjs} +147 -75
  56. package/dist/lib/node-esm/chunk-DRZKO5UZ.mjs.map +7 -0
  57. package/dist/lib/node-esm/{chunk-HI3YBICQ.mjs → chunk-HTBJU5FX.mjs} +76 -11
  58. package/dist/lib/node-esm/chunk-HTBJU5FX.mjs.map +7 -0
  59. package/dist/lib/node-esm/chunk-M3HKPRPO.mjs +423 -0
  60. package/dist/lib/node-esm/chunk-M3HKPRPO.mjs.map +7 -0
  61. package/dist/lib/node-esm/chunk-MUVUQC3G.mjs +1175 -0
  62. package/dist/lib/node-esm/chunk-MUVUQC3G.mjs.map +7 -0
  63. package/dist/lib/node-esm/{chunk-VKHGNEDB.mjs → chunk-SBS2YMPT.mjs} +3 -3
  64. package/dist/lib/node-esm/{chunk-VKHGNEDB.mjs.map → chunk-SBS2YMPT.mjs.map} +1 -1
  65. package/dist/lib/node-esm/{chunk-42KBWDE4.mjs → chunk-SDJ4B2LU.mjs} +1 -1
  66. package/dist/lib/node-esm/{chunk-42KBWDE4.mjs.map → chunk-SDJ4B2LU.mjs.map} +1 -1
  67. package/dist/lib/node-esm/{chunk-JPWVIQ5I.mjs → chunk-V24UWT36.mjs} +4 -17
  68. package/dist/lib/node-esm/chunk-V24UWT36.mjs.map +7 -0
  69. package/dist/lib/node-esm/{chunk-G3RTFSNG.mjs → chunk-WFSRZKBP.mjs} +2 -2
  70. package/dist/lib/node-esm/chunk-WFSRZKBP.mjs.map +7 -0
  71. package/dist/lib/node-esm/chunk-WK7OIQKI.mjs +70 -0
  72. package/dist/lib/node-esm/chunk-WK7OIQKI.mjs.map +7 -0
  73. package/dist/lib/node-esm/{chunk-ZZ7CKK6W.mjs → chunk-XOCUANHO.mjs} +1 -1
  74. package/dist/lib/node-esm/{chunk-ZZ7CKK6W.mjs.map → chunk-XOCUANHO.mjs.map} +2 -2
  75. package/dist/lib/node-esm/cli/index.mjs +14 -28
  76. package/dist/lib/node-esm/cli/index.mjs.map +3 -3
  77. package/dist/lib/node-esm/common/activation-events.mjs +7 -7
  78. package/dist/lib/node-esm/common/capabilities.mjs +7 -7
  79. package/dist/lib/node-esm/core/activation-event.mjs +1 -1
  80. package/dist/lib/node-esm/core/capability.mjs +1 -1
  81. package/dist/lib/node-esm/core/plugin-manager.mjs +8 -4
  82. package/dist/lib/node-esm/core/plugin.mjs +10 -2
  83. package/dist/lib/node-esm/core/url-loader.mjs +13 -5
  84. package/dist/lib/node-esm/index.mjs +34 -17
  85. package/dist/lib/node-esm/index.mjs.map +3 -3
  86. package/dist/lib/node-esm/{invoker-capability-EGA3XW6J.mjs → invoker-capability-XEPW5LMJ.mjs} +12 -11
  87. package/dist/lib/node-esm/invoker-capability-XEPW5LMJ.mjs.map +7 -0
  88. package/dist/lib/node-esm/meta.json +1 -1
  89. package/dist/lib/node-esm/testing/index.mjs +20 -32
  90. package/dist/lib/node-esm/testing/index.mjs.map +3 -3
  91. package/dist/lib/node-esm/testing/react.mjs +11 -11
  92. package/dist/lib/node-esm/ui/index.mjs +14 -12
  93. package/dist/plugin/node-esm/index.mjs +136 -37
  94. package/dist/plugin/node-esm/index.mjs.map +4 -4
  95. package/dist/plugin/node-esm/meta.json +1 -1
  96. package/dist/types/src/common/annotations.d.ts +1 -0
  97. package/dist/types/src/common/annotations.d.ts.map +1 -0
  98. package/dist/types/src/common/capabilities.d.ts +2 -1
  99. package/dist/types/src/common/capabilities.d.ts.map +1 -1
  100. package/dist/types/src/common/operations.d.ts +1 -1
  101. package/dist/types/src/common/operations.d.ts.map +1 -1
  102. package/dist/types/src/core/activation-event.d.ts +4 -4
  103. package/dist/types/src/core/activation-event.d.ts.map +1 -1
  104. package/dist/types/src/core/capability-manager.d.ts.map +1 -1
  105. package/dist/types/src/core/capability.d.ts +2 -2
  106. package/dist/types/src/core/capability.d.ts.map +1 -1
  107. package/dist/types/src/core/edge-registry-plugin-provider.d.ts +30 -0
  108. package/dist/types/src/core/edge-registry-plugin-provider.d.ts.map +1 -0
  109. package/dist/types/src/core/index.d.ts +5 -0
  110. package/dist/types/src/core/index.d.ts.map +1 -1
  111. package/dist/types/src/core/plugin-asset-cache.d.ts +71 -0
  112. package/dist/types/src/core/plugin-asset-cache.d.ts.map +1 -0
  113. package/dist/types/src/core/plugin-manager.d.ts +163 -2
  114. package/dist/types/src/core/plugin-manager.d.ts.map +1 -1
  115. package/dist/types/src/core/plugin-manifest.d.ts +101 -0
  116. package/dist/types/src/core/plugin-manifest.d.ts.map +1 -0
  117. package/dist/types/src/core/plugin-manifest.test.d.ts +2 -0
  118. package/dist/types/src/core/plugin-manifest.test.d.ts.map +1 -0
  119. package/dist/types/src/core/plugin.d.ts +80 -0
  120. package/dist/types/src/core/plugin.d.ts.map +1 -1
  121. package/dist/types/src/core/registry.d.ts +101 -0
  122. package/dist/types/src/core/registry.d.ts.map +1 -0
  123. package/dist/types/src/core/url-loader.d.ts +88 -3
  124. package/dist/types/src/core/url-loader.d.ts.map +1 -1
  125. package/dist/types/src/helpers.d.ts.map +1 -1
  126. package/dist/types/src/plugin-operation/history/capability.d.ts.map +1 -1
  127. package/dist/types/src/plugin-operation/history/errors.d.ts +6 -6
  128. package/dist/types/src/plugin-operation/history/errors.d.ts.map +1 -1
  129. package/dist/types/src/plugin-operation/history/history-tracker.d.ts +1 -1
  130. package/dist/types/src/plugin-operation/history/history-tracker.d.ts.map +1 -1
  131. package/dist/types/src/plugin-operation/history/types.d.ts +1 -1
  132. package/dist/types/src/plugin-operation/history/types.d.ts.map +1 -1
  133. package/dist/types/src/plugin-operation/history/undo-mapping.d.ts +1 -1
  134. package/dist/types/src/plugin-operation/history/undo-mapping.d.ts.map +1 -1
  135. package/dist/types/src/plugin-operation/history/undo-registry.d.ts +1 -1
  136. package/dist/types/src/plugin-operation/history/undo-registry.d.ts.map +1 -1
  137. package/dist/types/src/plugin-operation/invoker-capability.d.ts +1 -1
  138. package/dist/types/src/plugin-operation/invoker-capability.d.ts.map +1 -1
  139. package/dist/types/src/plugin-operation/meta.d.ts.map +1 -1
  140. package/dist/types/src/plugin-operation/testing.d.ts +2 -1
  141. package/dist/types/src/plugin-operation/testing.d.ts.map +1 -1
  142. package/dist/types/src/plugin-runtime/capability.d.ts +1 -1
  143. package/dist/types/src/plugin-runtime/capability.d.ts.map +1 -1
  144. package/dist/types/src/plugin-runtime/meta.d.ts.map +1 -1
  145. package/dist/types/src/testing/harness.d.ts +1 -1
  146. package/dist/types/src/testing/harness.d.ts.map +1 -1
  147. package/dist/types/src/testing/react.d.ts.map +1 -1
  148. package/dist/types/src/testing/service.d.ts.map +1 -1
  149. package/dist/types/src/testing/withPluginManager.d.ts.map +1 -1
  150. package/dist/types/src/testing/withPluginManager.stories.d.ts.map +1 -1
  151. package/dist/types/src/ui/components/App/App.d.ts.map +1 -1
  152. package/dist/types/src/ui/components/App/App.stories.d.ts.map +1 -1
  153. package/dist/types/src/ui/components/Placeholder/Placeholder.d.ts +64 -0
  154. package/dist/types/src/ui/components/Placeholder/Placeholder.d.ts.map +1 -0
  155. package/dist/types/src/ui/components/Placeholder/Placeholder.stories.d.ts +19 -0
  156. package/dist/types/src/ui/components/Placeholder/Placeholder.stories.d.ts.map +1 -0
  157. package/dist/types/src/ui/components/Placeholder/index.d.ts +2 -0
  158. package/dist/types/src/ui/components/Placeholder/index.d.ts.map +1 -0
  159. package/dist/types/src/ui/components/PluginManager/PluginManagerContext.stories.d.ts.map +1 -1
  160. package/dist/types/src/ui/components/Surface/SurfaceComponent.stories.d.ts.map +1 -1
  161. package/dist/types/src/ui/components/Surface/SurfaceInfo.d.ts.map +1 -1
  162. package/dist/types/src/ui/components/Surface/SurfaceProfilerContext.d.ts.map +1 -1
  163. package/dist/types/src/ui/components/Surface/index.d.ts +1 -1
  164. package/dist/types/src/ui/components/Surface/index.d.ts.map +1 -1
  165. package/dist/types/src/ui/components/Surface/types.d.ts.map +1 -1
  166. package/dist/types/src/ui/components/index.d.ts +1 -0
  167. package/dist/types/src/ui/components/index.d.ts.map +1 -1
  168. package/dist/types/src/ui/hooks/useApp.d.ts +30 -3
  169. package/dist/types/src/ui/hooks/useApp.d.ts.map +1 -1
  170. package/dist/types/src/ui/hooks/useCapabilities.d.ts.map +1 -1
  171. package/dist/types/src/ui/hooks/useLoading.d.ts.map +1 -1
  172. package/dist/types/src/ui/hooks/useSettingsState.d.ts.map +1 -1
  173. package/dist/types/src/vite-plugin/boot-loader/BootLoader.stories.d.ts +20 -36
  174. package/dist/types/src/vite-plugin/boot-loader/BootLoader.stories.d.ts.map +1 -1
  175. package/dist/types/src/vite-plugin/boot-loader/index.d.ts +1 -50
  176. package/dist/types/src/vite-plugin/boot-loader/index.d.ts.map +1 -1
  177. package/dist/types/src/vite-plugin/boot-loader/loader.d.ts +51 -0
  178. package/dist/types/src/vite-plugin/boot-loader/loader.d.ts.map +1 -0
  179. package/dist/types/src/vite-plugin/composer/index.d.ts +12 -12
  180. package/dist/types/src/vite-plugin/composer/index.d.ts.map +1 -1
  181. package/dist/types/src/vite-plugin/import-map/index.d.ts +13 -1
  182. package/dist/types/src/vite-plugin/import-map/index.d.ts.map +1 -1
  183. package/dist/types/src/vite-plugin/manifest.d.ts +30 -5
  184. package/dist/types/src/vite-plugin/manifest.d.ts.map +1 -1
  185. package/dist/types/src/vite-plugin/packages.d.ts.map +1 -1
  186. package/dist/types/tsconfig.tsbuildinfo +1 -1
  187. package/package.json +27 -23
  188. package/src/cli/cli.ts +1 -1
  189. package/src/common/annotations.ts +3 -0
  190. package/src/common/capabilities.ts +2 -1
  191. package/src/common/operations.ts +1 -1
  192. package/src/core/capability.ts +1 -1
  193. package/src/core/edge-registry-plugin-provider.ts +92 -0
  194. package/src/core/index.ts +5 -0
  195. package/src/core/plugin-asset-cache.ts +60 -0
  196. package/src/core/plugin-manager.test.ts +533 -4
  197. package/src/core/plugin-manager.ts +470 -28
  198. package/src/core/plugin-manifest.test.ts +75 -0
  199. package/src/core/plugin-manifest.ts +134 -0
  200. package/src/core/plugin.ts +103 -0
  201. package/src/core/registry.ts +157 -0
  202. package/src/core/url-loader.test.ts +115 -6
  203. package/src/core/url-loader.ts +253 -43
  204. package/src/plugin-operation/history/capability.ts +1 -1
  205. package/src/plugin-operation/history/history-tracker.test.ts +2 -1
  206. package/src/plugin-operation/history/history-tracker.ts +1 -1
  207. package/src/plugin-operation/history/types.ts +1 -1
  208. package/src/plugin-operation/history/undo-mapping.ts +1 -1
  209. package/src/plugin-operation/history/undo-registry.ts +1 -1
  210. package/src/plugin-operation/invoker-capability.ts +2 -1
  211. package/src/plugin-operation/meta.ts +1 -0
  212. package/src/plugin-operation/testing.ts +2 -1
  213. package/src/plugin-runtime/meta.ts +1 -0
  214. package/src/testing/harness.ts +2 -2
  215. package/src/testing/service.ts +1 -1
  216. package/src/testing/withPluginManager.stories.tsx +1 -1
  217. package/src/ui/components/App/App.stories.tsx +2 -6
  218. package/src/ui/components/App/App.tsx +12 -1
  219. package/src/ui/components/Placeholder/Placeholder.stories.tsx +77 -0
  220. package/src/ui/components/Placeholder/Placeholder.tsx +155 -0
  221. package/src/ui/components/Placeholder/index.ts +5 -0
  222. package/src/ui/components/PluginManager/PluginManagerContext.stories.tsx +4 -2
  223. package/src/ui/components/Surface/SurfaceComponent.stories.tsx +1 -1
  224. package/src/ui/components/Surface/SurfaceComponent.tsx +2 -2
  225. package/src/ui/components/Surface/SurfaceInfo.tsx +0 -1
  226. package/src/ui/components/index.ts +1 -0
  227. package/src/ui/hooks/useApp.test.tsx +1 -1
  228. package/src/ui/hooks/useApp.tsx +161 -26
  229. package/src/ui/hooks/useLoading.tsx +14 -6
  230. package/src/vite-plugin/boot-loader/BootLoader.stories.tsx +208 -100
  231. package/src/vite-plugin/boot-loader/boot-loader.css +248 -45
  232. package/src/vite-plugin/boot-loader/boot-loader.js +309 -39
  233. package/src/vite-plugin/boot-loader/index.ts +1 -95
  234. package/src/vite-plugin/boot-loader/loader.ts +123 -0
  235. package/src/vite-plugin/composer/index.ts +61 -39
  236. package/src/vite-plugin/import-map/index.ts +42 -5
  237. package/src/vite-plugin/index.ts +2 -2
  238. package/src/vite-plugin/manifest.test.ts +27 -4
  239. package/src/vite-plugin/manifest.ts +42 -5
  240. package/src/vite-plugin/packages.ts +8 -2
  241. package/tsconfig.json +16 -1
  242. package/.swc/plugins/linux_x86_64_19.0.0/727453fb3a62f7f1d952a41e051ca8a6f88cadc45cee43c6a4d1aa45f9b75665.wasmer-v7 +0 -0
  243. package/dist/lib/browser/capability-DOMNPRJP.mjs.map +0 -7
  244. package/dist/lib/browser/chunk-7B6AJK4D.mjs +0 -964
  245. package/dist/lib/browser/chunk-7B6AJK4D.mjs.map +0 -7
  246. package/dist/lib/browser/chunk-BMIAYUWT.mjs.map +0 -7
  247. package/dist/lib/browser/chunk-F7FW2RK2.mjs.map +0 -7
  248. package/dist/lib/browser/chunk-GDWTW4ZW.mjs.map +0 -7
  249. package/dist/lib/browser/chunk-JKWMHZP6.mjs.map +0 -7
  250. package/dist/lib/browser/chunk-QRTB4Q3U.mjs.map +0 -7
  251. package/dist/lib/browser/chunk-RFSO3JRG.mjs +0 -1
  252. package/dist/lib/browser/chunk-RFSO3JRG.mjs.map +0 -7
  253. package/dist/lib/browser/chunk-Y543KCO7.mjs +0 -174
  254. package/dist/lib/browser/chunk-Y543KCO7.mjs.map +0 -7
  255. package/dist/lib/browser/invoker-capability-VCMPQOIA.mjs.map +0 -7
  256. package/dist/lib/node-esm/capability-KJTQIWDK.mjs.map +0 -7
  257. package/dist/lib/node-esm/chunk-7PJ5OKRB.mjs +0 -965
  258. package/dist/lib/node-esm/chunk-7PJ5OKRB.mjs.map +0 -7
  259. package/dist/lib/node-esm/chunk-DXVXOGJ7.mjs +0 -175
  260. package/dist/lib/node-esm/chunk-DXVXOGJ7.mjs.map +0 -7
  261. package/dist/lib/node-esm/chunk-EL3R25OQ.mjs +0 -2
  262. package/dist/lib/node-esm/chunk-EL3R25OQ.mjs.map +0 -7
  263. package/dist/lib/node-esm/chunk-G3RTFSNG.mjs.map +0 -7
  264. package/dist/lib/node-esm/chunk-HI3YBICQ.mjs.map +0 -7
  265. package/dist/lib/node-esm/chunk-JPWVIQ5I.mjs.map +0 -7
  266. package/dist/lib/node-esm/chunk-URWHJQT2.mjs.map +0 -7
  267. package/dist/lib/node-esm/chunk-WZ6DHQER.mjs.map +0 -7
  268. package/dist/lib/node-esm/invoker-capability-EGA3XW6J.mjs.map +0 -7
  269. /package/dist/lib/browser/{capability-KSNT34SN.mjs.map → capability-LUKGKUQH.mjs.map} +0 -0
  270. /package/dist/lib/browser/{chunk-I34GF4NG.mjs.map → chunk-45CHLTBV.mjs.map} +0 -0
  271. /package/dist/lib/node-esm/{capability-EOQTORML.mjs.map → capability-FCGZVIEG.mjs.map} +0 -0
  272. /package/dist/lib/node-esm/{chunk-WZCSOX5Q.mjs.map → chunk-6XW6LET6.mjs.map} +0 -0
@@ -3,18 +3,16 @@
3
3
  //
4
4
 
5
5
  import { type Plugin as VitePlugin } from 'vite';
6
- import cssInjectedByJs from 'vite-plugin-css-injected-by-js';
7
6
 
8
- import { type Plugin } from '../../core';
9
- import { MANIFEST_ASSET_NAME, serializeManifest } from '../manifest';
7
+ import { PLUGIN_DEV_SERVER_PORT } from '../../core';
8
+ import { type BuildMeta, ENTRY_FILENAME, MANIFEST_ASSET_NAME, serializeManifest } from '../manifest';
10
9
  import { DEFAULT_PACKAGES, isSharedPackage } from '../packages';
11
10
 
12
- export { MANIFEST_ASSET_NAME, serializeManifest };
11
+ export { ENTRY_FILENAME, MANIFEST_ASSET_NAME, serializeManifest };
12
+ export type { BuildMeta };
13
13
 
14
14
  const JSX_DEV_RUNTIME = 'react/jsx-dev-runtime';
15
15
 
16
- const DEFAULT_MODULE_FILE = 'plugin.mjs';
17
-
18
16
  /**
19
17
  * Whether an import should be externalized by the plugin bundle.
20
18
  * Uses the shared-package predicate directly so plugins automatically pick up any
@@ -70,16 +68,15 @@ const REQUIRE_SHIM_BANNER = [
70
68
  export type ComposerPluginOptions = {
71
69
  /** Entry point for the plugin bundle. Defaults to `src/plugin.tsx`. */
72
70
  entry?: string;
73
- /** Dev server port. Defaults to `3967`. */
71
+ /** Dev server port. Defaults to {@link PLUGIN_DEV_SERVER_PORT}. */
74
72
  port?: number;
75
73
  /**
76
74
  * Plugin metadata. When provided, a `manifest.json` asset is emitted alongside the bundle
77
- * so the output directory can be uploaded directly as a GitHub Release and picked up by
78
- * the DXOS community registry.
75
+ * listing every emitted file. The host fetches this manifest at install time and persists
76
+ * the declared assets in its offline cache so the plugin works without network. The bundle's
77
+ * entry module is always written as {@link ENTRY_FILENAME} (`index.mjs`).
79
78
  */
80
- meta?: Plugin.Meta;
81
- /** Filename of the built module asset that the registry will load. Defaults to `plugin.mjs`. */
82
- moduleFile?: string;
79
+ meta?: BuildMeta;
83
80
  };
84
81
 
85
82
  /**
@@ -88,32 +85,23 @@ export type ComposerPluginOptions = {
88
85
  * provides at runtime via import map.
89
86
  *
90
87
  * Handles:
91
- * 1. Build config — lib mode entry point, ES format output, rollup externals.
88
+ * 1. Build config — lib mode entry point, ES format output, rollup externals, code-split chunks.
92
89
  * 2. Dev externalization — marks shared deps as external during `vite serve` and strips
93
90
  * the `/@id/` prefix that Vite's import analysis adds to external bare specifiers.
94
91
  * 3. JSX dev runtime shim — bridges `react/jsx-dev-runtime` (used by React refresh in dev)
95
92
  * to `react/jsx-runtime` (which is what the externalized React provides).
96
- * 4. Optional manifest emit — when `meta` is supplied, writes `manifest.json` next to the
97
- * bundled module so a GitHub Release can carry both artifacts.
93
+ * 4. Manifest emit — when `meta` is supplied, writes `manifest.json` next to the bundled
94
+ * module listing every emitted asset (entry, CSS, chunks, etc.) so the host can eagerly
95
+ * cache them for offline use.
98
96
  */
99
97
  export const composerPlugin = (options?: ComposerPluginOptions): VitePlugin[] => {
100
98
  const entry = options?.entry ?? 'src/plugin.tsx';
101
- const port = options?.port ?? 3967;
102
- const moduleFile = options?.moduleFile ?? DEFAULT_MODULE_FILE;
99
+ const port = options?.port ?? PLUGIN_DEV_SERVER_PORT;
103
100
  const meta = options?.meta;
104
101
  const resolved = new Set<string>();
105
102
  let base = '/';
106
103
 
107
104
  const plugins: VitePlugin[] = [
108
- // Inline every imported stylesheet into the bundled module. Each community plugin
109
- // is distributed as a single GitHub Release asset (per {@link moduleFile}); a sibling
110
- // `.css` file would silently be dropped at runtime because Composer only fetches the
111
- // module URL the registry advertises.
112
- // TODO(wittjosiah): Once the registry supports multi-asset releases, move CSS (and
113
- // fonts/images/wasm) back to sibling assets so plugins don't ship stylesheets inside
114
- // their JS bundle.
115
- ...cssInjectedByJs(),
116
-
117
105
  // Configure vite for library-mode builds with externalized deps.
118
106
  {
119
107
  name: 'composer-plugin',
@@ -132,19 +120,13 @@ export const composerPlugin = (options?: ComposerPluginOptions): VitePlugin[] =>
132
120
  lib: {
133
121
  entry,
134
122
  formats: ['es'],
135
- fileName: () => moduleFile,
123
+ fileName: () => ENTRY_FILENAME,
136
124
  },
137
- // Inline every asset as a data URL. GitHub Releases sign each asset with a
138
- // per-file URL, so sibling-file imports from the plugin module can't resolve.
139
- // TODO(wittjosiah): Drop once the registry can serve multi-asset releases and
140
- // plugins can ship fonts/images/wasm as siblings of plugin.mjs.
141
- assetsInlineLimit: () => true,
142
125
  rolldownOptions: {
143
126
  external: (id: string) => isExternal(id),
144
127
  output: {
145
- // Produce a single bundle per plugin for GitHub Release distribution.
146
- // TODO(wittjosiah): Drop once the registry can serve multi-asset releases.
147
- inlineDynamicImports: true,
128
+ chunkFileNames: 'chunks/[name]-[hash].js',
129
+ assetFileNames: 'assets/[name]-[hash][extname]',
148
130
  // Install the CJS require shim at the top of plugin.mjs so transitively
149
131
  // bundled CJS helpers (that call `require('react')` et al. at runtime) can
150
132
  // resolve against the host-provided externals instead of throwing.
@@ -265,16 +247,56 @@ export const composerPlugin = (options?: ComposerPluginOptions): VitePlugin[] =>
265
247
  ];
266
248
 
267
249
  if (meta) {
268
- // Emit `manifest.json` alongside the built module so the dist output can be uploaded as-is
269
- // to a GitHub Release for the DXOS community registry to pick up.
250
+ // Emit `manifest.json` alongside the built module listing every emitted asset, so the
251
+ // dist directory can be uploaded as-is to a GitHub Release for the DXOS community
252
+ // registry to pick up. The host loader fetches this file at install time and eagerly
253
+ // caches every listed asset for offline use.
270
254
  plugins.push({
271
255
  name: 'composer-plugin:emit-manifest',
272
256
  apply: 'build',
273
- generateBundle() {
257
+ // `enforce: 'post'` is load-bearing: vite's CSS extraction plugin emits sibling
258
+ // `.css` assets in its own `generateBundle` hook. Without `post`, ours runs first
259
+ // and sees only the JS chunks — the manifest then omits CSS, so the host can't
260
+ // inject `<link>` tags for the plugin's stylesheet at install time.
261
+ enforce: 'post',
262
+ generateBundle(_options, bundle) {
263
+ // Source maps are large and only fetched when devtools opens — exclude them
264
+ // from the manifest so the host doesn't precache megabytes of debug data.
265
+ const assets = Object.keys(bundle)
266
+ .filter((name) => name !== MANIFEST_ASSET_NAME && !name.endsWith('.map'))
267
+ .sort();
274
268
  this.emitFile({
275
269
  type: 'asset',
276
270
  fileName: MANIFEST_ASSET_NAME,
277
- source: serializeManifest(meta, { moduleFile }),
271
+ source: serializeManifest(meta, { assets }),
272
+ });
273
+ },
274
+ });
275
+
276
+ // Dev-server manifest. `vite dev` can't enumerate transitive chunks/CSS up front
277
+ // (they resolve on demand), so we serve a `devEntry`-flavored manifest at the dev
278
+ // root and let the host loader skip eager caching + static stylesheet injection.
279
+ // The host imports `entry` directly from the dev server, where Vite handles
280
+ // JSX transforms, externalization, and runtime CSS injection.
281
+ plugins.push({
282
+ name: 'composer-plugin:serve-manifest',
283
+ apply: 'serve',
284
+ configureServer(server) {
285
+ const body = serializeManifest(meta, { assets: [], devEntry: entry.replace(/^\.?\//, '') });
286
+ server.middlewares.use(`/${MANIFEST_ASSET_NAME}`, (req, res, next) => {
287
+ // Only intercept the bare manifest URL — let any sub-paths fall through.
288
+ if (req.url && req.url !== '/' && req.url !== '') {
289
+ return next();
290
+ }
291
+ // CORS mirrors `server.cors: true` (see plugin config above) so the host
292
+ // app at a different origin can read the manifest. Vite's built-in CORS
293
+ // covers most paths but middlewares mounted before its `cors` middleware
294
+ // need to set the header themselves.
295
+ res.setHeader('Access-Control-Allow-Origin', '*');
296
+ res.setHeader('Content-Type', 'application/json');
297
+ res.setHeader('Cache-Control', 'no-store');
298
+ res.statusCode = 200;
299
+ res.end(body);
278
300
  });
279
301
  },
280
302
  });
@@ -129,6 +129,9 @@ const importMapExcludedSubpaths: Readonly<Record<string, ReadonlySet<string>>> =
129
129
  // `node:async_hooks` (AsyncLocalStorage) and has no browser shim. Client
130
130
  // code imports `solid-js`, `solid-js/store`, and `solid-js/web` only.
131
131
  'solid-js': new Set(['web/storage']),
132
+ // `effect` publishes `./.index` for bundler internals — maps to `effect/.index`, which Vite
133
+ // often cannot resolve for the import map and is not part of the plugin-facing surface.
134
+ effect: new Set(['.index']),
132
135
  };
133
136
 
134
137
  /**
@@ -330,12 +333,24 @@ const getCjsNamedExports = (filePath: string, seen = new Set<string>()): string[
330
333
  * Vite plugin for the **host app** (Composer). Generates a browser import map so that
331
334
  * shared packages are loaded once and reused by both the host and any remote plugins.
332
335
  *
333
- * In dev mode, maps bare specifiers directly to resolved file paths.
334
336
  * In production, emits a dedicated chunk per specifier via virtual wrapper modules,
335
337
  * then injects a `<script type="importmap">` tag into the HTML with the chunk URLs.
336
338
  *
337
339
  * Virtual wrappers are needed because directly emitting chunks for CJS packages loses
338
340
  * their named exports due to Rollup's interop. The wrapper re-exports them explicitly.
341
+ *
342
+ * TODO: Restore dev-mode support. The previous dev path mapped each bare specifier to
343
+ * its absolute `/@fs/` file path during `buildStart`, which forced `this.resolve()` for
344
+ * hundreds of subpath entrypoints and raced with Vite's optimize-deps static scan —
345
+ * producing non-deterministic chunk content (~34 chunks drifting per warm-start) and
346
+ * triggering Vite 8.0.10's `runOptimizer` / `commitProcessing` crashes (`fileHash` /
347
+ * `browserHash` undefined on partial-discovery batches). Plugin is currently gated to
348
+ * `apply: 'build'` to avoid both. A working dev-mode implementation would need to
349
+ * resolve specifiers without participating in the optimize-deps phase — candidates:
350
+ * - defer resolution to `transformIndexHtml` (after the optimizer settles)
351
+ * - read resolved paths from `environment.depsOptimizer.metadata` rather than calling
352
+ * `this.resolve()` ourselves
353
+ * - resolve via `require.resolve` directly, bypassing the Vite plugin pipeline entirely
339
354
  */
340
355
  export const importMapPlugin = (options?: { packages?: string[] }): Plugin[] => {
341
356
  const packages = options?.packages ?? DEFAULT_PACKAGES;
@@ -348,9 +363,21 @@ export const importMapPlugin = (options?: { packages?: string[] }): Plugin[] =>
348
363
  let base = '/';
349
364
 
350
365
  return [
351
- // Phase 1: Resolve all package entrypoints and emit chunks (or record dev paths).
366
+ // Phase 1: Resolve all package entrypoints and emit chunks.
367
+ //
368
+ // Build-only. The dev-mode path (recording absolute `/@fs/` paths in
369
+ // `imports[]`) is non-functional today and was actively harmful: calling
370
+ // `this.resolve()` for every shared package's subpath entrypoints during
371
+ // `buildStart` races with Vite's optimize-deps static scan, producing
372
+ // non-deterministic chunk content (~34 drifting chunks per warm-start) and
373
+ // triggering Vite 8.0.10's `runOptimizer` / `commitProcessing` crashes
374
+ // (`fileHash` / `browserHash` undefined on partial-discovery batches) when
375
+ // the resolved set doesn't match the optimizer's metadata. The importmap
376
+ // is only meaningful for production builds where remote plugins consume
377
+ // the emitted wrapper chunks.
352
378
  {
353
379
  name: 'import-map:get-chunk-ref-ids',
380
+ apply: 'build',
354
381
  configResolved(config) {
355
382
  base = config.base ?? '/';
356
383
  },
@@ -424,14 +451,23 @@ export const importMapPlugin = (options?: { packages?: string[] }): Plugin[] =>
424
451
  // Generate the source for each virtual wrapper module.
425
452
  // For CJS packages, explicitly re-export named exports (discovered via static analysis)
426
453
  // because Rollup's `export *` interop doesn't preserve them for CJS.
454
+ //
455
+ // Each wrapper also emits a local `__keepalive` export. Without this, Rolldown
456
+ // (Vite 8) tree-shakes wrappers whose `export *` re-exports happen to coincide
457
+ // with another already-emitted chunk's exports — typical for umbrella packages
458
+ // (e.g. `@dxos/compute` re-exports from `@dxos/operation`, so the operation
459
+ // wrapper looks "redundant" to Rolldown and gets merged away). A local const
460
+ // export has no upstream source for Rolldown to dedupe against, so the chunk
461
+ // is always preserved and the import-map entry resolves at runtime.
427
462
  load(id) {
428
463
  if (!id.startsWith(WRAPPER_PREFIX)) {
429
464
  return;
430
465
  }
431
466
  const specifier = id.slice(WRAPPER_PREFIX.length);
467
+ const keepalive = `export const __dxosImportMapKeepalive = ${JSON.stringify(specifier)};`;
432
468
  const resolvedId = resolvedIds[specifier];
433
469
  if (!resolvedId) {
434
- return `export * from ${JSON.stringify(specifier)};\n`;
470
+ return `export * from ${JSON.stringify(specifier)};\n${keepalive}\n`;
435
471
  }
436
472
 
437
473
  const filePath = trimQueryString(resolvedId);
@@ -440,10 +476,10 @@ export const importMapPlugin = (options?: { packages?: string[] }): Plugin[] =>
440
476
  if (isCjs) {
441
477
  const named = getCjsNamedExports(filePath);
442
478
  if (named.length > 0) {
443
- return `export { default, ${named.join(', ')} } from ${JSON.stringify(specifier)};\n`;
479
+ return `export { default, ${named.join(', ')} } from ${JSON.stringify(specifier)};\n${keepalive}\n`;
444
480
  }
445
481
  }
446
- return `export * from ${JSON.stringify(specifier)};\n`;
482
+ return `export * from ${JSON.stringify(specifier)};\n${keepalive}\n`;
447
483
  },
448
484
 
449
485
  // After bundling, map each specifier to the URL of its emitted chunk. Preserves
@@ -468,6 +504,7 @@ export const importMapPlugin = (options?: { packages?: string[] }): Plugin[] =>
468
504
  // Phase 2: Inject the import map into the HTML as a <script type="importmap"> tag.
469
505
  {
470
506
  name: 'import-map:transform-index-html',
507
+ apply: 'build',
471
508
  enforce: 'post',
472
509
  transformIndexHtml(html: string) {
473
510
  const tags = [
@@ -5,6 +5,6 @@
5
5
  export * from './boot-loader';
6
6
  export * from './composer';
7
7
  export * from './import-map';
8
- // `manifest` and `packages` are shared data used by composer / import-map; they
9
- // stay at the top level because they're not vite plugins themselves.
8
+ // `manifest` and `packages` are shared data used by composer / import-map;
9
+ // they stay at the top level because they're not vite plugins themselves.
10
10
  export * from './packages';
@@ -7,17 +7,40 @@ import { describe, test } from 'vitest';
7
7
  import { serializeManifest } from './manifest';
8
8
 
9
9
  describe('serializeManifest', () => {
10
- test('serializes plugin meta plus moduleFile', ({ expect }) => {
10
+ test('serializes plugin meta plus assets', ({ expect }) => {
11
11
  const json = serializeManifest(
12
- { id: 'org.example.plugin', name: 'Example', description: 'Demo', tags: ['new'] },
13
- { moduleFile: 'plugin.mjs' },
12
+ { id: 'org.example.plugin', name: 'Example', description: 'Demo', tags: ['new'], version: '1.2.3' },
13
+ { assets: ['index.mjs', 'style.css', 'chunks/lib-abc.js'] },
14
14
  );
15
15
  expect(JSON.parse(json)).toEqual({
16
16
  id: 'org.example.plugin',
17
17
  name: 'Example',
18
18
  description: 'Demo',
19
19
  tags: ['new'],
20
- moduleFile: 'plugin.mjs',
20
+ version: '1.2.3',
21
+ assets: ['index.mjs', 'style.css', 'chunks/lib-abc.js'],
21
22
  });
22
23
  });
24
+
25
+ test('includes devEntry when supplied (dev-server manifest)', ({ expect }) => {
26
+ const json = serializeManifest(
27
+ { id: 'org.example.plugin', name: 'Example', version: '0.0.0-dev' },
28
+ { assets: [], devEntry: 'src/plugin.tsx' },
29
+ );
30
+ expect(JSON.parse(json)).toEqual({
31
+ id: 'org.example.plugin',
32
+ name: 'Example',
33
+ version: '0.0.0-dev',
34
+ assets: [],
35
+ devEntry: 'src/plugin.tsx',
36
+ });
37
+ });
38
+
39
+ test('omits devEntry from the output when undefined', ({ expect }) => {
40
+ const json = serializeManifest(
41
+ { id: 'org.example.plugin', name: 'Example', version: '1.0.0' },
42
+ { assets: ['index.mjs'] },
43
+ );
44
+ expect(Object.keys(JSON.parse(json))).not.toContain('devEntry');
45
+ });
23
46
  });
@@ -2,6 +2,8 @@
2
2
  // Copyright 2026 DXOS.org
3
3
  //
4
4
 
5
+ import { PLUGIN_ENTRY_FILENAME } from '@dxos/protocols';
6
+
5
7
  import { type Plugin } from '../core';
6
8
 
7
9
  /**
@@ -12,9 +14,44 @@ import { type Plugin } from '../core';
12
14
  export const MANIFEST_ASSET_NAME = 'manifest.json';
13
15
 
14
16
  /**
15
- * Serializes a plugin's public metadata into the format consumed by the community registry.
16
- * Exported from a vite-free module so tests and tooling can validate manifests without
17
- * paying the cost of loading vite + esbuild.
17
+ * Canonical entry filename (re-exported from `@dxos/protocols`) so vite-plugin
18
+ * consumers don't have to reach into the protocols package directly.
19
+ */
20
+ export const ENTRY_FILENAME = PLUGIN_ENTRY_FILENAME;
21
+
22
+ /**
23
+ * Plugin metadata required to emit a manifest at build time.
24
+ *
25
+ * Extends `Plugin.Meta` with a build-time `version` field that is not
26
+ * relevant to the runtime plugin definition itself.
27
+ */
28
+ export type BuildMeta = Plugin.Meta & { version: string };
29
+
30
+ /**
31
+ * Serializes a plugin's public metadata + bundle layout into the format consumed
32
+ * by the host loader (see `UrlLoader.make` and `PluginManifest.parse`).
33
+ *
34
+ * The host fetches this manifest, resolves every entry in `assets` against the
35
+ * manifest URL, and persists them via the platform `PluginAssetCache` so the
36
+ * plugin works offline. For production builds the entry module is always
37
+ * {@link ENTRY_FILENAME} and must appear in `assets`. For dev-server manifests
38
+ * pass `devEntry` (a path relative to the manifest URL) — the host then imports
39
+ * the entry directly from the dev server and skips offline caching, since the
40
+ * full asset graph isn't enumerable until build time.
41
+ *
42
+ * Exported from a vite-free module so tests and tooling can validate manifests
43
+ * without paying the cost of loading vite + esbuild.
18
44
  */
19
- export const serializeManifest = (meta: Plugin.Meta, { moduleFile }: { moduleFile: string }): string =>
20
- JSON.stringify({ ...meta, moduleFile }, null, 2);
45
+ export const serializeManifest = (
46
+ meta: BuildMeta,
47
+ { assets, devEntry }: { assets: readonly string[]; devEntry?: string },
48
+ ): string =>
49
+ JSON.stringify(
50
+ {
51
+ ...meta,
52
+ assets,
53
+ ...(devEntry !== undefined ? { devEntry } : {}),
54
+ },
55
+ null,
56
+ 2,
57
+ );
@@ -12,6 +12,13 @@
12
12
  * adding it here — in one place — so the externalization contract stays in sync
13
13
  * with what the host actually provides.
14
14
  *
15
+ * Every entry must also be a **direct** dependency of composer-app's `package.json`,
16
+ * including packages that are only re-exported by an umbrella (e.g. via subpath
17
+ * re-exports from another listed package). pnpm doesn't symlink transitive deps
18
+ * into a package's own `node_modules`, so the import-map plugin's `this.resolve`
19
+ * call fails for transitive-only entries and the importmap silently drops them —
20
+ * leaving plugins with bare specifiers the host can't satisfy at install time.
21
+ *
15
22
  * Plugin packages (`@dxos/plugin-*`) are intentionally NOT listed: community plugins
16
23
  * bundle their own copy of any plugin-subpath import, which is safe because those
17
24
  * exports are limited to lightweight types/operation defs.
@@ -94,7 +101,6 @@ export const DEFAULT_PACKAGES = [
94
101
  '@dxos/ai',
95
102
  '@dxos/assistant',
96
103
  '@dxos/assistant-toolkit',
97
- '@dxos/blueprints',
98
104
  '@dxos/compute',
99
105
  '@dxos/conductor',
100
106
  '@dxos/functions',
@@ -148,7 +154,7 @@ export const DEFAULT_PACKAGES = [
148
154
  '@dxos/react-ui-menu',
149
155
  '@dxos/react-ui-mosaic',
150
156
  '@dxos/react-ui-pickers',
151
- '@dxos/react-ui-search',
157
+ '@dxos/react-ui-list',
152
158
  '@dxos/react-ui-sfx',
153
159
  '@dxos/react-ui-stack',
154
160
  '@dxos/react-ui-syntax-highlighter',
package/tsconfig.json CHANGED
@@ -11,6 +11,9 @@
11
11
  {
12
12
  "path": "../../common/async"
13
13
  },
14
+ {
15
+ "path": "../../common/context"
16
+ },
14
17
  {
15
18
  "path": "../../common/debug"
16
19
  },
@@ -44,6 +47,12 @@
44
47
  {
45
48
  "path": "../../common/web-context-react"
46
49
  },
50
+ {
51
+ "path": "../../core/compute/compute"
52
+ },
53
+ {
54
+ "path": "../../core/compute/operation"
55
+ },
47
56
  {
48
57
  "path": "../../core/echo/echo"
49
58
  },
@@ -51,7 +60,13 @@
51
60
  "path": "../../core/echo/echo-db"
52
61
  },
53
62
  {
54
- "path": "../../core/operation"
63
+ "path": "../../core/mesh/edge-client"
64
+ },
65
+ {
66
+ "path": "../../core/protocols"
67
+ },
68
+ {
69
+ "path": "../../ui/brand"
55
70
  },
56
71
  {
57
72
  "path": "../../ui/react-primitives/react-error-boundary"
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/plugin-operation/history/capability.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { type OperationInvoker } from '@dxos/operation';\n\nimport { Capabilities } from '../../common';\nimport { Capability } from '../../core';\nimport * as HistoryTracker from './history-tracker';\nimport * as UndoRegistry from './undo-registry';\n\n//\n// Capability Module - contributes both UndoRegistry and HistoryTracker.\n//\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n // Get the context for synchronous access in callbacks.\n const capabilities = yield* Capability.Service;\n\n // Create UndoRegistry.\n const undoRegistry = UndoRegistry.make(() => capabilities.getAll(Capabilities.UndoMapping).flat());\n\n // Create HistoryTracker (depends on UndoRegistry and OperationInvoker).\n const invoker = yield* Capability.get(Capabilities.OperationInvoker);\n // Cast to internal type - the factory always returns OperationInvokerInternal.\n const historyTracker = HistoryTracker.make(invoker as OperationInvoker.OperationInvokerInternal, undoRegistry);\n\n return [\n Capability.contributes(Capabilities.UndoRegistry, undoRegistry),\n Capability.contributes(Capabilities.HistoryTracker, historyTracker),\n ];\n }),\n);\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;AAIA,YAAYA,YAAY;AAaxB,IAAA,qBAAeC,mBAAWC,WACjBC,kBAAW,aAAA;AAEhB,QAAMC,eAAe,OAAOH,mBAAWI;AAGvC,QAAMC,eAA4BC,KAAK,MAAMH,aAAaI,OAAOC,qBAAaC,WAAW,EAAEC,KAAI,CAAA;AAG/F,QAAMC,UAAU,OAAOX,mBAAWY,IAAIJ,qBAAaK,gBAAgB;AAEnE,QAAMC,iBAAgCR,MAAKK,SAAsDN,YAAAA;AAEjG,SAAO;IACLL,mBAAWe,YAAYP,qBAAaQ,cAAcX,YAAAA;IAClDL,mBAAWe,YAAYP,qBAAaS,gBAAgBH,cAAAA;;AAExD,CAAA,CAAA;",
6
- "names": ["Effect", "Capability", "makeModule", "fnUntraced", "capabilities", "Service", "undoRegistry", "make", "getAll", "Capabilities", "UndoMapping", "flat", "invoker", "get", "OperationInvoker", "historyTracker", "contributes", "UndoRegistry", "HistoryTracker"]
7
- }