@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
@@ -0,0 +1,79 @@
1
+ import { type StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ settings, onSettingsChange, logBuffer, onUpload }: import("./DebugSettings").DebugSettingsProps) => import("react").JSX.Element;
5
+ decorators: import("@storybook/react").Decorator[];
6
+ tags: string[];
7
+ parameters: {
8
+ layout: string;
9
+ translations: [{
10
+ readonly 'en-US': {
11
+ readonly [meta.id]: {
12
+ readonly 'plugin.name': "Debug";
13
+ readonly 'settings.title': "Debug settings";
14
+ readonly 'open-devtools.label': "Open DevTools";
15
+ readonly 'devtools.label': "DevTools";
16
+ readonly 'devtools-overview.label': "Stats";
17
+ readonly 'space-objects.label': "Database";
18
+ readonly 'debug.label': "Debug";
19
+ readonly 'debug-app-graph.label': "App Graph";
20
+ readonly 'settings.wireframe.label': "Show wireframes.";
21
+ readonly 'settings.wireframe.description': "Overlay wireframe outlines on UI components for debugging layout.";
22
+ readonly 'settings.repair.label': "Run repair tool.";
23
+ readonly 'settings.repair.description': "Attempt to detect and fix inconsistencies in local data storage.";
24
+ readonly 'settings.download-diagnostics.label': "Download diagnostics.";
25
+ readonly 'settings.download-diagnostics.description': "Export a JSON file containing client diagnostics for troubleshooting.";
26
+ readonly 'settings.download-logs.label': "Download log buffer.";
27
+ readonly 'settings.download-logs.description': "Export the in-memory log buffer as an NDJSON file.";
28
+ readonly 'settings.uploaded.message': "Settings uploaded.";
29
+ readonly 'settings.uploaded.description': "URL copied to clipboard.";
30
+ readonly 'settings.choose-storage-adaptor.label': "Storage adaptor (worker reload required).";
31
+ readonly 'settings.choose-storage-adaptor.description': "Select the browser storage backend. Changing this requires a worker reload and may make existing data unavailable.";
32
+ readonly 'settings.repair-success.message': "Repair succeeded";
33
+ readonly 'settings.repair-failed.message': "Repair failed";
34
+ readonly 'settings.storage-adaptor.idb.label': "IndexedDB";
35
+ readonly 'settings.storage-adaptor.opfs.label': "OPFS";
36
+ readonly 'settings.storage-adapter.changed-alert.message': "Warning: Swapping the storage adapter will make your data unavailable.";
37
+ readonly 'settings.data-store.label': "Data Store";
38
+ readonly 'open-debug-panel.label': "Show Debug";
39
+ readonly 'client.label': "Client";
40
+ readonly 'config.label': "Config";
41
+ readonly 'storage.label': "Storage";
42
+ readonly 'logs.label': "Logs";
43
+ readonly 'diagnostics.label': "Diagnostics";
44
+ readonly 'tracing.label': "Tracing";
45
+ readonly 'halo.label': "HALO";
46
+ readonly 'identity.label': "Identity";
47
+ readonly 'devices.label': "Devices";
48
+ readonly 'keyring.label': "Keyring";
49
+ readonly 'credentials.label': "Credentials";
50
+ readonly 'echo.label': "ECHO";
51
+ readonly 'spaces.label': "Spaces";
52
+ readonly 'space.label': "Space";
53
+ readonly 'feeds.label': "Feeds";
54
+ readonly 'objects.label': "Objects";
55
+ readonly 'schema.label': "Schema";
56
+ readonly 'automerge.label': "Automerge";
57
+ readonly 'queues.label': "Queues";
58
+ readonly 'members.label': "Members";
59
+ readonly 'metadata.label': "Metadata";
60
+ readonly 'mesh.label': "MESH";
61
+ readonly 'signal.label': "Signal";
62
+ readonly 'swarm.label': "Swarm";
63
+ readonly 'network.label': "Network";
64
+ readonly 'agent.label': "Agent";
65
+ readonly 'dashboard.label': "Dashboard";
66
+ readonly 'search.label': "Search";
67
+ readonly 'edge.label': "EDGE";
68
+ readonly 'workflows.label': "Workflows";
69
+ readonly 'traces.label': "Traces";
70
+ readonly 'testing.label': "Testing";
71
+ };
72
+ };
73
+ }];
74
+ };
75
+ };
76
+ export default meta;
77
+ type Story = StoryObj<typeof meta>;
78
+ export declare const Default: Story;
79
+ //# sourceMappingURL=DebugSettings.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DebugSettings.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/DebugSettings/DebugSettings.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AASjE,QAAA,MAAM,IAAI;;;;;;;;;yBAPmD,CACxD,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAeyB,CAAC;AAEvC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DebugSettings } from './DebugSettings';
2
+ export default DebugSettings;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/DebugSettings/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,eAAe,aAAa,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SchemaTable.d.ts","sourceRoot":"","sources":["../../../../../src/components/SchemaTable/SchemaTable.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,oCAAyC,gBAAgB,sBAmBpF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './SchemaTable';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/SchemaTable/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC"}
@@ -1,9 +1,9 @@
1
- import { type PromiseIntentDispatcher } from '@dxos/app-framework';
2
- import { type Obj } from '@dxos/echo';
3
- import { type TypedObject } from '@dxos/echo/internal';
1
+ import type * as Schema from 'effect/Schema';
2
+ import { type Type } from '@dxos/echo';
3
+ import { type OperationInvoker } from '@dxos/operation';
4
4
  import { type Client } from '@dxos/react-client';
5
5
  import { type Space } from '@dxos/react-client/echo';
6
- export type ObjectGenerator<T extends Obj.Any> = (space: Space, n: number, cb?: (objects: T[]) => void) => Promise<T[]>;
7
- export declare const createGenerator: <T extends Obj.Any>(client: Client, dispatch: PromiseIntentDispatcher, schema: TypedObject<T>) => ObjectGenerator<T>;
6
+ export type ObjectGenerator<T> = (space: Space, n: number, cb?: (objects: T[]) => void) => Promise<T[]>;
7
+ export declare const createGenerator: <S extends Type.AnyObj>(client: Client, invokePromise: OperationInvoker.OperationInvoker["invokePromise"], schema: S) => ObjectGenerator<Schema.Schema.Type<S>>;
8
8
  export declare const staticGenerators: Map<string, ObjectGenerator<any>>;
9
9
  //# sourceMappingURL=ObjectGenerator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectGenerator.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/ObjectGenerator.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,uBAAuB,EAAgB,MAAM,qBAAqB,CAAC;AAGjF,OAAO,EAAoB,KAAK,GAAG,EAAQ,MAAM,YAAY,CAAC;AAC9D,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAMvD,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAWrD,MAAM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vC,CAAC;AAEF,eAAO,MAAM,gBAAgB,mCA8F3B,CAAC"}
@@ -1,3 +1,3 @@
1
- import { SpaceGenerator } from './SpaceGenerator';
2
- export default SpaceGenerator;
1
+ export * from './presets';
2
+ export * from './ObjectGenerator';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/index.ts"],"names":[],"mappings":"AAIA,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC"}
@@ -1,6 +1,3 @@
1
- import * as Schema from 'effect/Schema';
2
- import { Trigger } from '@dxos/functions';
3
- import { CanvasBoardType } from '@dxos/react-ui-canvas-editor';
4
1
  import { type ObjectGenerator } from './ObjectGenerator';
5
2
  export declare enum PresetName {
6
3
  DXOS_TEAM = "dxos-team",
@@ -8,12 +5,12 @@ export declare enum PresetName {
8
5
  GPT_QUEUE = "webhook-gpt-queue",
9
6
  CHAT_GPT = "chat-gpt-text",
10
7
  OBJECT_CHANGE_QUEUE = "objectChange-queue",
11
- FOREX_FUNCTION_CALL = "forex-function-call",
12
8
  TIMER_TICK_QUEUE = "timerTick-queue",
9
+ FOREX_FUNCTION_CALL = "forex-function-call",
13
10
  DISCORD_MESSAGES = "discord-messages"
14
11
  }
15
12
  export declare const generator: () => {
16
- schemas: (typeof CanvasBoardType | Schema.Schema<Trigger.Trigger, Trigger.TriggerEncoded, never>)[];
13
+ schemas: any[];
17
14
  types: {
18
15
  typename: PresetName;
19
16
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/presets.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,OAAO,EAAE,OAAO,EAAqB,MAAM,iBAAiB,CAAC;AAqB7D,OAAO,EACL,eAAe,EAKhB,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,oBAAY,UAAU;IACpB,SAAS,cAAc;IACvB,oBAAoB,yBAAyB;IAE7C,SAAS,sBAAsB;IAC/B,QAAQ,kBAAkB;IAE1B,mBAAmB,uBAAuB;IAC1C,mBAAmB,wBAAwB;IAC3C,gBAAgB,oBAAoB;IACpC,gBAAgB,qBAAqB;CAEtC;AAED,eAAO,MAAM,SAAS;;;;;WA2iBf,CAAC,UAAU,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE;CACzC,CAAC"}
1
+ {"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/presets.ts"],"names":[],"mappings":"AAqCA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,oBAAY,UAAU;IACpB,SAAS,cAAc;IACvB,oBAAoB,yBAAyB;IAE7C,SAAS,sBAAsB;IAC/B,QAAQ,kBAAkB;IAE1B,mBAAmB,uBAAuB;IAC1C,gBAAgB,oBAAoB;IACpC,mBAAmB,wBAAwB;IAC3C,gBAAgB,qBAAqB;CAEtC;AAED,eAAO,MAAM,SAAS;aACmC,GAAG,EAAE;;;;WAipBvD,CAAC,UAAU,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE;CACzC,CAAC"}
@@ -1,11 +1,5 @@
1
- export declare const DebugGraph: import("react").LazyExoticComponent<import("react").FC<{
2
- graph: import("@dxos/app-graph").Graph;
3
- root: string;
4
- }>>;
5
- export declare const DevtoolsOverviewContainer: import("react").LazyExoticComponent<() => import("react").JSX.Element>;
6
- export declare const SpaceGenerator: import("react").LazyExoticComponent<({ space, onCreateObjects }: import("./SpaceGenerator/SpaceGenerator").SpaceGeneratorProps) => import("react").JSX.Element>;
7
- export * from './DebugObjectPanel';
8
- export * from './DebugSettings';
9
- export * from './DebugStatus';
10
- export * from './Wireframe';
1
+ import { type ComponentType } from 'react';
2
+ export declare const DebugSettings: ComponentType<any>;
3
+ export * from './SchemaTable';
4
+ export * from './SpaceGenerator';
11
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU;;;GAAqC,CAAC;AAC7D,eAAO,MAAM,yBAAyB,wEAAoD,CAAC;AAC3F,eAAO,MAAM,cAAc,iKAAyC,CAAC;AAErE,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,eAAO,MAAM,aAAa,EAAE,aAAa,CAAC,GAAG,CAAyC,CAAC;AAEvF,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type FC } from 'react';
2
+ import { Graph } from '@dxos/plugin-graph';
3
+ export type DebugGraphProps = {
4
+ graph: Graph.Graph;
5
+ root: string;
6
+ };
7
+ export declare const DebugGraph: FC<DebugGraphProps>;
8
+ //# sourceMappingURL=DebugGraph.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DebugGraph.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DebugGraph/DebugGraph.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,MAAM,MAAM,eAAe,GAAG;IAAE,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AACnE,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAE1C,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DebugGraph } from './DebugGraph';
2
+ export default DebugGraph;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DebugGraph/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,eAAe,UAAU,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import { type Obj } from '@dxos/echo';
2
+ import { Obj } from '@dxos/echo';
3
3
  export type DebugObjectPanelProps = {
4
- object: Obj.Any;
4
+ object: Obj.Unknown;
5
5
  };
6
6
  export declare const DebugObjectPanel: ({ object }: DebugObjectPanelProps) => React.JSX.Element;
7
7
  //# sourceMappingURL=DebugObjectPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DebugObjectPanel.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DebugObjectPanel/DebugObjectPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,EAAU,GAAG,EAAS,MAAM,YAAY,CAAC;AAMhD,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,YAAY,qBAAqB,sBA6BjE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DebugObjectPanel } from './DebugObjectPanel';
2
+ export default DebugObjectPanel;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DebugObjectPanel/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const DebugSpaceObjectsPanel: () => React.JSX.Element | null;
3
+ //# sourceMappingURL=DebugSpaceObjectsPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DebugSpaceObjectsPanel.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAUxC,eAAO,MAAM,sBAAsB,gCAOlC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DebugSpaceObjectsPanel } from './DebugSpaceObjectsPanel';
2
+ export default DebugSpaceObjectsPanel;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DebugSpaceObjectsPanel/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAElE,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DebugStatus.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DebugStatus/DebugStatus.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAwM3D,eAAO,MAAM,WAAW,yBAQvB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DebugStatus } from './DebugStatus';
2
+ export default DebugStatus;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DebugStatus/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,eAAe,WAAW,CAAC"}
@@ -1,4 +1,3 @@
1
1
  import React from 'react';
2
2
  export declare const DevtoolsOverviewContainer: () => React.JSX.Element;
3
- export default DevtoolsOverviewContainer;
4
3
  //# sourceMappingURL=DevtoolsOverviewContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DevtoolsOverviewContainer.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DevtoolsOverviewContainer/DevtoolsOverviewContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,yBAAyB,yBAerC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { DevtoolsOverviewContainer } from './DevtoolsOverviewContainer';
2
+ export default DevtoolsOverviewContainer;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DevtoolsOverviewContainer/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,eAAe,yBAAyB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { Obj } from '@dxos/echo';
3
+ import { type Space } from '@dxos/react-client/echo';
4
+ export type SpaceGeneratorProps = {
5
+ space: Space;
6
+ onCreateObjects?: (objects: Obj.Unknown[]) => void;
7
+ };
8
+ export declare const SpaceGenerator: React.ForwardRefExoticComponent<Omit<SpaceGeneratorProps, "className"> & {
9
+ classNames?: import("@dxos/ui-types").ClassNameValue;
10
+ } & {
11
+ className?: string;
12
+ children?: React.ReactNode;
13
+ role?: string;
14
+ } & React.RefAttributes<HTMLDivElement>>;
15
+ //# sourceMappingURL=SpaceGenerator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpaceGenerator.d.ts","sourceRoot":"","sources":["../../../../../src/containers/SpaceGenerator/SpaceGenerator.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAI9D,OAAO,EAAU,GAAG,EAAa,MAAM,YAAY,CAAC;AAKpD,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AASrD,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,KAAK,CAAC;IACb,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,OAAO,EAAE,KAAK,IAAI,CAAC;CACpD,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;wCAsG1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { SpaceGenerator } from './SpaceGenerator';
2
+ export default SpaceGenerator;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/SpaceGenerator/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,eAAe,cAAc,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import { type Obj } from '@dxos/echo';
2
+ import { Obj } from '@dxos/echo';
3
3
  import { type ThemedClassName } from '@dxos/react-ui';
4
4
  export type WireframeProps = ThemedClassName<{
5
+ object: Obj.Unknown;
5
6
  label?: string;
6
- object: Obj.Any;
7
7
  }>;
8
8
  export declare const Wireframe: ({ classNames, label, object }: WireframeProps) => React.JSX.Element;
9
9
  //# sourceMappingURL=Wireframe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Wireframe.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Wireframe/Wireframe.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAMtD,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC;IAC3C,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAGH,eAAO,MAAM,SAAS,GAAI,+BAA+B,cAAc,sBAwBtE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Wireframe } from './Wireframe';
2
+ export default Wireframe;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/Wireframe/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAe,SAAS,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { type ComponentType } from 'react';
2
+ export declare const DebugGraph: ComponentType<any>;
3
+ export declare const DebugObjectPanel: ComponentType<any>;
4
+ export declare const DebugStatus: ComponentType<any>;
5
+ export declare const DevtoolsOverviewContainer: ComponentType<any>;
6
+ export declare const SpaceGenerator: ComponentType<any>;
7
+ export declare const Wireframe: ComponentType<any>;
8
+ export declare const DebugSpaceObjectsPanel: ComponentType<any>;
9
+ //# 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,UAAU,EAAE,aAAa,CAAC,GAAG,CAAsC,CAAC;AACjF,eAAO,MAAM,gBAAgB,EAAE,aAAa,CAAC,GAAG,CAA4C,CAAC;AAC7F,eAAO,MAAM,WAAW,EAAE,aAAa,CAAC,GAAG,CAAuC,CAAC;AACnF,eAAO,MAAM,yBAAyB,EAAE,aAAa,CAAC,GAAG,CAAqD,CAAC;AAC/G,eAAO,MAAM,cAAc,EAAE,aAAa,CAAC,GAAG,CAA0C,CAAC;AACzF,eAAO,MAAM,SAAS,EAAE,aAAa,CAAC,GAAG,CAAqC,CAAC;AAC/E,eAAO,MAAM,sBAAsB,EAAE,aAAa,CAAC,GAAG,CAAkD,CAAC"}
@@ -1,3 +1,3 @@
1
- import { type PluginMeta } from '@dxos/app-framework';
2
- export declare const meta: PluginMeta;
1
+ import { type Plugin } from '@dxos/app-framework';
2
+ export declare const meta: Plugin.Meta;
3
3
  //# 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;AAGtD,eAAO,MAAM,IAAI,EAAE,UAUlB,CAAC"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,IAUzB,CAAC"}
@@ -1,64 +1,66 @@
1
- import { meta } from './meta';
1
+ import { meta } from '#meta';
2
2
  export declare const translations: [{
3
3
  readonly 'en-US': {
4
4
  readonly [meta.id]: {
5
- readonly 'plugin name': "Debug";
6
- readonly 'settings title': "Debug settings";
7
- readonly 'mutation count': "Number of mutations";
8
- readonly 'mutation period': "Mutation period";
9
- readonly 'open devtools label': "Open DevTools";
10
- readonly 'devtools label': "DevTools";
11
- readonly 'devtools overview label': "DevTools Stats";
12
- readonly 'debug label': "Debug";
13
- readonly 'debug app graph label': "App Graph";
14
- readonly 'settings show debug panel': "Show Debug panel.";
15
- readonly 'settings show devtools panel': "Show DevTools panel.";
16
- readonly 'settings wireframe': "Show wireframes.";
17
- readonly 'settings repair': "Run repair tool.";
18
- readonly 'settings download diagnostics': "Download diagnostics.";
19
- readonly 'settings uploaded': "Uploaded to IPFS";
20
- readonly 'settings uploaded to clipboard': "URL copied to clipboard.";
21
- readonly 'settings repair success': "Repair succeeded";
22
- readonly 'settings repair failed': "Repair failed";
23
- readonly 'settings choose storage adaptor': "Storage adaptor (worker reload required).";
24
- readonly 'settings storage adaptor idb label': "IndexedDB";
25
- readonly 'settings storage adaptor opfs label': "OPFS";
26
- readonly 'settings data store label': "Data Store";
27
- readonly 'settings storage adapter changed alert': "Warning: Swapping the storage adapter will make your data unavailable.";
28
- readonly 'settings space fragmentation': "Enable AM space fragmentation";
29
- readonly 'open debug panel label': "Show Debug";
30
- readonly 'client label': "Client";
31
- readonly 'config label': "Config";
32
- readonly 'storage label': "Storage";
33
- readonly 'logs label': "Logs";
34
- readonly 'diagnostics label': "Diagnostics";
35
- readonly 'tracing label': "Tracing";
36
- readonly 'halo label': "HALO";
37
- readonly 'identity label': "Identity";
38
- readonly 'devices label': "Devices";
39
- readonly 'keyring label': "Keyring";
40
- readonly 'credentials label': "Credentials";
41
- readonly 'echo label': "ECHO";
42
- readonly 'spaces label': "Spaces";
43
- readonly 'space label': "Space";
44
- readonly 'feeds label': "Feeds";
45
- readonly 'objects label': "Objects";
46
- readonly 'schema label': "Schema";
47
- readonly 'automerge label': "Automerge";
48
- readonly 'queues label': "Queues";
49
- readonly 'members label': "Members";
50
- readonly 'metadata label': "Metadata";
51
- readonly 'mesh label': "MESH";
52
- readonly 'signal label': "Signal";
53
- readonly 'swarm label': "Swarm";
54
- readonly 'network label': "Network";
55
- readonly 'agent label': "Agent";
56
- readonly 'dashboard label': "Dashboard";
57
- readonly 'search label': "Search";
58
- readonly 'edge label': "EDGE";
59
- readonly 'workflows label': "Workflows";
60
- readonly 'traces label': "Traces";
61
- readonly 'testing label': "Testing";
5
+ readonly 'plugin.name': "Debug";
6
+ readonly 'settings.title': "Debug settings";
7
+ readonly 'open-devtools.label': "Open DevTools";
8
+ readonly 'devtools.label': "DevTools";
9
+ readonly 'devtools-overview.label': "Stats";
10
+ readonly 'space-objects.label': "Database";
11
+ readonly 'debug.label': "Debug";
12
+ readonly 'debug-app-graph.label': "App Graph";
13
+ readonly 'settings.wireframe.label': "Show wireframes.";
14
+ readonly 'settings.wireframe.description': "Overlay wireframe outlines on UI components for debugging layout.";
15
+ readonly 'settings.repair.label': "Run repair tool.";
16
+ readonly 'settings.repair.description': "Attempt to detect and fix inconsistencies in local data storage.";
17
+ readonly 'settings.download-diagnostics.label': "Download diagnostics.";
18
+ readonly 'settings.download-diagnostics.description': "Export a JSON file containing client diagnostics for troubleshooting.";
19
+ readonly 'settings.download-logs.label': "Download log buffer.";
20
+ readonly 'settings.download-logs.description': "Export the in-memory log buffer as an NDJSON file.";
21
+ readonly 'settings.uploaded.message': "Settings uploaded.";
22
+ readonly 'settings.uploaded.description': "URL copied to clipboard.";
23
+ readonly 'settings.choose-storage-adaptor.label': "Storage adaptor (worker reload required).";
24
+ readonly 'settings.choose-storage-adaptor.description': "Select the browser storage backend. Changing this requires a worker reload and may make existing data unavailable.";
25
+ readonly 'settings.repair-success.message': "Repair succeeded";
26
+ readonly 'settings.repair-failed.message': "Repair failed";
27
+ readonly 'settings.storage-adaptor.idb.label': "IndexedDB";
28
+ readonly 'settings.storage-adaptor.opfs.label': "OPFS";
29
+ readonly 'settings.storage-adapter.changed-alert.message': "Warning: Swapping the storage adapter will make your data unavailable.";
30
+ readonly 'settings.data-store.label': "Data Store";
31
+ readonly 'open-debug-panel.label': "Show Debug";
32
+ readonly 'client.label': "Client";
33
+ readonly 'config.label': "Config";
34
+ readonly 'storage.label': "Storage";
35
+ readonly 'logs.label': "Logs";
36
+ readonly 'diagnostics.label': "Diagnostics";
37
+ readonly 'tracing.label': "Tracing";
38
+ readonly 'halo.label': "HALO";
39
+ readonly 'identity.label': "Identity";
40
+ readonly 'devices.label': "Devices";
41
+ readonly 'keyring.label': "Keyring";
42
+ readonly 'credentials.label': "Credentials";
43
+ readonly 'echo.label': "ECHO";
44
+ readonly 'spaces.label': "Spaces";
45
+ readonly 'space.label': "Space";
46
+ readonly 'feeds.label': "Feeds";
47
+ readonly 'objects.label': "Objects";
48
+ readonly 'schema.label': "Schema";
49
+ readonly 'automerge.label': "Automerge";
50
+ readonly 'queues.label': "Queues";
51
+ readonly 'members.label': "Members";
52
+ readonly 'metadata.label': "Metadata";
53
+ readonly 'mesh.label': "MESH";
54
+ readonly 'signal.label': "Signal";
55
+ readonly 'swarm.label': "Swarm";
56
+ readonly 'network.label': "Network";
57
+ readonly 'agent.label': "Agent";
58
+ readonly 'dashboard.label': "Dashboard";
59
+ readonly 'search.label': "Search";
60
+ readonly 'edge.label': "EDGE";
61
+ readonly 'workflows.label': "Workflows";
62
+ readonly 'traces.label': "Traces";
63
+ readonly 'testing.label': "Testing";
62
64
  };
63
65
  };
64
66
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA2DR;;EAGwB,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAE7B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAmER;;EAGwB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import * as Schema from 'effect/Schema';
2
+ export declare const Settings: Schema.mutable<Schema.Struct<{
3
+ wireframe: Schema.optional<typeof Schema.Boolean>;
4
+ }>>;
5
+ export type Settings = Schema.Schema.Type<typeof Settings>;
6
+ //# sourceMappingURL=Settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Settings.d.ts","sourceRoot":"","sources":["../../../../src/types/Settings.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,eAAO,MAAM,QAAQ;;GAIpB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC,CAAC"}
@@ -0,0 +1,67 @@
1
+ import { type Atom } from '@effect-atom/atom-react';
2
+ import { type Context } from 'react';
3
+ import { Capability } from '@dxos/app-framework';
4
+ import type { TimerCallback, TimerOptions } from '@dxos/async';
5
+ export * as Settings from './Settings';
6
+ export type DebugContextType = {
7
+ running: boolean;
8
+ start: (cb: TimerCallback, options: TimerOptions) => void;
9
+ stop: () => void;
10
+ };
11
+ export declare const DebugContext: Context<DebugContextType>;
12
+ export declare namespace DebugCapabilities {
13
+ const Settings: Capability.InterfaceDef<Atom.Writable<{
14
+ wireframe?: boolean | undefined;
15
+ }, {
16
+ wireframe?: boolean | undefined;
17
+ }>>;
18
+ }
19
+ export declare namespace Devtools {
20
+ const id: string;
21
+ namespace Client {
22
+ const id: string;
23
+ const Config: string;
24
+ const Storage: string;
25
+ const Logs: string;
26
+ const Diagnostics: string;
27
+ const Tracing: string;
28
+ }
29
+ namespace Halo {
30
+ const id: string;
31
+ const Identity: string;
32
+ const Devices: string;
33
+ const Keyring: string;
34
+ const Credentials: string;
35
+ }
36
+ namespace Echo {
37
+ const id: string;
38
+ const Spaces: string;
39
+ const Space: string;
40
+ const Feeds: string;
41
+ const Objects: string;
42
+ const Schema: string;
43
+ const Automerge: string;
44
+ const Queues: string;
45
+ const Members: string;
46
+ const Metadata: string;
47
+ }
48
+ namespace Mesh {
49
+ const id: string;
50
+ const Signal: string;
51
+ const Swarm: string;
52
+ const Network: string;
53
+ }
54
+ namespace Agent {
55
+ const id: string;
56
+ const Dashboard: string;
57
+ const Search: string;
58
+ }
59
+ namespace Edge {
60
+ const id: string;
61
+ const Dashboard: string;
62
+ const Workflows: string;
63
+ const Traces: string;
64
+ const Testing: string;
65
+ }
66
+ }
67
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src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