@dxos/plugin-debug 0.8.4-main.ae835ea → 0.8.4-main.bcb3aa67d6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/dist/lib/browser/index.mjs +101 -100
  2. package/dist/lib/browser/index.mjs.map +4 -4
  3. package/dist/lib/browser/meta.json +1 -1
  4. package/dist/types/src/DebugPlugin.d.ts +7 -1
  5. package/dist/types/src/DebugPlugin.d.ts.map +1 -1
  6. package/dist/types/src/capabilities/app-graph-builder.d.ts +4 -2
  7. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  8. package/dist/types/src/capabilities/index.d.ts +12 -5
  9. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  10. package/dist/types/src/capabilities/react-context.d.ts +4 -2
  11. package/dist/types/src/capabilities/react-context.d.ts.map +1 -1
  12. package/dist/types/src/capabilities/react-surface.d.ts +7 -2
  13. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  14. package/dist/types/src/capabilities/settings.d.ts +8 -2
  15. package/dist/types/src/capabilities/settings.d.ts.map +1 -1
  16. package/dist/types/src/components/DebugSettings/DebugSettings.d.ts +11 -0
  17. package/dist/types/src/components/DebugSettings/DebugSettings.d.ts.map +1 -0
  18. package/dist/types/src/components/DebugSettings/DebugSettings.stories.d.ts +79 -0
  19. package/dist/types/src/components/DebugSettings/DebugSettings.stories.d.ts.map +1 -0
  20. package/dist/types/src/components/DebugSettings/index.d.ts +3 -0
  21. package/dist/types/src/components/DebugSettings/index.d.ts.map +1 -0
  22. package/dist/types/src/components/SchemaTable/SchemaTable.d.ts.map +1 -0
  23. package/dist/types/src/components/SchemaTable/index.d.ts +2 -0
  24. package/dist/types/src/components/SchemaTable/index.d.ts.map +1 -0
  25. package/dist/types/src/components/SpaceGenerator/ObjectGenerator.d.ts +5 -5
  26. package/dist/types/src/components/SpaceGenerator/ObjectGenerator.d.ts.map +1 -1
  27. package/dist/types/src/components/SpaceGenerator/index.d.ts +2 -2
  28. package/dist/types/src/components/SpaceGenerator/index.d.ts.map +1 -1
  29. package/dist/types/src/components/SpaceGenerator/presets.d.ts +2 -5
  30. package/dist/types/src/components/SpaceGenerator/presets.d.ts.map +1 -1
  31. package/dist/types/src/components/index.d.ts +4 -10
  32. package/dist/types/src/components/index.d.ts.map +1 -1
  33. package/dist/types/src/containers/DebugGraph/DebugGraph.d.ts +8 -0
  34. package/dist/types/src/containers/DebugGraph/DebugGraph.d.ts.map +1 -0
  35. package/dist/types/src/containers/DebugGraph/index.d.ts +3 -0
  36. package/dist/types/src/containers/DebugGraph/index.d.ts.map +1 -0
  37. package/dist/types/src/{components → containers/DebugObjectPanel}/DebugObjectPanel.d.ts +2 -2
  38. package/dist/types/src/containers/DebugObjectPanel/DebugObjectPanel.d.ts.map +1 -0
  39. package/dist/types/src/containers/DebugObjectPanel/index.d.ts +3 -0
  40. package/dist/types/src/containers/DebugObjectPanel/index.d.ts.map +1 -0
  41. package/dist/types/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.d.ts +3 -0
  42. package/dist/types/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.d.ts.map +1 -0
  43. package/dist/types/src/containers/DebugSpaceObjectsPanel/index.d.ts +3 -0
  44. package/dist/types/src/containers/DebugSpaceObjectsPanel/index.d.ts.map +1 -0
  45. package/dist/types/src/containers/DebugStatus/DebugStatus.d.ts.map +1 -0
  46. package/dist/types/src/containers/DebugStatus/index.d.ts +3 -0
  47. package/dist/types/src/containers/DebugStatus/index.d.ts.map +1 -0
  48. package/dist/types/src/{components → containers/DevtoolsOverviewContainer}/DevtoolsOverviewContainer.d.ts +0 -1
  49. package/dist/types/src/containers/DevtoolsOverviewContainer/DevtoolsOverviewContainer.d.ts.map +1 -0
  50. package/dist/types/src/containers/DevtoolsOverviewContainer/index.d.ts +3 -0
  51. package/dist/types/src/containers/DevtoolsOverviewContainer/index.d.ts.map +1 -0
  52. package/dist/types/src/containers/SpaceGenerator/SpaceGenerator.d.ts +15 -0
  53. package/dist/types/src/containers/SpaceGenerator/SpaceGenerator.d.ts.map +1 -0
  54. package/dist/types/src/containers/SpaceGenerator/index.d.ts +3 -0
  55. package/dist/types/src/containers/SpaceGenerator/index.d.ts.map +1 -0
  56. package/dist/types/src/{components → containers/Wireframe}/Wireframe.d.ts +2 -2
  57. package/dist/types/src/containers/Wireframe/Wireframe.d.ts.map +1 -0
  58. package/dist/types/src/containers/Wireframe/index.d.ts +3 -0
  59. package/dist/types/src/containers/Wireframe/index.d.ts.map +1 -0
  60. package/dist/types/src/containers/index.d.ts +9 -0
  61. package/dist/types/src/containers/index.d.ts.map +1 -0
  62. package/dist/types/src/meta.d.ts +2 -2
  63. package/dist/types/src/meta.d.ts.map +1 -1
  64. package/dist/types/src/translations.d.ts +60 -58
  65. package/dist/types/src/translations.d.ts.map +1 -1
  66. package/dist/types/src/types/Settings.d.ts +6 -0
  67. package/dist/types/src/types/Settings.d.ts.map +1 -0
  68. package/dist/types/src/types/index.d.ts +67 -0
  69. package/dist/types/src/types/index.d.ts.map +1 -0
  70. package/dist/types/tsconfig.tsbuildinfo +1 -1
  71. package/package.json +83 -70
  72. package/src/DebugPlugin.tsx +31 -33
  73. package/src/capabilities/app-graph-builder.ts +363 -388
  74. package/src/capabilities/index.ts +5 -5
  75. package/src/capabilities/react-context.tsx +16 -7
  76. package/src/capabilities/react-surface.tsx +360 -337
  77. package/src/capabilities/settings.ts +24 -12
  78. package/src/components/DebugSettings/DebugSettings.stories.tsx +36 -0
  79. package/src/components/DebugSettings/DebugSettings.tsx +228 -0
  80. package/src/components/DebugSettings/index.ts +7 -0
  81. package/src/components/SchemaTable/index.ts +5 -0
  82. package/src/components/SpaceGenerator/ObjectGenerator.tsx +21 -23
  83. package/src/components/SpaceGenerator/index.ts +2 -3
  84. package/src/components/SpaceGenerator/presets.ts +243 -121
  85. package/src/components/index.ts +4 -8
  86. package/src/containers/DebugGraph/DebugGraph.tsx +13 -0
  87. package/src/containers/DebugGraph/index.ts +7 -0
  88. package/src/containers/DebugObjectPanel/DebugObjectPanel.tsx +47 -0
  89. package/src/containers/DebugObjectPanel/index.ts +7 -0
  90. package/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.tsx +55 -0
  91. package/src/containers/DebugSpaceObjectsPanel/index.ts +7 -0
  92. package/src/{components → containers/DebugStatus}/DebugStatus.tsx +41 -17
  93. package/src/containers/DebugStatus/index.ts +7 -0
  94. package/src/containers/DevtoolsOverviewContainer/DevtoolsOverviewContainer.tsx +25 -0
  95. package/src/containers/DevtoolsOverviewContainer/index.ts +7 -0
  96. package/src/containers/SpaceGenerator/SpaceGenerator.tsx +130 -0
  97. package/src/containers/SpaceGenerator/index.ts +7 -0
  98. package/src/{components → containers/Wireframe}/Wireframe.tsx +6 -7
  99. package/src/containers/Wireframe/index.ts +7 -0
  100. package/src/containers/index.ts +13 -0
  101. package/src/meta.ts +3 -3
  102. package/src/translations.ts +66 -58
  103. package/src/types/Settings.ts +15 -0
  104. package/src/{types.ts → types/index.ts} +12 -10
  105. package/dist/lib/browser/DebugGraph-EDOH6R2G.mjs +0 -20
  106. package/dist/lib/browser/DebugGraph-EDOH6R2G.mjs.map +0 -7
  107. package/dist/lib/browser/DevtoolsOverviewContainer-EPD6EWT5.mjs +0 -25
  108. package/dist/lib/browser/DevtoolsOverviewContainer-EPD6EWT5.mjs.map +0 -7
  109. package/dist/lib/browser/SpaceGenerator-7Q7CX64P.mjs +0 -1159
  110. package/dist/lib/browser/SpaceGenerator-7Q7CX64P.mjs.map +0 -7
  111. package/dist/lib/browser/app-graph-builder-RXWTHLEW.mjs +0 -588
  112. package/dist/lib/browser/app-graph-builder-RXWTHLEW.mjs.map +0 -7
  113. package/dist/lib/browser/chunk-SRV2AIGJ.mjs +0 -68
  114. package/dist/lib/browser/chunk-SRV2AIGJ.mjs.map +0 -7
  115. package/dist/lib/browser/chunk-WZFZ4ESO.mjs +0 -20
  116. package/dist/lib/browser/chunk-WZFZ4ESO.mjs.map +0 -7
  117. package/dist/lib/browser/react-context-P2YDWEWI.mjs +0 -16
  118. package/dist/lib/browser/react-context-P2YDWEWI.mjs.map +0 -7
  119. package/dist/lib/browser/react-surface-4XGZUT3Z.mjs +0 -772
  120. package/dist/lib/browser/react-surface-4XGZUT3Z.mjs.map +0 -7
  121. package/dist/lib/browser/settings-SQXR3OAH.mjs +0 -22
  122. package/dist/lib/browser/settings-SQXR3OAH.mjs.map +0 -7
  123. package/dist/types/src/components/Container.d.ts +0 -5
  124. package/dist/types/src/components/Container.d.ts.map +0 -1
  125. package/dist/types/src/components/DebugGraph.d.ts +0 -8
  126. package/dist/types/src/components/DebugGraph.d.ts.map +0 -1
  127. package/dist/types/src/components/DebugObjectPanel.d.ts.map +0 -1
  128. package/dist/types/src/components/DebugSettings.d.ts +0 -6
  129. package/dist/types/src/components/DebugSettings.d.ts.map +0 -1
  130. package/dist/types/src/components/DebugStatus.d.ts.map +0 -1
  131. package/dist/types/src/components/DevtoolsOverviewContainer.d.ts.map +0 -1
  132. package/dist/types/src/components/SpaceGenerator/SchemaTable.d.ts.map +0 -1
  133. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.d.ts +0 -9
  134. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.d.ts.map +0 -1
  135. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.stories.d.ts +0 -15
  136. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.stories.d.ts.map +0 -1
  137. package/dist/types/src/components/Wireframe.d.ts.map +0 -1
  138. package/dist/types/src/types.d.ts +0 -63
  139. package/dist/types/src/types.d.ts.map +0 -1
  140. package/src/components/Container.tsx +0 -15
  141. package/src/components/DebugGraph.tsx +0 -14
  142. package/src/components/DebugObjectPanel.tsx +0 -33
  143. package/src/components/DebugSettings.tsx +0 -159
  144. package/src/components/DevtoolsOverviewContainer.tsx +0 -20
  145. package/src/components/SpaceGenerator/SpaceGenerator.stories.tsx +0 -52
  146. package/src/components/SpaceGenerator/SpaceGenerator.tsx +0 -122
  147. /package/dist/types/src/components/{SpaceGenerator → SchemaTable}/SchemaTable.d.ts +0 -0
  148. /package/dist/types/src/{components → containers/DebugStatus}/DebugStatus.d.ts +0 -0
  149. /package/src/components/{SpaceGenerator → SchemaTable}/SchemaTable.tsx +0 -0
@@ -1,115 +1,100 @@
1
- import {
2
- meta
3
- } from "./chunk-WZFZ4ESO.mjs";
4
-
5
1
  // src/DebugPlugin.tsx
6
- import { Capabilities, Events, contributes, defineModule, definePlugin } from "@dxos/app-framework";
7
-
8
- // src/capabilities/index.ts
9
- import { lazy } from "@dxos/app-framework";
10
- var AppGraphBuilder = lazy(() => import("./app-graph-builder-RXWTHLEW.mjs"));
11
- var ReactContext = lazy(() => import("./react-context-P2YDWEWI.mjs"));
12
- var ReactSurface = lazy(() => import("./react-surface-4XGZUT3Z.mjs"));
13
- var DebugSettings = lazy(() => import("./settings-SQXR3OAH.mjs"));
2
+ import * as Effect from "effect/Effect";
3
+ import { ActivationEvents, Capability, Plugin } from "@dxos/app-framework";
4
+ import { AppPlugin } from "@dxos/app-toolkit";
5
+ import { meta as meta2 } from "#meta";
14
6
 
15
7
  // src/translations.ts
8
+ import { meta } from "#meta";
16
9
  var translations = [
17
10
  {
18
11
  "en-US": {
19
12
  [meta.id]: {
20
- "plugin name": "Debug",
21
- "settings title": "Debug settings",
22
- "mutation count": "Number of mutations",
23
- "mutation period": "Mutation period",
24
- "open devtools label": "Open DevTools",
25
- "devtools label": "DevTools",
26
- "devtools overview label": "DevTools Stats",
27
- "debug label": "Debug",
28
- "debug app graph label": "App Graph",
29
- "settings show debug panel": "Show Debug panel.",
30
- "settings show devtools panel": "Show DevTools panel.",
31
- "settings wireframe": "Show wireframes.",
32
- "settings repair": "Run repair tool.",
33
- "settings download diagnostics": "Download diagnostics.",
34
- "settings uploaded": "Uploaded to IPFS",
35
- "settings uploaded to clipboard": "URL copied to clipboard.",
36
- "settings repair success": "Repair succeeded",
37
- "settings repair failed": "Repair failed",
38
- "settings choose storage adaptor": "Storage adaptor (worker reload required).",
39
- "settings storage adaptor idb label": "IndexedDB",
40
- "settings storage adaptor opfs label": "OPFS",
41
- "settings data store label": "Data Store",
42
- "settings storage adapter changed alert": "Warning: Swapping the storage adapter will make your data unavailable.",
43
- "settings space fragmentation": "Enable AM space fragmentation",
44
- "open debug panel label": "Show Debug",
45
- "client label": "Client",
46
- "config label": "Config",
47
- "storage label": "Storage",
48
- "logs label": "Logs",
49
- "diagnostics label": "Diagnostics",
50
- "tracing label": "Tracing",
51
- "halo label": "HALO",
52
- "identity label": "Identity",
53
- "devices label": "Devices",
54
- "keyring label": "Keyring",
55
- "credentials label": "Credentials",
56
- "echo label": "ECHO",
57
- "spaces label": "Spaces",
58
- "space label": "Space",
59
- "feeds label": "Feeds",
60
- "objects label": "Objects",
61
- "schema label": "Schema",
62
- "automerge label": "Automerge",
63
- "queues label": "Queues",
64
- "members label": "Members",
65
- "metadata label": "Metadata",
66
- "mesh label": "MESH",
67
- "signal label": "Signal",
68
- "swarm label": "Swarm",
69
- "network label": "Network",
70
- "agent label": "Agent",
71
- "dashboard label": "Dashboard",
72
- "search label": "Search",
73
- "edge label": "EDGE",
74
- "workflows label": "Workflows",
75
- "traces label": "Traces",
76
- "testing label": "Testing"
13
+ "plugin.name": "Debug",
14
+ "settings.title": "Debug settings",
15
+ "open-devtools.label": "Open DevTools",
16
+ "devtools.label": "DevTools",
17
+ "devtools-overview.label": "Stats",
18
+ "space-objects.label": "Database",
19
+ "debug.label": "Debug",
20
+ "debug-app-graph.label": "App Graph",
21
+ "settings.wireframe.label": "Show wireframes.",
22
+ "settings.wireframe.description": "Overlay wireframe outlines on UI components for debugging layout.",
23
+ "settings.repair.label": "Run repair tool.",
24
+ "settings.repair.description": "Attempt to detect and fix inconsistencies in local data storage.",
25
+ "settings.download-diagnostics.label": "Download diagnostics.",
26
+ "settings.download-diagnostics.description": "Export a JSON file containing client diagnostics for troubleshooting.",
27
+ "settings.download-logs.label": "Download log buffer.",
28
+ "settings.download-logs.description": "Export the in-memory log buffer as an NDJSON file.",
29
+ "settings.uploaded.message": "Settings uploaded.",
30
+ "settings.uploaded.description": "URL copied to clipboard.",
31
+ "settings.choose-storage-adaptor.label": "Storage adaptor (worker reload required).",
32
+ "settings.choose-storage-adaptor.description": "Select the browser storage backend. Changing this requires a worker reload and may make existing data unavailable.",
33
+ "settings.repair-success.message": "Repair succeeded",
34
+ "settings.repair-failed.message": "Repair failed",
35
+ "settings.storage-adaptor.idb.label": "IndexedDB",
36
+ "settings.storage-adaptor.opfs.label": "OPFS",
37
+ "settings.storage-adapter.changed-alert.message": "Warning: Swapping the storage adapter will make your data unavailable.",
38
+ "settings.data-store.label": "Data Store",
39
+ "open-debug-panel.label": "Show Debug",
40
+ "client.label": "Client",
41
+ "config.label": "Config",
42
+ "storage.label": "Storage",
43
+ "logs.label": "Logs",
44
+ "diagnostics.label": "Diagnostics",
45
+ "tracing.label": "Tracing",
46
+ "halo.label": "HALO",
47
+ "identity.label": "Identity",
48
+ "devices.label": "Devices",
49
+ "keyring.label": "Keyring",
50
+ "credentials.label": "Credentials",
51
+ "echo.label": "ECHO",
52
+ "spaces.label": "Spaces",
53
+ "space.label": "Space",
54
+ "feeds.label": "Feeds",
55
+ "objects.label": "Objects",
56
+ "schema.label": "Schema",
57
+ "automerge.label": "Automerge",
58
+ "queues.label": "Queues",
59
+ "members.label": "Members",
60
+ "metadata.label": "Metadata",
61
+ "mesh.label": "MESH",
62
+ "signal.label": "Signal",
63
+ "swarm.label": "Swarm",
64
+ "network.label": "Network",
65
+ "agent.label": "Agent",
66
+ "dashboard.label": "Dashboard",
67
+ "search.label": "Search",
68
+ "edge.label": "EDGE",
69
+ "workflows.label": "Workflows",
70
+ "traces.label": "Traces",
71
+ "testing.label": "Testing"
77
72
  }
78
73
  }
79
74
  }
80
75
  ];
81
76
 
82
77
  // src/DebugPlugin.tsx
83
- var DebugPlugin = definePlugin(meta, () => {
84
- setupDevtools();
85
- return [
86
- defineModule({
87
- id: `${meta.id}/module/settings`,
88
- activatesOn: Events.SetupSettings,
89
- activate: DebugSettings
90
- }),
91
- defineModule({
92
- id: `${meta.id}/module/translations`,
93
- activatesOn: Events.SetupTranslations,
94
- activate: () => contributes(Capabilities.Translations, translations)
95
- }),
96
- defineModule({
97
- id: `${meta.id}/module/react-context`,
98
- activatesOn: Events.Startup,
99
- activate: ReactContext
100
- }),
101
- defineModule({
102
- id: `${meta.id}/module/react-surface`,
103
- activatesOn: Events.SetupReactSurface,
104
- activate: ReactSurface
105
- }),
106
- defineModule({
107
- id: `${meta.id}/module/app-graph-builder`,
108
- activatesOn: Events.SetupAppGraph,
109
- activate: AppGraphBuilder
110
- })
111
- ];
112
- });
78
+ import { AppGraphBuilder, DebugSettings, ReactContext, ReactSurface } from "#capabilities";
79
+ var DebugPlugin = Plugin.define(meta2).pipe(AppPlugin.addAppGraphModule({
80
+ activate: AppGraphBuilder
81
+ }), AppPlugin.addReactContextModule({
82
+ activate: ReactContext
83
+ }), AppPlugin.addSettingsModule({
84
+ activate: DebugSettings
85
+ }), Plugin.addModule(({ logBuffer }) => ({
86
+ id: Capability.getModuleTag(ReactSurface) ?? "surfaces",
87
+ activatesOn: ActivationEvents.SetupReactSurface,
88
+ activate: () => ReactSurface({
89
+ logBuffer
90
+ })
91
+ })), AppPlugin.addTranslationsModule({
92
+ translations
93
+ }), Plugin.addModule({
94
+ id: "setup-devtools",
95
+ activatesOn: ActivationEvents.Startup,
96
+ activate: () => Effect.sync(() => setupDevtools())
97
+ }), Plugin.make);
113
98
  var setupDevtools = () => {
114
99
  globalThis.composer ??= {};
115
100
  globalThis.composer.changeStorageVersionInMetadata = async (version) => {
@@ -123,8 +108,24 @@ var setupDevtools = () => {
123
108
  location.pathname = "/";
124
109
  };
125
110
  };
111
+
112
+ // src/meta.ts
113
+ import { trim } from "@dxos/util";
114
+ var meta3 = {
115
+ id: "org.dxos.plugin.debug",
116
+ name: "Debug",
117
+ description: trim`
118
+ Comprehensive developer toolkit for troubleshooting applications, generating test data, and exploring automation capabilities.
119
+ Inspect objects, monitor events, and debug plugin behavior in real-time.
120
+ `,
121
+ icon: "ph--bug--regular",
122
+ source: "https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-debug",
123
+ screenshots: [
124
+ "https://dxos.network/plugin-details-debug-dark.png"
125
+ ]
126
+ };
126
127
  export {
127
128
  DebugPlugin,
128
- meta
129
+ meta3 as meta
129
130
  };
130
131
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/DebugPlugin.tsx", "../../../src/capabilities/index.ts", "../../../src/translations.ts"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Capabilities, Events, contributes, defineModule, definePlugin } from '@dxos/app-framework';\nimport { type Client } from '@dxos/react-client';\n\nimport { AppGraphBuilder, DebugSettings, ReactContext, ReactSurface } from './capabilities';\nimport { meta } from './meta';\nimport { translations } from './translations';\n\n// TODO(wittjosiah): Factor out DevtoolsPlugin?\nexport const DebugPlugin = definePlugin(meta, () => {\n setupDevtools();\n return [\n defineModule({\n id: `${meta.id}/module/settings`,\n activatesOn: Events.SetupSettings,\n activate: DebugSettings,\n }),\n defineModule({\n id: `${meta.id}/module/translations`,\n activatesOn: Events.SetupTranslations,\n activate: () => contributes(Capabilities.Translations, translations),\n }),\n defineModule({\n id: `${meta.id}/module/react-context`,\n activatesOn: Events.Startup,\n activate: ReactContext,\n }),\n defineModule({\n id: `${meta.id}/module/react-surface`,\n activatesOn: Events.SetupReactSurface,\n activate: ReactSurface,\n }),\n defineModule({\n id: `${meta.id}/module/app-graph-builder`,\n activatesOn: Events.SetupAppGraph,\n activate: AppGraphBuilder,\n }),\n ];\n});\n\nconst setupDevtools = () => {\n (globalThis as any).composer ??= {};\n\n // Used to test how composer handles breaking protocol changes.\n (globalThis as any).composer.changeStorageVersionInMetadata = async (version: number) => {\n const { changeStorageVersionInMetadata } = await import('@dxos/echo-pipeline/testing');\n const { createStorageObjects } = await import('@dxos/client-services');\n const client: Client = (window as any).dxos.client;\n const config = client.config;\n await client.destroy();\n const { storage } = createStorageObjects(config.values?.runtime?.client?.storage ?? {});\n await changeStorageVersionInMetadata(storage, version);\n location.pathname = '/';\n };\n};\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport { lazy } from '@dxos/app-framework';\n\nexport const AppGraphBuilder = lazy(() => import('./app-graph-builder'));\nexport const ReactContext = lazy(() => import('./react-context'));\nexport const ReactSurface = lazy(() => import('./react-surface'));\nexport const DebugSettings = lazy(() => import('./settings'));\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from './meta';\n\nexport const translations = [\n {\n 'en-US': {\n [meta.id]: {\n 'plugin name': 'Debug',\n 'settings title': 'Debug settings',\n 'mutation count': 'Number of mutations',\n 'mutation period': 'Mutation period',\n 'open devtools label': 'Open DevTools',\n 'devtools label': 'DevTools',\n 'devtools overview label': 'DevTools Stats',\n 'debug label': 'Debug',\n 'debug app graph label': 'App Graph',\n 'settings show debug panel': 'Show Debug panel.',\n 'settings show devtools panel': 'Show DevTools panel.',\n 'settings wireframe': 'Show wireframes.',\n 'settings repair': 'Run repair tool.',\n 'settings download diagnostics': 'Download diagnostics.',\n 'settings uploaded': 'Uploaded to IPFS',\n 'settings uploaded to clipboard': 'URL copied to clipboard.',\n 'settings repair success': 'Repair succeeded',\n 'settings repair failed': 'Repair failed',\n 'settings choose storage adaptor': 'Storage adaptor (worker reload required).',\n 'settings storage adaptor idb label': 'IndexedDB',\n 'settings storage adaptor opfs label': 'OPFS',\n 'settings data store label': 'Data Store',\n 'settings storage adapter changed alert':\n 'Warning: Swapping the storage adapter will make your data unavailable.',\n 'settings space fragmentation': 'Enable AM space fragmentation',\n 'open debug panel label': 'Show Debug',\n 'client label': 'Client',\n 'config label': 'Config',\n 'storage label': 'Storage',\n 'logs label': 'Logs',\n 'diagnostics label': 'Diagnostics',\n 'tracing label': 'Tracing',\n 'halo label': 'HALO',\n 'identity label': 'Identity',\n 'devices label': 'Devices',\n 'keyring label': 'Keyring',\n 'credentials label': 'Credentials',\n 'echo label': 'ECHO',\n 'spaces label': 'Spaces',\n 'space label': 'Space',\n 'feeds label': 'Feeds',\n 'objects label': 'Objects',\n 'schema label': 'Schema',\n 'automerge label': 'Automerge',\n 'queues label': 'Queues',\n 'members label': 'Members',\n 'metadata label': 'Metadata',\n 'mesh label': 'MESH',\n 'signal label': 'Signal',\n 'swarm label': 'Swarm',\n 'network label': 'Network',\n 'agent label': 'Agent',\n 'dashboard label': 'Dashboard',\n 'search label': 'Search',\n 'edge label': 'EDGE',\n 'workflows label': 'Workflows',\n 'traces label': 'Traces',\n 'testing label': 'Testing',\n },\n },\n },\n] as const satisfies Resource[];\n"],
5
- "mappings": ";;;;;AAIA,SAASA,cAAcC,QAAQC,aAAaC,cAAcC,oBAAoB;;;ACA9E,SAASC,YAAY;AAEd,IAAMC,kBAAkBC,KAAK,MAAM,OAAO,kCAAA,CAAA;AAC1C,IAAMC,eAAeD,KAAK,MAAM,OAAO,8BAAA,CAAA;AACvC,IAAME,eAAeF,KAAK,MAAM,OAAO,8BAAA,CAAA;AACvC,IAAMG,gBAAgBH,KAAK,MAAM,OAAO,yBAAA,CAAA;;;ACDxC,IAAMI,eAAe;EAC1B;IACE,SAAS;MACP,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,kBAAkB;QAClB,kBAAkB;QAClB,mBAAmB;QACnB,uBAAuB;QACvB,kBAAkB;QAClB,2BAA2B;QAC3B,eAAe;QACf,yBAAyB;QACzB,6BAA6B;QAC7B,gCAAgC;QAChC,sBAAsB;QACtB,mBAAmB;QACnB,iCAAiC;QACjC,qBAAqB;QACrB,kCAAkC;QAClC,2BAA2B;QAC3B,0BAA0B;QAC1B,mCAAmC;QACnC,sCAAsC;QACtC,uCAAuC;QACvC,6BAA6B;QAC7B,0CACE;QACF,gCAAgC;QAChC,0BAA0B;QAC1B,gBAAgB;QAChB,gBAAgB;QAChB,iBAAiB;QACjB,cAAc;QACd,qBAAqB;QACrB,iBAAiB;QACjB,cAAc;QACd,kBAAkB;QAClB,iBAAiB;QACjB,iBAAiB;QACjB,qBAAqB;QACrB,cAAc;QACd,gBAAgB;QAChB,eAAe;QACf,eAAe;QACf,iBAAiB;QACjB,gBAAgB;QAChB,mBAAmB;QACnB,gBAAgB;QAChB,iBAAiB;QACjB,kBAAkB;QAClB,cAAc;QACd,gBAAgB;QAChB,eAAe;QACf,iBAAiB;QACjB,eAAe;QACf,mBAAmB;QACnB,gBAAgB;QAChB,cAAc;QACd,mBAAmB;QACnB,gBAAgB;QAChB,iBAAiB;MACnB;IACF;EACF;;;;AF5DK,IAAMC,cAAcC,aAAaC,MAAM,MAAA;AAC5CC,gBAAAA;AACA,SAAO;IACLC,aAAa;MACXC,IAAI,GAAGH,KAAKG,EAAE;MACdC,aAAaC,OAAOC;MACpBC,UAAUC;IACZ,CAAA;IACAN,aAAa;MACXC,IAAI,GAAGH,KAAKG,EAAE;MACdC,aAAaC,OAAOI;MACpBF,UAAU,MAAMG,YAAYC,aAAaC,cAAcC,YAAAA;IACzD,CAAA;IACAX,aAAa;MACXC,IAAI,GAAGH,KAAKG,EAAE;MACdC,aAAaC,OAAOS;MACpBP,UAAUQ;IACZ,CAAA;IACAb,aAAa;MACXC,IAAI,GAAGH,KAAKG,EAAE;MACdC,aAAaC,OAAOW;MACpBT,UAAUU;IACZ,CAAA;IACAf,aAAa;MACXC,IAAI,GAAGH,KAAKG,EAAE;MACdC,aAAaC,OAAOa;MACpBX,UAAUY;IACZ,CAAA;;AAEJ,CAAA;AAEA,IAAMlB,gBAAgB,MAAA;AACnBmB,aAAmBC,aAAa,CAAC;AAGjCD,aAAmBC,SAASC,iCAAiC,OAAOC,YAAAA;AACnE,UAAM,EAAED,+BAA8B,IAAK,MAAM,OAAO,6BAAA;AACxD,UAAM,EAAEE,qBAAoB,IAAK,MAAM,OAAO,uBAAA;AAC9C,UAAMC,SAAkBC,OAAeC,KAAKF;AAC5C,UAAMG,SAASH,OAAOG;AACtB,UAAMH,OAAOI,QAAO;AACpB,UAAM,EAAEC,QAAO,IAAKN,qBAAqBI,OAAOG,QAAQC,SAASP,QAAQK,WAAW,CAAC,CAAA;AACrF,UAAMR,+BAA+BQ,SAASP,OAAAA;AAC9CU,aAASC,WAAW;EACtB;AACF;",
6
- "names": ["Capabilities", "Events", "contributes", "defineModule", "definePlugin", "lazy", "AppGraphBuilder", "lazy", "ReactContext", "ReactSurface", "DebugSettings", "translations", "meta", "id", "DebugPlugin", "definePlugin", "meta", "setupDevtools", "defineModule", "id", "activatesOn", "Events", "SetupSettings", "activate", "DebugSettings", "SetupTranslations", "contributes", "Capabilities", "Translations", "translations", "Startup", "ReactContext", "SetupReactSurface", "ReactSurface", "SetupAppGraph", "AppGraphBuilder", "globalThis", "composer", "changeStorageVersionInMetadata", "version", "createStorageObjects", "client", "window", "dxos", "config", "destroy", "storage", "values", "runtime", "location", "pathname"]
3
+ "sources": ["../../../src/DebugPlugin.tsx", "../../../src/translations.ts", "../../../src/meta.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { ActivationEvents, Capability, Plugin } from '@dxos/app-framework';\nimport { AppPlugin } from '@dxos/app-toolkit';\nimport { type LogBuffer } from '@dxos/log';\nimport { type Client } from '@dxos/react-client';\n\nimport { meta } from '#meta';\nimport { translations } from './translations';\n\nimport { AppGraphBuilder, DebugSettings, ReactContext, ReactSurface } from '#capabilities';\n\nexport type DebugPluginOptions = {\n /** Shared log buffer for capturing and downloading logs. */\n logBuffer: LogBuffer;\n};\n\n// TODO(wittjosiah): Factor out DevtoolsPlugin?\n\nexport const DebugPlugin = Plugin.define<DebugPluginOptions>(meta).pipe(\n AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),\n AppPlugin.addReactContextModule({ activate: ReactContext }),\n AppPlugin.addSettingsModule({ activate: DebugSettings }),\n Plugin.addModule(({ logBuffer }) => ({\n id: Capability.getModuleTag(ReactSurface) ?? 'surfaces',\n activatesOn: ActivationEvents.SetupReactSurface,\n activate: () => ReactSurface({ logBuffer }),\n })),\n AppPlugin.addTranslationsModule({ translations }),\n Plugin.addModule({\n id: 'setup-devtools',\n activatesOn: ActivationEvents.Startup,\n activate: () => Effect.sync(() => setupDevtools()),\n }),\n Plugin.make,\n);\n\nconst setupDevtools = () => {\n (globalThis as any).composer ??= {};\n\n // Used to test how composer handles breaking protocol changes.\n (globalThis as any).composer.changeStorageVersionInMetadata = async (version: number) => {\n const { changeStorageVersionInMetadata } = await import('@dxos/echo-pipeline/testing');\n const { createStorageObjects } = await import('@dxos/client-services');\n const client: Client = (window as any).dxos.client;\n const config = client.config;\n await client.destroy();\n const { storage } = createStorageObjects(config.values?.runtime?.client?.storage ?? {});\n await changeStorageVersionInMetadata(storage, version);\n location.pathname = '/';\n };\n};\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from '#meta';\n\nexport const translations = [\n {\n 'en-US': {\n [meta.id]: {\n 'plugin.name': 'Debug',\n 'settings.title': 'Debug settings',\n 'open-devtools.label': 'Open DevTools',\n 'devtools.label': 'DevTools',\n 'devtools-overview.label': 'Stats',\n 'space-objects.label': 'Database',\n 'debug.label': 'Debug',\n 'debug-app-graph.label': 'App Graph',\n\n 'settings.wireframe.label': 'Show wireframes.',\n 'settings.wireframe.description': 'Overlay wireframe outlines on UI components for debugging layout.',\n 'settings.repair.label': 'Run repair tool.',\n 'settings.repair.description': 'Attempt to detect and fix inconsistencies in local data storage.',\n 'settings.download-diagnostics.label': 'Download diagnostics.',\n 'settings.download-diagnostics.description':\n 'Export a JSON file containing client diagnostics for troubleshooting.',\n 'settings.download-logs.label': 'Download log buffer.',\n 'settings.download-logs.description': 'Export the in-memory log buffer as an NDJSON file.',\n 'settings.uploaded.message': 'Settings uploaded.',\n 'settings.uploaded.description': 'URL copied to clipboard.',\n 'settings.choose-storage-adaptor.label': 'Storage adaptor (worker reload required).',\n 'settings.choose-storage-adaptor.description':\n 'Select the browser storage backend. Changing this requires a worker reload and may make existing data unavailable.',\n 'settings.repair-success.message': 'Repair succeeded',\n 'settings.repair-failed.message': 'Repair failed',\n\n 'settings.storage-adaptor.idb.label': 'IndexedDB',\n 'settings.storage-adaptor.opfs.label': 'OPFS',\n 'settings.storage-adapter.changed-alert.message':\n 'Warning: Swapping the storage adapter will make your data unavailable.',\n\n 'settings.data-store.label': 'Data Store',\n\n 'open-debug-panel.label': 'Show Debug',\n 'client.label': 'Client',\n 'config.label': 'Config',\n 'storage.label': 'Storage',\n 'logs.label': 'Logs',\n 'diagnostics.label': 'Diagnostics',\n 'tracing.label': 'Tracing',\n 'halo.label': 'HALO',\n 'identity.label': 'Identity',\n 'devices.label': 'Devices',\n 'keyring.label': 'Keyring',\n 'credentials.label': 'Credentials',\n 'echo.label': 'ECHO',\n 'spaces.label': 'Spaces',\n 'space.label': 'Space',\n 'feeds.label': 'Feeds',\n 'objects.label': 'Objects',\n 'schema.label': 'Schema',\n 'automerge.label': 'Automerge',\n 'queues.label': 'Queues',\n 'members.label': 'Members',\n 'metadata.label': 'Metadata',\n 'mesh.label': 'MESH',\n 'signal.label': 'Signal',\n 'swarm.label': 'Swarm',\n 'network.label': 'Network',\n 'agent.label': 'Agent',\n 'dashboard.label': 'Dashboard',\n 'search.label': 'Search',\n 'edge.label': 'EDGE',\n 'workflows.label': 'Workflows',\n 'traces.label': 'Traces',\n 'testing.label': 'Testing',\n },\n },\n },\n] as const satisfies Resource[];\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Plugin } from '@dxos/app-framework';\nimport { trim } from '@dxos/util';\n\nexport const meta: Plugin.Meta = {\n id: 'org.dxos.plugin.debug',\n name: 'Debug',\n description: trim`\n Comprehensive developer toolkit for troubleshooting applications, generating test data, and exploring automation capabilities.\n Inspect objects, monitor events, and debug plugin behavior in real-time.\n `,\n icon: 'ph--bug--regular',\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-debug',\n screenshots: ['https://dxos.network/plugin-details-debug-dark.png'],\n};\n"],
5
+ "mappings": ";AAIA,YAAYA,YAAY;AAExB,SAASC,kBAAkBC,YAAYC,cAAc;AACrD,SAASC,iBAAiB;AAI1B,SAASC,QAAAA,aAAY;;;ACLrB,SAASC,YAAY;AAEd,IAAMC,eAAe;EAC1B;IACE,SAAS;MACP,CAACC,KAAKC,EAAE,GAAG;QACT,eAAe;QACf,kBAAkB;QAClB,uBAAuB;QACvB,kBAAkB;QAClB,2BAA2B;QAC3B,uBAAuB;QACvB,eAAe;QACf,yBAAyB;QAEzB,4BAA4B;QAC5B,kCAAkC;QAClC,yBAAyB;QACzB,+BAA+B;QAC/B,uCAAuC;QACvC,6CACE;QACF,gCAAgC;QAChC,sCAAsC;QACtC,6BAA6B;QAC7B,iCAAiC;QACjC,yCAAyC;QACzC,+CACE;QACF,mCAAmC;QACnC,kCAAkC;QAElC,sCAAsC;QACtC,uCAAuC;QACvC,kDACE;QAEF,6BAA6B;QAE7B,0BAA0B;QAC1B,gBAAgB;QAChB,gBAAgB;QAChB,iBAAiB;QACjB,cAAc;QACd,qBAAqB;QACrB,iBAAiB;QACjB,cAAc;QACd,kBAAkB;QAClB,iBAAiB;QACjB,iBAAiB;QACjB,qBAAqB;QACrB,cAAc;QACd,gBAAgB;QAChB,eAAe;QACf,eAAe;QACf,iBAAiB;QACjB,gBAAgB;QAChB,mBAAmB;QACnB,gBAAgB;QAChB,iBAAiB;QACjB,kBAAkB;QAClB,cAAc;QACd,gBAAgB;QAChB,eAAe;QACf,iBAAiB;QACjB,eAAe;QACf,mBAAmB;QACnB,gBAAgB;QAChB,cAAc;QACd,mBAAmB;QACnB,gBAAgB;QAChB,iBAAiB;MACnB;IACF;EACF;;;;ADlEF,SAASC,iBAAiBC,eAAeC,cAAcC,oBAAoB;AASpE,IAAMC,cAAcC,OAAOC,OAA2BC,KAAAA,EAAMC,KACjEC,UAAUC,kBAAkB;EAAEC,UAAUC;AAAgB,CAAA,GACxDH,UAAUI,sBAAsB;EAAEF,UAAUG;AAAa,CAAA,GACzDL,UAAUM,kBAAkB;EAAEJ,UAAUK;AAAc,CAAA,GACtDX,OAAOY,UAAU,CAAC,EAAEC,UAAS,OAAQ;EACnCC,IAAIC,WAAWC,aAAaC,YAAAA,KAAiB;EAC7CC,aAAaC,iBAAiBC;EAC9Bd,UAAU,MAAMW,aAAa;IAAEJ;EAAU,CAAA;AAC3C,EAAA,GACAT,UAAUiB,sBAAsB;EAAEC;AAAa,CAAA,GAC/CtB,OAAOY,UAAU;EACfE,IAAI;EACJI,aAAaC,iBAAiBI;EAC9BjB,UAAU,MAAakB,YAAK,MAAMC,cAAAA,CAAAA;AACpC,CAAA,GACAzB,OAAO0B,IAAI;AAGb,IAAMD,gBAAgB,MAAA;AACnBE,aAAmBC,aAAa,CAAC;AAGjCD,aAAmBC,SAASC,iCAAiC,OAAOC,YAAAA;AACnE,UAAM,EAAED,+BAA8B,IAAK,MAAM,OAAO,6BAAA;AACxD,UAAM,EAAEE,qBAAoB,IAAK,MAAM,OAAO,uBAAA;AAC9C,UAAMC,SAAkBC,OAAeC,KAAKF;AAC5C,UAAMG,SAASH,OAAOG;AACtB,UAAMH,OAAOI,QAAO;AACpB,UAAM,EAAEC,QAAO,IAAKN,qBAAqBI,OAAOG,QAAQC,SAASP,QAAQK,WAAW,CAAC,CAAA;AACrF,UAAMR,+BAA+BQ,SAASP,OAAAA;AAC9CU,aAASC,WAAW;EACtB;AACF;;;AElDA,SAASC,YAAY;AAEd,IAAMC,QAAoB;EAC/BC,IAAI;EACJC,MAAM;EACNC,aAAaC;;;;EAIbC,MAAM;EACNC,QAAQ;EACRC,aAAa;IAAC;;AAChB;",
6
+ "names": ["Effect", "ActivationEvents", "Capability", "Plugin", "AppPlugin", "meta", "meta", "translations", "meta", "id", "AppGraphBuilder", "DebugSettings", "ReactContext", "ReactSurface", "DebugPlugin", "Plugin", "define", "meta", "pipe", "AppPlugin", "addAppGraphModule", "activate", "AppGraphBuilder", "addReactContextModule", "ReactContext", "addSettingsModule", "DebugSettings", "addModule", "logBuffer", "id", "Capability", "getModuleTag", "ReactSurface", "activatesOn", "ActivationEvents", "SetupReactSurface", "addTranslationsModule", "translations", "Startup", "sync", "setupDevtools", "make", "globalThis", "composer", "changeStorageVersionInMetadata", "version", "createStorageObjects", "client", "window", "dxos", "config", "destroy", "storage", "values", "runtime", "location", "pathname", "trim", "meta", "id", "name", "description", "trim", "icon", "source", "screenshots"]
7
7
  }
@@ -1 +1 @@
1
- {"inputs":{"src/meta.ts":{"bytes":2031,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/types.ts":{"bytes":10519,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/app-graph-builder.ts":{"bytes":74783,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/capabilities/react-context.tsx":{"bytes":1779,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/devtools","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/components/DebugObjectPanel.tsx":{"bytes":3512,"imports":[{"path":"@preact-signals/safe-react/tracking","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-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","kind":"import-statement","external":true}],"format":"esm"},"src/components/DebugSettings.tsx":{"bytes":22055,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/config","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/components/DebugStatus.tsx":{"bytes":18925,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-status-bar","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/react-client/mesh","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/Wireframe.tsx":{"bytes":6608,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/DebugGraph.tsx":{"bytes":1540,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/devtools","kind":"import-statement","external":true}],"format":"esm"},"src/components/DevtoolsOverviewContainer.tsx":{"bytes":2145,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/devtools","kind":"import-statement","external":true}],"format":"esm"},"src/components/SpaceGenerator/ObjectGenerator.tsx":{"bytes":21146,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-sheet/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-sketch/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/random","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/schema/testing","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/components/SpaceGenerator/presets.ts":{"bytes":102050,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/assistant-toolkit","kind":"import-statement","external":true},{"path":"@dxos/blueprints","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-inbox","kind":"import-statement","external":true},{"path":"@dxos/plugin-inbox/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/components/SpaceGenerator/SchemaTable.tsx":{"bytes":3925,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/SpaceGenerator/SpaceGenerator.tsx":{"bytes":17386,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-sheet/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-sketch/types","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/components/SpaceGenerator/ObjectGenerator.tsx","kind":"import-statement","original":"./ObjectGenerator"},{"path":"src/components/SpaceGenerator/presets.ts","kind":"import-statement","original":"./presets"},{"path":"src/components/SpaceGenerator/SchemaTable.tsx","kind":"import-statement","original":"./SchemaTable"}],"format":"esm"},"src/components/SpaceGenerator/index.ts":{"bytes":676,"imports":[{"path":"src/components/SpaceGenerator/SpaceGenerator.tsx","kind":"import-statement","original":"./SpaceGenerator"}],"format":"esm"},"src/components/index.ts":{"bytes":1704,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/DebugObjectPanel.tsx","kind":"import-statement","original":"./DebugObjectPanel"},{"path":"src/components/DebugSettings.tsx","kind":"import-statement","original":"./DebugSettings"},{"path":"src/components/DebugStatus.tsx","kind":"import-statement","original":"./DebugStatus"},{"path":"src/components/Wireframe.tsx","kind":"import-statement","original":"./Wireframe"},{"path":"src/components/DebugGraph.tsx","kind":"dynamic-import","original":"./DebugGraph"},{"path":"src/components/DevtoolsOverviewContainer.tsx","kind":"dynamic-import","original":"./DevtoolsOverviewContainer"},{"path":"src/components/SpaceGenerator/index.ts","kind":"dynamic-import","original":"./SpaceGenerator"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":50041,"imports":[{"path":"effect/Function","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/devtools","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/capabilities/settings.ts":{"bytes":1870,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":1520,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"src/capabilities/react-context.tsx","kind":"dynamic-import","original":"./react-context"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"}],"format":"esm"},"src/translations.ts":{"bytes":8452,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/DebugPlugin.tsx":{"bytes":7348,"imports":[{"path":"@dxos/app-framework","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"},{"path":"@dxos/echo-pipeline/testing","kind":"dynamic-import","external":true},{"path":"@dxos/client-services","kind":"dynamic-import","external":true}],"format":"esm"},"src/index.ts":{"bytes":547,"imports":[{"path":"src/DebugPlugin.tsx","kind":"import-statement","original":"./DebugPlugin"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8070},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-WZFZ4ESO.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/app-graph-builder-RXWTHLEW.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-context-P2YDWEWI.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-4XGZUT3Z.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/settings-SQXR3OAH.mjs","kind":"dynamic-import"},{"path":"@dxos/echo-pipeline/testing","kind":"dynamic-import","external":true},{"path":"@dxos/client-services","kind":"dynamic-import","external":true}],"exports":["DebugPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/DebugPlugin.tsx":{"bytesInOutput":1537},"src/capabilities/index.ts":{"bytesInOutput":331},"src/translations.ts":{"bytesInOutput":2597},"src/index.ts":{"bytesInOutput":0}},"bytes":4683},"dist/lib/browser/app-graph-builder-RXWTHLEW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":28023},"dist/lib/browser/app-graph-builder-RXWTHLEW.mjs":{"imports":[{"path":"dist/lib/browser/chunk-SRV2AIGJ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WZFZ4ESO.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder.ts":{"bytesInOutput":18551}},"bytes":18798},"dist/lib/browser/react-context-P2YDWEWI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":931},"dist/lib/browser/react-context-P2YDWEWI.mjs":{"imports":[{"path":"dist/lib/browser/chunk-WZFZ4ESO.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/devtools","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-context.tsx","inputs":{"src/capabilities/react-context.tsx":{"bytesInOutput":352}},"bytes":537},"dist/lib/browser/DebugGraph-EDOH6R2G.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":714},"dist/lib/browser/DebugGraph-EDOH6R2G.mjs":{"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/devtools","kind":"import-statement","external":true}],"exports":["DebugGraph","default"],"entryPoint":"src/components/DebugGraph.tsx","inputs":{"src/components/DebugGraph.tsx":{"bytesInOutput":395}},"bytes":535},"dist/lib/browser/DevtoolsOverviewContainer-EPD6EWT5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1001},"dist/lib/browser/DevtoolsOverviewContainer-EPD6EWT5.mjs":{"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/devtools","kind":"import-statement","external":true}],"exports":["DevtoolsOverviewContainer","default"],"entryPoint":"src/components/DevtoolsOverviewContainer.tsx","inputs":{"src/components/DevtoolsOverviewContainer.tsx":{"bytesInOutput":639}},"bytes":839},"dist/lib/browser/SpaceGenerator-7Q7CX64P.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":66999},"dist/lib/browser/SpaceGenerator-7Q7CX64P.mjs":{"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-sheet/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-sketch/types","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-sheet/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-sketch/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/random","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/schema/testing","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/assistant-toolkit","kind":"import-statement","external":true},{"path":"@dxos/blueprints","kind":"import-statement","external":true},{"path":"@dxos/conductor","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/functions","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/plugin-inbox","kind":"import-statement","external":true},{"path":"@dxos/plugin-inbox/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-markdown/types","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-compute","kind":"import-statement","external":true},{"path":"@dxos/react-ui-canvas-editor","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/components/SpaceGenerator/index.ts","inputs":{"src/components/SpaceGenerator/SpaceGenerator.tsx":{"bytesInOutput":4711},"src/components/SpaceGenerator/ObjectGenerator.tsx":{"bytesInOutput":5281},"src/components/SpaceGenerator/presets.ts":{"bytesInOutput":28935},"src/components/SpaceGenerator/SchemaTable.tsx":{"bytesInOutput":1136},"src/components/SpaceGenerator/index.ts":{"bytesInOutput":45}},"bytes":40506},"dist/lib/browser/react-surface-4XGZUT3Z.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":50645},"dist/lib/browser/react-surface-4XGZUT3Z.mjs":{"imports":[{"path":"dist/lib/browser/chunk-SRV2AIGJ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WZFZ4ESO.mjs","kind":"import-statement"},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/devtools","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-script/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/config","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-status-bar","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/react-client/mesh","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"dist/lib/browser/DebugGraph-EDOH6R2G.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/DevtoolsOverviewContainer-EPD6EWT5.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/SpaceGenerator-7Q7CX64P.mjs","kind":"dynamic-import"}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":13094},"src/components/index.ts":{"bytesInOutput":266},"src/components/DebugObjectPanel.tsx":{"bytesInOutput":966},"src/components/DebugSettings.tsx":{"bytesInOutput":6251},"src/components/DebugStatus.tsx":{"bytesInOutput":4298},"src/components/Wireframe.tsx":{"bytesInOutput":1930}},"bytes":27281},"dist/lib/browser/settings-SQXR3OAH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":961},"dist/lib/browser/settings-SQXR3OAH.mjs":{"imports":[{"path":"dist/lib/browser/chunk-SRV2AIGJ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WZFZ4ESO.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/settings.ts","inputs":{"src/capabilities/settings.ts":{"bytesInOutput":298}},"bytes":529},"dist/lib/browser/chunk-SRV2AIGJ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5458},"dist/lib/browser/chunk-SRV2AIGJ.mjs":{"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["DebugSettingsSchema","Devtools"],"inputs":{"src/types.ts":{"bytesInOutput":2457}},"bytes":2564},"dist/lib/browser/chunk-WZFZ4ESO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":961},"dist/lib/browser/chunk-WZFZ4ESO.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["meta"],"inputs":{"src/meta.ts":{"bytesInOutput":521}},"bytes":600}}}
1
+ {"inputs":{"src/translations.ts":{"bytes":9665,"imports":[{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/DebugPlugin.tsx":{"bytes":7270,"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":"#meta","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline/testing","kind":"dynamic-import","external":true},{"path":"@dxos/client-services","kind":"dynamic-import","external":true}],"format":"esm"},"src/meta.ts":{"bytes":2027,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":547,"imports":[{"path":"src/DebugPlugin.tsx","kind":"import-statement","original":"./DebugPlugin"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9092},"dist/lib/browser/index.mjs":{"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":"#meta","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"@dxos/echo-pipeline/testing","kind":"dynamic-import","external":true},{"path":"@dxos/client-services","kind":"dynamic-import","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["DebugPlugin","meta"],"entryPoint":"src/index.ts","inputs":{"src/DebugPlugin.tsx":{"bytesInOutput":1531},"src/translations.ts":{"bytesInOutput":3109},"src/index.ts":{"bytesInOutput":0},"src/meta.ts":{"bytesInOutput":522}},"bytes":5327}}}
@@ -1,2 +1,8 @@
1
- export declare const DebugPlugin: import("@dxos/app-framework").PluginFactory<void>;
1
+ import { Plugin } from '@dxos/app-framework';
2
+ import { type LogBuffer } from '@dxos/log';
3
+ export type DebugPluginOptions = {
4
+ /** Shared log buffer for capturing and downloading logs. */
5
+ logBuffer: LogBuffer;
6
+ };
7
+ export declare const DebugPlugin: Plugin.PluginFactory<DebugPluginOptions>;
2
8
  //# sourceMappingURL=DebugPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DebugPlugin.d.ts","sourceRoot":"","sources":["../../../src/DebugPlugin.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,WAAW,mDA6BtB,CAAC"}
1
+ {"version":3,"file":"DebugPlugin.d.ts","sourceRoot":"","sources":["../../../src/DebugPlugin.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAgC,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE3E,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AAQ3C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,4DAA4D;IAC5D,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC;AAIF,eAAO,MAAM,WAAW,0CAgBvB,CAAC"}
@@ -1,4 +1,6 @@
1
- import { type PluginContext } from '@dxos/app-framework';
2
- declare const _default: (context: PluginContext) => import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-graph").BuilderExtensions>>;
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) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<GraphBuilder.BuilderExtensions>>, never, Capability.Service>;
3
5
  export default _default;
4
6
  //# sourceMappingURL=app-graph-builder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAQA,OAAO,EAAgB,KAAK,aAAa,EAAe,MAAM,qBAAqB,CAAC;yBAWpE,SAAS,aAAa;AAAtC,wBA2ZK"}
1
+ {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,EAAE,YAAY,EAAqB,MAAM,oBAAoB,CAAC;;AASrE,wBAmYE"}
@@ -1,9 +1,16 @@
1
- export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-graph").BuilderExtensions>> | import("@dxos/app-framework").AnyCapability[]>>;
2
- export declare const ReactContext: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Readonly<{
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
+ export declare const ReactContext: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<Readonly<{
3
4
  id: string;
4
5
  dependsOn?: string[];
5
6
  context: import("react").FC<import("react").PropsWithChildren>;
6
- }>>> | import("@dxos/app-framework").AnyCapability[]>>;
7
- export declare const ReactSurface: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-framework").Capabilities.ReactSurface>> | import("@dxos/app-framework").AnyCapability[]>>;
8
- export declare const DebugSettings: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-framework").Capabilities.Settings>> | import("@dxos/app-framework").AnyCapability[]>>;
7
+ }>>>, Error>;
8
+ export declare const ReactSurface: Capability.LazyCapability<{
9
+ logBuffer: import("@dxos/log").LogBuffer;
10
+ }, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
11
+ export declare const DebugSettings: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<{
12
+ wireframe?: boolean | undefined;
13
+ }, {
14
+ wireframe?: boolean | undefined;
15
+ }>>>, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-toolkit").AppCapabilities.Settings>>], Error>;
9
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,gRAA4C,CAAC;AACzE,eAAO,MAAM,YAAY;;;;sDAAwC,CAAC;AAClE,eAAO,MAAM,YAAY,4RAAwC,CAAC;AAClE,eAAO,MAAM,aAAa,wOAAmC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,eAAe,qIAA0E,CAAC;AACvG,eAAO,MAAM,YAAY;;;;YAAmE,CAAC;AAC7F,eAAO,MAAM,YAAY;;kHAAmE,CAAC;AAC7F,eAAO,MAAM,aAAa;;;;mHAA+D,CAAC"}
@@ -1,8 +1,10 @@
1
+ import * as Effect from 'effect/Effect';
1
2
  import React from 'react';
2
- declare const _default: () => import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Readonly<{
3
+ import { Capability } from '@dxos/app-framework';
4
+ declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Readonly<{
3
5
  id: string;
4
6
  dependsOn?: string[];
5
7
  context: React.FC<React.PropsWithChildren>;
6
- }>>>;
8
+ }>>>, never, never>;
7
9
  export default _default;
8
10
  //# sourceMappingURL=react-context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-context.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-context.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;;;;;;AAO1B,wBAIK"}
1
+ {"version":3,"file":"react-context.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-context.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;;;;;;AAM/D,wBAWE"}
@@ -1,4 +1,9 @@
1
- import { Capabilities, type PluginContext } from '@dxos/app-framework';
2
- declare const _default: (context: PluginContext) => import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Capabilities.ReactSurface>>;
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capabilities, Capability } from '@dxos/app-framework';
3
+ import { type LogBuffer } from '@dxos/log';
4
+ type ReactSurfaceOptions = {
5
+ logBuffer: LogBuffer;
6
+ };
7
+ declare const _default: (props: ReactSurfaceOptions) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.ReactSurface>>, never, Capability.Service>;
3
8
  export default _default;
4
9
  //# sourceMappingURL=react-surface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAOA,OAAO,EACL,YAAY,EAEZ,KAAK,aAAa,EAOnB,MAAM,qBAAqB,CAAC;yBAyEb,SAAS,aAAa;AAAtC,wBAoTK"}
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAiC/D,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AA2C3C,KAAK,mBAAmB,GAAG;IACzB,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC;;AAEF,wBA8UE"}
@@ -1,4 +1,10 @@
1
- import { Capabilities } from '@dxos/app-framework';
2
- declare const _default: () => import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Capabilities.Settings>>;
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ import { AppCapabilities } from '@dxos/app-toolkit';
4
+ declare const _default: (props: void) => Effect.Effect<[Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<{
5
+ wireframe?: boolean | undefined;
6
+ }, {
7
+ wireframe?: boolean | undefined;
8
+ }>>>, Capability.Capability<Capability.InterfaceDef<AppCapabilities.Settings>>], never, never>;
3
9
  export default _default;
4
10
  //# sourceMappingURL=settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/settings.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAe,MAAM,qBAAqB,CAAC;;AAMhE,wBAQE"}
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/settings.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;;;;;;AAMpD,wBAiBE"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { AppCapabilities } from '@dxos/app-toolkit';
3
+ import { type SettingsSurfaceProps } from '@dxos/app-toolkit/ui';
4
+ import { type LogBuffer } from '@dxos/log';
5
+ import { type Settings } from '#types';
6
+ export type DebugSettingsProps = SettingsSurfaceProps<Settings.Settings, {
7
+ logBuffer: LogBuffer;
8
+ onUpload?: AppCapabilities.FileUploader;
9
+ }>;
10
+ export declare const DebugSettings: ({ settings, onSettingsChange, logBuffer, onUpload }: DebugSettingsProps) => React.JSX.Element;
11
+ //# sourceMappingURL=DebugSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DebugSettings.d.ts","sourceRoot":"","sources":["../../../../../src/components/DebugSettings/DebugSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAEhE,OAAO,EAAE,eAAe,EAAoB,MAAM,mBAAmB,CAAC;AACtE,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,OAAO,EAAE,KAAK,SAAS,EAAO,MAAM,WAAW,CAAC;AAOhD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAYvC,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CACnD,QAAQ,CAAC,QAAQ,EACjB;IACE,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,eAAe,CAAC,YAAY,CAAC;CACzC,CACF,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,qDAAqD,kBAAkB,sBAsLpG,CAAC"}