@dxos/plugin-registry 0.8.4-main.3eb6e50203 → 0.8.4-main.3fbcb4aa9b

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 (242) hide show
  1. package/dist/lib/neutral/RegistryPlugin.mjs +27 -0
  2. package/dist/lib/neutral/RegistryPlugin.mjs.map +7 -0
  3. package/dist/lib/{browser/cli/index.mjs → neutral/RegistryPlugin.node.mjs} +28 -99
  4. package/dist/lib/neutral/RegistryPlugin.node.mjs.map +7 -0
  5. package/dist/lib/neutral/chunk-XK2JMH3H.mjs +33 -0
  6. package/dist/lib/neutral/chunk-XK2JMH3H.mjs.map +7 -0
  7. package/dist/lib/neutral/chunk-YV7A523U.mjs +29 -0
  8. package/dist/lib/neutral/chunk-YV7A523U.mjs.map +7 -0
  9. package/dist/lib/neutral/index.mjs +21 -0
  10. package/dist/lib/neutral/index.mjs.map +7 -0
  11. package/dist/lib/neutral/meta.json +1 -0
  12. package/dist/lib/neutral/open-plugin-registry-II735N76.mjs +15 -0
  13. package/dist/lib/neutral/open-plugin-registry-II735N76.mjs.map +7 -0
  14. package/dist/lib/neutral/plugin.mjs +18 -0
  15. package/dist/lib/neutral/plugin.mjs.map +7 -0
  16. package/dist/lib/neutral/translations.mjs +61 -0
  17. package/dist/lib/neutral/translations.mjs.map +7 -0
  18. package/dist/types/src/RegistryPlugin.d.ts +1 -0
  19. package/dist/types/src/RegistryPlugin.d.ts.map +1 -1
  20. package/dist/types/src/{cli/plugin.d.ts → RegistryPlugin.node.d.ts} +2 -1
  21. package/dist/types/src/RegistryPlugin.node.d.ts.map +1 -0
  22. package/dist/types/src/RegistryPlugin.test.d.ts +2 -0
  23. package/dist/types/src/RegistryPlugin.test.d.ts.map +1 -0
  24. package/dist/types/src/capabilities/app-graph-builder.d.ts +6 -0
  25. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
  26. package/dist/types/src/capabilities/dev-plugin-loader.d.ts +11 -0
  27. package/dist/types/src/capabilities/dev-plugin-loader.d.ts.map +1 -0
  28. package/dist/types/src/capabilities/index.d.ts +15 -3
  29. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  30. package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
  31. package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
  32. package/dist/types/src/capabilities/react-surface.d.ts +5 -0
  33. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
  34. package/dist/types/src/capabilities/settings.d.ts +14 -0
  35. package/dist/types/src/capabilities/settings.d.ts.map +1 -0
  36. package/dist/types/src/{cli/commands → commands}/disable.d.ts +2 -2
  37. package/dist/types/src/commands/disable.d.ts.map +1 -0
  38. package/dist/types/src/{cli/commands → commands}/enable.d.ts +2 -2
  39. package/dist/types/src/commands/enable.d.ts.map +1 -0
  40. package/dist/types/src/commands/index.d.ts.map +1 -0
  41. package/dist/types/src/commands/list.d.ts +7 -0
  42. package/dist/types/src/commands/list.d.ts.map +1 -0
  43. package/dist/types/src/commands/util.d.ts.map +1 -0
  44. package/dist/types/src/components/PluginDetail/PluginDetail.d.ts +46 -0
  45. package/dist/types/src/components/PluginDetail/PluginDetail.d.ts.map +1 -0
  46. package/dist/types/src/components/PluginDetail/PluginDetail.stories.d.ts +68 -0
  47. package/dist/types/src/components/PluginDetail/PluginDetail.stories.d.ts.map +1 -0
  48. package/dist/types/src/components/PluginDetail/index.d.ts +2 -0
  49. package/dist/types/src/components/PluginDetail/index.d.ts.map +1 -0
  50. package/dist/types/src/components/PluginFailureBadge/PluginFailureBadge.d.ts +20 -0
  51. package/dist/types/src/components/PluginFailureBadge/PluginFailureBadge.d.ts.map +1 -0
  52. package/dist/types/src/components/PluginFailureBadge/index.d.ts +2 -0
  53. package/dist/types/src/components/PluginFailureBadge/index.d.ts.map +1 -0
  54. package/dist/types/src/components/PluginList/PluginItem.d.ts +40 -0
  55. package/dist/types/src/components/PluginList/PluginItem.d.ts.map +1 -0
  56. package/dist/types/src/components/PluginList/PluginList.d.ts +23 -0
  57. package/dist/types/src/components/PluginList/PluginList.d.ts.map +1 -0
  58. package/dist/types/src/components/PluginList/PluginList.stories.d.ts +67 -0
  59. package/dist/types/src/components/PluginList/PluginList.stories.d.ts.map +1 -0
  60. package/dist/types/src/components/PluginList/index.d.ts +2 -0
  61. package/dist/types/src/components/PluginList/index.d.ts.map +1 -0
  62. package/dist/types/src/components/RegistrySettings/RegistrySettings.d.ts +18 -0
  63. package/dist/types/src/components/RegistrySettings/RegistrySettings.d.ts.map +1 -0
  64. package/dist/types/src/components/RegistrySettings/index.d.ts +2 -0
  65. package/dist/types/src/components/RegistrySettings/index.d.ts.map +1 -0
  66. package/dist/types/src/components/index.d.ts +2 -1
  67. package/dist/types/src/components/index.d.ts.map +1 -1
  68. package/dist/types/src/containers/BaseRegistryArticle/BaseRegistryArticle.d.ts +20 -0
  69. package/dist/types/src/containers/BaseRegistryArticle/BaseRegistryArticle.d.ts.map +1 -0
  70. package/dist/types/src/containers/BaseRegistryArticle/index.d.ts +2 -0
  71. package/dist/types/src/containers/BaseRegistryArticle/index.d.ts.map +1 -0
  72. package/dist/types/src/containers/LoadPluginDialog/LoadPluginDialog.d.ts +4 -0
  73. package/dist/types/src/containers/LoadPluginDialog/LoadPluginDialog.d.ts.map +1 -0
  74. package/dist/types/src/containers/LoadPluginDialog/index.d.ts +2 -0
  75. package/dist/types/src/containers/LoadPluginDialog/index.d.ts.map +1 -0
  76. package/dist/types/src/containers/PluginArticle/PluginArticle.d.ts +7 -0
  77. package/dist/types/src/containers/PluginArticle/PluginArticle.d.ts.map +1 -0
  78. package/dist/types/src/containers/PluginArticle/index.d.ts +2 -0
  79. package/dist/types/src/containers/PluginArticle/index.d.ts.map +1 -0
  80. package/dist/types/src/containers/PublicRegistryArticle/PublicRegistryArticle.d.ts +8 -0
  81. package/dist/types/src/containers/PublicRegistryArticle/PublicRegistryArticle.d.ts.map +1 -0
  82. package/dist/types/src/containers/PublicRegistryArticle/index.d.ts +2 -0
  83. package/dist/types/src/containers/PublicRegistryArticle/index.d.ts.map +1 -0
  84. package/dist/types/src/containers/RegistryArticle/RegistryArticle.d.ts +14 -0
  85. package/dist/types/src/containers/RegistryArticle/RegistryArticle.d.ts.map +1 -0
  86. package/dist/types/src/containers/RegistryArticle/index.d.ts +2 -0
  87. package/dist/types/src/containers/RegistryArticle/index.d.ts.map +1 -0
  88. package/dist/types/src/containers/RegistrySettingsContainer/RegistrySettingsContainer.d.ts +13 -0
  89. package/dist/types/src/containers/RegistrySettingsContainer/RegistrySettingsContainer.d.ts.map +1 -0
  90. package/dist/types/src/containers/RegistrySettingsContainer/index.d.ts +2 -0
  91. package/dist/types/src/containers/RegistrySettingsContainer/index.d.ts.map +1 -0
  92. package/dist/types/src/containers/index.d.ts +8 -0
  93. package/dist/types/src/containers/index.d.ts.map +1 -0
  94. package/dist/types/src/hooks/index.d.ts +4 -0
  95. package/dist/types/src/hooks/index.d.ts.map +1 -0
  96. package/dist/types/src/hooks/use-auto-tags.d.ts +20 -0
  97. package/dist/types/src/hooks/use-auto-tags.d.ts.map +1 -0
  98. package/dist/types/src/hooks/use-registry-plugins.d.ts +15 -0
  99. package/dist/types/src/hooks/use-registry-plugins.d.ts.map +1 -0
  100. package/dist/types/src/hooks/use-update-available.d.ts +18 -0
  101. package/dist/types/src/hooks/use-update-available.d.ts.map +1 -0
  102. package/dist/types/src/index.d.ts +1 -1
  103. package/dist/types/src/index.d.ts.map +1 -1
  104. package/dist/types/src/meta.d.ts +5 -1
  105. package/dist/types/src/meta.d.ts.map +1 -1
  106. package/dist/types/src/operations/index.d.ts +3 -0
  107. package/dist/types/src/operations/index.d.ts.map +1 -0
  108. package/dist/types/src/operations/open-plugin-registry.d.ts +5 -0
  109. package/dist/types/src/operations/open-plugin-registry.d.ts.map +1 -0
  110. package/dist/types/src/plugin.d.ts +4 -0
  111. package/dist/types/src/plugin.d.ts.map +1 -0
  112. package/dist/types/src/{cli/storage.d.ts → storage.d.ts} +4 -4
  113. package/dist/types/src/storage.d.ts.map +1 -0
  114. package/dist/types/src/translations.d.ts +48 -16
  115. package/dist/types/src/translations.d.ts.map +1 -1
  116. package/dist/types/src/types.d.ts +30 -1
  117. package/dist/types/src/types.d.ts.map +1 -1
  118. package/dist/types/tsconfig.tsbuildinfo +1 -1
  119. package/package.json +57 -35
  120. package/src/{cli/plugin.ts → RegistryPlugin.node.ts} +3 -1
  121. package/src/RegistryPlugin.test.ts +24 -0
  122. package/src/RegistryPlugin.tsx +13 -5
  123. package/src/capabilities/app-graph-builder.ts +200 -0
  124. package/src/capabilities/dev-plugin-loader.ts +39 -0
  125. package/src/capabilities/index.ts +11 -3
  126. package/src/capabilities/operation-handler.ts +16 -0
  127. package/src/capabilities/react-surface.tsx +136 -0
  128. package/src/capabilities/settings.ts +34 -0
  129. package/src/components/{PluginDetail.stories.tsx → PluginDetail/PluginDetail.stories.tsx} +5 -5
  130. package/src/components/PluginDetail/PluginDetail.tsx +196 -0
  131. package/src/components/PluginDetail/index.ts +5 -0
  132. package/src/components/PluginFailureBadge/PluginFailureBadge.tsx +68 -0
  133. package/src/components/PluginFailureBadge/index.ts +5 -0
  134. package/src/components/PluginList/PluginItem.tsx +226 -0
  135. package/src/components/{PluginList.stories.tsx → PluginList/PluginList.stories.tsx} +18 -15
  136. package/src/components/PluginList/PluginList.tsx +52 -0
  137. package/src/components/PluginList/index.ts +5 -0
  138. package/src/components/RegistrySettings/RegistrySettings.tsx +120 -0
  139. package/src/components/RegistrySettings/index.ts +5 -0
  140. package/src/components/index.ts +2 -1
  141. package/src/containers/BaseRegistryArticle/BaseRegistryArticle.tsx +163 -0
  142. package/src/containers/BaseRegistryArticle/index.ts +5 -0
  143. package/src/containers/LoadPluginDialog/LoadPluginDialog.tsx +87 -0
  144. package/src/containers/LoadPluginDialog/index.ts +5 -0
  145. package/src/containers/PluginArticle/PluginArticle.tsx +336 -0
  146. package/src/containers/PluginArticle/index.ts +5 -0
  147. package/src/containers/PublicRegistryArticle/PublicRegistryArticle.tsx +192 -0
  148. package/src/containers/PublicRegistryArticle/index.ts +5 -0
  149. package/src/containers/RegistryArticle/RegistryArticle.tsx +53 -0
  150. package/src/containers/RegistryArticle/index.ts +5 -0
  151. package/src/containers/RegistrySettingsContainer/RegistrySettingsContainer.tsx +59 -0
  152. package/src/containers/RegistrySettingsContainer/index.ts +5 -0
  153. package/src/containers/index.ts +12 -0
  154. package/src/hooks/index.ts +7 -0
  155. package/src/hooks/use-auto-tags.ts +51 -0
  156. package/src/hooks/use-registry-plugins.ts +29 -0
  157. package/src/hooks/use-update-available.ts +31 -0
  158. package/src/index.ts +1 -1
  159. package/src/meta.ts +14 -5
  160. package/src/operations/index.ts +7 -0
  161. package/src/operations/open-plugin-registry.ts +21 -0
  162. package/src/plugin.ts +11 -0
  163. package/src/{cli/storage.ts → storage.ts} +14 -21
  164. package/src/translations.ts +52 -15
  165. package/src/types.ts +33 -1
  166. package/dist/lib/browser/app-graph-builder-YOD5EGAY.mjs +0 -167
  167. package/dist/lib/browser/app-graph-builder-YOD5EGAY.mjs.map +0 -7
  168. package/dist/lib/browser/chunk-VOAOTNGS.mjs +0 -19
  169. package/dist/lib/browser/chunk-VOAOTNGS.mjs.map +0 -7
  170. package/dist/lib/browser/cli/index.mjs.map +0 -7
  171. package/dist/lib/browser/index.mjs +0 -63
  172. package/dist/lib/browser/index.mjs.map +0 -7
  173. package/dist/lib/browser/meta.json +0 -1
  174. package/dist/lib/browser/operation-resolver-7P3NNVSR.mjs +0 -25
  175. package/dist/lib/browser/operation-resolver-7P3NNVSR.mjs.map +0 -7
  176. package/dist/lib/browser/react-surface-IEGOKKMX.mjs +0 -337
  177. package/dist/lib/browser/react-surface-IEGOKKMX.mjs.map +0 -7
  178. package/dist/lib/node-esm/app-graph-builder-WTIS5KI5.mjs +0 -168
  179. package/dist/lib/node-esm/app-graph-builder-WTIS5KI5.mjs.map +0 -7
  180. package/dist/lib/node-esm/chunk-SALMIZ2W.mjs +0 -21
  181. package/dist/lib/node-esm/chunk-SALMIZ2W.mjs.map +0 -7
  182. package/dist/lib/node-esm/cli/index.mjs +0 -225
  183. package/dist/lib/node-esm/cli/index.mjs.map +0 -7
  184. package/dist/lib/node-esm/index.mjs +0 -64
  185. package/dist/lib/node-esm/index.mjs.map +0 -7
  186. package/dist/lib/node-esm/meta.json +0 -1
  187. package/dist/lib/node-esm/operation-resolver-B24QW6IF.mjs +0 -26
  188. package/dist/lib/node-esm/operation-resolver-B24QW6IF.mjs.map +0 -7
  189. package/dist/lib/node-esm/react-surface-SEJBWRMR.mjs +0 -338
  190. package/dist/lib/node-esm/react-surface-SEJBWRMR.mjs.map +0 -7
  191. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +0 -6
  192. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +0 -1
  193. package/dist/types/src/capabilities/app-graph-builder/index.d.ts +0 -3
  194. package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +0 -1
  195. package/dist/types/src/capabilities/operation-resolver/index.d.ts +0 -3
  196. package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +0 -1
  197. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +0 -5
  198. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +0 -1
  199. package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
  200. package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
  201. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +0 -5
  202. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
  203. package/dist/types/src/cli/commands/disable.d.ts.map +0 -1
  204. package/dist/types/src/cli/commands/enable.d.ts.map +0 -1
  205. package/dist/types/src/cli/commands/index.d.ts.map +0 -1
  206. package/dist/types/src/cli/commands/list.d.ts +0 -7
  207. package/dist/types/src/cli/commands/list.d.ts.map +0 -1
  208. package/dist/types/src/cli/commands/util.d.ts.map +0 -1
  209. package/dist/types/src/cli/index.d.ts +0 -3
  210. package/dist/types/src/cli/index.d.ts.map +0 -1
  211. package/dist/types/src/cli/plugin.d.ts.map +0 -1
  212. package/dist/types/src/cli/storage.d.ts.map +0 -1
  213. package/dist/types/src/components/PluginDetail.d.ts +0 -9
  214. package/dist/types/src/components/PluginDetail.d.ts.map +0 -1
  215. package/dist/types/src/components/PluginDetail.stories.d.ts +0 -33
  216. package/dist/types/src/components/PluginDetail.stories.d.ts.map +0 -1
  217. package/dist/types/src/components/PluginItem.d.ts +0 -13
  218. package/dist/types/src/components/PluginItem.d.ts.map +0 -1
  219. package/dist/types/src/components/PluginList.d.ts +0 -8
  220. package/dist/types/src/components/PluginList.d.ts.map +0 -1
  221. package/dist/types/src/components/PluginList.stories.d.ts +0 -34
  222. package/dist/types/src/components/PluginList.stories.d.ts.map +0 -1
  223. package/dist/types/src/components/RegistryContainer.d.ts +0 -8
  224. package/dist/types/src/components/RegistryContainer.d.ts.map +0 -1
  225. package/src/capabilities/app-graph-builder/app-graph-builder.ts +0 -137
  226. package/src/capabilities/app-graph-builder/index.ts +0 -7
  227. package/src/capabilities/operation-resolver/index.ts +0 -7
  228. package/src/capabilities/operation-resolver/operation-resolver.ts +0 -24
  229. package/src/capabilities/react-surface/index.ts +0 -7
  230. package/src/capabilities/react-surface/react-surface.tsx +0 -99
  231. package/src/cli/index.ts +0 -6
  232. package/src/components/PluginDetail.tsx +0 -81
  233. package/src/components/PluginItem.tsx +0 -120
  234. package/src/components/PluginList.tsx +0 -24
  235. package/src/components/RegistryContainer.tsx +0 -86
  236. /package/dist/types/src/{cli/commands → commands}/index.d.ts +0 -0
  237. /package/dist/types/src/{cli/commands → commands}/util.d.ts +0 -0
  238. /package/src/{cli/commands → commands}/disable.ts +0 -0
  239. /package/src/{cli/commands → commands}/enable.ts +0 -0
  240. /package/src/{cli/commands → commands}/index.ts +0 -0
  241. /package/src/{cli/commands → commands}/list.ts +0 -0
  242. /package/src/{cli/commands → commands}/util.ts +0 -0
@@ -1 +0,0 @@
1
- {"inputs":{"src/meta.ts":{"bytes":2360,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/app-graph-builder/app-graph-builder.ts":{"bytes":18101,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/app-graph-builder/index.ts":{"bytes":946,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/app-graph-builder/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"}],"format":"esm"},"src/capabilities/operation-resolver/operation-resolver.ts":{"bytes":3054,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/operation-resolver/index.ts":{"bytes":964,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/operation-resolver/operation-resolver.ts","kind":"dynamic-import","original":"./operation-resolver"}],"format":"esm"},"src/components/PluginDetail.tsx":{"bytes":10080,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/components/PluginItem.tsx":{"bytes":13174,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/components/PluginList.tsx":{"bytes":2281,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/components/PluginItem.tsx","kind":"import-statement","original":"./PluginItem"}],"format":"esm"},"src/components/RegistryContainer.tsx":{"bytes":9861,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/components/PluginList.tsx","kind":"import-statement","original":"./PluginList"}],"format":"esm"},"src/components/index.ts":{"bytes":689,"imports":[{"path":"src/components/PluginDetail.tsx","kind":"import-statement","original":"./PluginDetail"},{"path":"src/components/PluginList.tsx","kind":"import-statement","original":"./PluginList"},{"path":"src/components/RegistryContainer.tsx","kind":"import-statement","original":"./RegistryContainer"}],"format":"esm"},"src/capabilities/react-surface/react-surface.tsx":{"bytes":13246,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/react-surface/index.ts":{"bytes":912,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-surface/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":712,"imports":[{"path":"src/capabilities/app-graph-builder/index.ts","kind":"import-statement","original":"./app-graph-builder"},{"path":"src/capabilities/operation-resolver/index.ts","kind":"import-statement","original":"./operation-resolver"},{"path":"src/capabilities/react-surface/index.ts","kind":"import-statement","original":"./react-surface"}],"format":"esm"},"src/translations.ts":{"bytes":2832,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/RegistryPlugin.tsx":{"bytes":2618,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/index.ts":{"bytes":557,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/RegistryPlugin.tsx","kind":"import-statement","original":"./RegistryPlugin"}],"format":"esm"},"src/cli/storage.ts":{"bytes":6743,"imports":[{"path":"@effect/platform/FileSystem","kind":"import-statement","external":true},{"path":"@effect/platform/Path","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true}],"format":"esm"},"src/cli/commands/disable.ts":{"bytes":6472,"imports":[{"path":"@effect/cli/Args","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/cli/storage.ts","kind":"import-statement","original":"../storage"}],"format":"esm"},"src/cli/commands/enable.ts":{"bytes":5826,"imports":[{"path":"@effect/cli/Args","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"src/cli/storage.ts","kind":"import-statement","original":"../storage"}],"format":"esm"},"src/cli/commands/util.ts":{"bytes":2004,"imports":[{"path":"@dxos/cli-util","kind":"import-statement","external":true}],"format":"esm"},"src/cli/commands/list.ts":{"bytes":4966,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"src/cli/commands/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"src/cli/commands/index.ts":{"bytes":1598,"imports":[{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"src/cli/commands/disable.ts","kind":"import-statement","original":"./disable"},{"path":"src/cli/commands/enable.ts","kind":"import-statement","original":"./enable"},{"path":"src/cli/commands/list.ts","kind":"import-statement","original":"./list"}],"format":"esm"},"src/cli/plugin.ts":{"bytes":1561,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/cli/commands/index.ts","kind":"import-statement","original":"./commands"}],"format":"esm"},"src/cli/index.ts":{"bytes":544,"imports":[{"path":"src/cli/plugin.ts","kind":"import-statement","original":"./plugin"},{"path":"src/cli/storage.ts","kind":"import-statement","original":"./storage"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3678},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-SALMIZ2W.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/app-graph-builder-WTIS5KI5.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/operation-resolver-B24QW6IF.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/react-surface-SEJBWRMR.mjs","kind":"dynamic-import"}],"exports":["REGISTRY_ID","REGISTRY_KEY","RegistryPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/RegistryPlugin.tsx":{"bytesInOutput":399},"src/capabilities/app-graph-builder/index.ts":{"bytesInOutput":158},"src/capabilities/index.ts":{"bytesInOutput":0},"src/capabilities/operation-resolver/index.ts":{"bytesInOutput":179},"src/capabilities/react-surface/index.ts":{"bytesInOutput":164},"src/translations.ts":{"bytesInOutput":690}},"bytes":2082},"dist/lib/node-esm/cli/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":14158},"dist/lib/node-esm/cli/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-SALMIZ2W.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"@effect/cli/Args","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@effect/platform/FileSystem","kind":"import-statement","external":true},{"path":"@effect/platform/Path","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/client-protocol","kind":"import-statement","external":true},{"path":"@effect/cli/Args","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@effect/cli/Command","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true},{"path":"@dxos/cli-util","kind":"import-statement","external":true}],"exports":["RegistryPlugin","loadEnabledPlugins","saveEnabledPlugins"],"entryPoint":"src/cli/index.ts","inputs":{"src/cli/plugin.ts":{"bytesInOutput":228},"src/cli/commands/index.ts":{"bytesInOutput":196},"src/cli/commands/disable.ts":{"bytesInOutput":1828},"src/cli/storage.ts":{"bytesInOutput":1374},"src/cli/commands/enable.ts":{"bytesInOutput":1633},"src/cli/commands/list.ts":{"bytesInOutput":1133},"src/cli/commands/util.ts":{"bytesInOutput":317},"src/cli/index.ts":{"bytesInOutput":0}},"bytes":7266},"dist/lib/node-esm/app-graph-builder-WTIS5KI5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7838},"dist/lib/node-esm/app-graph-builder-WTIS5KI5.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-SALMIZ2W.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder/app-graph-builder.ts":{"bytesInOutput":4699}},"bytes":5036},"dist/lib/node-esm/operation-resolver-B24QW6IF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1633},"dist/lib/node-esm/operation-resolver-B24QW6IF.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-SALMIZ2W.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/operation-resolver/operation-resolver.ts","inputs":{"src/capabilities/operation-resolver/operation-resolver.ts":{"bytesInOutput":664}},"bytes":981},"dist/lib/node-esm/react-surface-SEJBWRMR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":25535},"dist/lib/node-esm/react-surface-SEJBWRMR.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-SALMIZ2W.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface/react-surface.tsx","inputs":{"src/capabilities/react-surface/react-surface.tsx":{"bytesInOutput":3271},"src/components/PluginDetail.tsx":{"bytesInOutput":3041},"src/components/index.ts":{"bytesInOutput":0},"src/components/PluginList.tsx":{"bytesInOutput":418},"src/components/PluginItem.tsx":{"bytesInOutput":3716},"src/components/RegistryContainer.tsx":{"bytesInOutput":2335}},"bytes":13320},"dist/lib/node-esm/chunk-SALMIZ2W.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1074},"dist/lib/node-esm/chunk-SALMIZ2W.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["REGISTRY_ID","REGISTRY_KEY","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":378}},"bytes":581}}}
@@ -1,26 +0,0 @@
1
- import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
- import {
3
- REGISTRY_ID
4
- } from "./chunk-SALMIZ2W.mjs";
5
-
6
- // src/capabilities/operation-resolver/operation-resolver.ts
7
- import * as Effect from "effect/Effect";
8
- import { Capabilities, Capability } from "@dxos/app-framework";
9
- import { LayoutOperation, SettingsOperation } from "@dxos/app-toolkit";
10
- import { Operation, OperationResolver } from "@dxos/operation";
11
- var operation_resolver_default = Capability.makeModule(Effect.fnUntraced(function* () {
12
- return Capability.contributes(Capabilities.OperationResolver, [
13
- OperationResolver.make({
14
- operation: SettingsOperation.OpenPluginRegistry,
15
- handler: Effect.fnUntraced(function* () {
16
- yield* Operation.invoke(LayoutOperation.SwitchWorkspace, {
17
- subject: REGISTRY_ID
18
- });
19
- })
20
- })
21
- ]);
22
- }));
23
- export {
24
- operation_resolver_default as default
25
- };
26
- //# sourceMappingURL=operation-resolver-B24QW6IF.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/capabilities/operation-resolver/operation-resolver.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { LayoutOperation, SettingsOperation } from '@dxos/app-toolkit';\nimport { Operation, OperationResolver } from '@dxos/operation';\n\nimport { REGISTRY_ID } from '../../meta';\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n return Capability.contributes(Capabilities.OperationResolver, [\n OperationResolver.make({\n operation: SettingsOperation.OpenPluginRegistry,\n handler: Effect.fnUntraced(function* () {\n yield* Operation.invoke(LayoutOperation.SwitchWorkspace, { subject: REGISTRY_ID });\n }),\n }),\n ]);\n }),\n);\n"],
5
- "mappings": ";;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,iBAAiBC,yBAAyB;AACnD,SAASC,WAAWC,yBAAyB;AAI7C,IAAA,6BAAeC,WAAWC,WACjBC,kBAAW,aAAA;AAChB,SAAOF,WAAWG,YAAYC,aAAaC,mBAAmB;IAC5DA,kBAAkBC,KAAK;MACrBC,WAAWC,kBAAkBC;MAC7BC,SAAgBR,kBAAW,aAAA;AACzB,eAAOS,UAAUC,OAAOC,gBAAgBC,iBAAiB;UAAEC,SAASC;QAAY,CAAA;MAClF,CAAA;IACF,CAAA;GACD;AACH,CAAA,CAAA;",
6
- "names": ["Effect", "Capabilities", "Capability", "LayoutOperation", "SettingsOperation", "Operation", "OperationResolver", "Capability", "makeModule", "fnUntraced", "contributes", "Capabilities", "OperationResolver", "make", "operation", "SettingsOperation", "OpenPluginRegistry", "handler", "Operation", "invoke", "LayoutOperation", "SwitchWorkspace", "subject", "REGISTRY_ID"]
7
- }
@@ -1,338 +0,0 @@
1
- import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
- import {
3
- REGISTRY_KEY,
4
- meta
5
- } from "./chunk-SALMIZ2W.mjs";
6
-
7
- // src/capabilities/react-surface/react-surface.tsx
8
- import * as Effect2 from "effect/Effect";
9
- import React5, { useCallback as useCallback3, useMemo as useMemo2 } from "react";
10
- import { Capabilities, Capability, Plugin } from "@dxos/app-framework";
11
- import { Surface, usePluginManager as usePluginManager2 } from "@dxos/app-framework/ui";
12
- import { runAndForwardErrors as runAndForwardErrors2 } from "@dxos/effect";
13
-
14
- // src/components/PluginDetail.tsx
15
- import React from "react";
16
- import { Icon, Input, Link, useTranslation } from "@dxos/react-ui";
17
- import { ScrollArea } from "@dxos/react-ui";
18
- import { getStyles, mx } from "@dxos/ui-theme";
19
- var PluginDetail = ({ plugin, enabled, onEnabledChange }) => {
20
- const { t } = useTranslation(meta.id);
21
- const { id, name, description, homePage, source, screenshots, icon = "ph--circle--regular", iconHue = "neutral" } = plugin.meta;
22
- const styles = getStyles(iconHue);
23
- return /* @__PURE__ */ React.createElement(ScrollArea.Root, {
24
- orientation: "vertical"
25
- }, /* @__PURE__ */ React.createElement(ScrollArea.Viewport, null, /* @__PURE__ */ React.createElement("div", {
26
- role: "none",
27
- className: "grid grid-cols-[min-content_1fr] gap-4 container-max-width p-4"
28
- }, /* @__PURE__ */ React.createElement("div", {
29
- role: "none"
30
- }, /* @__PURE__ */ React.createElement(Icon, {
31
- classNames: mx("p-1 rounded", styles.bg, styles.icon),
32
- icon,
33
- size: 14
34
- })), /* @__PURE__ */ React.createElement("div", {
35
- role: "none",
36
- className: "flex flex-col gap-6"
37
- }, /* @__PURE__ */ React.createElement("div", {
38
- role: "none",
39
- className: "grid grid-cols-[1fr_min-content] gap-x-3 is-full pbs-1"
40
- }, /* @__PURE__ */ React.createElement("h2", {
41
- className: "text-xl"
42
- }, name), /* @__PURE__ */ React.createElement(Input.Root, null, /* @__PURE__ */ React.createElement(Input.Switch, {
43
- classNames: "self-center",
44
- checked: enabled,
45
- onCheckedChange: onEnabledChange
46
- })), /* @__PURE__ */ React.createElement("p", {
47
- className: "pbs-0.5 text-sm text-description"
48
- }, id)), /* @__PURE__ */ React.createElement("div", {
49
- role: "none"
50
- }, /* @__PURE__ */ React.createElement("p", {
51
- className: "text-description"
52
- }, description)), screenshots && screenshots.length > 0 && /* @__PURE__ */ React.createElement("div", {
53
- role: "none",
54
- className: "flex flex-col gap-2"
55
- }, /* @__PURE__ */ React.createElement("h2", null, "Preview"), /* @__PURE__ */ React.createElement("img", {
56
- src: screenshots[0],
57
- alt: name,
58
- className: "aspect-video object-fit"
59
- })), /* @__PURE__ */ React.createElement("div", {
60
- role: "none",
61
- className: "flex flex-col gap-2"
62
- }, /* @__PURE__ */ React.createElement("h2", null, "Resources"), /* @__PURE__ */ React.createElement("div", {
63
- className: "flex gap-2"
64
- }, homePage && /* @__PURE__ */ React.createElement(Link, {
65
- href: homePage,
66
- target: "_blank",
67
- rel: "noreferrer",
68
- classNames: "text-sm text-description"
69
- }, t("home page label"), /* @__PURE__ */ React.createElement(Icon, {
70
- icon: "ph--arrow-square-out--bold",
71
- size: 3,
72
- classNames: "inline-block leading-none mli-1"
73
- })), source && /* @__PURE__ */ React.createElement(Link, {
74
- href: source,
75
- target: "_blank",
76
- rel: "noreferrer",
77
- classNames: "text-sm text-description"
78
- }, t("source label"), /* @__PURE__ */ React.createElement(Icon, {
79
- icon: "ph--arrow-square-out--bold",
80
- size: 3,
81
- classNames: "inline-block leading-none mli-1"
82
- }))))))));
83
- };
84
-
85
- // src/components/PluginList.tsx
86
- import React3 from "react";
87
- import { List } from "@dxos/react-ui";
88
-
89
- // src/components/PluginItem.tsx
90
- import React2, { useCallback } from "react";
91
- import { Icon as Icon2, IconButton, Input as Input2, Link as Link2, ListItem, Tag, useTranslation as useTranslation2 } from "@dxos/react-ui";
92
- import { descriptionText, mx as mx2 } from "@dxos/ui-theme";
93
- import { getStyles as getStyles2 } from "@dxos/ui-theme";
94
- var PluginItem = ({ plugin, enabled = [], onClick, onChange, hasSettings: hasSettingsProp, onSettings }) => {
95
- const { t } = useTranslation2(meta.id);
96
- const { id, name, description, tags, icon = "ph--circle--regular", iconHue = "neutral" } = plugin.meta;
97
- const isEnabled = enabled.includes(id);
98
- const inputId = `${id}-input`;
99
- const labelId = `${id}-label`;
100
- const descriptionId = `${id}-description`;
101
- const handleClick = useCallback(() => onClick?.(id), [
102
- id,
103
- onClick
104
- ]);
105
- const handleChange = useCallback((event) => {
106
- event.stopPropagation();
107
- onChange?.(id, !isEnabled);
108
- }, [
109
- id,
110
- isEnabled,
111
- onChange
112
- ]);
113
- const hasSettings = hasSettingsProp?.(id) ?? false;
114
- const handleSettings = useCallback(() => onSettings?.(id), [
115
- id,
116
- onSettings
117
- ]);
118
- const styles = getStyles2(iconHue);
119
- const gridCols = "grid grid-cols-[5rem_1fr]";
120
- const gridRows = "grid grid-rows-[40px_1fr_min-content_40px]";
121
- return /* @__PURE__ */ React2.createElement(ListItem.Root, {
122
- key: id,
123
- labelId,
124
- "data-testid": `pluginList.${id}`,
125
- "aria-describedby": descriptionId,
126
- classNames: mx2(gridCols, "bs-[12rem] is-full gap-3 pie-2 border border-separator rounded-md overflow-hidden")
127
- }, /* @__PURE__ */ React2.createElement("div", {
128
- className: mx2(gridRows, "justify-center rounded-l-md", styles.bg)
129
- }, /* @__PURE__ */ React2.createElement("div", null), /* @__PURE__ */ React2.createElement(Icon2, {
130
- classNames: mx2("cursor-pointer", styles.icon),
131
- icon,
132
- size: 14,
133
- onClick: handleClick
134
- })), /* @__PURE__ */ React2.createElement("div", {
135
- className: mx2(gridRows)
136
- }, /* @__PURE__ */ React2.createElement("div", {
137
- className: "flex items-center overflow-hidden cursor-pointer",
138
- onClick: handleClick
139
- }, /* @__PURE__ */ React2.createElement("span", {
140
- className: "text-lg truncate"
141
- }, name ?? id)), /* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement("p", {
142
- className: mx2(descriptionText, "line-clamp-4 min-is-0")
143
- }, description)), /* @__PURE__ */ React2.createElement("div", {
144
- className: "flex -mis-0.5 overflow-x-auto scrollbar-none"
145
- }, tags?.map((tag) => /* @__PURE__ */ React2.createElement(Tag, {
146
- key: tag,
147
- palette: tagColors[tag],
148
- classNames: "text-xs uppercase font-thin"
149
- }, tag))), /* @__PURE__ */ React2.createElement("div", {
150
- className: "flex gap-2 items-center text-sm"
151
- }, /* @__PURE__ */ React2.createElement(IconButton, {
152
- "aria-describedby": descriptionId,
153
- classNames: "cursor-pointer",
154
- icon: "ph--gear--regular",
155
- label: t("settings label"),
156
- iconOnly: true,
157
- size: 4,
158
- onClick: handleSettings,
159
- disabled: !hasSettings
160
- }), /* @__PURE__ */ React2.createElement(Link2, {
161
- "aria-describedby": descriptionId,
162
- classNames: "text-description cursor-pointer",
163
- onClick: handleClick
164
- }, t("details label")), /* @__PURE__ */ React2.createElement("div", {
165
- className: "grow"
166
- }), /* @__PURE__ */ React2.createElement("div", {
167
- className: "pie-1"
168
- }, /* @__PURE__ */ React2.createElement(Input2.Root, {
169
- id: inputId
170
- }, /* @__PURE__ */ React2.createElement(Input2.Switch, {
171
- classNames: "self-center",
172
- checked: isEnabled,
173
- onClick: handleChange
174
- }))))));
175
- };
176
- var tagColors = {
177
- new: "rose",
178
- beta: "teal",
179
- labs: "blue",
180
- popular: "green",
181
- featured: "pink",
182
- experimental: "amber"
183
- };
184
-
185
- // src/components/PluginList.tsx
186
- var PluginList = ({ plugins = [], ...props }) => {
187
- return /* @__PURE__ */ React3.createElement(List, {
188
- classNames: "grid grid-cols-[repeat(auto-fill,minmax(18rem,1fr))] auto-rows-[max-content] gap-4 p-4"
189
- }, plugins.map((plugin) => /* @__PURE__ */ React3.createElement(PluginItem, {
190
- key: plugin.meta.id,
191
- plugin,
192
- ...props
193
- })));
194
- };
195
-
196
- // src/components/RegistryContainer.tsx
197
- import { useAtomValue } from "@effect-atom/atom-react";
198
- import * as Effect from "effect/Effect";
199
- import React4, { useCallback as useCallback2, useMemo } from "react";
200
- import { useCapabilities, useOperationInvoker, usePluginManager } from "@dxos/app-framework/ui";
201
- import { AppCapabilities, LayoutOperation, SettingsOperation } from "@dxos/app-toolkit";
202
- import { runAndForwardErrors } from "@dxos/effect";
203
- import { ObservabilityOperation } from "@dxos/plugin-observability/types";
204
- import { ScrollArea as ScrollArea2 } from "@dxos/react-ui";
205
- var sortByPluginMeta = ({ meta: { name: a = "" } }, { meta: { name: b = "" } }) => a.localeCompare(b);
206
- var RegistryContainer = ({ id, plugins: pluginsProp }) => {
207
- const manager = usePluginManager();
208
- const { invoke, invokePromise } = useOperationInvoker();
209
- const plugins = useMemo(() => pluginsProp.sort(sortByPluginMeta), [
210
- pluginsProp
211
- ]);
212
- const enabled = useAtomValue(manager.enabled);
213
- const allSettings = useCapabilities(AppCapabilities.Settings);
214
- const handleChange = useCallback2((id2, enabled2) => Effect.gen(function* () {
215
- if (enabled2) {
216
- yield* manager.enable(id2);
217
- } else {
218
- yield* manager.disable(id2);
219
- }
220
- yield* invoke(ObservabilityOperation.SendEvent, {
221
- name: "plugins.toggle",
222
- properties: {
223
- plugin: id2,
224
- enabled: enabled2
225
- }
226
- });
227
- }).pipe(runAndForwardErrors), [
228
- invoke,
229
- manager
230
- ]);
231
- const handleClick = useCallback2((pluginId) => invokePromise(LayoutOperation.Open, {
232
- // TODO(wittjosiah): `/` currently is not supported in ids.
233
- subject: [
234
- pluginId.replaceAll("/", ":")
235
- ],
236
- pivotId: id,
237
- positioning: "end"
238
- }), [
239
- invokePromise,
240
- id
241
- ]);
242
- const hasSettings = useCallback2((pluginId) => allSettings.some((s) => s.prefix === pluginId), [
243
- allSettings
244
- ]);
245
- const handleSettings = useCallback2((pluginId) => invokePromise(SettingsOperation.Open, {
246
- plugin: pluginId
247
- }), [
248
- invokePromise
249
- ]);
250
- return /* @__PURE__ */ React4.createElement(ScrollArea2.Root, {
251
- orientation: "vertical"
252
- }, /* @__PURE__ */ React4.createElement(ScrollArea2.Viewport, null, /* @__PURE__ */ React4.createElement(PluginList, {
253
- plugins,
254
- enabled,
255
- onClick: handleClick,
256
- onChange: handleChange,
257
- hasSettings,
258
- onSettings: handleSettings
259
- })));
260
- };
261
-
262
- // src/capabilities/react-surface/react-surface.tsx
263
- var react_surface_default = Capability.makeModule(() => Effect2.succeed(Capability.contributes(Capabilities.ReactSurface, [
264
- Surface.create({
265
- id: `${meta.id}/all`,
266
- role: "article",
267
- filter: (data) => data.subject === `${REGISTRY_KEY}+all`,
268
- component: () => {
269
- const manager = usePluginManager2();
270
- const filtered = useMemo2(() => manager.getPlugins().filter(({ meta: meta2 }) => !manager.getCore().includes(meta2.id)), []);
271
- return /* @__PURE__ */ React5.createElement(RegistryContainer, {
272
- id: `${REGISTRY_KEY}+all`,
273
- plugins: filtered
274
- });
275
- }
276
- }),
277
- Surface.create({
278
- id: `${meta.id}/installed`,
279
- role: "article",
280
- filter: (data) => data.subject === `${REGISTRY_KEY}+installed`,
281
- component: () => {
282
- const manager = usePluginManager2();
283
- const filtered = useMemo2(() => manager.getPlugins().filter(({ meta: meta2 }) => !manager.getCore().includes(meta2.id)).filter(({ meta: meta2 }) => manager.getEnabled().includes(meta2.id)), []);
284
- return /* @__PURE__ */ React5.createElement(RegistryContainer, {
285
- id: `${REGISTRY_KEY}+installed`,
286
- plugins: filtered
287
- });
288
- }
289
- }),
290
- Surface.create({
291
- id: `${meta.id}/recommended`,
292
- role: "article",
293
- filter: (data) => data.subject === `${REGISTRY_KEY}+recommended`,
294
- component: () => {
295
- const manager = usePluginManager2();
296
- const filtered = useMemo2(() => manager.getPlugins().filter(({ meta: meta2 }) => !manager.getCore().includes(meta2.id)).filter(({ meta: meta2 }) => !meta2.tags?.includes("labs")), []);
297
- return /* @__PURE__ */ React5.createElement(RegistryContainer, {
298
- id: `${REGISTRY_KEY}+recommended`,
299
- plugins: filtered
300
- });
301
- }
302
- }),
303
- Surface.create({
304
- id: `${meta.id}/labs`,
305
- role: "article",
306
- filter: (data) => data.subject === `${REGISTRY_KEY}+labs`,
307
- component: () => {
308
- const manager = usePluginManager2();
309
- const filtered = useMemo2(() => manager.getPlugins().filter(({ meta: meta2 }) => meta2.tags?.includes("labs")), []);
310
- return /* @__PURE__ */ React5.createElement(RegistryContainer, {
311
- id: `${REGISTRY_KEY}+labs`,
312
- plugins: filtered
313
- });
314
- }
315
- }),
316
- Surface.create({
317
- id: `${meta.id}/plugin-details`,
318
- role: "article",
319
- filter: (data) => Plugin.isPlugin(data.subject),
320
- component: ({ data: { subject } }) => {
321
- const manager = usePluginManager2();
322
- const enabled = manager.getEnabled().includes(subject.meta.id);
323
- const handleEnableChange = useCallback3((enabled2) => enabled2 ? runAndForwardErrors2(manager.enable(subject.meta.id)) : runAndForwardErrors2(manager.disable(subject.meta.id)), [
324
- manager,
325
- subject.meta.id
326
- ]);
327
- return /* @__PURE__ */ React5.createElement(PluginDetail, {
328
- plugin: subject,
329
- enabled,
330
- onEnabledChange: handleEnableChange
331
- });
332
- }
333
- })
334
- ])));
335
- export {
336
- react_surface_default as default
337
- };
338
- //# sourceMappingURL=react-surface-SEJBWRMR.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/capabilities/react-surface/react-surface.tsx", "../../../src/components/PluginDetail.tsx", "../../../src/components/PluginList.tsx", "../../../src/components/PluginItem.tsx", "../../../src/components/RegistryContainer.tsx"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport React, { useCallback, useMemo } from 'react';\n\nimport { Capabilities, Capability, Plugin } from '@dxos/app-framework';\nimport { Surface, usePluginManager } from '@dxos/app-framework/ui';\nimport { runAndForwardErrors } from '@dxos/effect';\n\nimport { PluginDetail, RegistryContainer } from '../../components';\nimport { REGISTRY_KEY, meta } from '../../meta';\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(Capabilities.ReactSurface, [\n Surface.create({\n id: `${meta.id}/all`,\n role: 'article',\n filter: (data): data is any => data.subject === `${REGISTRY_KEY}+all`,\n component: () => {\n const manager = usePluginManager();\n const filtered = useMemo(\n () => manager.getPlugins().filter(({ meta }) => !manager.getCore().includes(meta.id)),\n [],\n );\n\n return <RegistryContainer id={`${REGISTRY_KEY}+all`} plugins={filtered} />;\n },\n }),\n Surface.create({\n id: `${meta.id}/installed`,\n role: 'article',\n filter: (data): data is any => data.subject === `${REGISTRY_KEY}+installed`,\n component: () => {\n const manager = usePluginManager();\n const filtered = useMemo(\n () =>\n manager\n .getPlugins()\n .filter(({ meta }) => !manager.getCore().includes(meta.id))\n .filter(({ meta }) => manager.getEnabled().includes(meta.id)),\n [],\n );\n\n return <RegistryContainer id={`${REGISTRY_KEY}+installed`} plugins={filtered} />;\n },\n }),\n Surface.create({\n id: `${meta.id}/recommended`,\n role: 'article',\n filter: (data): data is any => data.subject === `${REGISTRY_KEY}+recommended`,\n component: () => {\n const manager = usePluginManager();\n const filtered = useMemo(\n () =>\n manager\n .getPlugins()\n .filter(({ meta }) => !manager.getCore().includes(meta.id))\n .filter(({ meta }) => !meta.tags?.includes('labs')),\n [],\n );\n\n return <RegistryContainer id={`${REGISTRY_KEY}+recommended`} plugins={filtered} />;\n },\n }),\n Surface.create({\n id: `${meta.id}/labs`,\n role: 'article',\n filter: (data): data is any => data.subject === `${REGISTRY_KEY}+labs`,\n component: () => {\n const manager = usePluginManager();\n const filtered = useMemo(() => manager.getPlugins().filter(({ meta }) => meta.tags?.includes('labs')), []);\n\n return <RegistryContainer id={`${REGISTRY_KEY}+labs`} plugins={filtered} />;\n },\n }),\n Surface.create({\n id: `${meta.id}/plugin-details`,\n role: 'article',\n filter: (data): data is { subject: Plugin.Plugin } => Plugin.isPlugin(data.subject),\n component: ({ data: { subject } }) => {\n const manager = usePluginManager();\n const enabled = manager.getEnabled().includes(subject.meta.id);\n const handleEnableChange = useCallback(\n (enabled: boolean) =>\n enabled\n ? runAndForwardErrors(manager.enable(subject.meta.id))\n : runAndForwardErrors(manager.disable(subject.meta.id)),\n [manager, subject.meta.id],\n );\n\n return <PluginDetail plugin={subject} enabled={enabled} onEnabledChange={handleEnableChange} />;\n },\n }),\n ]),\n ),\n);\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport React from 'react';\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { Icon, Input, Link, useTranslation } from '@dxos/react-ui';\nimport { ScrollArea } from '@dxos/react-ui';\nimport { getStyles, mx } from '@dxos/ui-theme';\n\nimport { meta } from '../meta';\n\nexport type PluginDetailProps = {\n plugin: Plugin.Plugin;\n enabled?: boolean;\n onEnabledChange?: (enabled: boolean) => void;\n};\n\nexport const PluginDetail = ({ plugin, enabled, onEnabledChange }: PluginDetailProps) => {\n const { t } = useTranslation(meta.id);\n const {\n id,\n name,\n description,\n homePage,\n source,\n screenshots,\n icon = 'ph--circle--regular',\n iconHue = 'neutral',\n } = plugin.meta;\n const styles = getStyles(iconHue);\n\n return (\n <ScrollArea.Root orientation='vertical'>\n <ScrollArea.Viewport>\n <div role='none' className='grid grid-cols-[min-content_1fr] gap-4 container-max-width p-4'>\n <div role='none'>\n <Icon classNames={mx('p-1 rounded', styles.bg, styles.icon)} icon={icon} size={14} />\n </div>\n <div role='none' className='flex flex-col gap-6'>\n <div role='none' className='grid grid-cols-[1fr_min-content] gap-x-3 is-full pbs-1'>\n <h2 className='text-xl'>{name}</h2>\n <Input.Root>\n <Input.Switch classNames='self-center' checked={enabled} onCheckedChange={onEnabledChange} />\n </Input.Root>\n <p className='pbs-0.5 text-sm text-description'>{id}</p>\n </div>\n <div role='none'>\n <p className='text-description'>{description}</p>\n </div>\n {screenshots && screenshots.length > 0 && (\n <div role='none' className='flex flex-col gap-2'>\n <h2>Preview</h2>\n <img src={screenshots[0]} alt={name} className='aspect-video object-fit' />\n </div>\n )}\n <div role='none' className='flex flex-col gap-2'>\n <h2>Resources</h2>\n <div className='flex gap-2'>\n {homePage && (\n <Link href={homePage} target='_blank' rel='noreferrer' classNames='text-sm text-description'>\n {t('home page label')}\n <Icon icon='ph--arrow-square-out--bold' size={3} classNames='inline-block leading-none mli-1' />\n </Link>\n )}\n\n {source && (\n <Link href={source} target='_blank' rel='noreferrer' classNames='text-sm text-description'>\n {t('source label')}\n <Icon icon='ph--arrow-square-out--bold' size={3} classNames='inline-block leading-none mli-1' />\n </Link>\n )}\n </div>\n </div>\n </div>\n </div>\n </ScrollArea.Viewport>\n </ScrollArea.Root>\n );\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport React from 'react';\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { List } from '@dxos/react-ui';\n\nimport { PluginItem, type PluginItemProps } from './PluginItem';\n\nexport type PluginListProps = Omit<PluginItemProps, 'plugin'> & {\n plugins?: readonly Plugin.Plugin[];\n};\n\nexport const PluginList = ({ plugins = [], ...props }: PluginListProps) => {\n return (\n <List classNames='grid grid-cols-[repeat(auto-fill,minmax(18rem,1fr))] auto-rows-[max-content] gap-4 p-4'>\n {plugins.map((plugin) => (\n <PluginItem key={plugin.meta.id} plugin={plugin} {...props} />\n ))}\n </List>\n );\n};\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport React, { type MouseEvent, useCallback } from 'react';\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { type ChromaticPalette, Icon, IconButton, Input, Link, ListItem, Tag, useTranslation } from '@dxos/react-ui';\nimport { descriptionText, mx } from '@dxos/ui-theme';\nimport { getStyles } from '@dxos/ui-theme';\n\nimport { meta } from '../meta';\nimport { type RegistryTagType } from '../types';\n\nexport type PluginItemProps = {\n plugin: Plugin.Plugin;\n installed?: readonly string[];\n enabled?: readonly string[];\n onClick?: (id: string) => void;\n onChange?: (id: string, enabled: boolean) => void;\n hasSettings?: (id: string) => boolean;\n onSettings?: (id: string) => void;\n};\n\nexport const PluginItem = ({\n plugin,\n enabled = [],\n onClick,\n onChange,\n hasSettings: hasSettingsProp,\n onSettings,\n}: PluginItemProps) => {\n const { t } = useTranslation(meta.id);\n const { id, name, description, tags, icon = 'ph--circle--regular', iconHue = 'neutral' } = plugin.meta;\n const isEnabled = enabled.includes(id);\n const inputId = `${id}-input`;\n const labelId = `${id}-label`;\n const descriptionId = `${id}-description`;\n const handleClick = useCallback(() => onClick?.(id), [id, onClick]);\n\n const handleChange = useCallback(\n (event: MouseEvent) => {\n event.stopPropagation();\n onChange?.(id, !isEnabled);\n },\n [id, isEnabled, onChange],\n );\n\n const hasSettings = hasSettingsProp?.(id) ?? false;\n const handleSettings = useCallback(() => onSettings?.(id), [id, onSettings]);\n const styles = getStyles(iconHue);\n const gridCols = 'grid grid-cols-[5rem_1fr]';\n const gridRows = 'grid grid-rows-[40px_1fr_min-content_40px]';\n\n return (\n <ListItem.Root\n key={id}\n labelId={labelId}\n data-testid={`pluginList.${id}`}\n aria-describedby={descriptionId}\n classNames={mx(gridCols, 'bs-[12rem] is-full gap-3 pie-2 border border-separator rounded-md overflow-hidden')}\n >\n <div className={mx(gridRows, 'justify-center rounded-l-md', styles.bg)}>\n <div />\n <Icon classNames={mx('cursor-pointer', styles.icon)} icon={icon} size={14} onClick={handleClick} />\n </div>\n\n <div className={mx(gridRows)}>\n <div className='flex items-center overflow-hidden cursor-pointer' onClick={handleClick}>\n <span className='text-lg truncate'>{name ?? id}</span>\n </div>\n\n <div>\n <p className={mx(descriptionText, 'line-clamp-4 min-is-0')}>{description}</p>\n </div>\n\n <div className='flex -mis-0.5 overflow-x-auto scrollbar-none'>\n {tags?.map((tag) => (\n <Tag key={tag} palette={tagColors[tag as RegistryTagType]} classNames='text-xs uppercase font-thin'>\n {tag}\n </Tag>\n ))}\n </div>\n\n <div className='flex gap-2 items-center text-sm'>\n <IconButton\n aria-describedby={descriptionId}\n classNames='cursor-pointer'\n icon='ph--gear--regular'\n label={t('settings label')}\n iconOnly\n size={4}\n onClick={handleSettings}\n disabled={!hasSettings}\n />\n\n <Link aria-describedby={descriptionId} classNames='text-description cursor-pointer' onClick={handleClick}>\n {t('details label')}\n </Link>\n\n <div className='grow' />\n <div className='pie-1'>\n <Input.Root id={inputId}>\n <Input.Switch classNames='self-center' checked={isEnabled} onClick={handleChange} />\n </Input.Root>\n </div>\n </div>\n </div>\n </ListItem.Root>\n );\n};\n\nconst tagColors: Record<RegistryTagType, ChromaticPalette> = {\n new: 'rose',\n beta: 'teal',\n labs: 'blue',\n popular: 'green',\n featured: 'pink',\n experimental: 'amber',\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { useAtomValue } from '@effect-atom/atom-react';\nimport * as Effect from 'effect/Effect';\nimport React, { useCallback, useMemo } from 'react';\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { useCapabilities, useOperationInvoker, usePluginManager } from '@dxos/app-framework/ui';\nimport { AppCapabilities, LayoutOperation, SettingsOperation } from '@dxos/app-toolkit';\nimport { runAndForwardErrors } from '@dxos/effect';\nimport { ObservabilityOperation } from '@dxos/plugin-observability/types';\nimport { ScrollArea } from '@dxos/react-ui';\n\nimport { PluginList } from './PluginList';\n\nconst sortByPluginMeta = ({ meta: { name: a = '' } }: Plugin.Plugin, { meta: { name: b = '' } }: Plugin.Plugin) =>\n a.localeCompare(b);\n\nexport type RegistryContainerProps = {\n id: string;\n plugins: Plugin.Plugin[];\n};\n\nexport const RegistryContainer = ({ id, plugins: pluginsProp }: RegistryContainerProps) => {\n const manager = usePluginManager();\n const { invoke, invokePromise } = useOperationInvoker();\n const plugins = useMemo(() => pluginsProp.sort(sortByPluginMeta), [pluginsProp]);\n const enabled = useAtomValue(manager.enabled);\n const allSettings = useCapabilities(AppCapabilities.Settings);\n\n // TODO(wittjosiah): Factor out to an intent?\n const handleChange = useCallback(\n (id: string, enabled: boolean) =>\n Effect.gen(function* () {\n if (enabled) {\n yield* manager.enable(id);\n } else {\n yield* manager.disable(id);\n }\n\n yield* invoke(ObservabilityOperation.SendEvent, {\n name: 'plugins.toggle',\n properties: {\n plugin: id,\n enabled,\n },\n });\n }).pipe(runAndForwardErrors),\n [invoke, manager],\n );\n\n const handleClick = useCallback(\n (pluginId: string) =>\n invokePromise(LayoutOperation.Open, {\n // TODO(wittjosiah): `/` currently is not supported in ids.\n subject: [pluginId.replaceAll('/', ':')],\n pivotId: id,\n positioning: 'end',\n }),\n [invokePromise, id],\n );\n\n const hasSettings = useCallback((pluginId: string) => allSettings.some((s) => s.prefix === pluginId), [allSettings]);\n\n const handleSettings = useCallback(\n (pluginId: string) => invokePromise(SettingsOperation.Open, { plugin: pluginId }),\n [invokePromise],\n );\n\n return (\n <ScrollArea.Root orientation='vertical'>\n <ScrollArea.Viewport>\n <PluginList\n plugins={plugins}\n enabled={enabled}\n onClick={handleClick}\n onChange={handleChange}\n hasSettings={hasSettings}\n onSettings={handleSettings}\n />\n </ScrollArea.Viewport>\n </ScrollArea.Root>\n );\n};\n"],
5
- "mappings": ";;;;;;;AAIA,YAAYA,aAAY;AACxB,OAAOC,UAASC,eAAAA,cAAaC,WAAAA,gBAAe;AAE5C,SAASC,cAAcC,YAAYC,cAAc;AACjD,SAASC,SAASC,oBAAAA,yBAAwB;AAC1C,SAASC,uBAAAA,4BAA2B;;;ACLpC,OAAOC,WAAW;AAGlB,SAASC,MAAMC,OAAOC,MAAMC,sBAAsB;AAClD,SAASC,kBAAkB;AAC3B,SAASC,WAAWC,UAAU;AAUvB,IAAMC,eAAe,CAAC,EAAEC,QAAQC,SAASC,gBAAe,MAAqB;AAClF,QAAM,EAAEC,EAAC,IAAKC,eAAeC,KAAKC,EAAE;AACpC,QAAM,EACJA,IACAC,MACAC,aACAC,UACAC,QACAC,aACAC,OAAO,uBACPC,UAAU,UAAS,IACjBb,OAAOK;AACX,QAAMS,SAASC,UAAUF,OAAAA;AAEzB,SACE,sBAAA,cAACG,WAAWC,MAAI;IAACC,aAAY;KAC3B,sBAAA,cAACF,WAAWG,UAAQ,MAClB,sBAAA,cAACC,OAAAA;IAAIC,MAAK;IAAOC,WAAU;KACzB,sBAAA,cAACF,OAAAA;IAAIC,MAAK;KACR,sBAAA,cAACE,MAAAA;IAAKC,YAAYC,GAAG,eAAeX,OAAOY,IAAIZ,OAAOF,IAAI;IAAGA;IAAYe,MAAM;OAEjF,sBAAA,cAACP,OAAAA;IAAIC,MAAK;IAAOC,WAAU;KACzB,sBAAA,cAACF,OAAAA;IAAIC,MAAK;IAAOC,WAAU;KACzB,sBAAA,cAACM,M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B,MAAML,SAAS,MAAA,CAAA,GAAU,CAAA,CAAE;AAEzG,aAAO,gBAAAC,OAAA,cAACC,mBAAAA;QAAkBhB,IAAI,GAAGM,YAAAA;QAAqBW,SAASP;;IACjE;EACF,CAAA;EACAZ,QAAQC,OAAO;IACbC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNC,QAAQ,CAACC,SAA6CgB,OAAOC,SAASjB,KAAKC,OAAO;IAClFE,WAAW,CAAC,EAAEH,MAAM,EAAEC,QAAO,EAAE,MAAE;AAC/B,YAAMG,UAAUC,kBAAAA;AAChB,YAAMa,UAAUd,QAAQU,WAAU,EAAGJ,SAAST,QAAQJ,KAAKD,EAAE;AAC7D,YAAMuB,qBAAqBC,aACzB,CAACF,aACCA,WACIG,qBAAoBjB,QAAQkB,OAAOrB,QAAQJ,KAAKD,EAAE,CAAA,IAClDyB,qBAAoBjB,QAAQmB,QAAQtB,QAAQJ,KAAKD,EAAE,CAAA,GACzD;QAACQ;QAASH,QAAQJ,KAAKD;OAAG;AAG5B,aAAO,gBAAAe,OAAA,cAACa,cAAAA;QAAaC,QAAQxB;QAASiB;QAAkBQ,iBAAiBP;;IAC3E;EACF,CAAA;CACD,CAAA,CAAA;",
6
- "names": ["Effect", "React", "useCallback", "useMemo", "Capabilities", "Capability", "Plugin", "Surface", "usePluginManager", "runAndForwardErrors", "React", "Icon", "Input", "Link", "useTranslation", "ScrollArea", "getStyles", "mx", "PluginDetail", "plugin", "enabled", "onEnabledChange", "t", "useTranslation", "meta", "id", "name", "description", "homePage", "source", "screenshots", "icon", "iconHue", "styles", "getStyles", "ScrollArea", "Root", "orientation", "Viewport", "div", "role", "className", "Icon", "classNames", "mx", "bg", "size", "h2", "Input", "Switch", "checked", "onCheckedChange", "p", "length", "img", "src", "alt", "Link", "href", "target", "rel", "React", "List", "React", "useCallback", "Icon", "IconButton", "Input", "Link", "ListItem", "Tag", "useTranslation", "descriptionText", "mx", "getStyles", "PluginItem", "plugin", "enabled", "onClick", "onChange", "hasSettings", "hasSettingsProp", "onSettings", "t", "useTranslation", "meta", "id", "name", "description", "tags", "icon", "iconHue", "isEnabled", "includes", "inputId", "labelId", "descriptionId", "handleClick", "useCallback", "handleChange", "event", "stopPropagation", "handleSettings", "styles", "getStyles", "gridCols", "gridRows", "React", "ListItem", "Root", "key", "data-testid", "aria-describedby", "classNames", "mx", "div", "className", "bg", "Icon", "size", "span", "p", "descriptionText", "map", "tag", "Tag", "palette", "tagColors", "IconButton", "label", "iconOnly", "disabled", "Link", "Input", "Switch", "checked", "new", "beta", "labs", "popular", "featured", "experimental", "PluginList", "plugins", "props", "React", "List", "classNames", "map", "plugin", "PluginItem", "key", "meta", "id", "useAtomValue", "Effect", "React", "useCallback", "useMemo", "useCapabilities", "useOperationInvoker", "usePluginManager", "AppCapabilities", "LayoutOperation", "SettingsOperation", "runAndForwardErrors", "ObservabilityOperation", "ScrollArea", "sortByPluginMeta", "meta", "name", "a", "b", "localeCompare", "RegistryContainer", "id", "plugins", "pluginsProp", "manager", "usePluginManager", "invoke", "invokePromise", "useOperationInvoker", "useMemo", "sort", "enabled", "useAtomValue", "allSettings", "useCapabilities", "AppCapabilities", "Settings", "handleChange", "useCallback", "gen", "enable", "disable", "ObservabilityOperation", "SendEvent", "properties", "plugin", "pipe", "runAndForwardErrors", "handleClick", "pluginId", "LayoutOperation", "Open", "subject", "replaceAll", "pivotId", "positioning", "hasSettings", "some", "s", "prefix", "handleSettings", "SettingsOperation", "React", "ScrollArea", "Root", "orientation", "Viewport", "PluginList", "onClick", "onChange", "onSettings", "Capability", "makeModule", "succeed", "contributes", "Capabilities", "ReactSurface", "Surface", "create", "id", "meta", "role", "filter", "data", "subject", "REGISTRY_KEY", "component", "manager", "usePluginManager", "filtered", "useMemo", "getPlugins", "getCore", "includes", "React", "RegistryContainer", "plugins", "getEnabled", "tags", "Plugin", "isPlugin", "enabled", "handleEnableChange", "useCallback", "runAndForwardErrors", "enable", "disable", "PluginDetail", "plugin", "onEnabledChange"]
7
- }
@@ -1,6 +0,0 @@
1
- import * as Effect from 'effect/Effect';
2
- import { Capability } from '@dxos/app-framework';
3
- import { GraphBuilder } from '@dxos/plugin-graph';
4
- declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<GraphBuilder.BuilderExtensions>>, never, Capability.Service>;
5
- export default _default;
6
- //# sourceMappingURL=app-graph-builder.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/app-graph-builder/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAG/D,OAAO,EAAE,YAAY,EAAe,MAAM,oBAAoB,CAAC;;AAI/D,wBA2HE"}
@@ -1,3 +0,0 @@
1
- import { Capability } from '@dxos/app-framework';
2
- export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-graph").BuilderExtensions>>, Error>;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/app-graph-builder/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,eAAe,qIAA0E,CAAC"}
@@ -1,3 +0,0 @@
1
- import { Capability } from '@dxos/app-framework';
2
- export declare const OperationResolver: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").OperationResolver[]>>, Error>;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/operation-resolver/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,iBAAiB,wJAA6E,CAAC"}
@@ -1,5 +0,0 @@
1
- import * as Effect from 'effect/Effect';
2
- import { Capabilities, Capability } from '@dxos/app-framework';
3
- declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.OperationResolver[]>>, never, never>;
4
- export default _default;
5
- //# sourceMappingURL=operation-resolver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"operation-resolver.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/operation-resolver/operation-resolver.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAM/D,wBAWE"}
@@ -1,3 +0,0 @@
1
- import { Capability } from '@dxos/app-framework';
2
- export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-surface/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,YAAY,iJAAmE,CAAC"}
@@ -1,5 +0,0 @@
1
- import * as Effect from 'effect/Effect';
2
- import { Capabilities, Capability } from '@dxos/app-framework';
3
- declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.ReactSurface>>, never, never>;
4
- export default _default;
5
- //# sourceMappingURL=react-surface.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-surface/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAU,MAAM,qBAAqB,CAAC;;AAOvE,wBAoFE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"disable.d.ts","sourceRoot":"","sources":["../../../../../src/cli/commands/disable.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAE/C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAK/C,eAAO,MAAM,OAAO;QAAsC,MAAM;2MAuB9D,CAAC;AAEH,eAAO,MAAM,OAAO;;EAMgC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../../src/cli/commands/enable.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAE/C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAK/C,eAAO,MAAM,OAAO;QAAsC,MAAM;2MAoB9D,CAAC;AAEH,eAAO,MAAM,MAAM;;EAMgC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/cli/commands/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAM/C,eAAO,MAAM,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAGtD,CAAC"}
@@ -1,7 +0,0 @@
1
- import * as Command from '@effect/cli/Command';
2
- import * as Effect from 'effect/Effect';
3
- import { Plugin } from '@dxos/app-framework';
4
- import { CommandConfig } from '@dxos/cli-util';
5
- export declare const handler: () => Effect.Effect<void, never, Plugin.Service | CommandConfig>;
6
- export declare const list: Command.Command<"list", Plugin.Service | CommandConfig, never, {}>;
7
- //# sourceMappingURL=list.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../../src/cli/commands/list.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,OAAO,MAAM,qBAAqB,CAAC;AAE/C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAa,MAAM,gBAAgB,CAAC;AAI1D,eAAO,MAAM,OAAO,kEAyBlB,CAAC;AAEH,eAAO,MAAM,IAAI,oEAAiG,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../../../src/cli/commands/util.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,QAAQ,eAAe,2CAOlD,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from './plugin';
2
- export * from './storage';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/cli/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../../src/cli/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAO7C,eAAO,MAAM,cAAc,4BAK1B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../../src/cli/storage.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAoBxC;;;GAGG;AACH,eAAO,MAAM,kBAAkB;aAAgD,MAAM;kIAanF,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,kBAAkB;aAAyD,MAAM;aAAW,MAAM,EAAE;4GAQ/G,CAAC"}