@dxos/app-framework 0.8.4-main.bc674ce → 0.8.4-main.bcb3aa67d6

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 (421) hide show
  1. package/.storybook/main.mts +1 -3
  2. package/dist/lib/browser/{capability-7PCNSWBT.mjs → capability-4NSF2SOO.mjs} +16 -11
  3. package/dist/lib/browser/capability-4NSF2SOO.mjs.map +7 -0
  4. package/dist/lib/browser/capability-EB3UKSKA.mjs +35 -0
  5. package/dist/lib/browser/capability-EB3UKSKA.mjs.map +7 -0
  6. package/dist/lib/browser/{chunk-FMZN33N4.mjs → chunk-27FZETIA.mjs} +324 -181
  7. package/dist/lib/browser/chunk-27FZETIA.mjs.map +7 -0
  8. package/dist/lib/browser/chunk-CV7I2AAB.mjs +80 -0
  9. package/dist/lib/browser/chunk-CV7I2AAB.mjs.map +7 -0
  10. package/dist/lib/browser/{chunk-6Y7PZV72.mjs → chunk-FL2XTEJH.mjs} +3 -4
  11. package/dist/lib/browser/chunk-FL2XTEJH.mjs.map +7 -0
  12. package/dist/lib/browser/chunk-H7OMDDGW.mjs +42 -0
  13. package/dist/lib/browser/chunk-H7OMDDGW.mjs.map +7 -0
  14. package/dist/lib/browser/chunk-HDQXX5DC.mjs +157 -0
  15. package/dist/lib/browser/chunk-HDQXX5DC.mjs.map +7 -0
  16. package/dist/lib/browser/chunk-I34GF4NG.mjs +34 -0
  17. package/dist/lib/browser/chunk-I34GF4NG.mjs.map +7 -0
  18. package/dist/lib/browser/chunk-KNBRTZVK.mjs +892 -0
  19. package/dist/lib/browser/chunk-KNBRTZVK.mjs.map +7 -0
  20. package/dist/lib/browser/{chunk-7IQHKD4U.mjs → chunk-NO7R7QHA.mjs} +4 -7
  21. package/dist/lib/browser/chunk-NO7R7QHA.mjs.map +7 -0
  22. package/dist/lib/browser/{chunk-TCLLRCS3.mjs → chunk-P2E7VMRF.mjs} +10 -7
  23. package/dist/lib/browser/chunk-P2E7VMRF.mjs.map +7 -0
  24. package/dist/lib/browser/{chunk-PKQT6C53.mjs → chunk-QSXYHXCE.mjs} +3 -2
  25. package/dist/lib/browser/chunk-QSXYHXCE.mjs.map +7 -0
  26. package/dist/lib/browser/chunk-RFSO3JRG.mjs +1 -0
  27. package/dist/lib/browser/chunk-TGX63LTL.mjs +8 -0
  28. package/dist/lib/browser/{chunk-FHQTHCX7.mjs.map → chunk-TGX63LTL.mjs.map} +1 -1
  29. package/dist/lib/browser/cli/index.mjs +90 -0
  30. package/dist/lib/browser/cli/index.mjs.map +7 -0
  31. package/dist/lib/browser/common/activation-events.mjs +24 -0
  32. package/dist/lib/browser/common/capabilities.mjs +46 -0
  33. package/dist/lib/browser/core/activation-event.mjs +1 -1
  34. package/dist/lib/browser/core/capability.mjs +1 -1
  35. package/dist/lib/browser/core/plugin-manager.mjs +4 -4
  36. package/dist/lib/browser/core/plugin.mjs +6 -4
  37. package/dist/lib/browser/core/url-loader.mjs +12 -0
  38. package/dist/lib/browser/index.mjs +40 -131
  39. package/dist/lib/browser/index.mjs.map +4 -4
  40. package/dist/lib/browser/invoker-capability-P7KPBTP3.mjs +43 -0
  41. package/dist/lib/browser/invoker-capability-P7KPBTP3.mjs.map +7 -0
  42. package/dist/lib/browser/meta.json +1 -1
  43. package/dist/lib/browser/testing/index.mjs +56 -34
  44. package/dist/lib/browser/testing/index.mjs.map +3 -3
  45. package/dist/lib/browser/{react → ui}/index.mjs +19 -21
  46. package/dist/lib/browser/ui/index.mjs.map +7 -0
  47. package/dist/lib/node-esm/{capability-CFLQ2QQU.mjs → capability-CB3MNEI3.mjs} +16 -11
  48. package/dist/lib/node-esm/capability-CB3MNEI3.mjs.map +7 -0
  49. package/dist/lib/node-esm/capability-CMROGK7R.mjs +36 -0
  50. package/dist/lib/node-esm/capability-CMROGK7R.mjs.map +7 -0
  51. package/dist/lib/node-esm/{chunk-STMXUEPO.mjs → chunk-37NG7SIN.mjs} +3 -4
  52. package/dist/lib/node-esm/chunk-37NG7SIN.mjs.map +7 -0
  53. package/dist/lib/node-esm/chunk-7JPKC7OM.mjs +893 -0
  54. package/dist/lib/node-esm/chunk-7JPKC7OM.mjs.map +7 -0
  55. package/dist/lib/node-esm/chunk-7PPVTBYR.mjs +81 -0
  56. package/dist/lib/node-esm/chunk-7PPVTBYR.mjs.map +7 -0
  57. package/dist/lib/node-esm/chunk-BQ56U4QX.mjs +43 -0
  58. package/dist/lib/node-esm/chunk-BQ56U4QX.mjs.map +7 -0
  59. package/dist/lib/node-esm/{chunk-GT6OKM5I.mjs → chunk-CG6UBBZZ.mjs} +10 -7
  60. package/dist/lib/node-esm/chunk-CG6UBBZZ.mjs.map +7 -0
  61. package/dist/lib/node-esm/chunk-EL3R25OQ.mjs +2 -0
  62. package/dist/lib/node-esm/chunk-EL3R25OQ.mjs.map +7 -0
  63. package/dist/lib/node-esm/{chunk-663A54LQ.mjs → chunk-EXYTXQ47.mjs} +4 -7
  64. package/dist/lib/node-esm/chunk-EXYTXQ47.mjs.map +7 -0
  65. package/dist/lib/node-esm/{chunk-UEWJDI2L.mjs → chunk-FKE4Z3D6.mjs} +2 -2
  66. package/dist/lib/node-esm/{chunk-UEWJDI2L.mjs.map → chunk-FKE4Z3D6.mjs.map} +1 -1
  67. package/dist/lib/node-esm/chunk-OXXXRCQX.mjs +158 -0
  68. package/dist/lib/node-esm/chunk-OXXXRCQX.mjs.map +7 -0
  69. package/dist/lib/node-esm/chunk-WZCSOX5Q.mjs +35 -0
  70. package/dist/lib/node-esm/chunk-WZCSOX5Q.mjs.map +7 -0
  71. package/dist/lib/node-esm/{chunk-XYQTBFPA.mjs → chunk-YH44RHP6.mjs} +324 -181
  72. package/dist/lib/node-esm/chunk-YH44RHP6.mjs.map +7 -0
  73. package/dist/lib/node-esm/{chunk-7OWSHPYK.mjs → chunk-ZZ7CKK6W.mjs} +3 -2
  74. package/dist/lib/node-esm/chunk-ZZ7CKK6W.mjs.map +7 -0
  75. package/dist/lib/node-esm/cli/index.mjs +91 -0
  76. package/dist/lib/node-esm/cli/index.mjs.map +7 -0
  77. package/dist/lib/node-esm/common/activation-events.mjs +25 -0
  78. package/dist/lib/node-esm/common/activation-events.mjs.map +7 -0
  79. package/dist/lib/node-esm/common/capabilities.mjs +47 -0
  80. package/dist/lib/node-esm/common/capabilities.mjs.map +7 -0
  81. package/dist/lib/node-esm/core/activation-event.mjs +1 -1
  82. package/dist/lib/node-esm/core/capability.mjs +1 -1
  83. package/dist/lib/node-esm/core/plugin-manager.mjs +4 -4
  84. package/dist/lib/node-esm/core/plugin.mjs +6 -4
  85. package/dist/lib/node-esm/core/url-loader.mjs +13 -0
  86. package/dist/lib/node-esm/core/url-loader.mjs.map +7 -0
  87. package/dist/lib/node-esm/index.mjs +40 -131
  88. package/dist/lib/node-esm/index.mjs.map +4 -4
  89. package/dist/lib/node-esm/invoker-capability-3C5H46ZY.mjs +44 -0
  90. package/dist/lib/node-esm/invoker-capability-3C5H46ZY.mjs.map +7 -0
  91. package/dist/lib/node-esm/meta.json +1 -1
  92. package/dist/lib/node-esm/testing/index.mjs +56 -34
  93. package/dist/lib/node-esm/testing/index.mjs.map +3 -3
  94. package/dist/lib/node-esm/{react → ui}/index.mjs +19 -21
  95. package/dist/lib/node-esm/ui/index.mjs.map +7 -0
  96. package/dist/plugin/node-esm/index.mjs +384 -0
  97. package/dist/plugin/node-esm/index.mjs.map +7 -0
  98. package/dist/plugin/node-esm/meta.json +1 -0
  99. package/dist/types/src/{cli.d.ts → cli/cli.d.ts} +2 -2
  100. package/dist/types/src/cli/cli.d.ts.map +1 -0
  101. package/dist/types/src/cli/index.d.ts +2 -0
  102. package/dist/types/src/cli/index.d.ts.map +1 -0
  103. package/dist/types/src/common/activation-events.d.ts +27 -0
  104. package/dist/types/src/common/activation-events.d.ts.map +1 -0
  105. package/dist/types/src/common/capabilities.d.ts +110 -0
  106. package/dist/types/src/common/capabilities.d.ts.map +1 -0
  107. package/dist/types/src/common/index.d.ts +4 -9
  108. package/dist/types/src/common/index.d.ts.map +1 -1
  109. package/dist/types/src/common/operations.d.ts +8 -369
  110. package/dist/types/src/common/operations.d.ts.map +1 -1
  111. package/dist/types/src/common/translations.d.ts +0 -9
  112. package/dist/types/src/common/translations.d.ts.map +1 -1
  113. package/dist/types/src/core/activation-event.d.ts +1 -1
  114. package/dist/types/src/core/activation-event.d.ts.map +1 -1
  115. package/dist/types/src/core/capability.d.ts +7 -7
  116. package/dist/types/src/core/capability.d.ts.map +1 -1
  117. package/dist/types/src/core/index.d.ts +1 -0
  118. package/dist/types/src/core/index.d.ts.map +1 -1
  119. package/dist/types/src/core/plugin-manager.d.ts +9 -2
  120. package/dist/types/src/core/plugin-manager.d.ts.map +1 -1
  121. package/dist/types/src/core/plugin.d.ts +6 -1
  122. package/dist/types/src/core/plugin.d.ts.map +1 -1
  123. package/dist/types/src/core/url-loader.d.ts +25 -0
  124. package/dist/types/src/core/url-loader.d.ts.map +1 -0
  125. package/dist/types/src/core/url-loader.test.d.ts +2 -0
  126. package/dist/types/src/core/url-loader.test.d.ts.map +1 -0
  127. package/dist/types/src/index.d.ts +1 -3
  128. package/dist/types/src/index.d.ts.map +1 -1
  129. package/dist/types/src/plugin-operation/history/capability.d.ts +1 -1
  130. package/dist/types/src/plugin-operation/history/errors.d.ts +30 -3
  131. package/dist/types/src/plugin-operation/history/errors.d.ts.map +1 -1
  132. package/dist/types/src/plugin-operation/history/undo-mapping.d.ts +11 -3
  133. package/dist/types/src/plugin-operation/history/undo-mapping.d.ts.map +1 -1
  134. package/dist/types/src/plugin-operation/invoker-capability.d.ts +1 -1
  135. package/dist/types/src/plugin-operation/invoker-capability.d.ts.map +1 -1
  136. package/dist/types/src/plugin-operation/testing.d.ts +26 -77
  137. package/dist/types/src/plugin-operation/testing.d.ts.map +1 -1
  138. package/dist/types/src/plugin-runtime/capability.d.ts +2 -2
  139. package/dist/types/src/plugin-runtime/capability.d.ts.map +1 -1
  140. package/dist/types/src/testing/withPluginManager.d.ts +1 -1
  141. package/dist/types/src/testing/withPluginManager.d.ts.map +1 -1
  142. package/dist/types/src/{react → ui/components/App}/App.d.ts +3 -2
  143. package/dist/types/src/ui/components/App/App.d.ts.map +1 -0
  144. package/dist/types/src/{react/Surface.stories.d.ts → ui/components/App/App.stories.d.ts} +7 -2
  145. package/dist/types/src/ui/components/App/App.stories.d.ts.map +1 -0
  146. package/dist/types/src/ui/components/App/index.d.ts +2 -0
  147. package/dist/types/src/ui/components/App/index.d.ts.map +1 -0
  148. package/dist/types/src/ui/components/PluginManager/PluginManagerContext.stories.d.ts.map +1 -0
  149. package/dist/types/src/{react → ui/components/PluginManager}/PluginManagerProvider.d.ts +1 -1
  150. package/dist/types/src/ui/components/PluginManager/PluginManagerProvider.d.ts.map +1 -0
  151. package/dist/types/src/ui/components/PluginManager/index.d.ts +2 -0
  152. package/dist/types/src/ui/components/PluginManager/index.d.ts.map +1 -0
  153. package/dist/types/src/ui/components/Surface/SurfaceComponent.d.ts +12 -0
  154. package/dist/types/src/ui/components/Surface/SurfaceComponent.d.ts.map +1 -0
  155. package/dist/types/src/{react/App.stories.d.ts → ui/components/Surface/SurfaceComponent.stories.d.ts} +1 -1
  156. package/dist/types/src/ui/components/Surface/SurfaceComponent.stories.d.ts.map +1 -0
  157. package/dist/types/src/ui/components/Surface/SurfaceInfo.d.ts.map +1 -0
  158. package/dist/types/src/ui/components/Surface/SurfaceProfilerContext.d.ts +48 -0
  159. package/dist/types/src/ui/components/Surface/SurfaceProfilerContext.d.ts.map +1 -0
  160. package/dist/types/src/ui/components/Surface/context.d.ts +5 -0
  161. package/dist/types/src/ui/components/Surface/context.d.ts.map +1 -0
  162. package/dist/types/src/ui/components/Surface/index.d.ts +26 -0
  163. package/dist/types/src/ui/components/Surface/index.d.ts.map +1 -0
  164. package/dist/types/src/{common/surface.d.ts → ui/components/Surface/types.d.ts} +20 -18
  165. package/dist/types/src/ui/components/Surface/types.d.ts.map +1 -0
  166. package/dist/types/src/ui/components/index.d.ts +4 -0
  167. package/dist/types/src/ui/components/index.d.ts.map +1 -0
  168. package/dist/types/src/ui/hooks/index.d.ts +6 -0
  169. package/dist/types/src/ui/hooks/index.d.ts.map +1 -0
  170. package/dist/types/src/{react → ui/hooks}/useApp.d.ts +26 -9
  171. package/dist/types/src/ui/hooks/useApp.d.ts.map +1 -0
  172. package/dist/types/src/ui/hooks/useApp.test.d.ts +2 -0
  173. package/dist/types/src/ui/hooks/useApp.test.d.ts.map +1 -0
  174. package/dist/types/src/{react → ui/hooks}/useCapabilities.d.ts +6 -1
  175. package/dist/types/src/ui/hooks/useCapabilities.d.ts.map +1 -0
  176. package/dist/types/src/ui/hooks/useLoading.d.ts.map +1 -0
  177. package/dist/types/src/{react/common.d.ts → ui/hooks/useSettingsState.d.ts} +1 -5
  178. package/dist/types/src/ui/hooks/useSettingsState.d.ts.map +1 -0
  179. package/dist/types/src/ui/hooks/useSurface.d.ts +3 -0
  180. package/dist/types/src/ui/hooks/useSurface.d.ts.map +1 -0
  181. package/dist/types/src/ui/index.d.ts +3 -0
  182. package/dist/types/src/ui/index.d.ts.map +1 -0
  183. package/dist/types/src/vite-plugin/composer-plugin.d.ts +18 -0
  184. package/dist/types/src/vite-plugin/composer-plugin.d.ts.map +1 -0
  185. package/dist/types/src/vite-plugin/import-map-plugin.d.ts +16 -0
  186. package/dist/types/src/vite-plugin/import-map-plugin.d.ts.map +1 -0
  187. package/dist/types/src/vite-plugin/index.d.ts +3 -0
  188. package/dist/types/src/vite-plugin/index.d.ts.map +1 -0
  189. package/dist/types/src/vite-plugin/packages.d.ts +7 -0
  190. package/dist/types/src/vite-plugin/packages.d.ts.map +1 -0
  191. package/dist/types/tsconfig.tsbuildinfo +1 -1
  192. package/moon.yml +20 -6
  193. package/package.json +91 -64
  194. package/src/{cli.ts → cli/cli.ts} +10 -10
  195. package/src/{playground/debug → cli}/index.ts +1 -1
  196. package/src/common/activation-events.ts +44 -0
  197. package/src/common/capabilities.ts +172 -0
  198. package/src/common/index.ts +4 -9
  199. package/src/common/operations.ts +6 -382
  200. package/src/common/translations.ts +0 -12
  201. package/src/context.ts +1 -1
  202. package/src/core/activation-event.ts +5 -2
  203. package/src/core/capability-manager.ts +1 -1
  204. package/src/core/capability.ts +11 -10
  205. package/src/core/index.ts +1 -0
  206. package/src/core/plugin-manager.test.ts +313 -44
  207. package/src/core/plugin-manager.ts +344 -157
  208. package/src/core/plugin.ts +10 -2
  209. package/src/core/url-loader.test.ts +79 -0
  210. package/src/core/url-loader.ts +148 -0
  211. package/src/index.ts +1 -3
  212. package/src/plugin-operation/OperationPlugin.ts +5 -5
  213. package/src/plugin-operation/history/capability.ts +5 -5
  214. package/src/plugin-operation/history/errors.ts +2 -6
  215. package/src/plugin-operation/history/history-tracker.test.ts +36 -42
  216. package/src/plugin-operation/history/undo-mapping.ts +6 -3
  217. package/src/plugin-operation/history/undo-registry.test.ts +3 -3
  218. package/src/plugin-operation/invoker-capability.ts +21 -7
  219. package/src/plugin-operation/meta.ts +1 -1
  220. package/src/plugin-operation/testing.ts +25 -45
  221. package/src/plugin-runtime/RuntimePlugin.ts +4 -4
  222. package/src/plugin-runtime/capability.ts +5 -5
  223. package/src/plugin-runtime/meta.ts +1 -1
  224. package/src/testing/service.ts +6 -6
  225. package/src/testing/withPluginManager.stories.tsx +6 -6
  226. package/src/testing/withPluginManager.tsx +46 -19
  227. package/src/ui/components/App/App.stories.tsx +92 -0
  228. package/src/{react → ui/components/App}/App.tsx +9 -11
  229. package/src/{playground/layout → ui/components/App}/index.ts +1 -1
  230. package/src/{react → ui/components/PluginManager}/PluginManagerContext.stories.tsx +13 -14
  231. package/src/{react → ui/components/PluginManager}/PluginManagerProvider.ts +1 -1
  232. package/src/ui/components/PluginManager/index.ts +5 -0
  233. package/src/{react/Surface.stories.tsx → ui/components/Surface/SurfaceComponent.stories.tsx} +28 -24
  234. package/src/{react/Surface.tsx → ui/components/Surface/SurfaceComponent.tsx} +48 -58
  235. package/src/{react → ui/components/Surface}/SurfaceInfo.tsx +2 -2
  236. package/src/ui/components/Surface/SurfaceProfilerContext.tsx +207 -0
  237. package/src/ui/components/Surface/context.ts +12 -0
  238. package/src/ui/components/Surface/index.ts +35 -0
  239. package/src/{common/surface.ts → ui/components/Surface/types.ts} +22 -25
  240. package/src/ui/components/index.ts +7 -0
  241. package/src/ui/hooks/index.ts +9 -0
  242. package/src/ui/hooks/useApp.test.tsx +159 -0
  243. package/src/{react → ui/hooks}/useApp.tsx +110 -30
  244. package/src/{react → ui/hooks}/useCapabilities.ts +9 -5
  245. package/src/{react/common.ts → ui/hooks/useSettingsState.ts} +0 -11
  246. package/src/ui/hooks/useSurface.ts +13 -0
  247. package/src/ui/index.ts +6 -0
  248. package/src/vite-plugin/composer-plugin.ts +128 -0
  249. package/src/vite-plugin/import-map-plugin.ts +315 -0
  250. package/src/vite-plugin/index.ts +6 -0
  251. package/src/vite-plugin/packages.ts +29 -0
  252. package/tsconfig.json +4 -28
  253. package/tsconfig.node.json +2 -4
  254. package/typedoc.json +2 -4
  255. package/vitest.config.ts +1 -1
  256. package/dist/lib/browser/app-graph-builder-M2VPYQC6.mjs +0 -149
  257. package/dist/lib/browser/app-graph-builder-M2VPYQC6.mjs.map +0 -7
  258. package/dist/lib/browser/capability-7PCNSWBT.mjs.map +0 -7
  259. package/dist/lib/browser/capability-KP3PFEXD.mjs +0 -31
  260. package/dist/lib/browser/capability-KP3PFEXD.mjs.map +0 -7
  261. package/dist/lib/browser/chunk-6Y7PZV72.mjs.map +0 -7
  262. package/dist/lib/browser/chunk-7IQHKD4U.mjs.map +0 -7
  263. package/dist/lib/browser/chunk-BLQJSGL3.mjs +0 -732
  264. package/dist/lib/browser/chunk-BLQJSGL3.mjs.map +0 -7
  265. package/dist/lib/browser/chunk-FHQTHCX7.mjs +0 -8
  266. package/dist/lib/browser/chunk-FMZN33N4.mjs.map +0 -7
  267. package/dist/lib/browser/chunk-H4WPA7U7.mjs +0 -77
  268. package/dist/lib/browser/chunk-H4WPA7U7.mjs.map +0 -7
  269. package/dist/lib/browser/chunk-PKQT6C53.mjs.map +0 -7
  270. package/dist/lib/browser/chunk-TCLLRCS3.mjs.map +0 -7
  271. package/dist/lib/browser/chunk-XYNO72GQ.mjs +0 -746
  272. package/dist/lib/browser/chunk-XYNO72GQ.mjs.map +0 -7
  273. package/dist/lib/browser/common/index.mjs +0 -38
  274. package/dist/lib/browser/invoker-capability-SZRSTHEH.mjs +0 -32
  275. package/dist/lib/browser/invoker-capability-SZRSTHEH.mjs.map +0 -7
  276. package/dist/lib/browser/operation-resolver-6MP2MYOY.mjs +0 -64
  277. package/dist/lib/browser/operation-resolver-6MP2MYOY.mjs.map +0 -7
  278. package/dist/lib/node-esm/app-graph-builder-LROHGJEM.mjs +0 -150
  279. package/dist/lib/node-esm/app-graph-builder-LROHGJEM.mjs.map +0 -7
  280. package/dist/lib/node-esm/capability-CFLQ2QQU.mjs.map +0 -7
  281. package/dist/lib/node-esm/capability-RCUNM2M7.mjs +0 -32
  282. package/dist/lib/node-esm/capability-RCUNM2M7.mjs.map +0 -7
  283. package/dist/lib/node-esm/chunk-663A54LQ.mjs.map +0 -7
  284. package/dist/lib/node-esm/chunk-6WXBT3EC.mjs +0 -747
  285. package/dist/lib/node-esm/chunk-6WXBT3EC.mjs.map +0 -7
  286. package/dist/lib/node-esm/chunk-7OWSHPYK.mjs.map +0 -7
  287. package/dist/lib/node-esm/chunk-GQEBIGKD.mjs +0 -733
  288. package/dist/lib/node-esm/chunk-GQEBIGKD.mjs.map +0 -7
  289. package/dist/lib/node-esm/chunk-GT6OKM5I.mjs.map +0 -7
  290. package/dist/lib/node-esm/chunk-STMXUEPO.mjs.map +0 -7
  291. package/dist/lib/node-esm/chunk-XR6NMKEP.mjs +0 -78
  292. package/dist/lib/node-esm/chunk-XR6NMKEP.mjs.map +0 -7
  293. package/dist/lib/node-esm/chunk-XYQTBFPA.mjs.map +0 -7
  294. package/dist/lib/node-esm/common/index.mjs +0 -39
  295. package/dist/lib/node-esm/invoker-capability-PNMA5JOS.mjs +0 -33
  296. package/dist/lib/node-esm/invoker-capability-PNMA5JOS.mjs.map +0 -7
  297. package/dist/lib/node-esm/operation-resolver-7YWDMTNU.mjs +0 -65
  298. package/dist/lib/node-esm/operation-resolver-7YWDMTNU.mjs.map +0 -7
  299. package/dist/types/src/cli.d.ts.map +0 -1
  300. package/dist/types/src/common/activation-event.d.ts +0 -66
  301. package/dist/types/src/common/activation-event.d.ts.map +0 -1
  302. package/dist/types/src/common/capability.d.ts +0 -265
  303. package/dist/types/src/common/capability.d.ts.map +0 -1
  304. package/dist/types/src/common/collaboration.d.ts +0 -26
  305. package/dist/types/src/common/collaboration.d.ts.map +0 -1
  306. package/dist/types/src/common/file.d.ts +0 -14
  307. package/dist/types/src/common/file.d.ts.map +0 -1
  308. package/dist/types/src/common/graph.d.ts +0 -21
  309. package/dist/types/src/common/graph.d.ts.map +0 -1
  310. package/dist/types/src/common/plugin.d.ts +0 -201
  311. package/dist/types/src/common/plugin.d.ts.map +0 -1
  312. package/dist/types/src/common/surface.d.ts.map +0 -1
  313. package/dist/types/src/playground/debug/Debug.d.ts +0 -8
  314. package/dist/types/src/playground/debug/Debug.d.ts.map +0 -1
  315. package/dist/types/src/playground/debug/index.d.ts +0 -2
  316. package/dist/types/src/playground/debug/index.d.ts.map +0 -1
  317. package/dist/types/src/playground/debug/plugin.d.ts +0 -3
  318. package/dist/types/src/playground/debug/plugin.d.ts.map +0 -1
  319. package/dist/types/src/playground/generator/Main.d.ts +0 -8
  320. package/dist/types/src/playground/generator/Main.d.ts.map +0 -1
  321. package/dist/types/src/playground/generator/Toolbar.d.ts +0 -8
  322. package/dist/types/src/playground/generator/Toolbar.d.ts.map +0 -1
  323. package/dist/types/src/playground/generator/generator.d.ts +0 -19
  324. package/dist/types/src/playground/generator/generator.d.ts.map +0 -1
  325. package/dist/types/src/playground/generator/index.d.ts +0 -3
  326. package/dist/types/src/playground/generator/index.d.ts.map +0 -1
  327. package/dist/types/src/playground/generator/plugin.d.ts +0 -3
  328. package/dist/types/src/playground/generator/plugin.d.ts.map +0 -1
  329. package/dist/types/src/playground/layout/Layout.d.ts +0 -10
  330. package/dist/types/src/playground/layout/Layout.d.ts.map +0 -1
  331. package/dist/types/src/playground/layout/index.d.ts +0 -2
  332. package/dist/types/src/playground/layout/index.d.ts.map +0 -1
  333. package/dist/types/src/playground/layout/plugin.d.ts +0 -3
  334. package/dist/types/src/playground/layout/plugin.d.ts.map +0 -1
  335. package/dist/types/src/playground/logger/Toolbar.d.ts +0 -8
  336. package/dist/types/src/playground/logger/Toolbar.d.ts.map +0 -1
  337. package/dist/types/src/playground/logger/index.d.ts +0 -2
  338. package/dist/types/src/playground/logger/index.d.ts.map +0 -1
  339. package/dist/types/src/playground/logger/plugin.d.ts +0 -3
  340. package/dist/types/src/playground/logger/plugin.d.ts.map +0 -1
  341. package/dist/types/src/playground/logger/schema.d.ts +0 -27
  342. package/dist/types/src/playground/logger/schema.d.ts.map +0 -1
  343. package/dist/types/src/playground/playground.stories.d.ts +0 -11
  344. package/dist/types/src/playground/playground.stories.d.ts.map +0 -1
  345. package/dist/types/src/plugin-settings/SettingsPlugin.d.ts +0 -3
  346. package/dist/types/src/plugin-settings/SettingsPlugin.d.ts.map +0 -1
  347. package/dist/types/src/plugin-settings/actions.d.ts +0 -61
  348. package/dist/types/src/plugin-settings/actions.d.ts.map +0 -1
  349. package/dist/types/src/plugin-settings/app-graph-builder.d.ts +0 -6
  350. package/dist/types/src/plugin-settings/app-graph-builder.d.ts.map +0 -1
  351. package/dist/types/src/plugin-settings/index.d.ts +0 -3
  352. package/dist/types/src/plugin-settings/index.d.ts.map +0 -1
  353. package/dist/types/src/plugin-settings/meta.d.ts +0 -3
  354. package/dist/types/src/plugin-settings/meta.d.ts.map +0 -1
  355. package/dist/types/src/plugin-settings/operation-resolver.d.ts +0 -6
  356. package/dist/types/src/plugin-settings/operation-resolver.d.ts.map +0 -1
  357. package/dist/types/src/plugin-settings/translations.d.ts +0 -11
  358. package/dist/types/src/plugin-settings/translations.d.ts.map +0 -1
  359. package/dist/types/src/react/App.d.ts.map +0 -1
  360. package/dist/types/src/react/App.stories.d.ts.map +0 -1
  361. package/dist/types/src/react/DefaultFallback.d.ts +0 -8
  362. package/dist/types/src/react/DefaultFallback.d.ts.map +0 -1
  363. package/dist/types/src/react/ErrorBoundary.d.ts +0 -30
  364. package/dist/types/src/react/ErrorBoundary.d.ts.map +0 -1
  365. package/dist/types/src/react/PluginManagerContext.stories.d.ts.map +0 -1
  366. package/dist/types/src/react/PluginManagerProvider.d.ts.map +0 -1
  367. package/dist/types/src/react/Surface.d.ts +0 -14
  368. package/dist/types/src/react/Surface.d.ts.map +0 -1
  369. package/dist/types/src/react/Surface.stories.d.ts.map +0 -1
  370. package/dist/types/src/react/SurfaceInfo.d.ts.map +0 -1
  371. package/dist/types/src/react/common.d.ts.map +0 -1
  372. package/dist/types/src/react/index.d.ts +0 -9
  373. package/dist/types/src/react/index.d.ts.map +0 -1
  374. package/dist/types/src/react/types.d.ts +0 -12
  375. package/dist/types/src/react/types.d.ts.map +0 -1
  376. package/dist/types/src/react/useApp.d.ts.map +0 -1
  377. package/dist/types/src/react/useCapabilities.d.ts.map +0 -1
  378. package/dist/types/src/react/useLoading.d.ts.map +0 -1
  379. package/dist/types/src/react/useOperationResolver.d.ts +0 -19
  380. package/dist/types/src/react/useOperationResolver.d.ts.map +0 -1
  381. package/src/common/activation-event.ts +0 -99
  382. package/src/common/capability.ts +0 -343
  383. package/src/common/collaboration.ts +0 -31
  384. package/src/common/file.ts +0 -22
  385. package/src/common/graph.ts +0 -30
  386. package/src/common/plugin.ts +0 -364
  387. package/src/playground/debug/Debug.tsx +0 -49
  388. package/src/playground/debug/plugin.ts +0 -16
  389. package/src/playground/generator/Main.tsx +0 -80
  390. package/src/playground/generator/Toolbar.tsx +0 -57
  391. package/src/playground/generator/generator.ts +0 -48
  392. package/src/playground/generator/index.ts +0 -6
  393. package/src/playground/generator/plugin.ts +0 -21
  394. package/src/playground/layout/Layout.tsx +0 -37
  395. package/src/playground/layout/plugin.ts +0 -18
  396. package/src/playground/logger/Toolbar.tsx +0 -33
  397. package/src/playground/logger/index.ts +0 -5
  398. package/src/playground/logger/plugin.ts +0 -42
  399. package/src/playground/logger/schema.ts +0 -22
  400. package/src/playground/playground.stories.tsx +0 -54
  401. package/src/plugin-settings/SettingsPlugin.ts +0 -19
  402. package/src/plugin-settings/actions.ts +0 -64
  403. package/src/plugin-settings/app-graph-builder.ts +0 -140
  404. package/src/plugin-settings/index.ts +0 -6
  405. package/src/plugin-settings/meta.ts +0 -10
  406. package/src/plugin-settings/operation-resolver.ts +0 -55
  407. package/src/plugin-settings/translations.ts +0 -19
  408. package/src/react/App.stories.tsx +0 -63
  409. package/src/react/DefaultFallback.tsx +0 -26
  410. package/src/react/ErrorBoundary.tsx +0 -56
  411. package/src/react/index.ts +0 -14
  412. package/src/react/types.ts +0 -27
  413. package/src/react/useOperationResolver.ts +0 -40
  414. /package/dist/lib/{node-esm/react/index.mjs.map → browser/chunk-RFSO3JRG.mjs.map} +0 -0
  415. /package/dist/lib/{node-esm/common/index.mjs.map → browser/common/activation-events.mjs.map} +0 -0
  416. /package/dist/lib/browser/{react/index.mjs.map → common/capabilities.mjs.map} +0 -0
  417. /package/dist/lib/browser/{common/index.mjs.map → core/url-loader.mjs.map} +0 -0
  418. /package/dist/types/src/{react → ui/components/PluginManager}/PluginManagerContext.stories.d.ts +0 -0
  419. /package/dist/types/src/{react → ui/components/Surface}/SurfaceInfo.d.ts +0 -0
  420. /package/dist/types/src/{react → ui/hooks}/useLoading.d.ts +0 -0
  421. /package/src/{react → ui/hooks}/useLoading.tsx +0 -0
@@ -0,0 +1,110 @@
1
+ import type * as Command$ from '@effect/cli/Command';
2
+ import { type Atom, type Registry } from '@effect-atom/atom-react';
3
+ import * as Effect from 'effect/Effect';
4
+ import type * as Layer$ from 'effect/Layer';
5
+ import type * as ManagedRuntime$ from 'effect/ManagedRuntime';
6
+ import type { FC, PropsWithChildren } from 'react';
7
+ import type { OperationInvoker as OperationInvoker$, OperationHandlerSet } from '@dxos/operation';
8
+ import { Capability as Capability$, type PluginManager as PluginManager$ } from '../core';
9
+ import type { HistoryTracker as HistoryTracker$, UndoMapping as UndoMapping$, UndoRegistry as UndoRegistry$ } from '../plugin-operation';
10
+ import type { Surface } from '../ui';
11
+ /**
12
+ * Null capability.
13
+ * @category Capability
14
+ */
15
+ export declare const Null: Capability$.InterfaceDef<null>;
16
+ /**
17
+ * @category Capability
18
+ */
19
+ export declare const PluginManager: Capability$.InterfaceDef<PluginManager$.PluginManager>;
20
+ /**
21
+ * @category Capability
22
+ */
23
+ export declare const AtomRegistry: Capability$.InterfaceDef<Registry.Registry>;
24
+ export type ReactContext = Readonly<{
25
+ id: string;
26
+ dependsOn?: string[];
27
+ context: FC<PropsWithChildren>;
28
+ }>;
29
+ /**
30
+ * @category Capability
31
+ */
32
+ export declare const ReactContext: Capability$.InterfaceDef<Readonly<{
33
+ id: string;
34
+ dependsOn?: string[];
35
+ context: FC<PropsWithChildren>;
36
+ }>>;
37
+ export type ReactRoot = Readonly<{
38
+ id: string;
39
+ root: FC<PropsWithChildren>;
40
+ }>;
41
+ /**
42
+ * @category Capability
43
+ */
44
+ export declare const ReactRoot: Capability$.InterfaceDef<Readonly<{
45
+ id: string;
46
+ root: FC<PropsWithChildren>;
47
+ }>>;
48
+ /**
49
+ * Surface definitions that can be either React components or Web Components.
50
+ */
51
+ export type ReactSurface = Surface.Definition | readonly Surface.Definition[];
52
+ /**
53
+ * @category Capability
54
+ */
55
+ export declare const ReactSurface: Capability$.InterfaceDef<ReactSurface>;
56
+ export type AnyCommand = Command$.Command<any, any, any, any>;
57
+ /**
58
+ * @category Capability
59
+ */
60
+ export declare const Command: Capability$.InterfaceDef<AnyCommand>;
61
+ /**
62
+ * @category Capability
63
+ */
64
+ export declare const Layer: Capability$.InterfaceDef<Layer$.Layer<any, any, any>>;
65
+ export type ManagedRuntime = ManagedRuntime$.ManagedRuntime<any, any>;
66
+ /**
67
+ * @category Capability
68
+ */
69
+ export declare const ManagedRuntime: Capability$.InterfaceDef<ManagedRuntime>;
70
+ export declare const OperationHandler: Capability$.InterfaceDef<OperationHandlerSet.OperationHandlerSet>;
71
+ export type UndoMapping = UndoMapping$.UndoMapping;
72
+ /**
73
+ * Undo mapping registration - contributed by plugins.
74
+ * @category Capability
75
+ */
76
+ export declare const UndoMapping: Capability$.InterfaceDef<UndoMapping[]>;
77
+ export type OperationInvoker = OperationInvoker$.OperationInvoker;
78
+ /**
79
+ * Operation invoker - provided by OperationPlugin.
80
+ * @category Capability
81
+ */
82
+ export declare const OperationInvoker: Capability$.InterfaceDef<OperationInvoker$.OperationInvoker>;
83
+ export type UndoRegistry = UndoRegistry$.UndoRegistry;
84
+ /**
85
+ * Undo registry - provided by OperationPlugin.
86
+ * @category Capability
87
+ */
88
+ export declare const UndoRegistry: Capability$.InterfaceDef<UndoRegistry$.UndoRegistry>;
89
+ export type HistoryTracker = HistoryTracker$.HistoryTracker;
90
+ /**
91
+ * History tracker - provided by OperationPlugin.
92
+ * @category Capability
93
+ */
94
+ export declare const HistoryTracker: Capability$.InterfaceDef<HistoryTracker$.HistoryTracker>;
95
+ /**
96
+ * Get the current value of an atom capability.
97
+ * @example const settings = yield* Capabilities.getAtomValue(ThreadCapabilities.Settings);
98
+ */
99
+ export declare const getAtomValue: <T>(atomCapability: Capability$.InterfaceDef<Atom.Atom<T>>) => Effect.Effect<T, Error, Capability$.Service>;
100
+ /**
101
+ * Update an atom capability value (requires writable atom).
102
+ * @example yield* Capabilities.updateAtomValue(ThreadCapabilities.Settings, (s) => ({ ...s, foo: true }));
103
+ */
104
+ export declare const updateAtomValue: <T>(atomCapability: Capability$.InterfaceDef<Atom.Writable<T>>, fn: (current: T) => T) => Effect.Effect<void, Error, Capability$.Service>;
105
+ /**
106
+ * Subscribe to an atom capability.
107
+ * @example const unsubscribe = yield* Capabilities.subscribeAtom(ThreadCapabilities.Settings, (value) => ...);
108
+ */
109
+ export declare const subscribeAtom: <T>(atomCapability: Capability$.InterfaceDef<Atom.Atom<T>>, callback: (value: T) => void) => Effect.Effect<() => void, Error, Capability$.Service>;
110
+ //# sourceMappingURL=capabilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/common/capabilities.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,KAAK,eAAe,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,gBAAgB,IAAI,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAElG,OAAO,EAAE,UAAU,IAAI,WAAW,EAAE,KAAK,aAAa,IAAI,cAAc,EAAE,MAAM,SAAS,CAAC;AAC1F,OAAO,KAAK,EACV,cAAc,IAAI,eAAe,EACjC,WAAW,IAAI,YAAY,EAC3B,YAAY,IAAI,aAAa,EAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAErC;;;GAGG;AACH,eAAO,MAAM,IAAI,gCAAmE,CAAC;AAErF;;GAEG;AACH,eAAO,MAAM,aAAa,wDAEzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,6CAAyF,CAAC;AAEnH,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,OAAO,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC;CA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AAoF,CAAC;AAE9G,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC,cAAc,CAAC;AAE5D;;;GAGG;AACH,eAAO,MAAM,cAAc,0DAAwF,CAAC;AAMpH;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,CAAC,EAC5B,gBAAgB,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KACrD,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,WAAW,CAAC,OAAO,CAK1C,CAAC;AAEL;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,CAAC,EAC/B,gBAAgB,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAC1D,IAAI,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,KACpB,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,WAAW,CAAC,OAAO,CAK7C,CAAC;AAEL;;;GAGG;AACH,eAAO,MAAM,aAAa,GAAI,CAAC,EAC7B,gBAAgB,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EACtD,UAAU,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,KAC3B,MAAM,CAAC,MAAM,CAAC,MAAM,IAAI,EAAE,KAAK,EAAE,WAAW,CAAC,OAAO,CAKnD,CAAC"}
@@ -1,10 +1,5 @@
1
- export * from './activation-event';
2
- export * from './capability';
3
- export * from './collaboration';
4
- export * from './file';
5
- export * from './graph';
6
- export * from './operations';
7
- export * from './plugin';
8
- export * from './surface';
9
- export * from './translations';
1
+ export * as Capabilities from './capabilities';
2
+ export * as ActivationEvents from './activation-events';
3
+ export { UndoOperation } from './operations';
4
+ export { Label } from './translations';
10
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/index.ts"],"names":[],"mappings":"AAIA,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/common/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,YAAY,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,gBAAgB,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,352 +1,5 @@
1
- import * as Schema from 'effect/Schema';
1
+ import { Operation } from '@dxos/operation';
2
2
  import { Capability } from '../core';
3
- /**
4
- * Layout operations - Operation-based equivalents of LayoutAction intents.
5
- * These mirror the LayoutAction namespace but use the Operation pattern.
6
- */
7
- export declare namespace LayoutOperation {
8
- const UpdateSidebar: Omit<{
9
- readonly meta: {
10
- readonly key: "dxos.org/plugin/layout/operation/update-sidebar";
11
- readonly name: "Update Sidebar";
12
- readonly description: "Update the sidebar state.";
13
- };
14
- readonly executionMode: "sync";
15
- readonly services: readonly [typeof Capability.Service];
16
- readonly schema: {
17
- readonly input: Schema.Struct<{
18
- subject: Schema.optional<Schema.SchemaClass<string, string, never>>;
19
- state: Schema.optional<Schema.Literal<["closed", "collapsed", "expanded"]>>;
20
- }>;
21
- readonly output: typeof Schema.Void;
22
- };
23
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
24
- readonly executionMode: "sync" | "async";
25
- };
26
- const UpdateComplementary: Omit<{
27
- readonly meta: {
28
- readonly key: "dxos.org/plugin/layout/operation/update-complementary";
29
- readonly name: "Update Complementary Sidebar";
30
- readonly description: "Update the complementary sidebar state.";
31
- };
32
- readonly executionMode: "sync";
33
- readonly services: readonly [typeof Capability.Service];
34
- readonly schema: {
35
- readonly input: Schema.Struct<{
36
- subject: Schema.optional<Schema.SchemaClass<string, string, never>>;
37
- state: Schema.optional<Schema.Literal<["closed", "collapsed", "expanded"]>>;
38
- }>;
39
- readonly output: typeof Schema.Void;
40
- };
41
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
42
- readonly executionMode: "sync" | "async";
43
- };
44
- const UpdateDialog: Omit<{
45
- readonly meta: {
46
- readonly key: "dxos.org/plugin/layout/operation/update-dialog";
47
- readonly name: "Update Dialog";
48
- readonly description: "Open, close, or update the dialog.";
49
- };
50
- readonly executionMode: "sync";
51
- readonly services: readonly [typeof Capability.Service];
52
- readonly schema: {
53
- readonly input: Schema.Struct<{
54
- subject: Schema.optional<Schema.SchemaClass<string, string, never>>;
55
- state: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
56
- type: Schema.optional<Schema.Literal<["default", "alert"]>>;
57
- blockAlign: Schema.optional<Schema.Literal<["start", "center", "end"]>>;
58
- overlayClasses: Schema.optional<Schema.SchemaClass<string, string, never>>;
59
- overlayStyle: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
60
- props: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
61
- }>;
62
- readonly output: typeof Schema.Void;
63
- };
64
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
65
- readonly executionMode: "sync" | "async";
66
- };
67
- const UpdatePopover: Omit<{
68
- readonly meta: {
69
- readonly key: "dxos.org/plugin/layout/operation/update-popover";
70
- readonly name: "Update Popover";
71
- readonly description: "Open, close, or update a popover.";
72
- };
73
- readonly executionMode: "sync";
74
- readonly services: readonly [typeof Capability.Service];
75
- readonly schema: {
76
- readonly input: Schema.Union<[Schema.extend<Schema.Union<[Schema.extend<Schema.Struct<{
77
- subject: Schema.optional<Schema.SchemaClass<any, any, never>>;
78
- side: Schema.optional<Schema.Literal<["top", "right", "bottom", "left"]>>;
79
- state: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
80
- props: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
81
- }>, Schema.Struct<{
82
- kind: Schema.optional<Schema.Literal<["base"]>>;
83
- }>>, Schema.extend<Schema.Struct<{
84
- subject: Schema.optional<Schema.SchemaClass<any, any, never>>;
85
- side: Schema.optional<Schema.Literal<["top", "right", "bottom", "left"]>>;
86
- state: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
87
- props: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
88
- }>, Schema.Struct<{
89
- kind: Schema.Literal<["card"]>;
90
- title: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
91
- ns: typeof Schema.String;
92
- count: Schema.optional<typeof Schema.Number>;
93
- defaultValue: Schema.optional<typeof Schema.String>;
94
- }>>>>]>>;
95
- }>>]>, Schema.Struct<{
96
- variant: Schema.Literal<["virtual"]>;
97
- anchor: Schema.SchemaClass<any, any, never>;
98
- }>>, Schema.extend<Schema.Union<[Schema.extend<Schema.Struct<{
99
- subject: Schema.optional<Schema.SchemaClass<any, any, never>>;
100
- side: Schema.optional<Schema.Literal<["top", "right", "bottom", "left"]>>;
101
- state: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
102
- props: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
103
- }>, Schema.Struct<{
104
- kind: Schema.optional<Schema.Literal<["base"]>>;
105
- }>>, Schema.extend<Schema.Struct<{
106
- subject: Schema.optional<Schema.SchemaClass<any, any, never>>;
107
- side: Schema.optional<Schema.Literal<["top", "right", "bottom", "left"]>>;
108
- state: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
109
- props: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
110
- }>, Schema.Struct<{
111
- kind: Schema.Literal<["card"]>;
112
- title: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
113
- ns: typeof Schema.String;
114
- count: Schema.optional<typeof Schema.Number>;
115
- defaultValue: Schema.optional<typeof Schema.String>;
116
- }>>>>]>>;
117
- }>>]>, Schema.Struct<{
118
- variant: Schema.optional<Schema.Literal<["react"]>>;
119
- anchorId: Schema.SchemaClass<string, string, never>;
120
- }>>]>;
121
- readonly output: typeof Schema.Void;
122
- };
123
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
124
- readonly executionMode: "sync" | "async";
125
- };
126
- const Toast: Schema.Struct<{
127
- id: Schema.SchemaClass<string, string, never>;
128
- title: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
129
- ns: typeof Schema.String;
130
- count: Schema.optional<typeof Schema.Number>;
131
- defaultValue: Schema.optional<typeof Schema.String>;
132
- }>>>>]>>;
133
- description: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
134
- ns: typeof Schema.String;
135
- count: Schema.optional<typeof Schema.Number>;
136
- defaultValue: Schema.optional<typeof Schema.String>;
137
- }>>>>]>>;
138
- icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
139
- duration: Schema.optional<Schema.SchemaClass<number, number, never>>;
140
- closeLabel: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
141
- ns: typeof Schema.String;
142
- count: Schema.optional<typeof Schema.Number>;
143
- defaultValue: Schema.optional<typeof Schema.String>;
144
- }>>>>]>>;
145
- actionLabel: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
146
- ns: typeof Schema.String;
147
- count: Schema.optional<typeof Schema.Number>;
148
- defaultValue: Schema.optional<typeof Schema.String>;
149
- }>>>>]>>;
150
- actionAlt: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
151
- ns: typeof Schema.String;
152
- count: Schema.optional<typeof Schema.Number>;
153
- defaultValue: Schema.optional<typeof Schema.String>;
154
- }>>>>]>>;
155
- onAction: Schema.optional<Schema.SchemaClass<any, any, never>>;
156
- }>;
157
- interface Toast extends Omit<Schema.Schema.Type<typeof Toast>, 'onAction'> {
158
- onAction?: () => void;
159
- }
160
- const AddToast: Omit<{
161
- readonly meta: {
162
- readonly key: "dxos.org/plugin/layout/operation/add-toast";
163
- readonly name: "Add Toast";
164
- readonly description: "Add a toast notification.";
165
- };
166
- readonly executionMode: "sync";
167
- readonly services: readonly [typeof Capability.Service];
168
- readonly schema: {
169
- readonly input: Schema.Struct<{
170
- id: Schema.SchemaClass<string, string, never>;
171
- title: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
172
- ns: typeof Schema.String;
173
- count: Schema.optional<typeof Schema.Number>;
174
- defaultValue: Schema.optional<typeof Schema.String>;
175
- }>>>>]>>;
176
- description: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
177
- ns: typeof Schema.String;
178
- count: Schema.optional<typeof Schema.Number>;
179
- defaultValue: Schema.optional<typeof Schema.String>;
180
- }>>>>]>>;
181
- icon: Schema.optional<Schema.SchemaClass<string, string, never>>;
182
- duration: Schema.optional<Schema.SchemaClass<number, number, never>>;
183
- closeLabel: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
184
- ns: typeof Schema.String;
185
- count: Schema.optional<typeof Schema.Number>;
186
- defaultValue: Schema.optional<typeof Schema.String>;
187
- }>>>>]>>;
188
- actionLabel: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
189
- ns: typeof Schema.String;
190
- count: Schema.optional<typeof Schema.Number>;
191
- defaultValue: Schema.optional<typeof Schema.String>;
192
- }>>>>]>>;
193
- actionAlt: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
194
- ns: typeof Schema.String;
195
- count: Schema.optional<typeof Schema.Number>;
196
- defaultValue: Schema.optional<typeof Schema.String>;
197
- }>>>>]>>;
198
- onAction: Schema.optional<Schema.SchemaClass<any, any, never>>;
199
- }>;
200
- readonly output: typeof Schema.Void;
201
- };
202
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
203
- readonly executionMode: "sync" | "async";
204
- };
205
- const SetLayoutMode: Omit<{
206
- readonly meta: {
207
- readonly key: "dxos.org/plugin/layout/operation/set-layout-mode";
208
- readonly name: "Set Layout Mode";
209
- readonly description: "Set the layout mode (solo, deck, fullscreen, etc.).";
210
- };
211
- readonly executionMode: "sync";
212
- readonly services: readonly [typeof Capability.Service];
213
- readonly schema: {
214
- readonly input: Schema.Union<[Schema.Struct<{
215
- subject: Schema.optional<Schema.SchemaClass<string, string, never>>;
216
- mode: Schema.SchemaClass<string, string, never>;
217
- }>, Schema.Struct<{
218
- revert: Schema.SchemaClass<boolean, boolean, never>;
219
- }>]>;
220
- readonly output: typeof Schema.Void;
221
- };
222
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
223
- readonly executionMode: "sync" | "async";
224
- };
225
- const SwitchWorkspace: Omit<{
226
- readonly meta: {
227
- readonly key: "dxos.org/plugin/layout/operation/switch-workspace";
228
- readonly name: "Switch Workspace";
229
- readonly description: "Switch to a different workspace.";
230
- };
231
- readonly executionMode: "sync";
232
- readonly services: readonly [typeof Capability.Service];
233
- readonly schema: {
234
- readonly input: Schema.Struct<{
235
- subject: Schema.SchemaClass<string, string, never>;
236
- }>;
237
- readonly output: typeof Schema.Void;
238
- };
239
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
240
- readonly executionMode: "sync" | "async";
241
- };
242
- const RevertWorkspace: Omit<{
243
- readonly meta: {
244
- readonly key: "dxos.org/plugin/layout/operation/revert-workspace";
245
- readonly name: "Revert Workspace";
246
- readonly description: "Revert to the previous workspace.";
247
- };
248
- readonly executionMode: "sync";
249
- readonly services: readonly [typeof Capability.Service];
250
- readonly schema: {
251
- readonly input: typeof Schema.Void;
252
- readonly output: typeof Schema.Void;
253
- };
254
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
255
- readonly executionMode: "sync" | "async";
256
- };
257
- const Open: Omit<{
258
- readonly meta: {
259
- readonly key: "dxos.org/plugin/layout/operation/open";
260
- readonly name: "Open";
261
- readonly description: "Open items in the main content area.";
262
- };
263
- readonly executionMode: "sync";
264
- readonly services: readonly [typeof Capability.Service];
265
- readonly schema: {
266
- readonly input: Schema.Struct<{
267
- subject: Schema.Array$<Schema.SchemaClass<string, string, never>>;
268
- state: Schema.optional<Schema.Literal<[true]>>;
269
- variant: Schema.optional<Schema.SchemaClass<string, string, never>>;
270
- key: Schema.optional<Schema.SchemaClass<string, string, never>>;
271
- workspace: Schema.optional<Schema.SchemaClass<string, string, never>>;
272
- scrollIntoView: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
273
- pivotId: Schema.optional<Schema.SchemaClass<string, string, never>>;
274
- positioning: Schema.optional<Schema.Union<[Schema.Literal<["start"]>, Schema.Literal<["end"]>]>>;
275
- }>;
276
- readonly output: typeof Schema.Void;
277
- };
278
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
279
- readonly executionMode: "sync" | "async";
280
- };
281
- const Close: Omit<{
282
- readonly meta: {
283
- readonly key: "dxos.org/plugin/layout/operation/close";
284
- readonly name: "Close";
285
- readonly description: "Close items in the main content area.";
286
- };
287
- readonly executionMode: "sync";
288
- readonly services: readonly [typeof Capability.Service];
289
- readonly schema: {
290
- readonly input: Schema.Struct<{
291
- subject: Schema.Array$<Schema.SchemaClass<string, string, never>>;
292
- }>;
293
- readonly output: typeof Schema.Void;
294
- };
295
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
296
- readonly executionMode: "sync" | "async";
297
- };
298
- const Set: Omit<{
299
- readonly meta: {
300
- readonly key: "dxos.org/plugin/layout/operation/set";
301
- readonly name: "Set";
302
- readonly description: "Override items in the main content area.";
303
- };
304
- readonly executionMode: "sync";
305
- readonly services: readonly [typeof Capability.Service];
306
- readonly schema: {
307
- readonly input: Schema.Struct<{
308
- subject: Schema.Array$<Schema.SchemaClass<string, string, never>>;
309
- }>;
310
- readonly output: typeof Schema.Void;
311
- };
312
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
313
- readonly executionMode: "sync" | "async";
314
- };
315
- const ScrollIntoView: Omit<{
316
- readonly meta: {
317
- readonly key: "dxos.org/plugin/layout/operation/scroll-into-view";
318
- readonly name: "Scroll Into View";
319
- readonly description: "Scroll an item into view.";
320
- };
321
- readonly services: readonly [typeof Capability.Service];
322
- readonly schema: {
323
- readonly input: Schema.Struct<{
324
- subject: Schema.optional<Schema.SchemaClass<string, string, never>>;
325
- cursor: Schema.optional<Schema.SchemaClass<string, string, never>>;
326
- ref: Schema.optional<Schema.SchemaClass<string, string, never>>;
327
- }>;
328
- readonly output: typeof Schema.Void;
329
- };
330
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
331
- readonly executionMode: "sync" | "async";
332
- };
333
- const Expose: Omit<{
334
- readonly meta: {
335
- readonly key: "dxos.org/plugin/layout/operation/expose";
336
- readonly name: "Expose";
337
- readonly description: "Expose an item in the navigation area.";
338
- };
339
- readonly services: readonly [typeof Capability.Service];
340
- readonly schema: {
341
- readonly input: Schema.Struct<{
342
- subject: Schema.SchemaClass<string, string, never>;
343
- }>;
344
- readonly output: typeof Schema.Void;
345
- };
346
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
347
- readonly executionMode: "sync" | "async";
348
- };
349
- }
350
3
  /**
351
4
  * Operations related to undo/history functionality.
352
5
  */
@@ -355,26 +8,12 @@ export declare namespace UndoOperation {
355
8
  * Show an undo toast notification.
356
9
  * Fired by HistoryTracker when an undoable operation is tracked.
357
10
  */
358
- const ShowUndo: Omit<{
359
- readonly meta: {
360
- readonly key: "dxos.org/app-framework/undo/operation/show-undo";
361
- readonly name: "Show Undo";
362
- readonly description: "Show an undo toast notification.";
363
- };
364
- readonly executionMode: "sync";
365
- readonly services: readonly [typeof Capability.Service];
366
- readonly schema: {
367
- readonly input: Schema.Struct<{
368
- message: Schema.optional<Schema.Union<[typeof Schema.String, Schema.mutable<Schema.Tuple2<typeof Schema.String, Schema.mutable<Schema.Struct<{
369
- ns: typeof Schema.String;
370
- count: Schema.optional<typeof Schema.Number>;
371
- defaultValue: Schema.optional<typeof Schema.String>;
372
- }>>>>]>>;
373
- }>;
374
- readonly output: typeof Schema.Void;
375
- };
376
- }, "executionMode"> & import("effect/Pipeable").Pipeable & {
377
- readonly executionMode: "sync" | "async";
378
- };
11
+ const ShowUndo: Operation.Definition<{
12
+ readonly message?: string | [string, {
13
+ ns: string;
14
+ count?: number | undefined;
15
+ defaultValue?: string | undefined;
16
+ }] | undefined;
17
+ }, void, Capability.Service>;
379
18
  }
380
19
  //# sourceMappingURL=operations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/common/operations.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAMrC;;;GAGG;AACH,yBAAiB,eAAe,CAAC;IAKxB,MAAM,aAAa;;;;;;;;;;;;;;;;;KAqBxB,CAAC;IAEI,MAAM,mBAAmB;;;;;;;;;;;;;;;;;KAqB9B,CAAC;IAMI,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;KAkCvB,CAAC;IAyCI,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA+BxB,CAAC;IAMI,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYhB,CAAC;IAEH,UAAiB,KAAM,SAAQ,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC,EAAE,UAAU,CAAC;QAC/E,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;KACvB;IAEM,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAYnB,CAAC;IAMI,MAAM,aAAa;;;;;;;;;;;;;;;;;;;KAsBxB,CAAC;IAMI,MAAM,eAAe;;;;;;;;;;;;;;;;KAc1B,CAAC;IAEI,MAAM,eAAe;;;;;;;;;;;;;;KAY1B,CAAC;IAMI,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;KAgCf,CAAC;IAEI,MAAM,KAAK;;;;;;;;;;;;;;;;KAchB,CAAC;IAEI,MAAM,GAAG;;;;;;;;;;;;;;;;KAcd,CAAC;IAMI,MAAM,cAAc;;;;;;;;;;;;;;;;;KAezB,CAAC;IAEI,MAAM,MAAM;;;;;;;;;;;;;;;KAajB,CAAC;CACJ;AAID;;GAEG;AACH,yBAAiB,aAAa,CAAC;IAC7B;;;OAGG;IACI,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;KAcnB,CAAC;CACJ"}
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../../src/common/operations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAMrC;;GAEG;AACH,yBAAiB,aAAa,CAAC;IAC7B;;;OAGG;IACI,MAAM,QAAQ;;;;;;gCAYnB,CAAC;CACJ"}
@@ -8,13 +8,4 @@ export declare const Label: Schema.Union<[typeof Schema.String, Schema.mutable<S
8
8
  defaultValue: Schema.optional<typeof Schema.String>;
9
9
  }>>>>]>;
10
10
  export type Label = Schema.Schema.Type<typeof Label>;
11
- export declare const ResourceKey: Schema.Union<[typeof Schema.String, Schema.Record$<typeof Schema.String, typeof Schema.Any>]>;
12
- export type ResourceKey = Schema.Schema.Type<typeof ResourceKey>;
13
- export declare const ResourceLanguage: Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, Schema.Record$<typeof Schema.String, typeof Schema.Any>]>>;
14
- export type ResourceLanguage = Schema.Schema.Type<typeof ResourceLanguage>;
15
- /**
16
- * A resource is a collection of translations for a language.
17
- */
18
- export declare const Resource: Schema.Record$<typeof Schema.String, Schema.Record$<typeof Schema.String, Schema.Union<[typeof Schema.String, Schema.Record$<typeof Schema.String, typeof Schema.Any>]>>>;
19
- export type Resource = Schema.Schema.Type<typeof Resource>;
20
11
  //# sourceMappingURL=translations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../../src/common/translations.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC;;GAEG;AACH,eAAO,MAAM,KAAK;;;;OAcjB,CAAC;AACF,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC,CAAC;AAErD,eAAO,MAAM,WAAW,+FAAwF,CAAC;AACjH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAEjE,eAAO,MAAM,gBAAgB,qIAA4D,CAAC;AAC1F,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE3E;;GAEG;AACH,eAAO,MAAM,QAAQ,2KAAiE,CAAC;AACvF,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../../src/common/translations.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC;;GAEG;AACH,eAAO,MAAM,KAAK;;;;OAcjB,CAAC;AACF,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * A unique string identifier representing an event.
3
3
  * This is expected to be a URI, where initial parts are often the id of the plugin whose package defines the event.
4
4
  *
5
- * @example dxos.org/plugin/example/event/ready
5
+ * @example org.dxos.plugin.example.event.ready
6
6
  */
7
7
  export type ActivationEvent = {
8
8
  id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"activation-event.d.ts","sourceRoot":"","sources":["../../../../src/core/activation-event.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,MAAM,GACd,eAAe,GACf;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,eAAe,EAAE,CAAA;CAAE,GAC7C;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,eAAe,EAAE,CAAA;CAAE,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,IAAI,GAAI,IAAI,MAAM,EAAE,YAAY,MAAM,KACrB,eAC7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,OAAO,eAAe,WAAoE,CAAC;AAEpH;;GAEG;AACH,eAAO,MAAM,KAAK,GAAI,GAAG,QAAQ,eAAe,EAAE;;;CAA0C,CAAC;AAE7F;;GAEG;AACH,eAAO,MAAM,KAAK,GAAI,GAAG,QAAQ,eAAe,EAAE;;;CAA0C,CAAC;AAE7F;;GAEG;AACH,eAAO,MAA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AA;CAChD,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,OAAO,GAAI,QAAQ,MAAM,KAAG,MAAM,IAAI;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,eAAe,EAAE,CAAA;CAChD,CAAC;AAE/C;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,QAAQ,MAAM,sBAAkD,CAAC"}
@@ -83,13 +83,13 @@ export type ModuleReturn = void | Any | Any[] | readonly Any[] | [Any, ...Any[]]
83
83
  */
84
84
  export declare const contributes: <I extends InterfaceDef<any>>(interfaceDef: I, implementation: Capability<InterfaceDef.Implementation<I>>["implementation"], deactivate?: Capability<InterfaceDef.Implementation<I>>["deactivate"]) => Capability<I>;
85
85
  type LoadCapability<Props, Capabilities extends ModuleReturn = ModuleReturn> = () => Promise<{
86
- default: (props?: Props) => Effect.Effect<Capabilities, Error, Service | Plugin.Service | never>;
86
+ default: (props: Props) => Effect.Effect<Capabilities, Error, Service | Plugin.Service | never>;
87
87
  }>;
88
88
  type LoadCapabilities<Props, Capabilities extends ModuleReturn = ModuleReturn> = () => Promise<{
89
- default: (props?: Props) => Effect.Effect<Capabilities, Error, Service | Plugin.Service | never>;
89
+ default: (props: Props) => Effect.Effect<Capabilities, Error, Service | Plugin.Service | never>;
90
90
  }>;
91
91
  type NormalizeReturn<R> = R extends readonly (infer A)[] ? A[] : R extends (infer A)[] ? A[] : R extends Any ? [R] : Any[];
92
- export type LazyCapability<Props = void, Capabilities extends ModuleReturn = ModuleReturn, E extends Error = Error> = (props?: Props) => Effect.Effect<NormalizeReturn<Capabilities>, E, Service | Plugin.Service | never>;
92
+ export type LazyCapability<Props = void, Capabilities extends ModuleReturn = ModuleReturn, E extends Error = Error> = (props: Props) => Effect.Effect<NormalizeReturn<Capabilities>, E, Service | Plugin.Service | never>;
93
93
  /**
94
94
  * Helper to define a lazily loaded implementation of a capability.
95
95
  * Supports single capabilities, arrays, and tuples of different capability types.
@@ -136,15 +136,15 @@ export declare const getModuleTag: (capability: unknown) => string | undefined;
136
136
  * })
137
137
  * );
138
138
  *
139
- * // Module with additional options (context accessed via layer)
139
+ * // Module with required options (context accessed via layer)
140
140
  * export default Capability.makeModule(
141
- * Effect.fnUntraced(function* ({ observability }: { observability?: boolean }) {
142
- * const invoker = yield* Capability.get(Common.Capability.OperationInvoker);
141
+ * Effect.fnUntraced(function* (props: { observability: boolean }) {
142
+ * const invoker = yield* Capability.get(Capabilities.OperationInvoker);
143
143
  * return contributes(Capabilities.IntentResolver, ...);
144
144
  * })
145
145
  * );
146
146
  * ```
147
147
  */
148
- export declare const makeModule: <TProps = void, TReturn extends ModuleReturn = ModuleReturn, E extends Error = Error, R extends Service | Plugin.Service | never = Service>(fn: (props?: TProps) => Effect.Effect<TReturn, E, R>) => ((props?: TProps) => Effect.Effect<TReturn, E, R>);
148
+ export declare const makeModule: <TProps = void, TReturn extends ModuleReturn = ModuleReturn, E extends Error = Error, R extends Service | Plugin.Service | never = Service>(fn: (props: TProps) => Effect.Effect<TReturn, E, R>) => ((props: TProps) => Effect.Effect<TReturn, E, R>);
149
149
  export {};
150
150
  //# sourceMappingURL=capability.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"capability.d.ts","sourceRoot":"","sources":["../../../../src/core/capability.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,KAAK,KAAK,iBAAiB,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,KAAK,MAAM,MAAM,UAAU,CAAC;;AAMxC;;;GAGG;AACH,qBAAa,OAAQ,SAAQ,YAG1B;CAAG;AAEN;;;;;GAKG;AAGH,eAAO,MAAM,GAAG,GAAI,CAAC,EAAE,cAAc,YAAY,CAAC,CAAC,CAAC,KAAG,MAAM,CAAC,MAAM,CAAC,CAAC,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;GAMG;AACH,eAAO,MAAM,IAAI,GAAI,CAAC,GAAG,IAAI,EAAE,CAAC,SAAS,YAAY,GAAG,YAAY,EAClE,MAAM,MAAM,EACZ,GAAG,cAAc,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,gBAAgB,CAAC,CAAC,EAAE,CAAC,CAAC,KAC/C,cAAc,CAAC,CAAC,EAAE,CAAC,CAUrB,CAAC;AAEF;;;;GAIG;AAEH,eAAO,MAAM,YAAY,GAAI,YAAY,OAAO,KAAG,MAAM,GAAG,SAI3D,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,eAAO,MAAM,UAAU,GACrB,MAAM,GAAG,IAAI,EACb,OAAO,SAAS,YAAY,GAAG,YAAY,EAC3C,CAAC,SAAS,KAAK,GAAG,KAAK,EACvB,CAAC,SAAS,OAAO,GAAG,MAAM,CAAC,OAAO,GAAG,KAAK,GAAG,OAAO,EAEpD,IAAI,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,KAClD,CAAC,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,CAAO,CAAC"}
@@ -3,4 +3,5 @@ export * as Capability from './capability';
3
3
  export * as CapabilityManager from './capability-manager';
4
4
  export * as Plugin from './plugin';
5
5
  export * as PluginManager from './plugin-manager';
6
+ export * as UrlLoader from './url-loader';
6
7
  //# sourceMappingURL=index.d.ts.map