@dxos/app-framework 0.8.4-main.406dc2a → 0.8.4-main.548089c

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 (117) hide show
  1. package/dist/lib/browser/{app-graph-builder-LG4RG2LM.mjs → app-graph-builder-JPUFNED5.mjs} +7 -7
  2. package/dist/lib/browser/app-graph-builder-JPUFNED5.mjs.map +7 -0
  3. package/dist/lib/browser/{chunk-2GRQ4QXA.mjs → chunk-LVSO2N4X.mjs} +160 -199
  4. package/dist/lib/browser/chunk-LVSO2N4X.mjs.map +7 -0
  5. package/dist/lib/browser/{chunk-FRUTKCPG.mjs → chunk-XRAWIHTQ.mjs} +101 -90
  6. package/dist/lib/browser/chunk-XRAWIHTQ.mjs.map +7 -0
  7. package/dist/lib/browser/index.mjs +5 -33
  8. package/dist/lib/browser/index.mjs.map +2 -2
  9. package/dist/lib/browser/{intent-dispatcher-6SHA5B3N.mjs → intent-dispatcher-TNEVDPI6.mjs} +2 -2
  10. package/dist/lib/browser/{intent-resolver-UZZ4OANZ.mjs → intent-resolver-SYLXP62Y.mjs} +2 -2
  11. package/dist/lib/browser/meta.json +1 -1
  12. package/dist/lib/browser/react/index.mjs +32 -0
  13. package/dist/lib/browser/{store-ACBEYK4B.mjs → store-3HDXKFXP.mjs} +2 -2
  14. package/dist/lib/browser/testing/index.mjs +5 -4
  15. package/dist/lib/browser/testing/index.mjs.map +3 -3
  16. package/dist/lib/node-esm/{app-graph-builder-FMHVHPWA.mjs → app-graph-builder-VO6RTSOS.mjs} +7 -7
  17. package/dist/lib/node-esm/app-graph-builder-VO6RTSOS.mjs.map +7 -0
  18. package/dist/lib/node-esm/{chunk-KSPOOYT3.mjs → chunk-FO5NIDOR.mjs} +160 -199
  19. package/dist/lib/node-esm/chunk-FO5NIDOR.mjs.map +7 -0
  20. package/dist/lib/node-esm/{chunk-CXT6CYPE.mjs → chunk-JH3SFOXA.mjs} +101 -90
  21. package/dist/lib/node-esm/chunk-JH3SFOXA.mjs.map +7 -0
  22. package/dist/lib/node-esm/index.mjs +5 -33
  23. package/dist/lib/node-esm/index.mjs.map +2 -2
  24. package/dist/lib/node-esm/{intent-dispatcher-SIYQ5ZIU.mjs → intent-dispatcher-WUNOPJES.mjs} +2 -2
  25. package/dist/lib/node-esm/{intent-resolver-7FYJMXAG.mjs → intent-resolver-VTZI3NO7.mjs} +2 -2
  26. package/dist/lib/node-esm/meta.json +1 -1
  27. package/dist/lib/node-esm/react/index.mjs +33 -0
  28. package/dist/lib/node-esm/{store-6OBLTVXC.mjs → store-PAJPVOLG.mjs} +2 -2
  29. package/dist/lib/node-esm/testing/index.mjs +5 -4
  30. package/dist/lib/node-esm/testing/index.mjs.map +3 -3
  31. package/dist/types/src/common/capabilities.d.ts +36 -42
  32. package/dist/types/src/common/capabilities.d.ts.map +1 -1
  33. package/dist/types/src/common/surface.d.ts +1 -0
  34. package/dist/types/src/common/surface.d.ts.map +1 -1
  35. package/dist/types/src/core/capabilities.d.ts +12 -12
  36. package/dist/types/src/core/capabilities.d.ts.map +1 -1
  37. package/dist/types/src/core/manager.d.ts +1 -1
  38. package/dist/types/src/core/manager.d.ts.map +1 -1
  39. package/dist/types/src/core/plugin.d.ts +4 -0
  40. package/dist/types/src/core/plugin.d.ts.map +1 -1
  41. package/dist/types/src/index.d.ts +0 -2
  42. package/dist/types/src/index.d.ts.map +1 -1
  43. package/dist/types/src/playground/generator/Main.d.ts.map +1 -1
  44. package/dist/types/src/react/App.d.ts.map +1 -0
  45. package/dist/types/src/react/App.stories.d.ts.map +1 -0
  46. package/dist/types/src/react/DefaultFallback.d.ts.map +1 -0
  47. package/dist/types/src/react/Surface.d.ts +4 -4
  48. package/dist/types/src/react/Surface.d.ts.map +1 -1
  49. package/dist/types/src/react/Surface.stories.d.ts +3 -6
  50. package/dist/types/src/react/Surface.stories.d.ts.map +1 -1
  51. package/dist/types/src/react/index.d.ts +2 -0
  52. package/dist/types/src/react/index.d.ts.map +1 -1
  53. package/dist/types/src/react/types.d.ts +6 -0
  54. package/dist/types/src/react/types.d.ts.map +1 -0
  55. package/dist/types/src/{components → react}/useApp.d.ts +2 -2
  56. package/dist/types/src/react/useApp.d.ts.map +1 -0
  57. package/dist/types/src/react/useLoading.d.ts.map +1 -0
  58. package/dist/types/src/testing/withPluginManager.d.ts +4 -3
  59. package/dist/types/src/testing/withPluginManager.d.ts.map +1 -1
  60. package/dist/types/tsconfig.tsbuildinfo +1 -1
  61. package/moon.yml +1 -1
  62. package/package.json +36 -33
  63. package/src/common/capabilities.ts +18 -19
  64. package/src/common/collaboration.ts +2 -2
  65. package/src/common/surface.ts +1 -0
  66. package/src/core/capabilities.test.ts +1 -1
  67. package/src/core/capabilities.ts +23 -19
  68. package/src/core/manager.ts +2 -2
  69. package/src/core/plugin.ts +5 -0
  70. package/src/index.ts +0 -2
  71. package/src/playground/generator/Main.tsx +0 -1
  72. package/src/playground/playground.stories.tsx +1 -1
  73. package/src/plugin-settings/app-graph-builder.ts +5 -5
  74. package/src/plugin-settings/translations.ts +1 -1
  75. package/src/{components → react}/App.tsx +1 -1
  76. package/src/{components → react}/DefaultFallback.tsx +1 -1
  77. package/src/react/Surface.stories.tsx +69 -45
  78. package/src/react/Surface.tsx +56 -33
  79. package/src/react/index.ts +4 -0
  80. package/src/react/types.ts +13 -0
  81. package/src/{components → react}/useApp.tsx +13 -12
  82. package/src/react/useCapabilities.ts +2 -2
  83. package/src/testing/withPluginManager.tsx +9 -4
  84. package/tsconfig.json +9 -0
  85. package/dist/lib/browser/app-graph-builder-LG4RG2LM.mjs.map +0 -7
  86. package/dist/lib/browser/chunk-2GRQ4QXA.mjs.map +0 -7
  87. package/dist/lib/browser/chunk-FRUTKCPG.mjs.map +0 -7
  88. package/dist/lib/browser/worker.mjs +0 -77
  89. package/dist/lib/node-esm/app-graph-builder-FMHVHPWA.mjs.map +0 -7
  90. package/dist/lib/node-esm/chunk-CXT6CYPE.mjs.map +0 -7
  91. package/dist/lib/node-esm/chunk-KSPOOYT3.mjs.map +0 -7
  92. package/dist/lib/node-esm/worker.mjs +0 -78
  93. package/dist/types/src/components/App.d.ts.map +0 -1
  94. package/dist/types/src/components/App.stories.d.ts.map +0 -1
  95. package/dist/types/src/components/DefaultFallback.d.ts.map +0 -1
  96. package/dist/types/src/components/index.d.ts +0 -2
  97. package/dist/types/src/components/index.d.ts.map +0 -1
  98. package/dist/types/src/components/useApp.d.ts.map +0 -1
  99. package/dist/types/src/components/useLoading.d.ts.map +0 -1
  100. package/dist/types/src/worker.d.ts +0 -4
  101. package/dist/types/src/worker.d.ts.map +0 -1
  102. package/src/components/index.ts +0 -5
  103. package/src/worker.ts +0 -11
  104. /package/dist/lib/browser/{intent-dispatcher-6SHA5B3N.mjs.map → intent-dispatcher-TNEVDPI6.mjs.map} +0 -0
  105. /package/dist/lib/browser/{intent-resolver-UZZ4OANZ.mjs.map → intent-resolver-SYLXP62Y.mjs.map} +0 -0
  106. /package/dist/lib/browser/{worker.mjs.map → react/index.mjs.map} +0 -0
  107. /package/dist/lib/browser/{store-ACBEYK4B.mjs.map → store-3HDXKFXP.mjs.map} +0 -0
  108. /package/dist/lib/node-esm/{intent-dispatcher-SIYQ5ZIU.mjs.map → intent-dispatcher-WUNOPJES.mjs.map} +0 -0
  109. /package/dist/lib/node-esm/{intent-resolver-7FYJMXAG.mjs.map → intent-resolver-VTZI3NO7.mjs.map} +0 -0
  110. /package/dist/lib/node-esm/{worker.mjs.map → react/index.mjs.map} +0 -0
  111. /package/dist/lib/node-esm/{store-6OBLTVXC.mjs.map → store-PAJPVOLG.mjs.map} +0 -0
  112. /package/dist/types/src/{components → react}/App.d.ts +0 -0
  113. /package/dist/types/src/{components → react}/App.stories.d.ts +0 -0
  114. /package/dist/types/src/{components → react}/DefaultFallback.d.ts +0 -0
  115. /package/dist/types/src/{components → react}/useLoading.d.ts +0 -0
  116. /package/src/{components → react}/App.stories.tsx +0 -0
  117. /package/src/{components → react}/useLoading.tsx +0 -0
@@ -1 +1 @@
1
- {"inputs":{"src/core/capabilities.ts":{"bytes":24763,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect/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":68183,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Duration","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Fiber","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/HashSet","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Ref","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":8494,"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":13568,"imports":[{"path":"src/core/index.ts","kind":"import-statement","original":"../core"}],"format":"esm"},"src/common/collaboration.ts":{"bytes":2132,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/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":2507,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"format":"esm"},"src/common/graph.ts":{"bytes":1389,"imports":[],"format":"esm"},"src/plugin-intent/intent.ts":{"bytes":10044,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"format":"esm"},"src/plugin-intent/meta.ts":{"bytes":752,"imports":[],"format":"esm"},"src/plugin-intent/actions.ts":{"bytes":3091,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/plugin-intent/intent.ts","kind":"import-statement","original":"./intent"},{"path":"src/plugin-intent/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/plugin-intent/errors.ts":{"bytes":4274,"imports":[],"format":"esm"},"src/plugin-intent/intent-dispatcher.ts":{"bytes":31212,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Ref","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":2780,"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/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/plugin-intent/intent-dispatcher.ts","kind":"dynamic-import","original":"./intent-dispatcher"}],"format":"esm"},"src/plugin-intent/index.ts":{"bytes":843,"imports":[{"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"},{"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":42464,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/plugin-intent/index.ts","kind":"import-statement","original":"../plugin-intent"}],"format":"esm"},"src/common/surface.ts":{"bytes":4154,"imports":[],"format":"esm"},"src/common/translations.ts":{"bytes":2223,"imports":[{"path":"effect/Schema","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/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":5982,"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":10842,"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/helpers.ts":{"bytes":4985,"imports":[],"format":"esm"},"src/components/useLoading.tsx":{"bytes":5802,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/App.tsx":{"bytes":6016,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"src/helpers.ts","kind":"import-statement","original":"../helpers"},{"path":"src/react/index.ts","kind":"import-statement","original":"../react"},{"path":"src/components/useLoading.tsx","kind":"import-statement","original":"./useLoading"}],"format":"esm"},"src/components/DefaultFallback.tsx":{"bytes":3026,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/useApp.tsx":{"bytes":18637,"imports":[{"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/react/index.ts","kind":"import-statement","original":"../react"},{"path":"src/components/App.tsx","kind":"import-statement","original":"./App"},{"path":"src/components/DefaultFallback.tsx","kind":"import-statement","original":"./DefaultFallback"}],"format":"esm"},"src/components/index.ts":{"bytes":462,"imports":[{"path":"src/components/useApp.tsx","kind":"import-statement","original":"./useApp"}],"format":"esm"},"src/plugin-settings/meta.ts":{"bytes":766,"imports":[],"format":"esm"},"src/plugin-settings/actions.ts":{"bytes":2823,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/plugin-settings/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/plugin-settings/translations.ts":{"bytes":1420,"imports":[{"path":"src/plugin-settings/meta.ts","kind":"import-statement","original":"./meta"}],"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":3852,"imports":[{"path":"effect/Function","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":20884,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","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"},{"path":"src/plugin-settings/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/plugin-settings/SettingsPlugin.ts":{"bytes":4414,"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/meta.ts","kind":"import-statement","original":"./meta"},{"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":910,"imports":[{"path":"src/common/index.ts","kind":"import-statement","original":"./common"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"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":10455,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","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/components/index.ts","kind":"import-statement","original":"../components"},{"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":2704},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-CXT6CYPE.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-ZX63QUGE.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-KSPOOYT3.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/store-6OBLTVXC.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/intent-resolver-7FYJMXAG.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/app-graph-builder-FMHVHPWA.mjs","kind":"dynamic-import"}],"exports":["BaseError","Capabilities","CollaborationActions","CycleDetectedError","ErrorBoundary","Events","FileInfoSchema","IntentAction","IntentPlugin","Label","LayoutAction","NoResolversError","Plugin","PluginContext","PluginManager","PluginManagerProvider","PluginModule","Resource","ResourceKey","ResourceLanguage","SETTINGS_ID","SETTINGS_KEY","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":212},"src/plugin-settings/SettingsPlugin.ts":{"bytesInOutput":851}},"bytes":3064},"dist/lib/node-esm/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5353},"dist/lib/node-esm/testing/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-CXT6CYPE.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-KSPOOYT3.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["setupPluginManager","withPluginManager"],"entryPoint":"src/testing/index.ts","inputs":{"src/testing/withPluginManager.tsx":{"bytesInOutput":2073},"src/testing/index.ts":{"bytesInOutput":0}},"bytes":2472},"dist/lib/node-esm/chunk-CXT6CYPE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":31196},"dist/lib/node-esm/chunk-CXT6CYPE.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-KSPOOYT3.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":"@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":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","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}],"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":1593},"src/react/Surface.tsx":{"bytesInOutput":2022},"src/react/useIntentResolver.ts":{"bytesInOutput":414},"src/react/index.ts":{"bytesInOutput":0},"src/components/useApp.tsx":{"bytesInOutput":3920},"src/components/App.tsx":{"bytesInOutput":1315},"src/helpers.ts":{"bytesInOutput":1049},"src/components/useLoading.tsx":{"bytesInOutput":1196},"src/components/DefaultFallback.tsx":{"bytesInOutput":814},"src/components/index.ts":{"bytesInOutput":0}},"bytes":14400},"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-KSPOOYT3.mjs","kind":"import-statement"}],"exports":["BaseError","Capabilities","CollaborationActions","CycleDetectedError","Events","FileInfoSchema","IntentAction","IntentPlugin","Label","LayoutAction","NoResolversError","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":1262},"dist/lib/node-esm/intent-dispatcher-SIYQ5ZIU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/intent-dispatcher-SIYQ5ZIU.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-KSPOOYT3.mjs","kind":"import-statement"}],"exports":["createDispatcher","createResolver","default"],"entryPoint":"src/plugin-intent/intent-dispatcher.ts","inputs":{},"bytes":343},"dist/lib/node-esm/store-6OBLTVXC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2188},"dist/lib/node-esm/store-6OBLTVXC.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-KSPOOYT3.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":813}},"bytes":1091},"dist/lib/node-esm/intent-resolver-7FYJMXAG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1849},"dist/lib/node-esm/intent-resolver-7FYJMXAG.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-ZX63QUGE.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-KSPOOYT3.mjs","kind":"import-statement"},{"path":"effect/Function","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/plugin-settings/intent-resolver.ts","inputs":{"src/plugin-settings/intent-resolver.ts":{"bytesInOutput":602}},"bytes":1057},"dist/lib/node-esm/app-graph-builder-FMHVHPWA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9815},"dist/lib/node-esm/app-graph-builder-FMHVHPWA.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-ZX63QUGE.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-KSPOOYT3.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","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":4308}},"bytes":4734},"dist/lib/node-esm/chunk-ZX63QUGE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1647},"dist/lib/node-esm/chunk-ZX63QUGE.mjs":{"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"exports":["SETTINGS_ID","SETTINGS_KEY","SettingsAction","meta"],"inputs":{"src/plugin-settings/meta.ts":{"bytesInOutput":69},"src/plugin-settings/actions.ts":{"bytesInOutput":622}},"bytes":963},"dist/lib/node-esm/chunk-KSPOOYT3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":115553},"dist/lib/node-esm/chunk-KSPOOYT3.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Ref","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/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/Array","kind":"import-statement","external":true},{"path":"effect/Duration","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Fiber","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/HashSet","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Ref","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/Schema","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/intent-dispatcher-SIYQ5ZIU.mjs","kind":"dynamic-import"},{"path":"effect/Schema","kind":"import-statement","external":true}],"exports":["BaseError","Capabilities","CollaborationActions","CycleDetectedError","Events","FileInfoSchema","IntentAction","IntentPlugin","Label","LayoutAction","NoResolversError","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":5377},"src/core/capabilities.ts":{"bytesInOutput":5737},"src/core/index.ts":{"bytesInOutput":0},"src/core/events.ts":{"bytesInOutput":512},"src/core/manager.ts":{"bytesInOutput":17982},"src/core/plugin.ts":{"bytesInOutput":1228},"src/common/capabilities.ts":{"bytesInOutput":2467},"src/common/index.ts":{"bytesInOutput":0},"src/common/collaboration.ts":{"bytesInOutput":517},"src/common/events.ts":{"bytesInOutput":1232},"src/common/file.ts":{"bytesInOutput":406},"src/common/layout.ts":{"bytesInOutput":12318},"src/plugin-intent/actions.ts":{"bytesInOutput":606},"src/plugin-intent/intent.ts":{"bytesInOutput":910},"src/plugin-intent/meta.ts":{"bytesInOutput":65},"src/plugin-intent/index.ts":{"bytesInOutput":0},"src/plugin-intent/errors.ts":{"bytesInOutput":1009},"src/plugin-intent/IntentPlugin.ts":{"bytesInOutput":577},"src/common/surface.ts":{"bytesInOutput":48},"src/common/translations.ts":{"bytesInOutput":329}},"bytes":52640}}}
1
+ {"inputs":{"src/core/capabilities.ts":{"bytes":24223,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/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":67292,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Duration","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Fiber","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/HashSet","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Ref","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":7949,"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":13074,"imports":[{"path":"src/core/index.ts","kind":"import-statement","original":"../core"}],"format":"esm"},"src/common/collaboration.ts":{"bytes":2090,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/types","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":2507,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"format":"esm"},"src/common/graph.ts":{"bytes":1389,"imports":[],"format":"esm"},"src/plugin-intent/intent.ts":{"bytes":10044,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"format":"esm"},"src/plugin-intent/meta.ts":{"bytes":752,"imports":[],"format":"esm"},"src/plugin-intent/actions.ts":{"bytes":3091,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/plugin-intent/intent.ts","kind":"import-statement","original":"./intent"},{"path":"src/plugin-intent/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/plugin-intent/errors.ts":{"bytes":3899,"imports":[],"format":"esm"},"src/plugin-intent/intent-dispatcher.ts":{"bytes":31212,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Ref","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":2780,"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/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/plugin-intent/intent-dispatcher.ts","kind":"dynamic-import","original":"./intent-dispatcher"}],"format":"esm"},"src/plugin-intent/index.ts":{"bytes":843,"imports":[{"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"},{"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":42464,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/plugin-intent/index.ts","kind":"import-statement","original":"../plugin-intent"}],"format":"esm"},"src/common/surface.ts":{"bytes":4210,"imports":[],"format":"esm"},"src/common/translations.ts":{"bytes":2223,"imports":[{"path":"effect/Schema","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/plugin-settings/meta.ts":{"bytes":766,"imports":[],"format":"esm"},"src/plugin-settings/actions.ts":{"bytes":2823,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/plugin-settings/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/plugin-settings/translations.ts":{"bytes":1416,"imports":[{"path":"src/plugin-settings/meta.ts","kind":"import-statement","original":"./meta"}],"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":3852,"imports":[{"path":"effect/Function","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":20918,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","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"},{"path":"src/plugin-settings/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/plugin-settings/SettingsPlugin.ts":{"bytes":4414,"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/meta.ts","kind":"import-statement","original":"./meta"},{"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":739,"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/index.ts","kind":"import-statement","original":"./plugin-intent"},{"path":"src/plugin-settings/index.ts","kind":"import-statement","original":"./plugin-settings"}],"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":3288,"imports":[{"path":"@effect-atom/atom-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/types.ts":{"bytes":928,"imports":[],"format":"esm"},"src/react/ErrorBoundary.tsx":{"bytes":5566,"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":14332,"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/helpers.ts":{"bytes":4985,"imports":[],"format":"esm"},"src/react/useLoading.tsx":{"bytes":5797,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/react/App.tsx":{"bytes":6032,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"src/helpers.ts","kind":"import-statement","original":"../helpers"},{"path":"src/react/useCapabilities.ts","kind":"import-statement","original":"./useCapabilities"},{"path":"src/react/useLoading.tsx","kind":"import-statement","original":"./useLoading"}],"format":"esm"},"src/react/DefaultFallback.tsx":{"bytes":3015,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/react/useApp.tsx":{"bytes":18802,"imports":[{"path":"@effect-atom/atom-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/react/App.tsx","kind":"import-statement","original":"./App"},{"path":"src/react/DefaultFallback.tsx","kind":"import-statement","original":"./DefaultFallback"},{"path":"src/react/ErrorBoundary.tsx","kind":"import-statement","original":"./ErrorBoundary"},{"path":"src/react/PluginManagerProvider.ts","kind":"import-statement","original":"./PluginManagerProvider"}],"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":1153,"imports":[{"path":"src/react/common.ts","kind":"import-statement","original":"./common"},{"path":"src/react/types.ts","kind":"import-statement","original":"./types"},{"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/useApp.tsx","kind":"import-statement","original":"./useApp"},{"path":"src/react/useCapabilities.ts","kind":"import-statement","original":"./useCapabilities"},{"path":"src/react/useIntentResolver.ts","kind":"import-statement","original":"./useIntentResolver"}],"format":"esm"},"src/testing/withPluginManager.tsx":{"bytes":10935,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","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/core/index.ts","kind":"import-statement","original":"../core"},{"path":"src/react/index.ts","kind":"import-statement","original":"../react"}],"format":"esm"},"src/testing/index.ts":{"bytes":486,"imports":[{"path":"src/testing/withPluginManager.tsx","kind":"import-statement","original":"./withPluginManager"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2684},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-ZX63QUGE.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-FO5NIDOR.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/store-PAJPVOLG.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/intent-resolver-VTZI3NO7.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/app-graph-builder-VO6RTSOS.mjs","kind":"dynamic-import"}],"exports":["BaseError","Capabilities","CollaborationActions","CycleDetectedError","Events","FileInfoSchema","IntentAction","IntentPlugin","Label","LayoutAction","NoResolversError","Plugin","PluginContext","PluginManager","PluginModule","Resource","ResourceKey","ResourceLanguage","SETTINGS_ID","SETTINGS_KEY","SettingsAction","SettingsPlugin","allOf","chain","contributes","createDispatcher","createIntent","createResolver","createSurface","defaultFileTypes","defineCapability","defineEvent","defineModule","definePlugin","eventKey","getEvents","isAllOf","isOneOf","lazy","oneOf"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/plugin-settings/index.ts":{"bytesInOutput":0},"src/plugin-settings/translations.ts":{"bytesInOutput":212},"src/plugin-settings/SettingsPlugin.ts":{"bytesInOutput":851}},"bytes":2569},"dist/lib/node-esm/react/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/react/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-JH3SFOXA.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-FO5NIDOR.mjs","kind":"import-statement"}],"exports":["ErrorBoundary","PluginManagerProvider","Surface","isSurfaceAvailable","useApp","useAppGraph","useCapabilities","useCapability","useIntentDispatcher","useIntentResolver","useLayout","usePluginManager","useSurfaces"],"entryPoint":"src/react/index.ts","inputs":{},"bytes":666},"dist/lib/node-esm/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5676},"dist/lib/node-esm/testing/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-JH3SFOXA.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-FO5NIDOR.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/react-hooks","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["setupPluginManager","withPluginManager"],"entryPoint":"src/testing/index.ts","inputs":{"src/testing/withPluginManager.tsx":{"bytesInOutput":2138},"src/testing/index.ts":{"bytesInOutput":0}},"bytes":2537},"dist/lib/node-esm/chunk-JH3SFOXA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":32894},"dist/lib/node-esm/chunk-JH3SFOXA.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-FO5NIDOR.mjs","kind":"import-statement"},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","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":"@effect-atom/atom-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":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","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":"react","kind":"import-statement","external":true}],"exports":["ErrorBoundary","PluginManagerProvider","Surface","isSurfaceAvailable","useApp","useAppGraph","useCapabilities","useCapability","useIntentDispatcher","useIntentResolver","useLayout","usePluginManager","useSurfaces"],"inputs":{"src/react/useCapabilities.ts":{"bytesInOutput":722},"src/react/PluginManagerProvider.ts":{"bytesInOutput":312},"src/react/common.ts":{"bytesInOutput":198},"src/react/index.ts":{"bytesInOutput":0},"src/react/ErrorBoundary.tsx":{"bytesInOutput":1269},"src/react/Surface.tsx":{"bytesInOutput":3127},"src/react/useApp.tsx":{"bytesInOutput":3898},"src/react/App.tsx":{"bytesInOutput":1315},"src/helpers.ts":{"bytesInOutput":1049},"src/react/useLoading.tsx":{"bytesInOutput":1181},"src/react/DefaultFallback.tsx":{"bytesInOutput":812},"src/react/useIntentResolver.ts":{"bytesInOutput":429}},"bytes":15168},"dist/lib/node-esm/intent-dispatcher-WUNOPJES.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/intent-dispatcher-WUNOPJES.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-FO5NIDOR.mjs","kind":"import-statement"}],"exports":["createDispatcher","createResolver","default"],"entryPoint":"src/plugin-intent/intent-dispatcher.ts","inputs":{},"bytes":343},"dist/lib/node-esm/store-PAJPVOLG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2188},"dist/lib/node-esm/store-PAJPVOLG.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-FO5NIDOR.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":813}},"bytes":1091},"dist/lib/node-esm/intent-resolver-VTZI3NO7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1849},"dist/lib/node-esm/intent-resolver-VTZI3NO7.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-ZX63QUGE.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-FO5NIDOR.mjs","kind":"import-statement"},{"path":"effect/Function","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/plugin-settings/intent-resolver.ts","inputs":{"src/plugin-settings/intent-resolver.ts":{"bytesInOutput":602}},"bytes":1057},"dist/lib/node-esm/app-graph-builder-VO6RTSOS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9833},"dist/lib/node-esm/app-graph-builder-VO6RTSOS.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-ZX63QUGE.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-FO5NIDOR.mjs","kind":"import-statement"},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","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":4322}},"bytes":4748},"dist/lib/node-esm/chunk-ZX63QUGE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1647},"dist/lib/node-esm/chunk-ZX63QUGE.mjs":{"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"exports":["SETTINGS_ID","SETTINGS_KEY","SettingsAction","meta"],"inputs":{"src/plugin-settings/meta.ts":{"bytesInOutput":69},"src/plugin-settings/actions.ts":{"bytesInOutput":622}},"bytes":963},"dist/lib/node-esm/chunk-FO5NIDOR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":114797},"dist/lib/node-esm/chunk-FO5NIDOR.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Ref","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-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/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-atom/atom-react","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"effect/Array","kind":"import-statement","external":true},{"path":"effect/Duration","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Fiber","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/HashSet","kind":"import-statement","external":true},{"path":"effect/Match","kind":"import-statement","external":true},{"path":"effect/Ref","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/Schema","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/intent-dispatcher-WUNOPJES.mjs","kind":"dynamic-import"},{"path":"effect/Schema","kind":"import-statement","external":true}],"exports":["BaseError","Capabilities","CollaborationActions","CycleDetectedError","Events","FileInfoSchema","IntentAction","IntentPlugin","Label","LayoutAction","NoResolversError","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":5377},"src/core/capabilities.ts":{"bytesInOutput":5519},"src/core/index.ts":{"bytesInOutput":0},"src/core/events.ts":{"bytesInOutput":512},"src/core/manager.ts":{"bytesInOutput":17369},"src/core/plugin.ts":{"bytesInOutput":710},"src/common/capabilities.ts":{"bytesInOutput":2362},"src/common/index.ts":{"bytesInOutput":0},"src/common/collaboration.ts":{"bytesInOutput":511},"src/common/events.ts":{"bytesInOutput":1232},"src/common/file.ts":{"bytesInOutput":406},"src/common/layout.ts":{"bytesInOutput":12318},"src/plugin-intent/actions.ts":{"bytesInOutput":606},"src/plugin-intent/intent.ts":{"bytesInOutput":910},"src/plugin-intent/meta.ts":{"bytesInOutput":65},"src/plugin-intent/index.ts":{"bytesInOutput":0},"src/plugin-intent/errors.ts":{"bytesInOutput":684},"src/plugin-intent/IntentPlugin.ts":{"bytesInOutput":577},"src/common/surface.ts":{"bytesInOutput":48},"src/common/translations.ts":{"bytesInOutput":329}},"bytes":50855}}}
@@ -0,0 +1,33 @@
1
+ import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
+ import {
3
+ ErrorBoundary,
4
+ PluginManagerProvider,
5
+ Surface,
6
+ isSurfaceAvailable,
7
+ useApp,
8
+ useAppGraph,
9
+ useCapabilities,
10
+ useCapability,
11
+ useIntentDispatcher,
12
+ useIntentResolver,
13
+ useLayout,
14
+ usePluginManager,
15
+ useSurfaces
16
+ } from "../chunk-JH3SFOXA.mjs";
17
+ import "../chunk-FO5NIDOR.mjs";
18
+ export {
19
+ ErrorBoundary,
20
+ PluginManagerProvider,
21
+ Surface,
22
+ isSurfaceAvailable,
23
+ useApp,
24
+ useAppGraph,
25
+ useCapabilities,
26
+ useCapability,
27
+ useIntentDispatcher,
28
+ useIntentResolver,
29
+ useLayout,
30
+ usePluginManager,
31
+ useSurfaces
32
+ };
33
+ //# sourceMappingURL=index.mjs.map
@@ -2,7 +2,7 @@ import { createRequire } from 'node:module';const require = createRequire(import
2
2
  import {
3
3
  Capabilities,
4
4
  contributes
5
- } from "./chunk-KSPOOYT3.mjs";
5
+ } from "./chunk-FO5NIDOR.mjs";
6
6
 
7
7
  // src/plugin-settings/store.ts
8
8
  import { RootSettingsStore } from "@dxos/local-storage";
@@ -28,4 +28,4 @@ var store_default = ((context) => {
28
28
  export {
29
29
  store_default as default
30
30
  };
31
- //# sourceMappingURL=store-6OBLTVXC.mjs.map
31
+ //# sourceMappingURL=store-PAJPVOLG.mjs.map
@@ -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-CXT6CYPE.mjs";
4
+ } from "../chunk-JH3SFOXA.mjs";
5
5
  import {
6
6
  Capabilities,
7
7
  Events,
@@ -9,7 +9,7 @@ import {
9
9
  contributes,
10
10
  defineModule,
11
11
  definePlugin
12
- } from "../chunk-KSPOOYT3.mjs";
12
+ } from "../chunk-FO5NIDOR.mjs";
13
13
 
14
14
  // src/testing/withPluginManager.tsx
15
15
  import React, { useEffect, useMemo } from "react";
@@ -40,10 +40,11 @@ var setupPluginManager = ({ capabilities, plugins = [], core = plugins.map(({ me
40
40
  }
41
41
  return pluginManager;
42
42
  };
43
- var withPluginManager = (options = {}) => {
43
+ var withPluginManager = (init = {}) => {
44
44
  return (Story, context) => {
45
+ const options = typeof init === "function" ? init(context) : init;
45
46
  const pluginManager = useMemo(() => setupPluginManager(options), [
46
- options
47
+ init
47
48
  ]);
48
49
  useEffect(() => {
49
50
  const capability = contributes(Capabilities.ReactRoot, {
@@ -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';\nimport { useAsyncEffect } from '@dxos/react-hooks';\nimport { type MaybeProvider, getProviderValue } from '@dxos/util';\n\nimport { Capabilities, Events } from '../common';\nimport { type UseAppOptions, useApp } from '../components';\nimport {\n type ActivationEvent,\n type AnyCapability,\n type PluginContext,\n PluginManager,\n contributes,\n defineModule,\n definePlugin,\n} from '../core';\n\n/**\n * @internal\n */\nexport const setupPluginManager = ({\n capabilities,\n plugins = [],\n core = plugins.map(({ meta }) => meta.id),\n ...options\n}: UseAppOptions & Pick<WithPluginManagerOptions, 'capabilities'> = {}) => {\n const pluginManager = new PluginManager({\n pluginLoader: () => raise(new Error('Not implemented')),\n plugins: [StoryPlugin(), ...plugins],\n core: [StoryPlugin.meta.id, ...core],\n ...options,\n });\n\n if (capabilities) {\n getProviderValue(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 = UseAppOptions & {\n /** @deprecated */\n capabilities?: MaybeProvider<AnyCapability[], PluginContext>;\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 useAsyncEffect(async () => {\n await Promise.all(options.fireEvents?.map((event) => pluginManager.activate(event)) ?? []);\n }, [pluginManager]);\n\n // Create app.\n const App = useApp({ pluginManager });\n\n return <App />;\n };\n};\n\nconst storyMeta = {\n id: 'dxos.org/app-framework/story',\n name: 'Story',\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 StoryPlugin = definePlugin(storyMeta, () => [\n defineModule({ id: storyMeta.id, activatesOn: Events.Startup, activate: () => [] }),\n]);\n"],
5
- "mappings": ";;;;;;;;;;;;;;AAKA,OAAOA,SAASC,WAAWC,eAAe;AAE1C,SAASC,aAAa;AACtB,SAASC,sBAAsB;AAC/B,SAA6BC,wBAAwB;AAiB9C,IAAMC,qBAAqB,CAAC,EACjCC,cACAC,UAAU,CAAA,GACVC,OAAOD,QAAQE,IAAI,CAAC,EAAEC,KAAI,MAAOA,KAAKC,EAAE,GACxC,GAAGC,QAAAA,IAC+D,CAAC,MAAC;AACpE,QAAMC,gBAAgB,IAAIC,cAAc;IACtCC,cAAc,MAA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iC,UAAUjC;IAAIqC,aAAaC,OAAOC;IAAST,UAAU,MAAM,CAAA;EAAG,CAAA;CAClF;",
6
- "names": ["React", "useEffect", "useMemo", "raise", "useAsyncEffect", "getProviderValue", "setupPluginManager", "capabilities", "plugins", "core", "map", "meta", "id", "options", "pluginManager", "PluginManager", "pluginLoader", "raise", "Error", "StoryPlugin", "getProviderValue", "context", "forEach", "capability", "contributeCapability", "interface", "implementation", "module", "withPluginManager", "Story", "useMemo", "useEffect", "contributes", "Capabilities", "ReactRoot", "root", "removeCapability", "useAsyncEffect", "Promise", "all", "fireEvents", "event", "activate", "App", "useApp", "storyMeta", "name", "definePlugin", "defineModule", "activatesOn", "Events", "Startup"]
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { type Decorator, type StoryContext } from '@storybook/react';\nimport React, { useEffect, useMemo } from 'react';\n\nimport { raise } from '@dxos/debug';\nimport { useAsyncEffect } from '@dxos/react-hooks';\nimport { type MaybeProvider, getProviderValue } from '@dxos/util';\n\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';\nimport { type UseAppOptions, useApp } from '../react';\n\n/**\n * @internal\n */\nexport const setupPluginManager = ({\n capabilities,\n plugins = [],\n core = plugins.map(({ meta }) => meta.id),\n ...options\n}: UseAppOptions & Pick<WithPluginManagerOptions, 'capabilities'> = {}) => {\n const pluginManager = new PluginManager({\n pluginLoader: () => raise(new Error('Not implemented')),\n plugins: [StoryPlugin(), ...plugins],\n core: [StoryPlugin.meta.id, ...core],\n ...options,\n });\n\n if (capabilities) {\n getProviderValue(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 = UseAppOptions & {\n /** @deprecated */\n capabilities?: MaybeProvider<AnyCapability[], PluginContext>;\n /** @deprecated */\n fireEvents?: (ActivationEvent | string)[];\n};\n\nexport type WithPluginManagerInitializer<Args = void> =\n | WithPluginManagerOptions\n | ((context: StoryContext<Args>) => WithPluginManagerOptions);\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 = <Args,>(init: WithPluginManagerInitializer<Args> = {}): Decorator => {\n return (Story, context) => {\n const options = typeof init === 'function' ? init(context as any) : init;\n const pluginManager = useMemo(() => setupPluginManager(options), [init]);\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 useAsyncEffect(async () => {\n await Promise.all(options.fireEvents?.map((event) => pluginManager.activate(event)) ?? []);\n }, [pluginManager]);\n\n // Create app.\n const App = useApp({ pluginManager });\n\n return <App />;\n };\n};\n\nconst storyMeta = {\n id: 'dxos.org/app-framework/story',\n name: 'Story',\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 StoryPlugin = definePlugin(storyMeta, () => [\n defineModule({ id: storyMeta.id, activatesOn: Events.Startup, activate: () => [] }),\n]);\n"],
5
+ "mappings": ";;;;;;;;;;;;;;AAKA,OAAOA,SAASC,WAAWC,eAAe;AAE1C,SAASC,aAAa;AACtB,SAASC,sBAAsB;AAC/B,SAA6BC,wBAAwB;AAiB9C,IAAMC,qBAAqB,CAAC,EACjCC,cACAC,UAAU,CAAA,GACVC,OAAOD,QAAQE,IAAI,CAAC,EAAEC,KAAI,MAAOA,KAAKC,EAAE,GACxC,GAAGC,QAAAA,IAC+D,CAAC,MAAC;AACpE,QAAMC,gBAAgB,IAAIC,cAAc;IACtCC,cA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AACR;AAIA,IAAM5B,cAAc6B,aAAaF,WAAW,MAAM;EAChDG,aAAa;IAAErC,IAAIkC,UAAUlC;IAAIsC,aAAaC,OAAOC;IAAST,UAAU,MAAM,CAAA;EAAG,CAAA;CAClF;",
6
+ "names": ["React", "useEffect", "useMemo", "raise", "useAsyncEffect", "getProviderValue", "setupPluginManager", "capabilities", "plugins", "core", "map", "meta", "id", "options", "pluginManager", "PluginManager", "pluginLoader", "raise", "Error", "StoryPlugin", "getProviderValue", "context", "forEach", "capability", "contributeCapability", "interface", "implementation", "module", "withPluginManager", "init", "Story", "useMemo", "useEffect", "contributes", "Capabilities", "ReactRoot", "root", "removeCapability", "useAsyncEffect", "Promise", "all", "fireEvents", "event", "activate", "App", "useApp", "storyMeta", "name", "definePlugin", "defineModule", "activatesOn", "Events", "Startup"]
7
7
  }
@@ -1,17 +1,16 @@
1
- import type * as Tool from '@effect/ai/Tool';
2
- import type * as Toolkit from '@effect/ai/Toolkit';
3
- import { type Registry } from '@effect-rx/rx-react';
1
+ import { type Registry } from '@effect-atom/atom-react';
4
2
  import type * as Layer from 'effect/Layer';
5
3
  import type * as Schema from 'effect/Schema';
6
4
  import { type FC, type PropsWithChildren } from 'react';
7
5
  import { type AiService } from '@dxos/ai';
8
6
  import type * as AiServiceRouter from '@dxos/ai/AiServiceRouter';
9
7
  import { type BuilderExtensions, type GraphBuilder } from '@dxos/app-graph';
8
+ import { type GenericToolkit } from '@dxos/assistant';
10
9
  import { type Blueprint } from '@dxos/blueprints';
11
10
  import { type Space } from '@dxos/client-protocol';
12
11
  import { type FunctionDefinition } from '@dxos/functions';
13
12
  import { type RootSettingsStore } from '@dxos/local-storage';
14
- import { type AnchoredTo } from '@dxos/schema';
13
+ import { type AnchoredTo } from '@dxos/types';
15
14
  import { type PluginManager } from '../core';
16
15
  import { type AnyIntentResolver, type IntentContext } from '../plugin-intent';
17
16
  import { type FileInfo } from './file';
@@ -21,16 +20,16 @@ export declare namespace Capabilities {
21
20
  /**
22
21
  * @category Capability
23
22
  */
24
- export const Null: import("..").InterfaceDef<null>;
23
+ const Null: import("..").InterfaceDef<null>;
25
24
  /**
26
25
  * @category Capability
27
26
  */
28
- export const PluginManager: import("..").InterfaceDef<PluginManager>;
27
+ const PluginManager: import("..").InterfaceDef<PluginManager>;
29
28
  /**
30
29
  * @category Capability
31
30
  */
32
- export const RxRegistry: import("..").InterfaceDef<Registry.Registry>;
33
- export type ReactContext = Readonly<{
31
+ const RxRegistry: import("..").InterfaceDef<Registry.Registry>;
32
+ type ReactContext = Readonly<{
34
33
  id: string;
35
34
  dependsOn?: string[];
36
35
  context: FC<PropsWithChildren>;
@@ -38,37 +37,37 @@ export declare namespace Capabilities {
38
37
  /**
39
38
  * @category Capability
40
39
  */
41
- export const ReactContext: import("..").InterfaceDef<Readonly<{
40
+ const ReactContext: import("..").InterfaceDef<Readonly<{
42
41
  id: string;
43
42
  dependsOn?: string[];
44
43
  context: FC<PropsWithChildren>;
45
44
  }>>;
46
- export type ReactRoot = Readonly<{
45
+ type ReactRoot = Readonly<{
47
46
  id: string;
48
47
  root: FC<PropsWithChildren>;
49
48
  }>;
50
49
  /**
51
50
  * @category Capability
52
51
  */
53
- export const ReactRoot: import("..").InterfaceDef<Readonly<{
52
+ const ReactRoot: import("..").InterfaceDef<Readonly<{
54
53
  id: string;
55
54
  root: FC<PropsWithChildren>;
56
55
  }>>;
57
- export type ReactSurface = SurfaceDefinition | readonly SurfaceDefinition[];
56
+ type ReactSurface = SurfaceDefinition | readonly SurfaceDefinition[];
58
57
  /**
59
58
  * @category Capability
60
59
  */
61
- export const ReactSurface: import("..").InterfaceDef<ReactSurface>;
62
- export type IntentResolver = AnyIntentResolver | readonly AnyIntentResolver[];
60
+ const ReactSurface: import("..").InterfaceDef<ReactSurface>;
61
+ type IntentResolver = AnyIntentResolver | readonly AnyIntentResolver[];
63
62
  /**
64
63
  * @category Capability
65
64
  */
66
- export const IntentResolver: import("..").InterfaceDef<IntentResolver>;
65
+ const IntentResolver: import("..").InterfaceDef<IntentResolver>;
67
66
  /**
68
67
  * @category Capability
69
68
  */
70
- export const IntentDispatcher: import("..").InterfaceDef<IntentContext>;
71
- export type Layout = Readonly<{
69
+ const IntentDispatcher: import("..").InterfaceDef<IntentContext>;
70
+ type Layout = Readonly<{
72
71
  mode: string;
73
72
  dialogOpen: boolean;
74
73
  sidebarOpen: boolean;
@@ -93,7 +92,7 @@ export declare namespace Capabilities {
93
92
  /**
94
93
  * @category Capability
95
94
  */
96
- export const Layout: import("..").InterfaceDef<Readonly<{
95
+ const Layout: import("..").InterfaceDef<Readonly<{
97
96
  mode: string;
98
97
  dialogOpen: boolean;
99
98
  sidebarOpen: boolean;
@@ -118,7 +117,7 @@ export declare namespace Capabilities {
118
117
  /**
119
118
  * @category Capability
120
119
  */
121
- export const Translations: import("..").InterfaceDef<readonly {
120
+ const Translations: import("..").InterfaceDef<readonly {
122
121
  readonly [x: string]: {
123
122
  readonly [x: string]: string | {
124
123
  readonly [x: string]: any;
@@ -128,20 +127,20 @@ export declare namespace Capabilities {
128
127
  /**
129
128
  * @category Capability
130
129
  */
131
- export const AppGraph: import("..").InterfaceDef<Readonly<Pick<GraphBuilder, "graph" | "explore">>>;
130
+ const AppGraph: import("..").InterfaceDef<Readonly<Pick<GraphBuilder, "graph" | "explore">>>;
132
131
  /**
133
132
  * @category Capability
134
133
  */
135
- export const AppGraphBuilder: import("..").InterfaceDef<BuilderExtensions>;
134
+ const AppGraphBuilder: import("..").InterfaceDef<BuilderExtensions>;
136
135
  /**
137
136
  * @category Capability
138
137
  */
139
- export const AppGraphSerializer: import("..").InterfaceDef<NodeSerializer[]>;
138
+ const AppGraphSerializer: import("..").InterfaceDef<NodeSerializer[]>;
140
139
  /**
141
140
  * @category Capability
142
141
  */
143
- export const SettingsStore: import("..").InterfaceDef<RootSettingsStore>;
144
- export type Settings = {
142
+ const SettingsStore: import("..").InterfaceDef<RootSettingsStore>;
143
+ type Settings = {
145
144
  prefix: string;
146
145
  schema: Schema.Schema.All;
147
146
  value?: Record<string, any>;
@@ -149,53 +148,48 @@ export declare namespace Capabilities {
149
148
  /**
150
149
  * @category Capability
151
150
  */
152
- export const Settings: import("..").InterfaceDef<Settings>;
153
- export type Metadata = Readonly<{
151
+ const Settings: import("..").InterfaceDef<Settings>;
152
+ type Metadata = Readonly<{
154
153
  id: string;
155
154
  metadata: Record<string, any>;
156
155
  }>;
157
156
  /**
158
157
  * @category Capability
159
158
  */
160
- export const Metadata: import("..").InterfaceDef<Readonly<{
159
+ const Metadata: import("..").InterfaceDef<Readonly<{
161
160
  id: string;
162
161
  metadata: Record<string, any>;
163
162
  }>>;
164
163
  /**
165
164
  * @category Capability
166
165
  */
167
- export const Toolkit: import("..").InterfaceDef<Toolkit.Any>;
166
+ const Toolkit: import("..").InterfaceDef<GenericToolkit.GenericToolkit<never, never, never>>;
168
167
  /**
169
168
  * @category Capability
170
169
  */
171
- export const ToolkitHandler: import("..").InterfaceDef<Layer.Layer<Tool.Handler<any>, never, never>>;
172
- /**
173
- * @category Capability
174
- */
175
- export const BlueprintDefinition: import("..").InterfaceDef<Blueprint.Blueprint>;
176
- export type AiServiceLayer = Layer.Layer<AiService.AiService>;
177
- export const AiServiceLayer: import("..").InterfaceDef<AiServiceLayer>;
170
+ const BlueprintDefinition: import("..").InterfaceDef<Blueprint.Blueprint>;
171
+ type AiServiceLayer = Layer.Layer<AiService.AiService>;
172
+ const AiServiceLayer: import("..").InterfaceDef<AiServiceLayer>;
178
173
  /**
179
174
  * Plugins can contribute them to provide model resolvers.
180
175
  */
181
- export const AiModelResolver: import("..").InterfaceDef<Layer.Layer<AiServiceRouter.AiModelResolver, never, never>>;
176
+ const AiModelResolver: import("..").InterfaceDef<Layer.Layer<AiServiceRouter.AiModelResolver, never, never>>;
182
177
  /**
183
178
  * @category Capability
184
179
  */
185
- export const Functions: import("..").InterfaceDef<FunctionDefinition<any, any>[]>;
186
- export type FileUploader = (file: File, space: Space) => Promise<FileInfo | undefined>;
180
+ const Functions: import("..").InterfaceDef<FunctionDefinition<any, any>[]>;
181
+ type FileUploader = (space: Space, file: File) => Promise<FileInfo | undefined>;
187
182
  /**
188
183
  * @category Capability
189
184
  */
190
- export const FileUploader: import("..").InterfaceDef<FileUploader>;
185
+ const FileUploader: import("..").InterfaceDef<FileUploader>;
191
186
  type AnchorSort = {
192
187
  key: string;
193
- sort: (anchorA: AnchoredTo, anchorB: AnchoredTo) => number;
188
+ sort: (anchorA: AnchoredTo.AnchoredTo, anchorB: AnchoredTo.AnchoredTo) => number;
194
189
  };
195
190
  /**
196
191
  * @category Capability
197
192
  */
198
- export const AnchorSort: import("..").InterfaceDef<AnchorSort>;
199
- export {};
193
+ const AnchorSort: import("..").InterfaceDef<AnchorSort>;
200
194
  }
201
195
  //# sourceMappingURL=capabilities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/common/capabilities.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,IAAI,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,KAAK,OAAO,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAExD,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,KAAK,KAAK,eAAe,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAA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ACI,MAAM,eAAe,uFAE3B,CAAC;IAEF;;OAEG;IACI,MAAM,SAAS,2DAErB,CAAC;IAEF,KAAY,YAAY,GAAG,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC,CAAC;IAEvF;;OAEG;IACI,MAAM,YAAY,yCAAoF,CAAC;IAE9G,KAAY,UAAU,GAAG;QACvB,GAAG,EAAE,MAAM,CAAC;QACZ,IAAI,EAAE,CAAC,OAAO,EAAE,UAAU,CAAC,UAAU,EAAE,OAAO,EAAE,UAAU,CAAC,UAAU,KAAK,MAAM,CAAC;KAClF,CAAC;IAEF;;OAEG;IACI,MAAM,UAAU,uCAAgF,CAAC;CACzG"}
@@ -29,6 +29,7 @@ type CoreSurfaceProps<T extends Record<string, any> = Record<string, unknown>> =
29
29
  role: string;
30
30
  /**
31
31
  * The data to be rendered by the surface.
32
+ * NOTE: This must be a stable value.
32
33
  */
33
34
  data: T;
34
35
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../../../src/common/surface.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEzE,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;IAClF;;;OAGG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC,CAAC;IAE9C;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,GAAG,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