@dxos/app-framework 0.8.3 → 0.8.4-main.28f8d3d

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 (314) hide show
  1. package/.swc/plugins/v7_linux_x86_64_13.0.0/c614d7475354583212fbd7669acbae95b9832c305bf51bdaabe2e6de05abb6bf +0 -0
  2. package/.swc/plugins/v7_linux_x86_64_13.0.0/fce1bdb8e20a094e4af08bad09cc81497ed0e2e7c51223b07d371063cca18429 +0 -0
  3. package/README.md +0 -8
  4. package/dist/lib/browser/{app-graph-builder-BI4VVKSW.mjs → app-graph-builder-MOVKFH3J.mjs} +5 -5
  5. package/dist/lib/browser/app-graph-builder-MOVKFH3J.mjs.map +7 -0
  6. package/dist/lib/browser/{chunk-EHM4UI3V.mjs → chunk-NKCIDYDI.mjs} +322 -242
  7. package/dist/lib/browser/chunk-NKCIDYDI.mjs.map +7 -0
  8. package/dist/lib/browser/{chunk-WWEJRWFX.mjs → chunk-ORWHM7CO.mjs} +2 -2
  9. package/dist/lib/browser/{chunk-DIBVO47Z.mjs → chunk-OSBZFKMO.mjs} +58 -36
  10. package/dist/lib/browser/chunk-OSBZFKMO.mjs.map +7 -0
  11. package/dist/lib/browser/index.mjs +10 -10
  12. package/dist/lib/browser/index.mjs.map +3 -3
  13. package/dist/lib/browser/{intent-dispatcher-XVBOMF2Y.mjs → intent-dispatcher-FTTJLVGN.mjs} +2 -2
  14. package/dist/lib/browser/{intent-resolver-3QMBXLIY.mjs → intent-resolver-ZCGEAG3E.mjs} +4 -4
  15. package/dist/lib/browser/intent-resolver-ZCGEAG3E.mjs.map +7 -0
  16. package/dist/lib/browser/meta.json +1 -1
  17. package/dist/lib/browser/{store-5H7XPJGA.mjs → store-3QB6Q2BC.mjs} +3 -3
  18. package/dist/lib/browser/{store-5H7XPJGA.mjs.map → store-3QB6Q2BC.mjs.map} +1 -1
  19. package/dist/lib/browser/testing/index.mjs +3 -3
  20. package/dist/lib/browser/testing/index.mjs.map +2 -2
  21. package/dist/lib/browser/worker.mjs +1 -1
  22. package/dist/lib/node-esm/{app-graph-builder-NROP6RPQ.mjs → app-graph-builder-ODE4B5GT.mjs} +5 -5
  23. package/dist/lib/node-esm/app-graph-builder-ODE4B5GT.mjs.map +7 -0
  24. package/dist/lib/node-esm/{chunk-I6BVZMAH.mjs → chunk-UMZQERLE.mjs} +2 -2
  25. package/dist/lib/node-esm/{chunk-FHNZZWP4.mjs → chunk-WU3QN5B6.mjs} +58 -36
  26. package/dist/lib/node-esm/chunk-WU3QN5B6.mjs.map +7 -0
  27. package/dist/lib/node-esm/{chunk-2J6FVECI.mjs → chunk-YEN7NKTF.mjs} +322 -242
  28. package/dist/lib/node-esm/chunk-YEN7NKTF.mjs.map +7 -0
  29. package/dist/lib/node-esm/index.mjs +10 -10
  30. package/dist/lib/node-esm/index.mjs.map +3 -3
  31. package/dist/lib/node-esm/{intent-dispatcher-7JPGLCQ5.mjs → intent-dispatcher-YQIQ55LJ.mjs} +2 -2
  32. package/dist/lib/node-esm/{intent-resolver-VY4X5UHN.mjs → intent-resolver-KG27L7EQ.mjs} +4 -4
  33. package/dist/lib/node-esm/intent-resolver-KG27L7EQ.mjs.map +7 -0
  34. package/dist/lib/node-esm/meta.json +1 -1
  35. package/dist/lib/node-esm/{store-UKD2R2KA.mjs → store-TIJAVO3D.mjs} +3 -3
  36. package/dist/lib/node-esm/{store-UKD2R2KA.mjs.map → store-TIJAVO3D.mjs.map} +1 -1
  37. package/dist/lib/node-esm/testing/index.mjs +3 -3
  38. package/dist/lib/node-esm/testing/index.mjs.map +2 -2
  39. package/dist/lib/node-esm/worker.mjs +1 -1
  40. package/dist/types/src/App.d.ts +1 -1
  41. package/dist/types/src/App.d.ts.map +1 -1
  42. package/dist/types/src/common/capabilities.d.ts +82 -7
  43. package/dist/types/src/common/capabilities.d.ts.map +1 -1
  44. package/dist/types/src/common/events.d.ts.map +1 -1
  45. package/dist/types/src/common/surface.d.ts +1 -1
  46. package/dist/types/src/common/surface.d.ts.map +1 -1
  47. package/dist/types/src/core/capabilities.d.ts.map +1 -1
  48. package/dist/types/src/core/manager.d.ts +6 -2
  49. package/dist/types/src/core/manager.d.ts.map +1 -1
  50. package/dist/types/src/playground/generator/Toolbar.d.ts.map +1 -1
  51. package/dist/types/src/playground/generator/generator.d.ts.map +1 -1
  52. package/dist/types/src/playground/logger/Toolbar.d.ts.map +1 -1
  53. package/dist/types/src/playground/logger/plugin.d.ts.map +1 -1
  54. package/dist/types/src/playground/playground.stories.d.ts.map +1 -1
  55. package/dist/types/src/plugin-intent/IntentPlugin.d.ts.map +1 -1
  56. package/dist/types/src/plugin-intent/intent-dispatcher.d.ts +2 -2
  57. package/dist/types/src/plugin-intent/intent-dispatcher.d.ts.map +1 -1
  58. package/dist/types/src/plugin-settings/SettingsPlugin.d.ts.map +1 -1
  59. package/dist/types/src/plugin-settings/app-graph-builder.d.ts.map +1 -1
  60. package/dist/types/src/plugin-settings/intent-resolver.d.ts.map +1 -1
  61. package/dist/types/src/plugin-settings/store.d.ts.map +1 -1
  62. package/dist/types/src/plugin-settings/translations.d.ts +7 -8
  63. package/dist/types/src/plugin-settings/translations.d.ts.map +1 -1
  64. package/dist/types/src/react/ErrorBoundary.d.ts +13 -14
  65. package/dist/types/src/react/ErrorBoundary.d.ts.map +1 -1
  66. package/dist/types/src/react/IntentContext.d.ts.map +1 -1
  67. package/dist/types/src/react/Surface.d.ts.map +1 -1
  68. package/dist/types/src/react/Surface.stories.d.ts.map +1 -1
  69. package/dist/types/src/react/common.d.ts.map +1 -1
  70. package/dist/types/src/react/useCapabilities.d.ts.map +1 -1
  71. package/dist/types/src/testing/withPluginManager.d.ts +2 -0
  72. package/dist/types/src/testing/withPluginManager.d.ts.map +1 -1
  73. package/dist/types/src/testing/withPluginManager.stories.d.ts.map +1 -1
  74. package/dist/types/tsconfig.tsbuildinfo +1 -1
  75. package/moon.yml +14 -0
  76. package/package.json +32 -28
  77. package/src/App.tsx +13 -5
  78. package/src/common/capabilities.ts +103 -9
  79. package/src/common/events.ts +3 -1
  80. package/src/common/surface.ts +1 -1
  81. package/src/core/capabilities.test.ts +1 -1
  82. package/src/core/capabilities.ts +1 -0
  83. package/src/core/manager.test.ts +5 -5
  84. package/src/core/manager.ts +132 -54
  85. package/src/helpers.test.ts +1 -1
  86. package/src/playground/generator/Toolbar.tsx +2 -1
  87. package/src/playground/generator/generator.ts +2 -2
  88. package/src/playground/layout/plugin.ts +1 -1
  89. package/src/playground/logger/Toolbar.tsx +2 -1
  90. package/src/playground/logger/plugin.ts +3 -2
  91. package/src/playground/playground.stories.tsx +4 -3
  92. package/src/plugin-intent/IntentPlugin.ts +2 -1
  93. package/src/plugin-intent/intent-dispatcher.test.ts +1 -1
  94. package/src/plugin-intent/intent-dispatcher.ts +6 -5
  95. package/src/plugin-settings/SettingsPlugin.ts +3 -2
  96. package/src/plugin-settings/app-graph-builder.ts +4 -3
  97. package/src/plugin-settings/intent-resolver.ts +3 -2
  98. package/src/plugin-settings/store.ts +1 -1
  99. package/src/plugin-settings/translations.ts +4 -2
  100. package/src/react/ErrorBoundary.tsx +24 -15
  101. package/src/react/IntentContext.tsx +3 -2
  102. package/src/react/Surface.stories.tsx +3 -2
  103. package/src/react/Surface.tsx +4 -3
  104. package/src/react/common.ts +2 -1
  105. package/src/react/useCapabilities.ts +2 -1
  106. package/src/testing/withPluginManager.stories.tsx +3 -2
  107. package/src/testing/withPluginManager.tsx +8 -5
  108. package/tsconfig.json +4 -1
  109. package/vitest.config.ts +5 -2
  110. package/.eslintrc.cjs +0 -9
  111. package/README.yml +0 -5
  112. package/dist/lib/browser/app-graph-builder-BI4VVKSW.mjs.map +0 -7
  113. package/dist/lib/browser/chunk-DIBVO47Z.mjs.map +0 -7
  114. package/dist/lib/browser/chunk-EHM4UI3V.mjs.map +0 -7
  115. package/dist/lib/browser/intent-resolver-3QMBXLIY.mjs.map +0 -7
  116. package/dist/lib/node/app-graph-builder-H7QVE4MJ.cjs +0 -146
  117. package/dist/lib/node/app-graph-builder-H7QVE4MJ.cjs.map +0 -7
  118. package/dist/lib/node/chunk-G774ASXO.cjs +0 -58
  119. package/dist/lib/node/chunk-G774ASXO.cjs.map +0 -7
  120. package/dist/lib/node/chunk-VSOSVDQ3.cjs +0 -1551
  121. package/dist/lib/node/chunk-VSOSVDQ3.cjs.map +0 -7
  122. package/dist/lib/node/chunk-YGAY3H34.cjs +0 -429
  123. package/dist/lib/node/chunk-YGAY3H34.cjs.map +0 -7
  124. package/dist/lib/node/index.cjs +0 -193
  125. package/dist/lib/node/index.cjs.map +0 -7
  126. package/dist/lib/node/intent-dispatcher-C3SVKJ62.cjs +0 -32
  127. package/dist/lib/node/intent-dispatcher-C3SVKJ62.cjs.map +0 -7
  128. package/dist/lib/node/intent-resolver-IOJDYO34.cjs +0 -46
  129. package/dist/lib/node/intent-resolver-IOJDYO34.cjs.map +0 -7
  130. package/dist/lib/node/meta.json +0 -1
  131. package/dist/lib/node/store-ESF5VR57.cjs +0 -45
  132. package/dist/lib/node/store-ESF5VR57.cjs.map +0 -7
  133. package/dist/lib/node/testing/index.cjs +0 -119
  134. package/dist/lib/node/testing/index.cjs.map +0 -7
  135. package/dist/lib/node/worker.cjs +0 -101
  136. package/dist/lib/node/worker.cjs.map +0 -7
  137. package/dist/lib/node-esm/app-graph-builder-NROP6RPQ.mjs.map +0 -7
  138. package/dist/lib/node-esm/chunk-2J6FVECI.mjs.map +0 -7
  139. package/dist/lib/node-esm/chunk-FHNZZWP4.mjs.map +0 -7
  140. package/dist/lib/node-esm/intent-resolver-VY4X5UHN.mjs.map +0 -7
  141. package/project.json +0 -29
  142. package/typedoc/.nojekyll +0 -1
  143. package/typedoc/assets/hierarchy.js +0 -1
  144. package/typedoc/assets/highlight.css +0 -106
  145. package/typedoc/assets/icons.js +0 -18
  146. package/typedoc/assets/icons.svg +0 -1
  147. package/typedoc/assets/main.js +0 -60
  148. package/typedoc/assets/navigation.js +0 -1
  149. package/typedoc/assets/search.js +0 -1
  150. package/typedoc/assets/style.css +0 -1640
  151. package/typedoc/classes/CollaborationActions.InsertContent.html +0 -421
  152. package/typedoc/classes/ErrorBoundary.html +0 -125
  153. package/typedoc/classes/IntentAction.ShowUndo.html +0 -227
  154. package/typedoc/classes/IntentAction.Track.html +0 -266
  155. package/typedoc/classes/LayoutAction.AddToast.html +0 -265
  156. package/typedoc/classes/LayoutAction.Close.html +0 -382
  157. package/typedoc/classes/LayoutAction.Expose.html +0 -265
  158. package/typedoc/classes/LayoutAction.Open.html +0 -1123
  159. package/typedoc/classes/LayoutAction.RevertWorkspace.html +0 -343
  160. package/typedoc/classes/LayoutAction.ScrollIntoView.html +0 -460
  161. package/typedoc/classes/LayoutAction.Set.html +0 -460
  162. package/typedoc/classes/LayoutAction.SetLayoutMode.html +0 -499
  163. package/typedoc/classes/LayoutAction.SwitchWorkspace.html +0 -265
  164. package/typedoc/classes/LayoutAction.UpdateComplementary.html +0 -616
  165. package/typedoc/classes/LayoutAction.UpdateDialog.html +0 -1123
  166. package/typedoc/classes/LayoutAction.UpdateLayout.html +0 -461
  167. package/typedoc/classes/LayoutAction.UpdatePopover.html +0 -1435
  168. package/typedoc/classes/LayoutAction.UpdateSidebar.html +0 -616
  169. package/typedoc/classes/Plugin.html +0 -6
  170. package/typedoc/classes/PluginContext.html +0 -38
  171. package/typedoc/classes/PluginManager.html +0 -43
  172. package/typedoc/classes/PluginModule.html +0 -18
  173. package/typedoc/classes/SettingsAction.Open.html +0 -226
  174. package/typedoc/classes/SettingsAction.OpenPluginRegistry.html +0 -265
  175. package/typedoc/functions/Events.createStateEvent.html +0 -2
  176. package/typedoc/functions/IntentPlugin.html +0 -1
  177. package/typedoc/functions/SettingsPlugin.html +0 -1
  178. package/typedoc/functions/allOf.html +0 -2
  179. package/typedoc/functions/chain.html +0 -3
  180. package/typedoc/functions/contributes.html +0 -2
  181. package/typedoc/functions/createDispatcher.html +0 -3
  182. package/typedoc/functions/createIntent.html +0 -6
  183. package/typedoc/functions/createResolver.html +0 -2
  184. package/typedoc/functions/createSurface.html +0 -2
  185. package/typedoc/functions/defineCapability.html +0 -2
  186. package/typedoc/functions/defineEvent.html +0 -2
  187. package/typedoc/functions/defineModule.html +0 -2
  188. package/typedoc/functions/definePlugin.html +0 -2
  189. package/typedoc/functions/eventKey.html +0 -2
  190. package/typedoc/functions/getEvents.html +0 -2
  191. package/typedoc/functions/isAllOf.html +0 -2
  192. package/typedoc/functions/isOneOf.html +0 -2
  193. package/typedoc/functions/isSurfaceAvailable.html +0 -2
  194. package/typedoc/functions/lazy.html +0 -2
  195. package/typedoc/functions/oneOf.html +0 -2
  196. package/typedoc/functions/useApp.html +0 -6
  197. package/typedoc/functions/useAppGraph.html +0 -1
  198. package/typedoc/functions/useCapabilities.html +0 -3
  199. package/typedoc/functions/useCapability.html +0 -4
  200. package/typedoc/functions/useIntentDispatcher.html +0 -1
  201. package/typedoc/functions/useIntentResolver.html +0 -1
  202. package/typedoc/functions/useLayout.html +0 -1
  203. package/typedoc/functions/usePluginManager.html +0 -2
  204. package/typedoc/hierarchy.html +0 -1
  205. package/typedoc/index.html +0 -16
  206. package/typedoc/interfaces/LayoutAction.Toast.html +0 -10
  207. package/typedoc/media/LICENSE +0 -8
  208. package/typedoc/modules/Capabilities.html +0 -1
  209. package/typedoc/modules/CollaborationActions.html +0 -1
  210. package/typedoc/modules/Events.html +0 -1
  211. package/typedoc/modules/IntentAction.html +0 -1
  212. package/typedoc/modules/LayoutAction.html +0 -2
  213. package/typedoc/modules/SettingsAction.html +0 -1
  214. package/typedoc/modules.html +0 -1
  215. package/typedoc/types/ActivationEvent.html +0 -8
  216. package/typedoc/types/ActivationEvents.html +0 -2
  217. package/typedoc/types/AnyCapability.html +0 -1
  218. package/typedoc/types/AnyIntent.html +0 -1
  219. package/typedoc/types/AnyIntentChain.html +0 -1
  220. package/typedoc/types/AnyIntentEffectResult.html +0 -1
  221. package/typedoc/types/AnyIntentResolver.html +0 -1
  222. package/typedoc/types/AnyIntentResult.html +0 -1
  223. package/typedoc/types/Capabilities.FileUploader.html +0 -1
  224. package/typedoc/types/Capabilities.IntentResolver.html +0 -1
  225. package/typedoc/types/Capabilities.Layout.html +0 -1
  226. package/typedoc/types/Capabilities.Metadata.html +0 -1
  227. package/typedoc/types/Capabilities.ReactContext.html +0 -1
  228. package/typedoc/types/Capabilities.ReactRoot.html +0 -1
  229. package/typedoc/types/Capabilities.ReactSurface.html +0 -1
  230. package/typedoc/types/Capabilities.Settings.html +0 -4
  231. package/typedoc/types/Capability.html +0 -9
  232. package/typedoc/types/CreateAppOptions.html +0 -10
  233. package/typedoc/types/FileInfo.html +0 -1
  234. package/typedoc/types/Intent.html +0 -10
  235. package/typedoc/types/IntentChain.html +0 -6
  236. package/typedoc/types/IntentContext.html +0 -5
  237. package/typedoc/types/IntentData.html +0 -1
  238. package/typedoc/types/IntentDispatcher.html +0 -2
  239. package/typedoc/types/IntentDispatcherResult.html +0 -2
  240. package/typedoc/types/IntentEffectDefinition.html +0 -2
  241. package/typedoc/types/IntentEffectResult.html +0 -15
  242. package/typedoc/types/IntentParams.html +0 -3
  243. package/typedoc/types/IntentResolver.html +0 -2
  244. package/typedoc/types/IntentResultData.html +0 -1
  245. package/typedoc/types/IntentSchema.html +0 -1
  246. package/typedoc/types/IntentUndo.html +0 -2
  247. package/typedoc/types/InterfaceDef.html +0 -4
  248. package/typedoc/types/Label.html +0 -1
  249. package/typedoc/types/NodeSerializer.html +0 -8
  250. package/typedoc/types/PluginManagerOptions.html +0 -6
  251. package/typedoc/types/PluginMeta.html +0 -21
  252. package/typedoc/types/PromiseIntentDispatcher.html +0 -2
  253. package/typedoc/types/PromiseIntentUndo.html +0 -2
  254. package/typedoc/types/Resource.html +0 -1
  255. package/typedoc/types/ResourceKey.html +0 -1
  256. package/typedoc/types/ResourceLanguage.html +0 -1
  257. package/typedoc/types/SerializedNode.html +0 -4
  258. package/typedoc/types/SurfaceComponent.html +0 -2
  259. package/typedoc/types/SurfaceDefinition.html +0 -2
  260. package/typedoc/types/SurfaceProps.html +0 -4
  261. package/typedoc/variables/Capabilities.AnchorSort.html +0 -1
  262. package/typedoc/variables/Capabilities.AppGraph.html +0 -1
  263. package/typedoc/variables/Capabilities.AppGraphBuilder.html +0 -1
  264. package/typedoc/variables/Capabilities.AppGraphSerializer.html +0 -1
  265. package/typedoc/variables/Capabilities.ArtifactDefinition.html +0 -1
  266. package/typedoc/variables/Capabilities.FileUploader.html +0 -1
  267. package/typedoc/variables/Capabilities.IntentDispatcher.html +0 -1
  268. package/typedoc/variables/Capabilities.IntentResolver.html +0 -1
  269. package/typedoc/variables/Capabilities.Layout.html +0 -1
  270. package/typedoc/variables/Capabilities.Metadata.html +0 -1
  271. package/typedoc/variables/Capabilities.Null.html +0 -1
  272. package/typedoc/variables/Capabilities.PluginManager.html +0 -1
  273. package/typedoc/variables/Capabilities.ReactContext.html +0 -1
  274. package/typedoc/variables/Capabilities.ReactRoot.html +0 -1
  275. package/typedoc/variables/Capabilities.ReactSurface.html +0 -1
  276. package/typedoc/variables/Capabilities.RxRegistry.html +0 -1
  277. package/typedoc/variables/Capabilities.Settings.html +0 -1
  278. package/typedoc/variables/Capabilities.SettingsStore.html +0 -1
  279. package/typedoc/variables/Capabilities.Tools.html +0 -1
  280. package/typedoc/variables/Capabilities.Translations.html +0 -1
  281. package/typedoc/variables/Events.AppGraphReady.html +0 -2
  282. package/typedoc/variables/Events.DispatcherReady.html +0 -2
  283. package/typedoc/variables/Events.LayoutReady.html +0 -1
  284. package/typedoc/variables/Events.SettingsReady.html +0 -2
  285. package/typedoc/variables/Events.SetupAppGraph.html +0 -2
  286. package/typedoc/variables/Events.SetupArtifactDefinition.html +0 -2
  287. package/typedoc/variables/Events.SetupIntentResolver.html +0 -2
  288. package/typedoc/variables/Events.SetupMetadata.html +0 -2
  289. package/typedoc/variables/Events.SetupReactSurface.html +0 -2
  290. package/typedoc/variables/Events.SetupSettings.html +0 -2
  291. package/typedoc/variables/Events.SetupTranslations.html +0 -2
  292. package/typedoc/variables/Events.Startup.html +0 -2
  293. package/typedoc/variables/FileInfoSchema.html +0 -1
  294. package/typedoc/variables/INTENT_ACTION.html +0 -1
  295. package/typedoc/variables/INTENT_PLUGIN.html +0 -1
  296. package/typedoc/variables/LAYOUT_ACTION.html +0 -1
  297. package/typedoc/variables/LAYOUT_PLUGIN.html +0 -1
  298. package/typedoc/variables/Label.html +0 -1
  299. package/typedoc/variables/LayoutAction.Toast.html +0 -1
  300. package/typedoc/variables/LayoutAction.UPDATE_LAYOUT.html +0 -1
  301. package/typedoc/variables/PluginManagerProvider.html +0 -2
  302. package/typedoc/variables/Resource.html +0 -2
  303. package/typedoc/variables/ResourceKey.html +0 -1
  304. package/typedoc/variables/ResourceLanguage.html +0 -1
  305. package/typedoc/variables/SETTINGS_ACTION.html +0 -1
  306. package/typedoc/variables/SETTINGS_ID.html +0 -1
  307. package/typedoc/variables/SETTINGS_KEY.html +0 -1
  308. package/typedoc/variables/SETTINGS_PLUGIN.html +0 -1
  309. package/typedoc/variables/Surface.html +0 -2
  310. package/typedoc/variables/defaultFileTypes.html +0 -1
  311. /package/dist/lib/browser/{chunk-WWEJRWFX.mjs.map → chunk-ORWHM7CO.mjs.map} +0 -0
  312. /package/dist/lib/browser/{intent-dispatcher-XVBOMF2Y.mjs.map → intent-dispatcher-FTTJLVGN.mjs.map} +0 -0
  313. /package/dist/lib/node-esm/{chunk-I6BVZMAH.mjs.map → chunk-UMZQERLE.mjs.map} +0 -0
  314. /package/dist/lib/node-esm/{intent-dispatcher-7JPGLCQ5.mjs.map → intent-dispatcher-YQIQ55LJ.mjs.map} +0 -0
@@ -1 +1 @@
1
- {"inputs":{"packages/sdk/app-framework/src/core/capabilities.ts":{"bytes":23780,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/app-framework/src/core/events.ts":{"bytes":5371,"imports":[],"format":"esm"},"packages/sdk/app-framework/src/core/manager.ts":{"bytes":55041,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/core/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/sdk/app-framework/src/core/events.ts","kind":"import-statement","original":"./events"}],"format":"esm"},"packages/sdk/app-framework/src/core/plugin.ts":{"bytes":7296,"imports":[],"format":"esm"},"packages/sdk/app-framework/src/core/index.ts":{"bytes":738,"imports":[{"path":"packages/sdk/app-framework/src/core/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/sdk/app-framework/src/core/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/sdk/app-framework/src/core/manager.ts","kind":"import-statement","original":"./manager"},{"path":"packages/sdk/app-framework/src/core/plugin.ts","kind":"import-statement","original":"./plugin"}],"format":"esm"},"packages/sdk/app-framework/src/common/capabilities.ts":{"bytes":10186,"imports":[{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"../core"}],"format":"esm"},"packages/sdk/app-framework/src/common/collaboration.ts":{"bytes":2669,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/app-framework/src/common/events.ts":{"bytes":5592,"imports":[{"path":"packages/sdk/app-framework/src/common/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"../core"}],"format":"esm"},"packages/sdk/app-framework/src/common/file.ts":{"bytes":2508,"imports":[{"path":"effect","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/app-framework/src/common/graph.ts":{"bytes":1402,"imports":[],"format":"esm"},"packages/sdk/app-framework/src/plugin-intent/intent.ts":{"bytes":10041,"imports":[{"path":"effect","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/app-framework/src/plugin-intent/actions.ts":{"bytes":3342,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/plugin-intent/intent.ts","kind":"import-statement","original":"./intent"}],"format":"esm"},"packages/sdk/app-framework/src/plugin-intent/errors.ts":{"bytes":3766,"imports":[],"format":"esm"},"packages/sdk/app-framework/src/plugin-intent/intent-dispatcher.ts":{"bytes":30777,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/plugin-intent/actions.ts","kind":"import-statement","original":"./actions"},{"path":"packages/sdk/app-framework/src/plugin-intent/errors.ts","kind":"import-statement","original":"./errors"},{"path":"packages/sdk/app-framework/src/plugin-intent/intent.ts","kind":"import-statement","original":"./intent"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"../core"}],"format":"esm"},"packages/sdk/app-framework/src/plugin-intent/IntentPlugin.ts":{"bytes":3004,"imports":[{"path":"packages/sdk/app-framework/src/plugin-intent/actions.ts","kind":"import-statement","original":"./actions"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"../core"},{"path":"packages/sdk/app-framework/src/plugin-intent/intent-dispatcher.ts","kind":"dynamic-import","original":"./intent-dispatcher"}],"format":"esm"},"packages/sdk/app-framework/src/plugin-intent/index.ts":{"bytes":774,"imports":[{"path":"packages/sdk/app-framework/src/plugin-intent/actions.ts","kind":"import-statement","original":"./actions"},{"path":"packages/sdk/app-framework/src/plugin-intent/intent.ts","kind":"import-statement","original":"./intent"},{"path":"packages/sdk/app-framework/src/plugin-intent/intent-dispatcher.ts","kind":"import-statement","original":"./intent-dispatcher"},{"path":"packages/sdk/app-framework/src/plugin-intent/IntentPlugin.ts","kind":"import-statement","original":"./IntentPlugin"}],"format":"esm"},"packages/sdk/app-framework/src/common/layout.ts":{"bytes":42709,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/plugin-intent/index.ts","kind":"import-statement","original":"../plugin-intent"}],"format":"esm"},"packages/sdk/app-framework/src/common/surface.ts":{"bytes":4127,"imports":[],"format":"esm"},"packages/sdk/app-framework/src/common/translations.ts":{"bytes":2224,"imports":[{"path":"effect","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/app-framework/src/common/index.ts":{"bytes":1102,"imports":[{"path":"packages/sdk/app-framework/src/common/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/sdk/app-framework/src/common/collaboration.ts","kind":"import-statement","original":"./collaboration"},{"path":"packages/sdk/app-framework/src/common/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/sdk/app-framework/src/common/file.ts","kind":"import-statement","original":"./file"},{"path":"packages/sdk/app-framework/src/common/graph.ts","kind":"import-statement","original":"./graph"},{"path":"packages/sdk/app-framework/src/common/layout.ts","kind":"import-statement","original":"./layout"},{"path":"packages/sdk/app-framework/src/common/surface.ts","kind":"import-statement","original":"./surface"},{"path":"packages/sdk/app-framework/src/common/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"packages/sdk/app-framework/src/helpers.ts":{"bytes":4998,"imports":[],"format":"esm"},"packages/sdk/app-framework/src/react/PluginManagerProvider.ts":{"bytes":2030,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/app-framework/src/react/useCapabilities.ts":{"bytes":3277,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/react/PluginManagerProvider.ts","kind":"import-statement","original":"./PluginManagerProvider"}],"format":"esm"},"packages/sdk/app-framework/src/react/common.ts":{"bytes":1573,"imports":[{"path":"packages/sdk/app-framework/src/react/useCapabilities.ts","kind":"import-statement","original":"./useCapabilities"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"}],"format":"esm"},"packages/sdk/app-framework/src/react/ErrorBoundary.tsx":{"bytes":4383,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/app-framework/src/react/Surface.tsx":{"bytes":10707,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/react/ErrorBoundary.tsx","kind":"import-statement","original":"./ErrorBoundary"},{"path":"packages/sdk/app-framework/src/react/useCapabilities.ts","kind":"import-statement","original":"./useCapabilities"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"}],"format":"esm"},"packages/sdk/app-framework/src/react/useIntentResolver.ts":{"bytes":2478,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/sdk/app-framework/src/react/index.ts","kind":"import-statement","original":"../react"}],"format":"esm"},"packages/sdk/app-framework/src/react/index.ts":{"bytes":995,"imports":[{"path":"packages/sdk/app-framework/src/react/common.ts","kind":"import-statement","original":"./common"},{"path":"packages/sdk/app-framework/src/react/ErrorBoundary.tsx","kind":"import-statement","original":"./ErrorBoundary"},{"path":"packages/sdk/app-framework/src/react/PluginManagerProvider.ts","kind":"import-statement","original":"./PluginManagerProvider"},{"path":"packages/sdk/app-framework/src/react/Surface.tsx","kind":"import-statement","original":"./Surface"},{"path":"packages/sdk/app-framework/src/react/useCapabilities.ts","kind":"import-statement","original":"./useCapabilities"},{"path":"packages/sdk/app-framework/src/react/useIntentResolver.ts","kind":"import-statement","original":"./useIntentResolver"}],"format":"esm"},"packages/sdk/app-framework/src/App.tsx":{"bytes":29279,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"./common"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"./core"},{"path":"packages/sdk/app-framework/src/helpers.ts","kind":"import-statement","original":"./helpers"},{"path":"packages/sdk/app-framework/src/react/index.ts","kind":"import-statement","original":"./react"}],"format":"esm"},"packages/sdk/app-framework/src/plugin-settings/actions.ts":{"bytes":3527,"imports":[{"path":"effect","kind":"import-statement","external":true}],"format":"esm"},"packages/sdk/app-framework/src/plugin-settings/translations.ts":{"bytes":1306,"imports":[{"path":"packages/sdk/app-framework/src/plugin-settings/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"packages/sdk/app-framework/src/plugin-settings/store.ts":{"bytes":4069,"imports":[{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"../core"}],"format":"esm"},"packages/sdk/app-framework/src/plugin-settings/intent-resolver.ts":{"bytes":3786,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/plugin-settings/actions.ts","kind":"import-statement","original":"./actions"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"../core"},{"path":"packages/sdk/app-framework/src/plugin-intent/index.ts","kind":"import-statement","original":"../plugin-intent"}],"format":"esm"},"packages/sdk/app-framework/src/plugin-settings/app-graph-builder.ts":{"bytes":20640,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/plugin-settings/actions.ts","kind":"import-statement","original":"./actions"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"../core"},{"path":"packages/sdk/app-framework/src/plugin-intent/index.ts","kind":"import-statement","original":"../plugin-intent"}],"format":"esm"},"packages/sdk/app-framework/src/plugin-settings/SettingsPlugin.ts":{"bytes":4856,"imports":[{"path":"packages/sdk/app-framework/src/plugin-settings/actions.ts","kind":"import-statement","original":"./actions"},{"path":"packages/sdk/app-framework/src/plugin-settings/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"../core"},{"path":"packages/sdk/app-framework/src/plugin-settings/store.ts","kind":"dynamic-import","original":"./store"},{"path":"packages/sdk/app-framework/src/plugin-settings/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/sdk/app-framework/src/plugin-settings/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"}],"format":"esm"},"packages/sdk/app-framework/src/plugin-settings/index.ts":{"bytes":587,"imports":[{"path":"packages/sdk/app-framework/src/plugin-settings/actions.ts","kind":"import-statement","original":"./actions"},{"path":"packages/sdk/app-framework/src/plugin-settings/SettingsPlugin.ts","kind":"import-statement","original":"./SettingsPlugin"}],"format":"esm"},"packages/sdk/app-framework/src/index.ts":{"bytes":908,"imports":[{"path":"packages/sdk/app-framework/src/App.tsx","kind":"import-statement","original":"./App"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"./common"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"./core"},{"path":"packages/sdk/app-framework/src/plugin-intent/index.ts","kind":"import-statement","original":"./plugin-intent"},{"path":"packages/sdk/app-framework/src/plugin-settings/index.ts","kind":"import-statement","original":"./plugin-settings"},{"path":"packages/sdk/app-framework/src/react/index.ts","kind":"import-statement","original":"./react"}],"format":"esm"},"packages/sdk/app-framework/src/testing/withPluginManager.tsx":{"bytes":11155,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/src/App.tsx","kind":"import-statement","original":"../App"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"../core"}],"format":"esm"},"packages/sdk/app-framework/src/testing/index.ts":{"bytes":499,"imports":[{"path":"packages/sdk/app-framework/src/testing/withPluginManager.tsx","kind":"import-statement","original":"./withPluginManager"}],"format":"esm"},"packages/sdk/app-framework/src/worker.ts":{"bytes":1247,"imports":[{"path":"packages/sdk/app-framework/src/core/index.ts","kind":"import-statement","original":"./core"},{"path":"packages/sdk/app-framework/src/common/index.ts","kind":"import-statement","original":"./common"},{"path":"packages/sdk/app-framework/src/plugin-intent/index.ts","kind":"import-statement","original":"./plugin-intent"}],"format":"esm"}},"outputs":{"packages/sdk/app-framework/dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2833},"packages/sdk/app-framework/dist/lib/node-esm/index.mjs":{"imports":[{"path":"packages/sdk/app-framework/dist/lib/node-esm/chunk-FHNZZWP4.mjs","kind":"import-statement"},{"path":"packages/sdk/app-framework/dist/lib/node-esm/chunk-I6BVZMAH.mjs","kind":"import-statement"},{"path":"packages/sdk/app-framework/dist/lib/node-esm/chunk-2J6FVECI.mjs","kind":"import-statement"},{"path":"packages/sdk/app-framework/dist/lib/node-esm/store-UKD2R2KA.mjs","kind":"dynamic-import"},{"path":"packages/sdk/app-framework/dist/lib/node-esm/intent-resolver-VY4X5UHN.mjs","kind":"dynamic-import"},{"path":"packages/sdk/app-framework/dist/lib/node-esm/app-graph-builder-NROP6RPQ.mjs","kind":"dynamic-import"}],"exports":["Capabilities","CollaborationActions","ErrorBoundary","Events","FileInfoSchema","INTENT_ACTION","INTENT_PLUGIN","IntentAction","IntentPlugin","LAYOUT_ACTION","LAYOUT_PLUGIN","Label","LayoutAction","Plugin","PluginContext","PluginManager","PluginManagerProvider","PluginModule","Resource","ResourceKey","ResourceLanguage","SETTINGS_ACTION","SETTINGS_ID","SETTINGS_KEY","SETTINGS_PLUGIN","SettingsAction","SettingsPlugin","Surface","allOf","chain","contributes","createDispatcher","createIntent","createResolver","createSurface","defaultFileTypes","defineCapability","defineEvent","defineModule","definePlugin","eventKey","getEvents","isAllOf","isOneOf","isSurfaceAvailable","lazy","oneOf","useApp","useAppGraph","useCapabilities","useCapability","useIntentDispatcher","useIntentResolver","useLayout","usePluginManager","useSurfaces"],"entryPoint":"packages/sdk/app-framework/src/index.ts","inputs":{"packages/sdk/app-framework/src/index.ts":{"bytesInOutput":0},"packages/sdk/app-framework/src/plugin-settings/index.ts":{"bytesInOutput":0},"packages/sdk/app-framework/src/plugin-settings/translations.ts":{"bytesInOutput":228},"packages/sdk/app-framework/src/plugin-settings/SettingsPlugin.ts":{"bytesInOutput":932}},"bytes":3309},"packages/sdk/app-framework/dist/lib/node-esm/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5762},"packages/sdk/app-framework/dist/lib/node-esm/testing/index.mjs":{"imports":[{"path":"packages/sdk/app-framework/dist/lib/node-esm/chunk-FHNZZWP4.mjs","kind":"import-statement"},{"path":"packages/sdk/app-framework/dist/lib/node-esm/chunk-2J6FVECI.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"exports":["getValue","setupPluginManager","withPluginManager"],"entryPoint":"packages/sdk/app-framework/src/testing/index.ts","inputs":{"packages/sdk/app-framework/src/testing/withPluginManager.tsx":{"bytesInOutput":2198},"packages/sdk/app-framework/src/testing/index.ts":{"bytesInOutput":0}},"bytes":2636},"packages/sdk/app-framework/dist/lib/node-esm/chunk-FHNZZWP4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":29007},"packages/sdk/app-framework/dist/lib/node-esm/chunk-FHNZZWP4.mjs":{"imports":[{"path":"packages/sdk/app-framework/dist/lib/node-esm/chunk-2J6FVECI.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true}],"exports":["ErrorBoundary","PluginManagerProvider","Surface","isSurfaceAvailable","useApp","useAppGraph","useCapabilities","useCapability","useIntentDispatcher","useIntentResolver","useLayout","usePluginManager","useSurfaces"],"inputs":{"packages/sdk/app-framework/src/react/PluginManagerProvider.ts":{"bytesInOutput":312},"packages/sdk/app-framework/src/react/useCapabilities.ts":{"bytesInOutput":727},"packages/sdk/app-framework/src/react/common.ts":{"bytesInOutput":198},"packages/sdk/app-framework/src/react/ErrorBoundary.tsx":{"bytesInOutput":705},"packages/sdk/app-framework/src/react/Surface.tsx":{"bytesInOutput":2020},"packages/sdk/app-framework/src/react/useIntentResolver.ts":{"bytesInOutput":414},"packages/sdk/app-framework/src/react/index.ts":{"bytesInOutput":0},"packages/sdk/app-framework/src/App.tsx":{"bytesInOutput":6358},"packages/sdk/app-framework/src/helpers.ts":{"bytesInOutput":1049}},"bytes":12724},"packages/sdk/app-framework/dist/lib/node-esm/worker.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/sdk/app-framework/dist/lib/node-esm/worker.mjs":{"imports":[{"path":"packages/sdk/app-framework/dist/lib/node-esm/chunk-2J6FVECI.mjs","kind":"import-statement"}],"exports":["Capabilities","CollaborationActions","Events","FileInfoSchema","INTENT_ACTION","INTENT_PLUGIN","IntentAction","IntentPlugin","LAYOUT_ACTION","LAYOUT_PLUGIN","Label","LayoutAction","Plugin","PluginContext","PluginManager","PluginModule","Resource","ResourceKey","ResourceLanguage","allOf","chain","contributes","createDispatcher","createIntent","createResolver","createSurface","defaultFileTypes","defineCapability","defineEvent","defineModule","definePlugin","eventKey","getEvents","isAllOf","isOneOf","lazy","oneOf"],"entryPoint":"packages/sdk/app-framework/src/worker.ts","inputs":{"packages/sdk/app-framework/src/worker.ts":{"bytesInOutput":0}},"bytes":1288},"packages/sdk/app-framework/dist/lib/node-esm/intent-dispatcher-7JPGLCQ5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/sdk/app-framework/dist/lib/node-esm/intent-dispatcher-7JPGLCQ5.mjs":{"imports":[{"path":"packages/sdk/app-framework/dist/lib/node-esm/chunk-2J6FVECI.mjs","kind":"import-statement"}],"exports":["createDispatcher","createResolver","default"],"entryPoint":"packages/sdk/app-framework/src/plugin-intent/intent-dispatcher.ts","inputs":{},"bytes":343},"packages/sdk/app-framework/dist/lib/node-esm/store-UKD2R2KA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2188},"packages/sdk/app-framework/dist/lib/node-esm/store-UKD2R2KA.mjs":{"imports":[{"path":"packages/sdk/app-framework/dist/lib/node-esm/chunk-2J6FVECI.mjs","kind":"import-statement"},{"path":"@dxos/local-storage","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/sdk/app-framework/src/plugin-settings/store.ts","inputs":{"packages/sdk/app-framework/src/plugin-settings/store.ts":{"bytesInOutput":811}},"bytes":1116},"packages/sdk/app-framework/dist/lib/node-esm/intent-resolver-VY4X5UHN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1820},"packages/sdk/app-framework/dist/lib/node-esm/intent-resolver-VY4X5UHN.mjs":{"imports":[{"path":"packages/sdk/app-framework/dist/lib/node-esm/chunk-I6BVZMAH.mjs","kind":"import-statement"},{"path":"packages/sdk/app-framework/dist/lib/node-esm/chunk-2J6FVECI.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/sdk/app-framework/src/plugin-settings/intent-resolver.ts","inputs":{"packages/sdk/app-framework/src/plugin-settings/intent-resolver.ts":{"bytesInOutput":577}},"bytes":1059},"packages/sdk/app-framework/dist/lib/node-esm/app-graph-builder-NROP6RPQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9868},"packages/sdk/app-framework/dist/lib/node-esm/app-graph-builder-NROP6RPQ.mjs":{"imports":[{"path":"packages/sdk/app-framework/dist/lib/node-esm/chunk-I6BVZMAH.mjs","kind":"import-statement"},{"path":"packages/sdk/app-framework/dist/lib/node-esm/chunk-2J6FVECI.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/sdk/app-framework/src/plugin-settings/app-graph-builder.ts","inputs":{"packages/sdk/app-framework/src/plugin-settings/app-graph-builder.ts":{"bytesInOutput":4285}},"bytes":4749},"packages/sdk/app-framework/dist/lib/node-esm/chunk-I6BVZMAH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1720},"packages/sdk/app-framework/dist/lib/node-esm/chunk-I6BVZMAH.mjs":{"imports":[{"path":"effect","kind":"import-statement","external":true}],"exports":["SETTINGS_ACTION","SETTINGS_ID","SETTINGS_KEY","SETTINGS_PLUGIN","SettingsAction"],"inputs":{"packages/sdk/app-framework/src/plugin-settings/actions.ts":{"bytesInOutput":731}},"bytes":1028},"packages/sdk/app-framework/dist/lib/node-esm/chunk-2J6FVECI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":108002},"packages/sdk/app-framework/dist/lib/node-esm/chunk-2J6FVECI.mjs":{"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"packages/sdk/app-framework/dist/lib/node-esm/intent-dispatcher-7JPGLCQ5.mjs","kind":"dynamic-import"},{"path":"effect","kind":"import-statement","external":true}],"exports":["Capabilities","CollaborationActions","Events","FileInfoSchema","INTENT_ACTION","INTENT_PLUGIN","IntentAction","IntentPlugin","LAYOUT_ACTION","LAYOUT_PLUGIN","Label","LayoutAction","Plugin","PluginContext","PluginManager","PluginModule","Resource","ResourceKey","ResourceLanguage","allOf","chain","contributes","createDispatcher","createIntent","createResolver","createSurface","defaultFileTypes","defineCapability","defineEvent","defineModule","definePlugin","eventKey","getEvents","intent_dispatcher_default","isAllOf","isOneOf","lazy","oneOf"],"inputs":{"packages/sdk/app-framework/src/plugin-intent/intent-dispatcher.ts":{"bytesInOutput":5264},"packages/sdk/app-framework/src/plugin-intent/actions.ts":{"bytesInOutput":699},"packages/sdk/app-framework/src/plugin-intent/intent.ts":{"bytesInOutput":888},"packages/sdk/app-framework/src/plugin-intent/errors.ts":{"bytesInOutput":654},"packages/sdk/app-framework/src/core/capabilities.ts":{"bytesInOutput":5180},"packages/sdk/app-framework/src/core/index.ts":{"bytesInOutput":0},"packages/sdk/app-framework/src/core/events.ts":{"bytesInOutput":512},"packages/sdk/app-framework/src/core/manager.ts":{"bytesInOutput":14928},"packages/sdk/app-framework/src/core/plugin.ts":{"bytesInOutput":516},"packages/sdk/app-framework/src/common/capabilities.ts":{"bytesInOutput":2044},"packages/sdk/app-framework/src/common/index.ts":{"bytesInOutput":0},"packages/sdk/app-framework/src/common/collaboration.ts":{"bytesInOutput":687},"packages/sdk/app-framework/src/common/events.ts":{"bytesInOutput":1232},"packages/sdk/app-framework/src/common/file.ts":{"bytesInOutput":408},"packages/sdk/app-framework/src/common/layout.ts":{"bytesInOutput":12360},"packages/sdk/app-framework/src/plugin-intent/index.ts":{"bytesInOutput":0},"packages/sdk/app-framework/src/plugin-intent/IntentPlugin.ts":{"bytesInOutput":620},"packages/sdk/app-framework/src/common/surface.ts":{"bytesInOutput":48},"packages/sdk/app-framework/src/common/translations.ts":{"bytesInOutput":331}},"bytes":48187}}}
1
+ {"inputs":{"src/core/capabilities.ts":{"bytes":23771,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/core/events.ts":{"bytes":5358,"imports":[],"format":"esm"},"src/core/manager.ts":{"bytes":66428,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/core/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/core/events.ts","kind":"import-statement","original":"./events"}],"format":"esm"},"src/core/plugin.ts":{"bytes":7283,"imports":[],"format":"esm"},"src/core/index.ts":{"bytes":725,"imports":[{"path":"src/core/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/core/events.ts","kind":"import-statement","original":"./events"},{"path":"src/core/manager.ts","kind":"import-statement","original":"./manager"},{"path":"src/core/plugin.ts","kind":"import-statement","original":"./plugin"}],"format":"esm"},"src/common/capabilities.ts":{"bytes":12702,"imports":[{"path":"src/core/index.ts","kind":"import-statement","original":"../core"}],"format":"esm"},"src/common/collaboration.ts":{"bytes":2656,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"format":"esm"},"src/common/events.ts":{"bytes":5619,"imports":[{"path":"src/core/index.ts","kind":"import-statement","original":"../core"},{"path":"src/common/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/common/file.ts":{"bytes":2495,"imports":[{"path":"effect","kind":"import-statement","external":true}],"format":"esm"},"src/common/graph.ts":{"bytes":1389,"imports":[],"format":"esm"},"src/plugin-intent/intent.ts":{"bytes":10028,"imports":[{"path":"effect","kind":"import-statement","external":true}],"format":"esm"},"src/plugin-intent/actions.ts":{"bytes":3329,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"src/plugin-intent/intent.ts","kind":"import-statement","original":"./intent"}],"format":"esm"},"src/plugin-intent/errors.ts":{"bytes":3753,"imports":[],"format":"esm"},"src/plugin-intent/intent-dispatcher.ts":{"bytes":30764,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"src/core/index.ts","kind":"import-statement","original":"../core"},{"path":"src/plugin-intent/actions.ts","kind":"import-statement","original":"./actions"},{"path":"src/plugin-intent/errors.ts","kind":"import-statement","original":"./errors"},{"path":"src/plugin-intent/intent.ts","kind":"import-statement","original":"./intent"}],"format":"esm"},"src/plugin-intent/IntentPlugin.ts":{"bytes":2995,"imports":[{"path":"src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"src/core/index.ts","kind":"import-statement","original":"../core"},{"path":"src/plugin-intent/actions.ts","kind":"import-statement","original":"./actions"},{"path":"src/plugin-intent/intent-dispatcher.ts","kind":"dynamic-import","original":"./intent-dispatcher"}],"format":"esm"},"src/plugin-intent/index.ts":{"bytes":761,"imports":[{"path":"src/plugin-intent/actions.ts","kind":"import-statement","original":"./actions"},{"path":"src/plugin-intent/intent.ts","kind":"import-statement","original":"./intent"},{"path":"src/plugin-intent/intent-dispatcher.ts","kind":"import-statement","original":"./intent-dispatcher"},{"path":"src/plugin-intent/IntentPlugin.ts","kind":"import-statement","original":"./IntentPlugin"}],"format":"esm"},"src/common/layout.ts":{"bytes":42696,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"src/plugin-intent/index.ts","kind":"import-statement","original":"../plugin-intent"}],"format":"esm"},"src/common/surface.ts":{"bytes":4114,"imports":[],"format":"esm"},"src/common/translations.ts":{"bytes":2211,"imports":[{"path":"effect","kind":"import-statement","external":true}],"format":"esm"},"src/common/index.ts":{"bytes":1089,"imports":[{"path":"src/common/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/common/collaboration.ts","kind":"import-statement","original":"./collaboration"},{"path":"src/common/events.ts","kind":"import-statement","original":"./events"},{"path":"src/common/file.ts","kind":"import-statement","original":"./file"},{"path":"src/common/graph.ts","kind":"import-statement","original":"./graph"},{"path":"src/common/layout.ts","kind":"import-statement","original":"./layout"},{"path":"src/common/surface.ts","kind":"import-statement","original":"./surface"},{"path":"src/common/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/helpers.ts":{"bytes":4985,"imports":[],"format":"esm"},"src/react/PluginManagerProvider.ts":{"bytes":2017,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"src/react/useCapabilities.ts":{"bytes":3264,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/react/PluginManagerProvider.ts","kind":"import-statement","original":"./PluginManagerProvider"}],"format":"esm"},"src/react/common.ts":{"bytes":1564,"imports":[{"path":"src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"src/react/useCapabilities.ts","kind":"import-statement","original":"./useCapabilities"}],"format":"esm"},"src/react/ErrorBoundary.tsx":{"bytes":5731,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/react/Surface.tsx":{"bytes":10698,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"src/react/ErrorBoundary.tsx","kind":"import-statement","original":"./ErrorBoundary"},{"path":"src/react/useCapabilities.ts","kind":"import-statement","original":"./useCapabilities"}],"format":"esm"},"src/react/useIntentResolver.ts":{"bytes":2465,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"src/react/index.ts","kind":"import-statement","original":"../react"}],"format":"esm"},"src/react/index.ts":{"bytes":982,"imports":[{"path":"src/react/common.ts","kind":"import-statement","original":"./common"},{"path":"src/react/ErrorBoundary.tsx","kind":"import-statement","original":"./ErrorBoundary"},{"path":"src/react/PluginManagerProvider.ts","kind":"import-statement","original":"./PluginManagerProvider"},{"path":"src/react/Surface.tsx","kind":"import-statement","original":"./Surface"},{"path":"src/react/useCapabilities.ts","kind":"import-statement","original":"./useCapabilities"},{"path":"src/react/useIntentResolver.ts","kind":"import-statement","original":"./useIntentResolver"}],"format":"esm"},"src/App.tsx":{"bytes":30085,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"src/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/core/index.ts","kind":"import-statement","original":"./core"},{"path":"src/helpers.ts","kind":"import-statement","original":"./helpers"},{"path":"src/react/index.ts","kind":"import-statement","original":"./react"}],"format":"esm"},"src/plugin-settings/actions.ts":{"bytes":3514,"imports":[{"path":"effect","kind":"import-statement","external":true}],"format":"esm"},"src/plugin-settings/translations.ts":{"bytes":1470,"imports":[{"path":"src/plugin-settings/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"src/plugin-settings/store.ts":{"bytes":4056,"imports":[{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"src/core/index.ts","kind":"import-statement","original":"../core"}],"format":"esm"},"src/plugin-settings/intent-resolver.ts":{"bytes":3773,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"src/core/index.ts","kind":"import-statement","original":"../core"},{"path":"src/plugin-intent/index.ts","kind":"import-statement","original":"../plugin-intent"},{"path":"src/plugin-settings/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"src/plugin-settings/app-graph-builder.ts":{"bytes":20631,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"src/core/index.ts","kind":"import-statement","original":"../core"},{"path":"src/plugin-intent/index.ts","kind":"import-statement","original":"../plugin-intent"},{"path":"src/plugin-settings/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"src/plugin-settings/SettingsPlugin.ts":{"bytes":4859,"imports":[{"path":"src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"src/core/index.ts","kind":"import-statement","original":"../core"},{"path":"src/plugin-settings/actions.ts","kind":"import-statement","original":"./actions"},{"path":"src/plugin-settings/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/plugin-settings/store.ts","kind":"dynamic-import","original":"./store"},{"path":"src/plugin-settings/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"src/plugin-settings/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"}],"format":"esm"},"src/plugin-settings/index.ts":{"bytes":574,"imports":[{"path":"src/plugin-settings/actions.ts","kind":"import-statement","original":"./actions"},{"path":"src/plugin-settings/SettingsPlugin.ts","kind":"import-statement","original":"./SettingsPlugin"}],"format":"esm"},"src/index.ts":{"bytes":895,"imports":[{"path":"src/App.tsx","kind":"import-statement","original":"./App"},{"path":"src/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/core/index.ts","kind":"import-statement","original":"./core"},{"path":"src/plugin-intent/index.ts","kind":"import-statement","original":"./plugin-intent"},{"path":"src/plugin-settings/index.ts","kind":"import-statement","original":"./plugin-settings"},{"path":"src/react/index.ts","kind":"import-statement","original":"./react"}],"format":"esm"},"src/testing/withPluginManager.tsx":{"bytes":11202,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"src/App.tsx","kind":"import-statement","original":"../App"},{"path":"src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"src/core/index.ts","kind":"import-statement","original":"../core"}],"format":"esm"},"src/testing/index.ts":{"bytes":486,"imports":[{"path":"src/testing/withPluginManager.tsx","kind":"import-statement","original":"./withPluginManager"}],"format":"esm"},"src/worker.ts":{"bytes":1234,"imports":[{"path":"src/core/index.ts","kind":"import-statement","original":"./core"},{"path":"src/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/plugin-intent/index.ts","kind":"import-statement","original":"./plugin-intent"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2949},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-WU3QN5B6.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-UMZQERLE.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-YEN7NKTF.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/store-TIJAVO3D.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/intent-resolver-KG27L7EQ.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/app-graph-builder-ODE4B5GT.mjs","kind":"dynamic-import"}],"exports":["Capabilities","CollaborationActions","ErrorBoundary","Events","FileInfoSchema","INTENT_ACTION","INTENT_PLUGIN","IntentAction","IntentPlugin","LAYOUT_ACTION","LAYOUT_PLUGIN","Label","LayoutAction","Plugin","PluginContext","PluginManager","PluginManagerProvider","PluginModule","Resource","ResourceKey","ResourceLanguage","SETTINGS_ACTION","SETTINGS_ID","SETTINGS_KEY","SETTINGS_PLUGIN","SettingsAction","SettingsPlugin","Surface","allOf","chain","contributes","createDispatcher","createIntent","createResolver","createSurface","defaultFileTypes","defineCapability","defineEvent","defineModule","definePlugin","eventKey","getEvents","isAllOf","isOneOf","isSurfaceAvailable","lazy","oneOf","useApp","useAppGraph","useCapabilities","useCapability","useIntentDispatcher","useIntentResolver","useLayout","usePluginManager","useSurfaces"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/plugin-settings/index.ts":{"bytesInOutput":0},"src/plugin-settings/translations.ts":{"bytesInOutput":220},"src/plugin-settings/SettingsPlugin.ts":{"bytesInOutput":924}},"bytes":3239},"dist/lib/node-esm/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5808},"dist/lib/node-esm/testing/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-WU3QN5B6.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-YEN7NKTF.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"exports":["getValue","setupPluginManager","withPluginManager"],"entryPoint":"src/testing/index.ts","inputs":{"src/testing/withPluginManager.tsx":{"bytesInOutput":2198},"src/testing/index.ts":{"bytesInOutput":0}},"bytes":2609},"dist/lib/node-esm/chunk-WU3QN5B6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":30037},"dist/lib/node-esm/chunk-WU3QN5B6.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-YEN7NKTF.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true}],"exports":["ErrorBoundary","PluginManagerProvider","Surface","isSurfaceAvailable","useApp","useAppGraph","useCapabilities","useCapability","useIntentDispatcher","useIntentResolver","useLayout","usePluginManager","useSurfaces"],"inputs":{"src/react/PluginManagerProvider.ts":{"bytesInOutput":312},"src/react/useCapabilities.ts":{"bytesInOutput":714},"src/react/common.ts":{"bytesInOutput":198},"src/react/ErrorBoundary.tsx":{"bytesInOutput":1318},"src/react/Surface.tsx":{"bytesInOutput":2022},"src/react/useIntentResolver.ts":{"bytesInOutput":414},"src/react/index.ts":{"bytesInOutput":0},"src/App.tsx":{"bytesInOutput":6586},"src/helpers.ts":{"bytesInOutput":1049}},"bytes":13311},"dist/lib/node-esm/worker.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/worker.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-YEN7NKTF.mjs","kind":"import-statement"}],"exports":["Capabilities","CollaborationActions","Events","FileInfoSchema","INTENT_ACTION","INTENT_PLUGIN","IntentAction","IntentPlugin","LAYOUT_ACTION","LAYOUT_PLUGIN","Label","LayoutAction","Plugin","PluginContext","PluginManager","PluginModule","Resource","ResourceKey","ResourceLanguage","allOf","chain","contributes","createDispatcher","createIntent","createResolver","createSurface","defaultFileTypes","defineCapability","defineEvent","defineModule","definePlugin","eventKey","getEvents","isAllOf","isOneOf","lazy","oneOf"],"entryPoint":"src/worker.ts","inputs":{"src/worker.ts":{"bytesInOutput":0}},"bytes":1288},"dist/lib/node-esm/intent-dispatcher-YQIQ55LJ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/intent-dispatcher-YQIQ55LJ.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-YEN7NKTF.mjs","kind":"import-statement"}],"exports":["createDispatcher","createResolver","default"],"entryPoint":"src/plugin-intent/intent-dispatcher.ts","inputs":{},"bytes":343},"dist/lib/node-esm/store-TIJAVO3D.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2188},"dist/lib/node-esm/store-TIJAVO3D.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-YEN7NKTF.mjs","kind":"import-statement"},{"path":"@dxos/local-storage","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/plugin-settings/store.ts","inputs":{"src/plugin-settings/store.ts":{"bytesInOutput":811}},"bytes":1089},"dist/lib/node-esm/intent-resolver-KG27L7EQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1822},"dist/lib/node-esm/intent-resolver-KG27L7EQ.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-UMZQERLE.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-YEN7NKTF.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/plugin-settings/intent-resolver.ts","inputs":{"src/plugin-settings/intent-resolver.ts":{"bytesInOutput":577}},"bytes":1032},"dist/lib/node-esm/app-graph-builder-ODE4B5GT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9870},"dist/lib/node-esm/app-graph-builder-ODE4B5GT.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-UMZQERLE.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-YEN7NKTF.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/plugin-settings/app-graph-builder.ts","inputs":{"src/plugin-settings/app-graph-builder.ts":{"bytesInOutput":4285}},"bytes":4722},"dist/lib/node-esm/chunk-UMZQERLE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1720},"dist/lib/node-esm/chunk-UMZQERLE.mjs":{"imports":[{"path":"effect","kind":"import-statement","external":true}],"exports":["SETTINGS_ACTION","SETTINGS_ID","SETTINGS_KEY","SETTINGS_PLUGIN","SettingsAction"],"inputs":{"src/plugin-settings/actions.ts":{"bytesInOutput":731}},"bytes":1001},"dist/lib/node-esm/chunk-YEN7NKTF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":115363},"dist/lib/node-esm/chunk-YEN7NKTF.mjs":{"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/intent-dispatcher-YQIQ55LJ.mjs","kind":"dynamic-import"},{"path":"effect","kind":"import-statement","external":true}],"exports":["Capabilities","CollaborationActions","Events","FileInfoSchema","INTENT_ACTION","INTENT_PLUGIN","IntentAction","IntentPlugin","LAYOUT_ACTION","LAYOUT_PLUGIN","Label","LayoutAction","Plugin","PluginContext","PluginManager","PluginModule","Resource","ResourceKey","ResourceLanguage","allOf","chain","contributes","createDispatcher","createIntent","createResolver","createSurface","defaultFileTypes","defineCapability","defineEvent","defineModule","definePlugin","eventKey","getEvents","intent_dispatcher_default","isAllOf","isOneOf","lazy","oneOf"],"inputs":{"src/plugin-intent/intent-dispatcher.ts":{"bytesInOutput":5251},"src/core/capabilities.ts":{"bytesInOutput":5483},"src/core/index.ts":{"bytesInOutput":0},"src/core/events.ts":{"bytesInOutput":512},"src/core/manager.ts":{"bytesInOutput":17236},"src/core/plugin.ts":{"bytesInOutput":605},"src/common/capabilities.ts":{"bytesInOutput":2338},"src/common/index.ts":{"bytesInOutput":0},"src/common/collaboration.ts":{"bytesInOutput":678},"src/common/events.ts":{"bytesInOutput":1232},"src/common/file.ts":{"bytesInOutput":408},"src/common/layout.ts":{"bytesInOutput":12360},"src/plugin-intent/actions.ts":{"bytesInOutput":699},"src/plugin-intent/intent.ts":{"bytesInOutput":912},"src/plugin-intent/index.ts":{"bytesInOutput":0},"src/plugin-intent/IntentPlugin.ts":{"bytesInOutput":620},"src/common/surface.ts":{"bytesInOutput":48},"src/common/translations.ts":{"bytesInOutput":331},"src/plugin-intent/errors.ts":{"bytesInOutput":673}},"bytes":50689}}}
@@ -2,9 +2,9 @@ import { createRequire } from 'node:module';const require = createRequire(import
2
2
  import {
3
3
  Capabilities,
4
4
  contributes
5
- } from "./chunk-2J6FVECI.mjs";
5
+ } from "./chunk-YEN7NKTF.mjs";
6
6
 
7
- // packages/sdk/app-framework/src/plugin-settings/store.ts
7
+ // src/plugin-settings/store.ts
8
8
  import { RootSettingsStore } from "@dxos/local-storage";
9
9
  var store_default = (context) => {
10
10
  const settingsStore = new RootSettingsStore();
@@ -28,4 +28,4 @@ var store_default = (context) => {
28
28
  export {
29
29
  store_default as default
30
30
  };
31
- //# sourceMappingURL=store-UKD2R2KA.mjs.map
31
+ //# sourceMappingURL=store-TIJAVO3D.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/plugin-settings/store.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { RootSettingsStore } from '@dxos/local-storage';\n\nimport { Capabilities } from '../common';\nimport { contributes, type PluginContext } from '../core';\n\nexport default (context: PluginContext) => {\n // TODO(wittjosiah): Replace with rx?\n const settingsStore = new RootSettingsStore();\n\n let previous: Capabilities.Settings[] = [];\n const registry = context.getCapability(Capabilities.RxRegistry);\n const cancel = registry.subscribe(\n context.capabilities(Capabilities.Settings),\n (allSettings) => {\n const added = allSettings.filter((setting) => !previous.includes(setting));\n const removed = previous.filter((setting) => !allSettings.includes(setting));\n previous = allSettings;\n added.forEach((setting) => {\n settingsStore.createStore(setting as any);\n });\n removed.forEach((setting) => {\n settingsStore.removeStore(setting.prefix);\n });\n },\n { immediate: true },\n );\n\n return contributes(Capabilities.SettingsStore, settingsStore, () => cancel());\n};\n"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { RootSettingsStore } from '@dxos/local-storage';\n\nimport { Capabilities } from '../common';\nimport { type PluginContext, contributes } from '../core';\n\nexport default (context: PluginContext) => {\n // TODO(wittjosiah): Replace with rx?\n const settingsStore = new RootSettingsStore();\n\n let previous: Capabilities.Settings[] = [];\n const registry = context.getCapability(Capabilities.RxRegistry);\n const cancel = registry.subscribe(\n context.capabilities(Capabilities.Settings),\n (allSettings) => {\n const added = allSettings.filter((setting) => !previous.includes(setting));\n const removed = previous.filter((setting) => !allSettings.includes(setting));\n previous = allSettings;\n added.forEach((setting) => {\n settingsStore.createStore(setting as any);\n });\n removed.forEach((setting) => {\n settingsStore.removeStore(setting.prefix);\n });\n },\n { immediate: true },\n );\n\n return contributes(Capabilities.SettingsStore, settingsStore, () => cancel());\n};\n"],
5
5
  "mappings": ";;;;;;;AAIA,SAASA,yBAAyB;AAKlC,IAAA,gBAAe,CAACC,YAAAA;AAEd,QAAMC,gBAAgB,IAAIC,kBAAAA;AAE1B,MAAIC,WAAoC,CAAA;AACxC,QAAMC,WAAWJ,QAAQK,cAAcC,aAAaC,UAAU;AAC9D,QAAMC,SAASJ,SAASK,UACtBT,QAAQU,aAAaJ,aAAaK,QAAQ,GAC1C,CAACC,gBAAAA;AACC,UAAMC,QAAQD,YAAYE,OAAO,CAACC,YAAY,CAACZ,SAASa,SAASD,OAAAA,CAAAA;AACjE,UAAME,UAAUd,SAASW,OAAO,CAACC,YAAY,CAACH,YAAYI,SAASD,OAAAA,CAAAA;AACnEZ,eAAWS;AACXC,UAAMK,QAAQ,CAACH,YAAAA;AACbd,oBAAckB,YAAYJ,OAAAA;IAC5B,CAAA;AACAE,YAAQC,QAAQ,CAACH,YAAAA;AACfd,oBAAcmB,YAAYL,QAAQM,MAAM;IAC1C,CAAA;EACF,GACA;IAAEC,WAAW;EAAK,CAAA;AAGpB,SAAOC,YAAYjB,aAAakB,eAAevB,eAAe,MAAMO,OAAAA,CAAAA;AACtE;",
6
6
  "names": ["RootSettingsStore", "context", "settingsStore", "RootSettingsStore", "previous", "registry", "getCapability", "Capabilities", "RxRegistry", "cancel", "subscribe", "capabilities", "Settings", "allSettings", "added", "filter", "setting", "includes", "removed", "forEach", "createStore", "removeStore", "prefix", "immediate", "contributes", "SettingsStore"]
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
2
  import {
3
3
  useApp
4
- } from "../chunk-FHNZZWP4.mjs";
4
+ } from "../chunk-WU3QN5B6.mjs";
5
5
  import {
6
6
  Capabilities,
7
7
  Events,
@@ -9,9 +9,9 @@ import {
9
9
  contributes,
10
10
  defineModule,
11
11
  definePlugin
12
- } from "../chunk-2J6FVECI.mjs";
12
+ } from "../chunk-YEN7NKTF.mjs";
13
13
 
14
- // packages/sdk/app-framework/src/testing/withPluginManager.tsx
14
+ // src/testing/withPluginManager.tsx
15
15
  import React, { useEffect, useMemo } from "react";
16
16
  import { raise } from "@dxos/debug";
17
17
  var getValue = (providerOrValue, context) => {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/testing/withPluginManager.tsx"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { type Decorator } from '@storybook/react';\nimport React, { useEffect, useMemo } from 'react';\n\nimport { raise } from '@dxos/debug';\n\nimport { useApp, type CreateAppOptions } from '../App';\nimport { Capabilities, Events } from '../common';\nimport {\n contributes,\n defineModule,\n definePlugin,\n type ActivationEvent,\n type AnyCapability,\n PluginManager,\n type PluginContext,\n} from '../core';\n\n// TODO(burdon): Factor out (use consistently in plugin framework?)\nexport type Provider<C, R> = (context: C) => R;\nexport type ProviderOrValue<C, R> = Provider<C, R> | R;\nexport const getValue = <C, R>(providerOrValue: ProviderOrValue<C, R>, context: C): R => {\n return typeof providerOrValue === 'function' ? (providerOrValue as Provider<C, R>)(context) : providerOrValue;\n};\n\n/**\n * @internal\n */\nexport const setupPluginManager = ({\n capabilities,\n plugins = [],\n core = plugins.map(({ meta }) => meta.id),\n ...options\n}: CreateAppOptions & Pick<WithPluginManagerOptions, 'capabilities'> = {}) => {\n const pluginManager = new PluginManager({\n pluginLoader: () => raise(new Error('Not implemented')),\n plugins: [storyPlugin(), ...plugins],\n core: [STORY_PLUGIN, ...core],\n ...options,\n });\n\n if (capabilities) {\n getValue(capabilities, pluginManager.context).forEach((capability) => {\n pluginManager.context.contributeCapability({\n interface: capability.interface,\n implementation: capability.implementation,\n module: 'story',\n });\n });\n }\n\n return pluginManager;\n};\n\nexport type WithPluginManagerOptions = CreateAppOptions & {\n capabilities?: ProviderOrValue<PluginContext, AnyCapability[]>;\n fireEvents?: (ActivationEvent | string)[];\n};\n\n/**\n * Wraps a story with a plugin manager.\n * NOTE: This builds up and tears down the plugin manager on every render.\n */\nexport const withPluginManager = (options: WithPluginManagerOptions = {}): Decorator => {\n return (Story, context) => {\n const pluginManager = useMemo(() => setupPluginManager(options), [options]);\n\n // Set-up root capability.\n useEffect(() => {\n const capability = contributes(Capabilities.ReactRoot, {\n id: context.id,\n root: () => <Story />,\n });\n\n pluginManager.context.contributeCapability({\n ...capability,\n module: 'dxos.org/app-framework/withPluginManager',\n });\n\n return () => {\n pluginManager.context.removeCapability(capability.interface, capability.implementation);\n };\n }, [pluginManager, context]);\n\n // Fire events.\n useEffect(() => {\n const timeout = setTimeout(async () => {\n await Promise.all(options.fireEvents?.map((event) => pluginManager.activate(event)) ?? []);\n });\n\n return () => clearTimeout(timeout);\n }, [pluginManager]);\n\n // Create app.\n const App = useApp({ pluginManager });\n\n return <App />;\n };\n};\n\n// No-op plugin to ensure there exists at least one plugin for the startup event.\n// This is necessary because `createApp` expects the startup event to complete before the app is ready.\nconst STORY_PLUGIN = 'dxos.org/app-framework/story';\nconst storyPlugin = () =>\n definePlugin({ id: STORY_PLUGIN, name: 'Story' }, [\n defineModule({ id: STORY_PLUGIN, activatesOn: Events.Startup, activate: () => [] }),\n ]);\n"],
5
- "mappings": ";;;;;;;;;;;;;;AAKA,OAAOA,SAASC,WAAWC,eAAe;AAE1C,SAASC,aAAa;AAiBf,IAAMC,WAAW,CAAOC,iBAAwCC,YAAAA;AACrE,SAAO,OAAOD,oBAAoB,aAAcA,gBAAmCC,OAAAA,IAAWD;AAChG;AAKO,IAAME,qBAAqB,CAAC,EACjCC,cACAC,UAAU,CAAA,GACVC,OAAOD,QAAQE,IAAI,CAAC,EAAEC,KAAI,MAAOA,KAAKC,EAAE,GACxC,GAAGC,QAAAA,IACkE,CAAC,MAAC;AACvE,QAAMC,gBAAgB,IAAIC,cAAc;IACtCC,cAAc,MAAMC,MAAM,IAAIC,MAAM,iBAAA,CAAA;IACpCV,SAAS;MAACW,YAAAA;SAAkBX;;IAC5BC,MAAM;MAACW;SAAiBX;;IACxB,GAAGI;EACL,CAAA;AAEA,MAAIN,cAAc;AAChBJ,aAASI,cAAcO,cAAcT,OAAO,EAAEgB,QAAQ,CAACC,eAAAA;AACrDR,oBAAcT,QAAQkB,qBAAqB;QACzCC,WAAWF,WAAWE;QACtBC,gBAAgBH,WAAWG;QAC3BC,QAAQ;MACV,CAAA;IACF,CAAA;EACF;AAEA,SAAOZ;AACT;AAWO,IAAMa,oBAAoB,CAACd,UAAoC,CAAC,MAAC;AACtE,SAAO,CAACe,OAAOvB,YAAAA;AACb,UAAMS,gBAAgBe,QAAQ,MAAMvB,mBAAmBO,OAAAA,GAAU;MAACA;KAAQ;AAG1EiB,cAAU,MAAA;AACR,YAAMR,aAAaS,YAAYC,aAAaC,WAAW;QACrDrB,IAAIP,QAAQO;QACZsB,MAAM,MAAM,sBAAA,cAACN,OAAAA,IAAAA;MACf,CAAA;AAEAd,oBAAcT,QAAQkB,qBAAqB;QACzC,GAAGD;QACHI,QAAQ;MACV,CAAA;AAEA,aAAO,MAAA;AACLZ,sBAAcT,QAAQ8B,iBAAiBb,WAAWE,WAAWF,WAAWG,cAAc;MACxF;IACF,GAAG;MAACX;MAAeT;KAAQ;AAG3ByB,cAAU,MAAA;AACR,YAAMM,UAAUC,WAAW,YAAA;AACzB,cAAMC,QAAQC,IAAI1B,QAAQ2B,YAAY9B,IAAI,CAAC+B,UAAU3B,cAAc4B,SAASD,KAAAA,CAAAA,KAAW,CAAA,CAAE;MAC3F,CAAA;AAEA,aAAO,MAAME,aAAaP,OAAAA;IAC5B,GAAG;MAACtB;KAAc;AAGlB,UAAM8B,MAAMC,OAAO;MAAE/B;IAAc,CAAA;AAEnC,WAAO,sBAAA,cAAC8B,KAAAA,IAAAA;EACV;AACF;AAIA,IAAMxB,eAAe;AACrB,IAAMD,cAAc,MAClB2B,aAAa;EAAElC,IAAIQ;EAAc2B,MAAM;AAAQ,GAAG;EAChDC,aAAa;IAAEpC,IAAIQ;IAAc6B,aAAaC,OAAOC;IAAST,UAAU,MAAM,CAAA;EAAG,CAAA;CAClF;",
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { type Decorator } from '@storybook/react';\nimport React, { useEffect, useMemo } from 'react';\n\nimport { raise } from '@dxos/debug';\n\nimport { type CreateAppOptions, useApp } from '../App';\nimport { Capabilities, Events } from '../common';\nimport {\n type ActivationEvent,\n type AnyCapability,\n type PluginContext,\n PluginManager,\n contributes,\n defineModule,\n definePlugin,\n} from '../core';\n\n// TODO(burdon): Factor out (use consistently in plugin framework?)\nexport type Provider<C, R> = (context: C) => R;\nexport type ProviderOrValue<C, R> = Provider<C, R> | R;\n\nexport const getValue = <C, R>(providerOrValue: ProviderOrValue<C, R>, context: C): R => {\n return typeof providerOrValue === 'function' ? (providerOrValue as Provider<C, R>)(context) : providerOrValue;\n};\n\n/**\n * @internal\n */\nexport const setupPluginManager = ({\n capabilities,\n plugins = [],\n core = plugins.map(({ meta }) => meta.id),\n ...options\n}: CreateAppOptions & Pick<WithPluginManagerOptions, 'capabilities'> = {}) => {\n const pluginManager = new PluginManager({\n pluginLoader: () => raise(new Error('Not implemented')),\n plugins: [storyPlugin(), ...plugins],\n core: [STORY_PLUGIN, ...core],\n ...options,\n });\n\n if (capabilities) {\n getValue(capabilities, pluginManager.context).forEach((capability) => {\n pluginManager.context.contributeCapability({\n interface: capability.interface,\n implementation: capability.implementation,\n module: 'story',\n });\n });\n }\n\n return pluginManager;\n};\n\nexport type WithPluginManagerOptions = CreateAppOptions & {\n /** @deprecated */\n capabilities?: ProviderOrValue<PluginContext, AnyCapability[]>;\n /** @deprecated */\n fireEvents?: (ActivationEvent | string)[];\n};\n\n/**\n * Wraps a story with a plugin manager.\n * NOTE: This builds up and tears down the plugin manager on every render.\n */\nexport const withPluginManager = (options: WithPluginManagerOptions = {}): Decorator => {\n return (Story, context) => {\n const pluginManager = useMemo(() => setupPluginManager(options), [options]);\n\n // Set-up root capability.\n useEffect(() => {\n const capability = contributes(Capabilities.ReactRoot, {\n id: context.id,\n root: () => <Story />,\n });\n\n pluginManager.context.contributeCapability({\n ...capability,\n module: 'dxos.org/app-framework/withPluginManager',\n });\n\n return () => {\n pluginManager.context.removeCapability(capability.interface, capability.implementation);\n };\n }, [pluginManager, context]);\n\n // Fire events.\n useEffect(() => {\n const timeout = setTimeout(async () => {\n await Promise.all(options.fireEvents?.map((event) => pluginManager.activate(event)) ?? []);\n });\n\n return () => clearTimeout(timeout);\n }, [pluginManager]);\n\n // Create app.\n const App = useApp({ pluginManager });\n\n return <App />;\n };\n};\n\n// No-op plugin to ensure there exists at least one plugin for the startup event.\n// This is necessary because `createApp` expects the startup event to complete before the app is ready.\nconst STORY_PLUGIN = 'dxos.org/app-framework/story';\nconst storyPlugin = () =>\n definePlugin({ id: STORY_PLUGIN, name: 'Story' }, [\n defineModule({ id: STORY_PLUGIN, activatesOn: Events.Startup, activate: () => [] }),\n ]);\n"],
5
+ "mappings": ";;;;;;;;;;;;;;AAKA,OAAOA,SAASC,WAAWC,eAAe;AAE1C,SAASC,aAAa;AAkBf,IAAMC,WAAW,CAAOC,iBAAwCC,YAAAA;AACrE,SAAO,OAAOD,oBAAoB,aAAcA,gBAAmCC,OAAAA,IAAWD;AAChG;AAKO,IAAME,qBAAqB,CAAC,EACjCC,cACAC,UAAU,CAAA,GACVC,OAAOD,QAAQE,IAAI,CAAC,EAAEC,KAAI,MAAOA,KAAKC,EAAE,GACxC,GAAGC,QAAAA,IACkE,CAAC,MAAC;AACvE,QAAMC,gBAAgB,IAAIC,cAAc;IACtCC,cAAc,MAAMC,MAAM,IAAIC,MAAM,iBAAA,CAAA;IACpCV,SAAS;MAACW,YAAAA;SAAkBX;;IAC5BC,MAAM;MAACW;SAAiBX;;IACxB,GAAGI;EACL,CAAA;AAEA,MAAIN,cAAc;AAChBJ,aAASI,cAAcO,cAAcT,OAAO,EAAEgB,QAAQ,CAACC,eAAAA;AACrDR,oBAAcT,QAAQkB,qBAAqB;QACzCC,WAAWF,WAAWE;QACtBC,gBAAgBH,WAAWG;QAC3BC,QAAQ;MACV,CAAA;IACF,CAAA;EACF;AAEA,SAAOZ;AACT;AAaO,IAAMa,oBAAoB,CAACd,UAAoC,CAAC,MAAC;AACtE,SAAO,CAACe,OAAOvB,YAAAA;AACb,UAAMS,gBAAgBe,QAAQ,MAAMvB,mBAAmBO,OAAAA,GAAU;MAACA;KAAQ;AAG1EiB,cAAU,MAAA;AACR,YAAMR,aAAaS,YAAYC,aAAaC,WAAW;QACrDrB,IAAIP,QAAQO;QACZsB,MAAM,MAAM,sBAAA,cAACN,OAAAA,IAAAA;MACf,CAAA;AAEAd,oBAAcT,QAAQkB,qBAAqB;QACzC,GAAGD;QACHI,QAAQ;MACV,CAAA;AAEA,aAAO,MAAA;AACLZ,sBAAcT,QAAQ8B,iBAAiBb,WAAWE,WAAWF,WAAWG,cAAc;MACxF;IACF,GAAG;MAACX;MAAeT;KAAQ;AAG3ByB,cAAU,MAAA;AACR,YAAMM,UAAUC,WAAW,YAAA;AACzB,cAAMC,QAAQC,IAAI1B,QAAQ2B,YAAY9B,IAAI,CAAC+B,UAAU3B,cAAc4B,SAASD,KAAAA,CAAAA,KAAW,CAAA,CAAE;MAC3F,CAAA;AAEA,aAAO,MAAME,aAAaP,OAAAA;IAC5B,GAAG;MAACtB;KAAc;AAGlB,UAAM8B,MAAMC,OAAO;MAAE/B;IAAc,CAAA;AAEnC,WAAO,sBAAA,cAAC8B,KAAAA,IAAAA;EACV;AACF;AAIA,IAAMxB,eAAe;AACrB,IAAMD,cAAc,MAClB2B,aAAa;EAAElC,IAAIQ;EAAc2B,MAAM;AAAQ,GAAG;EAChDC,aAAa;IAAEpC,IAAIQ;IAAc6B,aAAaC,OAAOC;IAAST,UAAU,MAAM,CAAA;EAAG,CAAA;CAClF;",
6
6
  "names": ["React", "useEffect", "useMemo", "raise", "getValue", "providerOrValue", "context", "setupPluginManager", "capabilities", "plugins", "core", "map", "meta", "id", "options", "pluginManager", "PluginManager", "pluginLoader", "raise", "Error", "storyPlugin", "STORY_PLUGIN", "forEach", "capability", "contributeCapability", "interface", "implementation", "module", "withPluginManager", "Story", "useMemo", "useEffect", "contributes", "Capabilities", "ReactRoot", "root", "removeCapability", "timeout", "setTimeout", "Promise", "all", "fireEvents", "event", "activate", "clearTimeout", "App", "useApp", "definePlugin", "name", "defineModule", "activatesOn", "Events", "Startup"]
7
7
  }
@@ -37,7 +37,7 @@ import {
37
37
  isOneOf,
38
38
  lazy,
39
39
  oneOf
40
- } from "./chunk-2J6FVECI.mjs";
40
+ } from "./chunk-YEN7NKTF.mjs";
41
41
  export {
42
42
  Capabilities,
43
43
  CollaborationActions,
@@ -1,5 +1,5 @@
1
1
  import React, { type FC } from 'react';
2
- import { PluginManager, type PluginManagerOptions, type Plugin } from './core';
2
+ import { type Plugin, PluginManager, type PluginManagerOptions } from './core';
3
3
  import { ErrorBoundary } from './react';
4
4
  export type CreateAppOptions = {
5
5
  pluginManager?: PluginManager;
@@ -1 +1 @@
1
- {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/App.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAA6C,KAAK,EAAE,EAA0B,MAAM,OAAO,CAAC;AAO1G,OAAO,EAAE,aAAa,EAAE,KAAK,oBAAoB,EAAE,KAAK,MAAM,EAAE,MAAM,QAAQ,CAAC;AAE/E,OAAO,EAAE,aAAa,EAA0C,MAAM,SAAS,CAAC;AAIhF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,EAAE,oBAAoB,CAAC,cAAc,CAAC,CAAC;IACpD,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,EAAE,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACpC,QAAQ,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC,CAAC;IAC9C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,MAAM,GAAI,qJAUpB,gBAAgB,4BA8FlB,CAAC"}
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/App.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,EAAqE,MAAM,OAAO,CAAC;AAO1G,OAAO,EAAE,KAAK,MAAM,EAAE,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AAE/E,OAAO,EAAE,aAAa,EAA0C,MAAM,SAAS,CAAC;AAIhF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,EAAE,oBAAoB,CAAC,cAAc,CAAC,CAAC;IACpD,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,EAAE,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACpC,QAAQ,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC,CAAC;IAC9C,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,MAAM,GAAI,qJAUpB,gBAAgB,4BA8FlB,CAAC"}
@@ -1,26 +1,40 @@
1
+ import { type AiTool, type AiToolkit } from '@effect/ai';
1
2
  import { type Registry } from '@effect-rx/rx-react';
2
- import { type Schema } from 'effect';
3
+ import { type Layer, type Schema } from 'effect';
3
4
  import { type FC, type PropsWithChildren } from 'react';
4
5
  import { type ExecutableTool } from '@dxos/ai';
5
- import { type GraphBuilder, type BuilderExtensions } from '@dxos/app-graph';
6
- import { type ArtifactDefinition } from '@dxos/artifact';
6
+ import { type BuilderExtensions, type GraphBuilder } from '@dxos/app-graph';
7
+ import { type Blueprint } from '@dxos/blueprints';
7
8
  import { type Space } from '@dxos/client-protocol';
9
+ import { type FunctionDefinition } from '@dxos/functions';
8
10
  import { type RootSettingsStore } from '@dxos/local-storage';
9
11
  import { type AnchoredTo } from '@dxos/schema';
12
+ import { type PluginManager } from '../core';
13
+ import { type AnyIntentResolver, type IntentContext } from '../plugin-intent';
10
14
  import { type FileInfo } from './file';
11
15
  import { type NodeSerializer } from './graph';
12
16
  import { type SurfaceDefinition } from './surface';
13
- import { type PluginManager } from '../core';
14
- import { type AnyIntentResolver, type IntentContext } from '../plugin-intent';
15
17
  export declare namespace Capabilities {
16
- export const PluginManager: import("..").InterfaceDef<PluginManager>;
18
+ /**
19
+ * @category Capability
20
+ */
17
21
  export const Null: import("..").InterfaceDef<null>;
22
+ /**
23
+ * @category Capability
24
+ */
25
+ export const PluginManager: import("..").InterfaceDef<PluginManager>;
26
+ /**
27
+ * @category Capability
28
+ */
18
29
  export const RxRegistry: import("..").InterfaceDef<Registry.Registry>;
19
30
  export type ReactContext = Readonly<{
20
31
  id: string;
21
32
  dependsOn?: string[];
22
33
  context: FC<PropsWithChildren>;
23
34
  }>;
35
+ /**
36
+ * @category Capability
37
+ */
24
38
  export const ReactContext: import("..").InterfaceDef<Readonly<{
25
39
  id: string;
26
40
  dependsOn?: string[];
@@ -30,14 +44,26 @@ export declare namespace Capabilities {
30
44
  id: string;
31
45
  root: FC<PropsWithChildren>;
32
46
  }>;
47
+ /**
48
+ * @category Capability
49
+ */
33
50
  export const ReactRoot: import("..").InterfaceDef<Readonly<{
34
51
  id: string;
35
52
  root: FC<PropsWithChildren>;
36
53
  }>>;
37
54
  export type ReactSurface = SurfaceDefinition | readonly SurfaceDefinition[];
55
+ /**
56
+ * @category Capability
57
+ */
38
58
  export const ReactSurface: import("..").InterfaceDef<ReactSurface>;
39
59
  export type IntentResolver = AnyIntentResolver | readonly AnyIntentResolver[];
60
+ /**
61
+ * @category Capability
62
+ */
40
63
  export const IntentResolver: import("..").InterfaceDef<IntentResolver>;
64
+ /**
65
+ * @category Capability
66
+ */
41
67
  export const IntentDispatcher: import("..").InterfaceDef<IntentContext>;
42
68
  export type Layout = Readonly<{
43
69
  mode: string;
@@ -61,6 +87,9 @@ export declare namespace Capabilities {
61
87
  */
62
88
  scrollIntoView: string | undefined;
63
89
  }>;
90
+ /**
91
+ * @category Capability
92
+ */
64
93
  export const Layout: import("..").InterfaceDef<Readonly<{
65
94
  mode: string;
66
95
  dialogOpen: boolean;
@@ -83,6 +112,9 @@ export declare namespace Capabilities {
83
112
  */
84
113
  scrollIntoView: string | undefined;
85
114
  }>>;
115
+ /**
116
+ * @category Capability
117
+ */
86
118
  export const Translations: import("..").InterfaceDef<readonly {
87
119
  readonly [x: string]: {
88
120
  readonly [x: string]: string | {
@@ -90,32 +122,75 @@ export declare namespace Capabilities {
90
122
  };
91
123
  };
92
124
  }[]>;
125
+ /**
126
+ * @category Capability
127
+ */
93
128
  export const AppGraph: import("..").InterfaceDef<Readonly<Pick<GraphBuilder, "graph" | "explore">>>;
129
+ /**
130
+ * @category Capability
131
+ */
94
132
  export const AppGraphBuilder: import("..").InterfaceDef<BuilderExtensions>;
133
+ /**
134
+ * @category Capability
135
+ */
95
136
  export const AppGraphSerializer: import("..").InterfaceDef<NodeSerializer[]>;
137
+ /**
138
+ * @category Capability
139
+ */
96
140
  export const SettingsStore: import("..").InterfaceDef<RootSettingsStore>;
97
141
  export type Settings = {
98
142
  prefix: string;
99
143
  schema: Schema.Schema.All;
100
144
  value?: Record<string, any>;
101
145
  };
146
+ /**
147
+ * @category Capability
148
+ */
102
149
  export const Settings: import("..").InterfaceDef<Settings>;
103
150
  export type Metadata = Readonly<{
104
151
  id: string;
105
152
  metadata: Record<string, any>;
106
153
  }>;
154
+ /**
155
+ * @category Capability
156
+ */
107
157
  export const Metadata: import("..").InterfaceDef<Readonly<{
108
158
  id: string;
109
159
  metadata: Record<string, any>;
110
160
  }>>;
161
+ /**
162
+ * @category Capability
163
+ * @deprecated
164
+ */
111
165
  export const Tools: import("..").InterfaceDef<ExecutableTool[]>;
112
- export const ArtifactDefinition: import("..").InterfaceDef<ArtifactDefinition>;
166
+ /**
167
+ * @category Capability
168
+ */
169
+ export const Toolkit: import("..").InterfaceDef<AiToolkit.Any>;
170
+ /**
171
+ * @category Capability
172
+ */
173
+ export const ToolkitHandler: import("..").InterfaceDef<Layer.Layer<AiTool.Handler<any>, never, never>>;
174
+ /**
175
+ * @category Capability
176
+ */
177
+ export const BlueprintDefinition: import("..").InterfaceDef<Blueprint.Blueprint>;
178
+ /**
179
+ * @category Capability
180
+ */
181
+ export const Functions: import("..").InterfaceDef<FunctionDefinition<any, any>[]>;
113
182
  export type FileUploader = (file: File, space: Space) => Promise<FileInfo | undefined>;
183
+ /**
184
+ * @category Capability
185
+ */
114
186
  export const FileUploader: import("..").InterfaceDef<FileUploader>;
115
187
  type AnchorSort = {
116
188
  key: string;
117
189
  sort: (anchorA: AnchoredTo, anchorB: AnchoredTo) => number;
118
190
  };
191
+ /**
192
+ * @category Capability
193
+ */
119
194
  export const AnchorSort: import("..").InterfaceDef<AnchorSort>;
120
195
  export {};
121
196
  }
@@ -1 +1 @@
1
- {"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/common/capabilities.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAExD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,KAAK,kBA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CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,KAAK,MAAM,CAAC;KAC5D,CAAC;IAEF;;OAEG;IACH,MAAM,CAAC,MAAM,UAAU,uCAAgF,CAAC;;CACzG"}
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../src/common/events.ts"],"names":[],"mappings":"AAOA,yBAAiB,MAAM,CAAC;IACtB;;OAEG;IACI,MAAM,OAAO,8BAAsD,CAAC;IAM3E;;OAEG;IACI,MAAM,iBAAiB,8BAAkE,CAAC;IAEjG;;OAEG;IACI,MAAM,aAAa,8BAA6D,CAAC;IAExF;;OAEG;IACI,MAAM,mBAAmB,8BAAoE,CAAC;IAErG;;OAEG;IACI,MAAM,aAAa,8BAA6D,CAAC;IAExF;;OAEG;IACI,MAAM,aAAa,8BAA0D,CAAC;IAErF;;OAEG;IACI,MAAM,iBAAiB,8BAAiE,CAAC;IAEhG;;OAEG;IACI,MAAM,uBAAuB,8BAAwE,CAAC;IAM7G;;OAEG;IACI,MAAM,eAAe,8BAA+D,CAAC;IAE5F;;OAEG;IACI,MAAM,aAAa,8BAA6D,CAAC;IAExF;;OAEG;IACI,MAAM,aAAa,8BAA0D,CAAC;IAErF;;OAEG;IACI,MAAM,gBAAgB,GAAI,WAAW,MAAM,iCAAiE,CAAC;IAC7G,MAAM,WAAW,8BAAmD,CAAC;CAC7E"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../src/common/events.ts"],"names":[],"mappings":"AAQA,yBAAiB,MAAM,CAAC;IACtB;;OAEG;IACI,MAAM,OAAO,8BAAsD,CAAC;IAM3E;;OAEG;IACI,MAAM,iBAAiB,8BAAkE,CAAC;IAEjG;;OAEG;IACI,MAAM,aAAa,8BAA6D,CAAC;IAExF;;OAEG;IACI,MAAM,mBAAmB,8BAAoE,CAAC;IAErG;;OAEG;IACI,MAAM,aAAa,8BAA6D,CAAC;IAExF;;OAEG;IACI,MAAM,aAAa,8BAA0D,CAAC;IAErF;;OAEG;IACI,MAAM,iBAAiB,8BAAiE,CAAC;IAEhG;;OAEG;IAEI,MAAM,uBAAuB,8BAAwE,CAAC;IAM7G;;OAEG;IACI,MAAM,eAAe,8BAA+D,CAAC;IAE5F;;OAEG;IACI,MAAM,aAAa,8BAA6D,CAAC;IAExF;;OAEG;IACI,MAAM,aAAa,8BAA0D,CAAC;IAErF;;OAEG;IACI,MAAM,gBAAgB,GAAI,WAAW,MAAM,iCAAiE,CAAC;IAC7G,MAAM,WAAW,8BAAmD,CAAC;CAC7E"}
@@ -1,4 +1,4 @@
1
- import { type JSX, type ForwardedRef, type PropsWithChildren, type ReactNode } from 'react';
1
+ import { type ForwardedRef, type JSX, type PropsWithChildren, type ReactNode } from 'react';
2
2
  import { type GuardedType, type MakeOptional, type Position } from '@dxos/util';
3
3
  import { type ErrorBoundary } from '../react';
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../../../src/common/surface.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,YAAY,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5F,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEhF,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C;;GAEG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,iBAAiB,CAAC;IACpG;;;OAGG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC,CAAC;IAE9C;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,CAAC,GACA,YAAY,CAAC,gBAAgB,CAAC,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AAQ,EAAE,KAAK,EAAE,EAAE,qBAAqB;IAkDhE;;;;;OAKG;IACH,YAAY,CAAC,CAAC,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC;IAK1D;;;;;;OAMG;IACH,UAAU,CAAC,CAAC,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IAKtD;;;OAGG;IACH,eAAe,CAAC,CAAC,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE;IAItD;;;;OAIG;IACH,aAAa,CAAC,CAAC,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC;IAIlD;;;OAGG;IACG,iBAAiB,CAAC,CAAC,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAiB/D,eAAe,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC,OAAO,CAAC;IAIzD,YAAY,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC,OAAO,CAAC;CAG7D"}
@@ -4,7 +4,7 @@ import { type Live } from '@dxos/live-object';
4
4
  import { type MaybePromise } from '@dxos/util';
5
5
  import { PluginContext } from './capabilities';
6
6
  import { type ActivationEvent } from './events';
7
- import { type PluginModule, type Plugin } from './plugin';
7
+ import { type Plugin, type PluginModule } from './plugin';
8
8
  export type PluginManagerOptions = {
9
9
  pluginLoader: (id: string) => MaybePromise<Plugin>;
10
10
  plugins?: Plugin[];
@@ -23,6 +23,9 @@ export declare class PluginManager {
23
23
  private readonly _state;
24
24
  private readonly _pluginLoader;
25
25
  private readonly _capabilities;
26
+ private readonly _moduleMemoMap;
27
+ private readonly _activatingEvents;
28
+ private readonly _activatingModules;
26
29
  constructor({ pluginLoader, plugins, core, enabled, registry, }: PluginManagerOptions);
27
30
  /**
28
31
  * Plugins that are currently registered.
@@ -114,7 +117,8 @@ export declare class PluginManager {
114
117
  private _getActiveModulesByEvent;
115
118
  private _getInactiveModulesByEvent;
116
119
  private _setPendingResetByModule;
117
- private _activateModule;
120
+ private _loadModule;
121
+ private _contributeCapabilities;
118
122
  private _deactivate;
119
123
  private _deactivateModule;
120
124
  private _reset;