@dxos/plugin-registry 0.8.4-main.c1de068 → 0.8.4-main.c85a9c8dae

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 (168) hide show
  1. package/dist/lib/browser/PluginArticle-MLBF7AFA.mjs +29 -0
  2. package/dist/lib/browser/PluginArticle-MLBF7AFA.mjs.map +7 -0
  3. package/dist/lib/browser/PluginRegistry-ENAI4SAY.mjs +77 -0
  4. package/dist/lib/browser/PluginRegistry-ENAI4SAY.mjs.map +7 -0
  5. package/dist/lib/browser/app-graph-builder-2HXD7SOS.mjs +167 -0
  6. package/dist/lib/browser/app-graph-builder-2HXD7SOS.mjs.map +7 -0
  7. package/dist/lib/browser/chunk-TSNK3SAR.mjs +191 -0
  8. package/dist/lib/browser/chunk-TSNK3SAR.mjs.map +7 -0
  9. package/dist/lib/browser/chunk-VOAOTNGS.mjs +19 -0
  10. package/dist/lib/browser/chunk-VOAOTNGS.mjs.map +7 -0
  11. package/dist/lib/browser/cli/index.mjs +224 -0
  12. package/dist/lib/browser/cli/index.mjs.map +7 -0
  13. package/dist/lib/browser/index.mjs +23 -31
  14. package/dist/lib/browser/index.mjs.map +4 -4
  15. package/dist/lib/browser/meta.json +1 -1
  16. package/dist/lib/browser/operation-resolver-7P3NNVSR.mjs +25 -0
  17. package/dist/lib/browser/operation-resolver-7P3NNVSR.mjs.map +7 -0
  18. package/dist/lib/browser/react-surface-DH25DIRH.mjs +85 -0
  19. package/dist/lib/browser/react-surface-DH25DIRH.mjs.map +7 -0
  20. package/dist/lib/node-esm/PluginArticle-TP2G6GGI.mjs +30 -0
  21. package/dist/lib/node-esm/PluginArticle-TP2G6GGI.mjs.map +7 -0
  22. package/dist/lib/node-esm/PluginRegistry-CWIZIQNX.mjs +78 -0
  23. package/dist/lib/node-esm/PluginRegistry-CWIZIQNX.mjs.map +7 -0
  24. package/dist/lib/node-esm/app-graph-builder-2LNPN72O.mjs +168 -0
  25. package/dist/lib/node-esm/app-graph-builder-2LNPN72O.mjs.map +7 -0
  26. package/dist/lib/node-esm/chunk-4XO63XB6.mjs +192 -0
  27. package/dist/lib/node-esm/chunk-4XO63XB6.mjs.map +7 -0
  28. package/dist/lib/node-esm/chunk-SALMIZ2W.mjs +21 -0
  29. package/dist/lib/node-esm/chunk-SALMIZ2W.mjs.map +7 -0
  30. package/dist/lib/node-esm/cli/index.mjs +225 -0
  31. package/dist/lib/node-esm/cli/index.mjs.map +7 -0
  32. package/dist/lib/node-esm/index.mjs +64 -0
  33. package/dist/lib/node-esm/index.mjs.map +7 -0
  34. package/dist/lib/node-esm/meta.json +1 -0
  35. package/dist/lib/node-esm/operation-resolver-B24QW6IF.mjs +26 -0
  36. package/dist/lib/node-esm/operation-resolver-B24QW6IF.mjs.map +7 -0
  37. package/dist/lib/node-esm/react-surface-3YBEVL65.mjs +86 -0
  38. package/dist/lib/node-esm/react-surface-3YBEVL65.mjs.map +7 -0
  39. package/dist/types/src/RegistryPlugin.d.ts +2 -1
  40. package/dist/types/src/RegistryPlugin.d.ts.map +1 -1
  41. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +6 -0
  42. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +1 -0
  43. package/dist/types/src/capabilities/app-graph-builder/index.d.ts +3 -0
  44. package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +1 -0
  45. package/dist/types/src/capabilities/index.d.ts +3 -3
  46. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  47. package/dist/types/src/capabilities/operation-resolver/index.d.ts +3 -0
  48. package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +1 -0
  49. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +5 -0
  50. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +1 -0
  51. package/dist/types/src/capabilities/react-surface/index.d.ts +3 -0
  52. package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -0
  53. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +5 -0
  54. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -0
  55. package/dist/types/src/cli/commands/disable.d.ts +11 -0
  56. package/dist/types/src/cli/commands/disable.d.ts.map +1 -0
  57. package/dist/types/src/cli/commands/enable.d.ts +11 -0
  58. package/dist/types/src/cli/commands/enable.d.ts.map +1 -0
  59. package/dist/types/src/cli/commands/index.d.ts +3 -0
  60. package/dist/types/src/cli/commands/index.d.ts.map +1 -0
  61. package/dist/types/src/cli/commands/list.d.ts +7 -0
  62. package/dist/types/src/cli/commands/list.d.ts.map +1 -0
  63. package/dist/types/src/cli/commands/util.d.ts +11 -0
  64. package/dist/types/src/cli/commands/util.d.ts.map +1 -0
  65. package/dist/types/src/cli/index.d.ts +3 -0
  66. package/dist/types/src/cli/index.d.ts.map +1 -0
  67. package/dist/types/src/cli/plugin.d.ts +3 -0
  68. package/dist/types/src/cli/plugin.d.ts.map +1 -0
  69. package/dist/types/src/cli/storage.d.ts +18 -0
  70. package/dist/types/src/cli/storage.d.ts.map +1 -0
  71. package/dist/types/src/components/PluginDetail/PluginDetail.d.ts +9 -0
  72. package/dist/types/src/components/PluginDetail/PluginDetail.d.ts.map +1 -0
  73. package/dist/types/src/components/PluginDetail/PluginDetail.stories.d.ts +33 -0
  74. package/dist/types/src/components/PluginDetail/PluginDetail.stories.d.ts.map +1 -0
  75. package/dist/types/src/components/PluginDetail/index.d.ts +2 -0
  76. package/dist/types/src/components/PluginDetail/index.d.ts.map +1 -0
  77. package/dist/types/src/components/{PluginItem.d.ts → PluginList/PluginItem.d.ts} +2 -2
  78. package/dist/types/src/components/PluginList/PluginItem.d.ts.map +1 -0
  79. package/dist/types/src/components/{PluginList.d.ts → PluginList/PluginList.d.ts} +1 -1
  80. package/dist/types/src/components/PluginList/PluginList.d.ts.map +1 -0
  81. package/dist/types/src/components/PluginList/PluginList.stories.d.ts +34 -0
  82. package/dist/types/src/components/PluginList/PluginList.stories.d.ts.map +1 -0
  83. package/dist/types/src/components/PluginList/index.d.ts +2 -0
  84. package/dist/types/src/components/PluginList/index.d.ts.map +1 -0
  85. package/dist/types/src/components/index.d.ts +0 -1
  86. package/dist/types/src/components/index.d.ts.map +1 -1
  87. package/dist/types/src/containers/PluginArticle/PluginArticle.d.ts +7 -0
  88. package/dist/types/src/containers/PluginArticle/PluginArticle.d.ts.map +1 -0
  89. package/dist/types/src/containers/PluginArticle/index.d.ts +3 -0
  90. package/dist/types/src/containers/PluginArticle/index.d.ts.map +1 -0
  91. package/dist/types/src/containers/PluginRegistry/PluginRegistry.d.ts +8 -0
  92. package/dist/types/src/containers/PluginRegistry/PluginRegistry.d.ts.map +1 -0
  93. package/dist/types/src/containers/PluginRegistry/index.d.ts +3 -0
  94. package/dist/types/src/containers/PluginRegistry/index.d.ts.map +1 -0
  95. package/dist/types/src/containers/index.d.ts +4 -0
  96. package/dist/types/src/containers/index.d.ts.map +1 -0
  97. package/dist/types/src/meta.d.ts +2 -3
  98. package/dist/types/src/meta.d.ts.map +1 -1
  99. package/dist/types/src/types.d.ts +3 -1
  100. package/dist/types/src/types.d.ts.map +1 -1
  101. package/dist/types/tsconfig.tsbuildinfo +1 -1
  102. package/package.json +50 -34
  103. package/src/RegistryPlugin.tsx +10 -25
  104. package/src/capabilities/app-graph-builder/app-graph-builder.ts +137 -0
  105. package/src/capabilities/app-graph-builder/index.ts +7 -0
  106. package/src/capabilities/index.ts +3 -5
  107. package/src/capabilities/operation-resolver/index.ts +7 -0
  108. package/src/capabilities/operation-resolver/operation-resolver.ts +24 -0
  109. package/src/capabilities/react-surface/index.ts +7 -0
  110. package/src/capabilities/react-surface/react-surface.tsx +88 -0
  111. package/src/cli/commands/disable.ts +47 -0
  112. package/src/cli/commands/enable.ts +44 -0
  113. package/src/cli/commands/index.ts +14 -0
  114. package/src/cli/commands/list.ts +41 -0
  115. package/src/cli/commands/util.ts +24 -0
  116. package/src/cli/index.ts +6 -0
  117. package/src/cli/plugin.ts +17 -0
  118. package/src/cli/storage.ts +57 -0
  119. package/src/components/PluginDetail/PluginDetail.stories.tsx +44 -0
  120. package/src/components/PluginDetail/PluginDetail.tsx +81 -0
  121. package/src/components/PluginDetail/index.ts +5 -0
  122. package/src/components/PluginList/PluginItem.tsx +124 -0
  123. package/src/components/PluginList/PluginList.stories.tsx +84 -0
  124. package/src/components/{PluginList.tsx → PluginList/PluginList.tsx} +3 -5
  125. package/src/components/PluginList/index.ts +5 -0
  126. package/src/components/index.ts +0 -1
  127. package/src/containers/PluginArticle/PluginArticle.tsx +28 -0
  128. package/src/containers/PluginArticle/index.ts +7 -0
  129. package/src/containers/PluginRegistry/PluginRegistry.tsx +86 -0
  130. package/src/containers/PluginRegistry/index.ts +7 -0
  131. package/src/containers/index.ts +8 -0
  132. package/src/meta.ts +8 -5
  133. package/src/types.ts +5 -1
  134. package/dist/lib/browser/app-graph-builder-LKQBQDUA.mjs +0 -161
  135. package/dist/lib/browser/app-graph-builder-LKQBQDUA.mjs.map +0 -7
  136. package/dist/lib/browser/chunk-AEBASNOI.mjs +0 -16
  137. package/dist/lib/browser/chunk-AEBASNOI.mjs.map +0 -7
  138. package/dist/lib/browser/intent-resolver-W67CIJI3.mjs +0 -23
  139. package/dist/lib/browser/intent-resolver-W67CIJI3.mjs.map +0 -7
  140. package/dist/lib/browser/react-surface-3GNB7AOY.mjs +0 -333
  141. package/dist/lib/browser/react-surface-3GNB7AOY.mjs.map +0 -7
  142. package/dist/types/src/capabilities/app-graph-builder.d.ts +0 -4
  143. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +0 -1
  144. package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
  145. package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
  146. package/dist/types/src/capabilities/react-surface.d.ts +0 -4
  147. package/dist/types/src/capabilities/react-surface.d.ts.map +0 -1
  148. package/dist/types/src/components/Icon.stories.d.ts +0 -6
  149. package/dist/types/src/components/Icon.stories.d.ts.map +0 -1
  150. package/dist/types/src/components/PluginDetail.d.ts +0 -9
  151. package/dist/types/src/components/PluginDetail.d.ts.map +0 -1
  152. package/dist/types/src/components/PluginDetail.stories.d.ts +0 -8
  153. package/dist/types/src/components/PluginDetail.stories.d.ts.map +0 -1
  154. package/dist/types/src/components/PluginItem.d.ts.map +0 -1
  155. package/dist/types/src/components/PluginList.d.ts.map +0 -1
  156. package/dist/types/src/components/PluginList.stories.d.ts +0 -11
  157. package/dist/types/src/components/PluginList.stories.d.ts.map +0 -1
  158. package/dist/types/src/components/RegistryContainer.d.ts +0 -7
  159. package/dist/types/src/components/RegistryContainer.d.ts.map +0 -1
  160. package/src/capabilities/app-graph-builder.ts +0 -155
  161. package/src/capabilities/intent-resolver.ts +0 -27
  162. package/src/capabilities/react-surface.tsx +0 -90
  163. package/src/components/Icon.stories.tsx +0 -108
  164. package/src/components/PluginDetail.stories.tsx +0 -45
  165. package/src/components/PluginDetail.tsx +0 -63
  166. package/src/components/PluginItem.tsx +0 -119
  167. package/src/components/PluginList.stories.tsx +0 -82
  168. package/src/components/RegistryContainer.tsx +0 -84
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,5 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capabilities, Capability } from '@dxos/app-framework';
3
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.OperationResolver[]>>, never, never>;
4
+ export default _default;
5
+ //# sourceMappingURL=operation-resolver.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,3 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,5 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capabilities, Capability } from '@dxos/app-framework';
3
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.ReactSurface>>, never, never>;
4
+ export default _default;
5
+ //# sourceMappingURL=react-surface.d.ts.map
@@ -0,0 +1 @@
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;;AAMvE,wBA0EE"}
@@ -0,0 +1,11 @@
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: (args_0: {
6
+ id: string;
7
+ }) => Effect.Effect<void, Error | import("@effect/platform/Error").PlatformError, Plugin.Service | import("@effect/platform/Path").Path | import("@effect/platform/FileSystem").FileSystem | CommandConfig>;
8
+ export declare const disable: Command.Command<"disable", Plugin.Service | import("@effect/platform/Path").Path | import("@effect/platform/FileSystem").FileSystem | CommandConfig, Error | import("@effect/platform/Error").PlatformError, {
9
+ readonly id: string;
10
+ }>;
11
+ //# sourceMappingURL=disable.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,11 @@
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: (args_0: {
6
+ id: string;
7
+ }) => Effect.Effect<void, Error | import("@effect/platform/Error").PlatformError, Plugin.Service | import("@effect/platform/Path").Path | import("@effect/platform/FileSystem").FileSystem | CommandConfig>;
8
+ export declare const enable: Command.Command<"enable", Plugin.Service | import("@effect/platform/Path").Path | import("@effect/platform/FileSystem").FileSystem | CommandConfig, Error | import("@effect/platform/Error").PlatformError, {
9
+ readonly id: string;
10
+ }>;
11
+ //# sourceMappingURL=enable.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,3 @@
1
+ import * as Command from '@effect/cli/Command';
2
+ export declare const plugin: Command.Command<any, any, any, any>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,7 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,11 @@
1
+ export type FormattedPlugin = {
2
+ id: string;
3
+ name: string;
4
+ enabled: boolean;
5
+ core: boolean;
6
+ };
7
+ /**
8
+ * Pretty prints a plugin with ANSI colors.
9
+ */
10
+ export declare const printPlugin: (plugin: FormattedPlugin) => import("@effect/printer/Doc").Doc<any>;
11
+ //# sourceMappingURL=util.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,3 @@
1
+ export * from './plugin';
2
+ export * from './storage';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/cli/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Plugin } from '@dxos/app-framework';
2
+ export declare const RegistryPlugin: Plugin.PluginFactory<void>;
3
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,18 @@
1
+ import * as FileSystem from '@effect/platform/FileSystem';
2
+ import * as Path from '@effect/platform/Path';
3
+ import * as Effect from 'effect/Effect';
4
+ /**
5
+ * Load enabled plugins from profile storage.
6
+ * Returns the list of enabled plugin IDs, or an empty array if the file doesn't exist.
7
+ */
8
+ export declare const loadEnabledPlugins: (args_0: {
9
+ profile: string;
10
+ }) => Effect.Effect<string[] | readonly string[], import("@effect/platform/Error").BadArgument, Path.Path | FileSystem.FileSystem>;
11
+ /**
12
+ * Save enabled plugins to profile storage.
13
+ */
14
+ export declare const saveEnabledPlugins: (args_0: {
15
+ profile: string;
16
+ enabled: string[];
17
+ }) => Effect.Effect<void, import("@effect/platform/Error").PlatformError, Path.Path | FileSystem.FileSystem>;
18
+ //# sourceMappingURL=storage.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { type Plugin } from '@dxos/app-framework';
3
+ export type PluginDetailProps = {
4
+ plugin: Plugin.Plugin;
5
+ enabled?: boolean;
6
+ onEnabledChange?: (enabled: boolean) => void;
7
+ };
8
+ export declare const PluginDetail: ({ plugin, enabled, onEnabledChange }: PluginDetailProps) => React.JSX.Element;
9
+ //# sourceMappingURL=PluginDetail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PluginDetail.d.ts","sourceRoot":"","sources":["../../../../../src/components/PluginDetail/PluginDetail.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAOlD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,sCAAsC,iBAAiB,sBA6DnF,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { type StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ plugin, enabled, onEnabledChange }: import("./PluginDetail").PluginDetailProps) => import("react").JSX.Element;
5
+ decorators: import("@storybook/react").Decorator[];
6
+ parameters: {
7
+ layout: string;
8
+ translations: [{
9
+ readonly 'en-US': {
10
+ readonly [meta.id]: {
11
+ readonly 'plugin name': "Registry";
12
+ readonly 'details label': "Details";
13
+ readonly 'home page label': "Website";
14
+ readonly 'source label': "Source";
15
+ readonly 'plugin registry label': "Plugin Registry";
16
+ readonly 'all plugins label': "All";
17
+ readonly 'installed plugins label': "Enabled";
18
+ readonly 'recommended plugins label': "Recommended";
19
+ readonly 'labs plugins label': "Labs";
20
+ readonly 'community plugins label': "Community";
21
+ readonly 'load by url label': "Load by URL (soon)";
22
+ readonly 'coming soon label': "Coming soon!";
23
+ readonly 'open plugin registry label': "Open plugin registry";
24
+ readonly 'settings label': "Settings";
25
+ };
26
+ };
27
+ }];
28
+ };
29
+ };
30
+ export default meta;
31
+ type Story = StoryObj<typeof meta>;
32
+ export declare const Default: Story;
33
+ //# sourceMappingURL=PluginDetail.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PluginDetail.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/PluginDetail/PluginDetail.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAUjE,QAAA,MAAM,IAAI;;;;;;;;yBAPO,CAAO,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;CAeK,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAerB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './PluginDetail';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/PluginDetail/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { type Plugin } from '@dxos/app-framework';
3
3
  export type PluginItemProps = {
4
- plugin: Plugin;
4
+ plugin: Plugin.Plugin;
5
5
  installed?: readonly string[];
6
6
  enabled?: readonly string[];
7
7
  onClick?: (id: string) => void;
@@ -9,5 +9,5 @@ export type PluginItemProps = {
9
9
  hasSettings?: (id: string) => boolean;
10
10
  onSettings?: (id: string) => void;
11
11
  };
12
- export declare const PluginItem: ({ plugin, enabled, onClick, onChange, hasSettings: _hasSettings, onSettings, }: PluginItemProps) => React.JSX.Element;
12
+ export declare const PluginItem: ({ plugin, enabled, onClick, onChange, hasSettings: hasSettingsProp, onSettings, }: PluginItemProps) => React.JSX.Element;
13
13
  //# sourceMappingURL=PluginItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PluginItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/PluginList/PluginItem.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAQlD,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9B,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAClD,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC;IACtC,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,mFAOxB,eAAe,sBAmFjB,CAAC"}
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { type Plugin } from '@dxos/app-framework';
3
3
  import { type PluginItemProps } from './PluginItem';
4
4
  export type PluginListProps = Omit<PluginItemProps, 'plugin'> & {
5
- plugins?: readonly Plugin[];
5
+ plugins?: readonly Plugin.Plugin[];
6
6
  };
7
7
  export declare const PluginList: ({ plugins, ...props }: PluginListProps) => React.JSX.Element;
8
8
  //# sourceMappingURL=PluginList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PluginList.d.ts","sourceRoot":"","sources":["../../../../../src/components/PluginList/PluginList.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAEhE,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,EAAE,QAAQ,CAAC,GAAG;IAC9D,OAAO,CAAC,EAAE,SAAS,MAAM,CAAC,MAAM,EAAE,CAAC;CACpC,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,uBAA4B,eAAe,sBAQrE,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { type StoryObj } from '@storybook/react-vite';
2
+ import React from 'react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ plugins, ...props }: import("./PluginList").PluginListProps) => React.JSX.Element;
6
+ render: () => React.JSX.Element;
7
+ parameters: {
8
+ translations: [{
9
+ readonly 'en-US': {
10
+ readonly [meta.id]: {
11
+ readonly 'plugin name': "Registry";
12
+ readonly 'details label': "Details";
13
+ readonly 'home page label': "Website";
14
+ readonly 'source label': "Source";
15
+ readonly 'plugin registry label': "Plugin Registry";
16
+ readonly 'all plugins label': "All";
17
+ readonly 'installed plugins label': "Enabled";
18
+ readonly 'recommended plugins label': "Recommended";
19
+ readonly 'labs plugins label': "Labs";
20
+ readonly 'community plugins label': "Community";
21
+ readonly 'load by url label': "Load by URL (soon)";
22
+ readonly 'coming soon label': "Coming soon!";
23
+ readonly 'open plugin registry label': "Open plugin registry";
24
+ readonly 'settings label': "Settings";
25
+ };
26
+ };
27
+ }];
28
+ };
29
+ };
30
+ export default meta;
31
+ type Story = StoryObj<typeof meta>;
32
+ export declare const Default: Story;
33
+ export declare const FullScreen: Story;
34
+ //# sourceMappingURL=PluginList.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PluginList.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/PluginList/PluginList.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAmB,MAAM,OAAO,CAAC;AAwDxC,QAAA,MAAM,IAAI;;;;;;;yBAtDY,CAAO,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;CA6DF,CAAC;AAEpC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAKxB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './PluginList';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/PluginList/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC"}
@@ -1,4 +1,3 @@
1
1
  export * from './PluginDetail';
2
2
  export * from './PluginList';
3
- export * from './RegistryContainer';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { type Plugin } from '@dxos/app-framework';
3
+ export type PluginArticleProps = {
4
+ subject: Plugin.Plugin;
5
+ };
6
+ export declare const PluginArticle: ({ subject: plugin }: PluginArticleProps) => React.JSX.Element;
7
+ //# sourceMappingURL=PluginArticle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PluginArticle.d.ts","sourceRoot":"","sources":["../../../../../src/containers/PluginArticle/PluginArticle.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAOlD,MAAM,MAAM,kBAAkB,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC,MAAM,CAAA;CAAE,CAAC;AAE5D,eAAO,MAAM,aAAa,GAAI,qBAAqB,kBAAkB,sBAYpE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { PluginArticle } from './PluginArticle';
2
+ export default PluginArticle;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/PluginArticle/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,eAAe,aAAa,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { type Plugin } from '@dxos/app-framework';
3
+ export type PluginRegistryProps = {
4
+ id: string;
5
+ plugins: Plugin.Plugin[];
6
+ };
7
+ export declare const PluginRegistry: ({ id, plugins: pluginsProp }: PluginRegistryProps) => React.JSX.Element;
8
+ //# sourceMappingURL=PluginRegistry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PluginRegistry.d.ts","sourceRoot":"","sources":["../../../../../src/containers/PluginRegistry/PluginRegistry.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAYlD,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,8BAA8B,mBAAmB,sBA4D/E,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { PluginRegistry } from './PluginRegistry';
2
+ export default PluginRegistry;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/PluginRegistry/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,eAAe,cAAc,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type ComponentType } from 'react';
2
+ export declare const PluginArticle: ComponentType<any>;
3
+ export declare const PluginRegistry: ComponentType<any>;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,eAAO,MAAM,aAAa,EAAE,aAAa,CAAC,GAAG,CAAyC,CAAC;AACvF,eAAO,MAAM,cAAc,EAAE,aAAa,CAAC,GAAG,CAA0C,CAAC"}
@@ -1,6 +1,5 @@
1
- import { type PluginMeta } from '@dxos/app-framework';
2
- export declare const REGISTRY_PLUGIN = "dxos.org/plugin/registry";
1
+ import { type Plugin } from '@dxos/app-framework';
3
2
  export declare const REGISTRY_ID = "!dxos:plugin-registry";
4
3
  export declare const REGISTRY_KEY = "plugin-registry";
5
- export declare const meta: PluginMeta;
4
+ export declare const meta: Plugin.Meta;
6
5
  //# sourceMappingURL=meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,eAAe,6BAA6B,CAAC;AAK1D,eAAO,MAAM,WAAW,0BAA0B,CAAC;AACnD,eAAO,MAAM,YAAY,oBAAoB,CAAC;AAE9C,eAAO,MAAM,IAAI,EAAE,UAGlB,CAAC"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAMlD,eAAO,MAAM,WAAW,0BAA0B,CAAC;AACnD,eAAO,MAAM,YAAY,oBAAoB,CAAC;AAE9C,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,IAOzB,CAAC"}
@@ -1,6 +1,8 @@
1
- import { Schema } from 'effect';
1
+ import * as Schema from 'effect/Schema';
2
2
  export declare const RegistrySettingsSchema: Schema.mutable<Schema.Struct<{
3
3
  experimental: Schema.optional<typeof Schema.Boolean>;
4
4
  }>>;
5
5
  export type RegistrySettings = Schema.Schema.Type<typeof RegistrySettingsSchema>;
6
+ export declare const RegistryTagType: Schema.Literal<["new", "beta", "labs", "popular", "featured", "experimental"]>;
7
+ export type RegistryTagType = Schema.Schema.Type<typeof RegistryTagType>;
6
8
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,eAAO,MAAM,sBAAsB;;GAIlC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,eAAO,MAAM,sBAAsB;;GAIlC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEjF,eAAO,MAAM,eAAe,gFAA+E,CAAC;AAE5G,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,eAAe,CAAC,CAAC"}