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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/dist/lib/browser/index.mjs +97 -91
  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 +6 -1
  5. package/dist/types/src/DebugPlugin.d.ts.map +1 -1
  6. package/dist/types/src/capabilities/app-graph-builder.d.ts +6 -0
  7. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
  8. package/dist/types/src/capabilities/index.d.ts +15 -4
  9. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  10. package/dist/types/src/capabilities/{react-context/react-context.d.ts → react-context.d.ts} +1 -1
  11. package/dist/types/src/capabilities/react-context.d.ts.map +1 -0
  12. package/dist/types/src/capabilities/react-surface.d.ts +9 -0
  13. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
  14. package/dist/types/src/capabilities/settings.d.ts +10 -0
  15. package/dist/types/src/capabilities/settings.d.ts.map +1 -0
  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 +1 -1
  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.map +1 -1
  30. package/dist/types/src/components/index.d.ts +4 -10
  31. package/dist/types/src/components/index.d.ts.map +1 -1
  32. package/dist/types/src/{components → containers/DebugGraph}/DebugGraph.d.ts +0 -1
  33. package/dist/types/src/containers/DebugGraph/DebugGraph.d.ts.map +1 -0
  34. package/dist/types/src/containers/DebugGraph/index.d.ts +3 -0
  35. package/dist/types/src/containers/DebugGraph/index.d.ts.map +1 -0
  36. package/dist/types/src/{components → containers/DebugObjectPanel}/DebugObjectPanel.d.ts +1 -1
  37. package/dist/types/src/containers/DebugObjectPanel/DebugObjectPanel.d.ts.map +1 -0
  38. package/dist/types/src/containers/DebugObjectPanel/index.d.ts +3 -0
  39. package/dist/types/src/containers/DebugObjectPanel/index.d.ts.map +1 -0
  40. package/dist/types/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.d.ts +3 -0
  41. package/dist/types/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.d.ts.map +1 -0
  42. package/dist/types/src/containers/DebugSpaceObjectsPanel/index.d.ts +3 -0
  43. package/dist/types/src/containers/DebugSpaceObjectsPanel/index.d.ts.map +1 -0
  44. package/dist/types/src/containers/DebugStatus/DebugStatus.d.ts.map +1 -0
  45. package/dist/types/src/containers/DebugStatus/index.d.ts +3 -0
  46. package/dist/types/src/containers/DebugStatus/index.d.ts.map +1 -0
  47. package/dist/types/src/{components → containers/DevtoolsOverviewContainer}/DevtoolsOverviewContainer.d.ts +0 -1
  48. package/dist/types/src/containers/DevtoolsOverviewContainer/DevtoolsOverviewContainer.d.ts.map +1 -0
  49. package/dist/types/src/containers/DevtoolsOverviewContainer/index.d.ts +3 -0
  50. package/dist/types/src/containers/DevtoolsOverviewContainer/index.d.ts.map +1 -0
  51. package/dist/types/src/containers/SpaceGenerator/SpaceGenerator.d.ts +15 -0
  52. package/dist/types/src/{components → containers}/SpaceGenerator/SpaceGenerator.d.ts.map +1 -1
  53. package/dist/types/src/containers/SpaceGenerator/index.d.ts +3 -0
  54. package/dist/types/src/containers/SpaceGenerator/index.d.ts.map +1 -0
  55. package/dist/types/src/containers/Wireframe/Wireframe.d.ts.map +1 -0
  56. package/dist/types/src/containers/Wireframe/index.d.ts +3 -0
  57. package/dist/types/src/containers/Wireframe/index.d.ts.map +1 -0
  58. package/dist/types/src/containers/index.d.ts +9 -0
  59. package/dist/types/src/containers/index.d.ts.map +1 -0
  60. package/dist/types/src/translations.d.ts +60 -58
  61. package/dist/types/src/translations.d.ts.map +1 -1
  62. package/dist/types/src/types/Settings.d.ts +6 -0
  63. package/dist/types/src/types/Settings.d.ts.map +1 -0
  64. package/dist/types/src/types/index.d.ts +67 -0
  65. package/dist/types/src/types/index.d.ts.map +1 -0
  66. package/dist/types/tsconfig.tsbuildinfo +1 -1
  67. package/package.json +74 -67
  68. package/src/DebugPlugin.tsx +23 -10
  69. package/src/capabilities/app-graph-builder.ts +406 -0
  70. package/src/capabilities/index.ts +6 -4
  71. package/src/capabilities/react-context.tsx +25 -0
  72. package/src/capabilities/{react-surface/react-surface.tsx → react-surface.tsx} +122 -109
  73. package/src/capabilities/{settings/settings.ts → settings.ts} +7 -6
  74. package/src/components/DebugSettings/DebugSettings.stories.tsx +36 -0
  75. package/src/components/DebugSettings/DebugSettings.tsx +228 -0
  76. package/src/components/DebugSettings/index.ts +7 -0
  77. package/src/components/{SpaceGenerator → SchemaTable}/SchemaTable.tsx +2 -2
  78. package/src/components/SchemaTable/index.ts +5 -0
  79. package/src/components/SpaceGenerator/ObjectGenerator.tsx +7 -8
  80. package/src/components/SpaceGenerator/index.ts +2 -3
  81. package/src/components/SpaceGenerator/presets.ts +51 -46
  82. package/src/components/index.ts +4 -11
  83. package/src/{components → containers/DebugGraph}/DebugGraph.tsx +0 -2
  84. package/src/containers/DebugGraph/index.ts +7 -0
  85. package/src/containers/DebugObjectPanel/DebugObjectPanel.tsx +47 -0
  86. package/src/containers/DebugObjectPanel/index.ts +7 -0
  87. package/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.tsx +55 -0
  88. package/src/containers/DebugSpaceObjectsPanel/index.ts +7 -0
  89. package/src/{components → containers/DebugStatus}/DebugStatus.tsx +41 -17
  90. package/src/containers/DebugStatus/index.ts +7 -0
  91. package/src/containers/DevtoolsOverviewContainer/DevtoolsOverviewContainer.tsx +25 -0
  92. package/src/containers/DevtoolsOverviewContainer/index.ts +7 -0
  93. package/src/containers/SpaceGenerator/SpaceGenerator.tsx +130 -0
  94. package/src/containers/SpaceGenerator/index.ts +7 -0
  95. package/src/{components → containers/Wireframe}/Wireframe.tsx +2 -2
  96. package/src/containers/Wireframe/index.ts +7 -0
  97. package/src/containers/index.ts +13 -0
  98. package/src/meta.ts +1 -1
  99. package/src/translations.ts +66 -58
  100. package/src/types/Settings.ts +15 -0
  101. package/src/{types.ts → types/index.ts} +7 -13
  102. package/dist/lib/browser/DebugGraph-6VMEOKEV.mjs +0 -15
  103. package/dist/lib/browser/DebugGraph-6VMEOKEV.mjs.map +0 -7
  104. package/dist/lib/browser/DevtoolsOverviewContainer-77PKFLYV.mjs +0 -19
  105. package/dist/lib/browser/DevtoolsOverviewContainer-77PKFLYV.mjs.map +0 -7
  106. package/dist/lib/browser/SpaceGenerator-H33AEFGC.mjs +0 -1152
  107. package/dist/lib/browser/SpaceGenerator-H33AEFGC.mjs.map +0 -7
  108. package/dist/lib/browser/app-graph-builder-LV73R7HR.mjs +0 -598
  109. package/dist/lib/browser/app-graph-builder-LV73R7HR.mjs.map +0 -7
  110. package/dist/lib/browser/chunk-4UFQXPP7.mjs +0 -78
  111. package/dist/lib/browser/chunk-4UFQXPP7.mjs.map +0 -7
  112. package/dist/lib/browser/chunk-A5H5GRV6.mjs +0 -20
  113. package/dist/lib/browser/chunk-A5H5GRV6.mjs.map +0 -7
  114. package/dist/lib/browser/react-context-FSWBT3MH.mjs +0 -17
  115. package/dist/lib/browser/react-context-FSWBT3MH.mjs.map +0 -7
  116. package/dist/lib/browser/react-surface-2N6CPSHR.mjs +0 -757
  117. package/dist/lib/browser/react-surface-2N6CPSHR.mjs.map +0 -7
  118. package/dist/lib/browser/settings-KA4GN73K.mjs +0 -31
  119. package/dist/lib/browser/settings-KA4GN73K.mjs.map +0 -7
  120. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +0 -6
  121. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +0 -1
  122. package/dist/types/src/capabilities/app-graph-builder/index.d.ts +0 -3
  123. package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +0 -1
  124. package/dist/types/src/capabilities/react-context/index.d.ts +0 -7
  125. package/dist/types/src/capabilities/react-context/index.d.ts.map +0 -1
  126. package/dist/types/src/capabilities/react-context/react-context.d.ts.map +0 -1
  127. package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
  128. package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
  129. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +0 -5
  130. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
  131. package/dist/types/src/capabilities/settings/index.d.ts +0 -3
  132. package/dist/types/src/capabilities/settings/index.d.ts.map +0 -1
  133. package/dist/types/src/capabilities/settings/settings.d.ts +0 -5
  134. package/dist/types/src/capabilities/settings/settings.d.ts.map +0 -1
  135. package/dist/types/src/components/Container.d.ts +0 -5
  136. package/dist/types/src/components/Container.d.ts.map +0 -1
  137. package/dist/types/src/components/DebugGraph.d.ts.map +0 -1
  138. package/dist/types/src/components/DebugObjectPanel.d.ts.map +0 -1
  139. package/dist/types/src/components/DebugSettings.d.ts +0 -8
  140. package/dist/types/src/components/DebugSettings.d.ts.map +0 -1
  141. package/dist/types/src/components/DebugStatus.d.ts.map +0 -1
  142. package/dist/types/src/components/DevtoolsOverviewContainer.d.ts.map +0 -1
  143. package/dist/types/src/components/SpaceGenerator/SchemaTable.d.ts.map +0 -1
  144. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.d.ts +0 -9
  145. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.stories.d.ts +0 -15
  146. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.stories.d.ts.map +0 -1
  147. package/dist/types/src/components/Wireframe.d.ts.map +0 -1
  148. package/dist/types/src/types.d.ts +0 -68
  149. package/dist/types/src/types.d.ts.map +0 -1
  150. package/src/capabilities/app-graph-builder/app-graph-builder.ts +0 -420
  151. package/src/capabilities/app-graph-builder/index.ts +0 -7
  152. package/src/capabilities/react-context/index.ts +0 -7
  153. package/src/capabilities/react-context/react-context.tsx +0 -20
  154. package/src/capabilities/react-surface/index.ts +0 -7
  155. package/src/capabilities/settings/index.ts +0 -7
  156. package/src/components/Container.tsx +0 -15
  157. package/src/components/DebugObjectPanel.tsx +0 -33
  158. package/src/components/DebugSettings.tsx +0 -185
  159. package/src/components/DevtoolsOverviewContainer.tsx +0 -20
  160. package/src/components/SpaceGenerator/SpaceGenerator.stories.tsx +0 -54
  161. package/src/components/SpaceGenerator/SpaceGenerator.tsx +0 -127
  162. /package/dist/types/src/components/{SpaceGenerator → SchemaTable}/SchemaTable.d.ts +0 -0
  163. /package/dist/types/src/{components → containers/DebugStatus}/DebugStatus.d.ts +0 -0
  164. /package/dist/types/src/{components → containers/Wireframe}/Wireframe.d.ts +0 -0
@@ -1,598 +0,0 @@
1
- import {
2
- Devtools
3
- } from "./chunk-4UFQXPP7.mjs";
4
- import {
5
- meta
6
- } from "./chunk-A5H5GRV6.mjs";
7
-
8
- // src/capabilities/app-graph-builder/app-graph-builder.ts
9
- import * as Effect from "effect/Effect";
10
- import { Capability, Common } from "@dxos/app-framework";
11
- import { Obj } from "@dxos/echo";
12
- import { ClientCapabilities } from "@dxos/plugin-client";
13
- import { ATTENDABLE_PATH_SEPARATOR, DECK_COMPANION_TYPE, PLANK_COMPANION_TYPE } from "@dxos/plugin-deck/types";
14
- import { GraphBuilder, Node, NodeMatcher } from "@dxos/plugin-graph";
15
- import { meta as spaceMeta } from "@dxos/plugin-space";
16
- import { parseId } from "@dxos/react-client/echo";
17
- var DEVTOOLS_TYPE = `${meta.id}/devtools`;
18
- var app_graph_builder_default = Capability.makeModule(Effect.fnUntraced(function* () {
19
- const extensions = yield* Effect.all([
20
- // Devtools node.
21
- GraphBuilder.createExtension({
22
- id: `${meta.id}/devtools`,
23
- match: NodeMatcher.whenAny(NodeMatcher.whenRoot, NodeMatcher.whenNodeType(`${spaceMeta.id}/settings`)),
24
- connector: (node, get) => Effect.gen(function* () {
25
- const client = yield* Capability.get(ClientCapabilities.Client);
26
- const layoutAtom = get(yield* Capability.atom(Common.Capability.Layout))[0];
27
- const layout = layoutAtom ? get(layoutAtom) : void 0;
28
- const { spaceId } = parseId(layout?.workspace);
29
- const space = spaceId ? client.spaces.get(spaceId) : void 0;
30
- const [graph] = get(yield* Capability.atom(Common.Capability.AppGraph));
31
- return [
32
- {
33
- id: `${Devtools.id}-${node.id}`,
34
- data: null,
35
- type: DEVTOOLS_TYPE,
36
- properties: {
37
- label: [
38
- "devtools label",
39
- {
40
- ns: meta.id
41
- }
42
- ],
43
- icon: "ph--hammer--regular",
44
- disposition: "pin-end",
45
- position: "fallback"
46
- },
47
- nodes: [
48
- ...space && node.type === `${spaceMeta.id}/settings` ? [
49
- {
50
- id: `debug-${node.id}`,
51
- type: `${meta.id}/space`,
52
- data: {
53
- space,
54
- type: `${meta.id}/space`
55
- },
56
- properties: {
57
- label: [
58
- "debug label",
59
- {
60
- ns: meta.id
61
- }
62
- ],
63
- icon: "ph--bug--regular"
64
- }
65
- }
66
- ] : [],
67
- {
68
- id: `app-graph-${node.id}`,
69
- type: `${meta.id}/app-graph`,
70
- data: {
71
- graph: graph?.graph,
72
- root: space ? space.id : Node.RootId
73
- },
74
- properties: {
75
- label: [
76
- "debug app graph label",
77
- {
78
- ns: meta.id
79
- }
80
- ],
81
- icon: "ph--graph--regular"
82
- }
83
- },
84
- {
85
- id: `${Devtools.Client.id}-${node.id}`,
86
- data: null,
87
- type: DEVTOOLS_TYPE,
88
- properties: {
89
- label: [
90
- "client label",
91
- {
92
- ns: meta.id
93
- }
94
- ],
95
- icon: "ph--users--regular"
96
- },
97
- nodes: [
98
- {
99
- id: `${Devtools.Client.Config}-${node.id}`,
100
- data: Devtools.Client.Config,
101
- type: DEVTOOLS_TYPE,
102
- properties: {
103
- label: [
104
- "config label",
105
- {
106
- ns: meta.id
107
- }
108
- ],
109
- icon: "ph--gear--regular"
110
- }
111
- },
112
- {
113
- id: `${Devtools.Client.Storage}-${node.id}`,
114
- data: Devtools.Client.Storage,
115
- type: DEVTOOLS_TYPE,
116
- properties: {
117
- label: [
118
- "storage label",
119
- {
120
- ns: meta.id
121
- }
122
- ],
123
- icon: "ph--hard-drives--regular"
124
- }
125
- },
126
- {
127
- id: `${Devtools.Client.Logs}-${node.id}`,
128
- data: Devtools.Client.Logs,
129
- type: DEVTOOLS_TYPE,
130
- properties: {
131
- label: [
132
- "logs label",
133
- {
134
- ns: meta.id
135
- }
136
- ],
137
- icon: "ph--file-text--regular"
138
- }
139
- },
140
- {
141
- id: `${Devtools.Client.Diagnostics}-${node.id}`,
142
- data: Devtools.Client.Diagnostics,
143
- type: DEVTOOLS_TYPE,
144
- properties: {
145
- label: [
146
- "diagnostics label",
147
- {
148
- ns: meta.id
149
- }
150
- ],
151
- icon: "ph--chart-line--regular"
152
- }
153
- },
154
- {
155
- id: `${Devtools.Client.Tracing}-${node.id}`,
156
- data: Devtools.Client.Tracing,
157
- type: DEVTOOLS_TYPE,
158
- properties: {
159
- label: [
160
- "tracing label",
161
- {
162
- ns: meta.id
163
- }
164
- ],
165
- icon: "ph--fire--regular"
166
- }
167
- }
168
- ]
169
- },
170
- {
171
- id: `${Devtools.Halo.id}-${node.id}`,
172
- data: null,
173
- type: DEVTOOLS_TYPE,
174
- properties: {
175
- label: [
176
- "halo label",
177
- {
178
- ns: meta.id
179
- }
180
- ],
181
- icon: "ph--identification-badge--regular"
182
- },
183
- nodes: [
184
- {
185
- id: `${Devtools.Halo.Identity}-${node.id}`,
186
- data: Devtools.Halo.Identity,
187
- type: DEVTOOLS_TYPE,
188
- properties: {
189
- label: [
190
- "identity label",
191
- {
192
- ns: meta.id
193
- }
194
- ],
195
- icon: "ph--identification-badge--regular"
196
- }
197
- },
198
- {
199
- id: `${Devtools.Halo.Devices}-${node.id}`,
200
- data: Devtools.Halo.Devices,
201
- type: DEVTOOLS_TYPE,
202
- properties: {
203
- label: [
204
- "devices label",
205
- {
206
- ns: meta.id
207
- }
208
- ],
209
- icon: "ph--devices--regular"
210
- }
211
- },
212
- {
213
- id: `${Devtools.Halo.Keyring}-${node.id}`,
214
- data: Devtools.Halo.Keyring,
215
- type: DEVTOOLS_TYPE,
216
- properties: {
217
- label: [
218
- "keyring label",
219
- {
220
- ns: meta.id
221
- }
222
- ],
223
- icon: "ph--key--regular"
224
- }
225
- },
226
- {
227
- id: `${Devtools.Halo.Credentials}-${node.id}`,
228
- data: Devtools.Halo.Credentials,
229
- type: DEVTOOLS_TYPE,
230
- properties: {
231
- label: [
232
- "credentials label",
233
- {
234
- ns: meta.id
235
- }
236
- ],
237
- icon: "ph--credit-card--regular"
238
- }
239
- }
240
- ]
241
- },
242
- {
243
- id: `${Devtools.Echo.id}-${node.id}`,
244
- data: null,
245
- type: DEVTOOLS_TYPE,
246
- properties: {
247
- label: [
248
- "echo label",
249
- {
250
- ns: meta.id
251
- }
252
- ],
253
- icon: "ph--database--regular"
254
- },
255
- nodes: [
256
- {
257
- id: `${Devtools.Echo.Spaces}-${node.id}`,
258
- data: Devtools.Echo.Spaces,
259
- type: DEVTOOLS_TYPE,
260
- properties: {
261
- label: [
262
- "spaces label",
263
- {
264
- ns: meta.id
265
- }
266
- ],
267
- icon: "ph--graph--regular"
268
- }
269
- },
270
- {
271
- id: `${Devtools.Echo.Space}-${node.id}`,
272
- data: Devtools.Echo.Space,
273
- type: DEVTOOLS_TYPE,
274
- properties: {
275
- label: [
276
- "space label",
277
- {
278
- ns: meta.id
279
- }
280
- ],
281
- icon: "ph--planet--regular"
282
- }
283
- },
284
- {
285
- id: `${Devtools.Echo.Feeds}-${node.id}`,
286
- data: Devtools.Echo.Feeds,
287
- type: DEVTOOLS_TYPE,
288
- properties: {
289
- label: [
290
- "feeds label",
291
- {
292
- ns: meta.id
293
- }
294
- ],
295
- icon: "ph--list-bullets--regular"
296
- }
297
- },
298
- {
299
- id: `${Devtools.Echo.Objects}-${node.id}`,
300
- data: Devtools.Echo.Objects,
301
- type: DEVTOOLS_TYPE,
302
- properties: {
303
- label: [
304
- "objects label",
305
- {
306
- ns: meta.id
307
- }
308
- ],
309
- icon: "ph--cube--regular"
310
- }
311
- },
312
- {
313
- id: `${Devtools.Echo.Schema}-${node.id}`,
314
- data: Devtools.Echo.Schema,
315
- type: DEVTOOLS_TYPE,
316
- properties: {
317
- label: [
318
- "schema label",
319
- {
320
- ns: meta.id
321
- }
322
- ],
323
- icon: "ph--database--regular"
324
- }
325
- },
326
- {
327
- id: `${Devtools.Echo.Automerge}-${node.id}`,
328
- data: Devtools.Echo.Automerge,
329
- type: DEVTOOLS_TYPE,
330
- properties: {
331
- label: [
332
- "automerge label",
333
- {
334
- ns: meta.id
335
- }
336
- ],
337
- icon: "ph--gear-six--regular"
338
- }
339
- },
340
- {
341
- id: `${Devtools.Echo.Queues}-${node.id}`,
342
- data: Devtools.Echo.Queues,
343
- type: DEVTOOLS_TYPE,
344
- properties: {
345
- label: [
346
- "queues label",
347
- {
348
- ns: meta.id
349
- }
350
- ],
351
- icon: "ph--queue--regular"
352
- }
353
- },
354
- {
355
- id: `${Devtools.Echo.Members}-${node.id}`,
356
- data: Devtools.Echo.Members,
357
- type: DEVTOOLS_TYPE,
358
- properties: {
359
- label: [
360
- "members label",
361
- {
362
- ns: meta.id
363
- }
364
- ],
365
- icon: "ph--users--regular"
366
- }
367
- },
368
- {
369
- id: `${Devtools.Echo.Metadata}-${node.id}`,
370
- data: Devtools.Echo.Metadata,
371
- type: DEVTOOLS_TYPE,
372
- properties: {
373
- label: [
374
- "metadata label",
375
- {
376
- ns: meta.id
377
- }
378
- ],
379
- icon: "ph--hard-drive--regular"
380
- }
381
- }
382
- ]
383
- },
384
- {
385
- id: `${Devtools.Mesh.id}-${node.id}`,
386
- data: null,
387
- type: DEVTOOLS_TYPE,
388
- properties: {
389
- label: [
390
- "mesh label",
391
- {
392
- ns: meta.id
393
- }
394
- ],
395
- icon: "ph--graph--regular"
396
- },
397
- nodes: [
398
- {
399
- id: `${Devtools.Mesh.Signal}-${node.id}`,
400
- data: Devtools.Mesh.Signal,
401
- type: DEVTOOLS_TYPE,
402
- properties: {
403
- label: [
404
- "signal label",
405
- {
406
- ns: meta.id
407
- }
408
- ],
409
- icon: "ph--wifi-high--regular"
410
- }
411
- },
412
- {
413
- id: `${Devtools.Mesh.Swarm}-${node.id}`,
414
- data: Devtools.Mesh.Swarm,
415
- type: DEVTOOLS_TYPE,
416
- properties: {
417
- label: [
418
- "swarm label",
419
- {
420
- ns: meta.id
421
- }
422
- ],
423
- icon: "ph--users-three--regular"
424
- }
425
- },
426
- {
427
- id: `${Devtools.Mesh.Network}-${node.id}`,
428
- data: Devtools.Mesh.Network,
429
- type: DEVTOOLS_TYPE,
430
- properties: {
431
- label: [
432
- "network label",
433
- {
434
- ns: meta.id
435
- }
436
- ],
437
- icon: "ph--polygon--regular"
438
- }
439
- }
440
- ]
441
- },
442
- // TODO(wittjosiah): Remove?
443
- // {
444
- // id: `${prefix}-${Devtools.Agent.id}`,
445
- // data: null,
446
- // type: DEVTOOLS_TYPE,
447
- // properties: {
448
- // label: ['agent label', { ns: meta.id }],
449
- // icon: 'ph--robot--regular',
450
- // },
451
- // nodes: [
452
- // {
453
- // id: `${prefix}-${Devtools.Agent.Dashboard}`,
454
- // data: Devtools.Agent.Dashboard,
455
- // type: DEVTOOLS_TYPE,
456
- // properties: {
457
- // label: ['dashboard label', { ns: meta.id }],
458
- // icon: 'ph--computer-tower--regular',
459
- // },
460
- // },
461
- // ],
462
- // },
463
- {
464
- id: `${Devtools.Edge.id}-${node.id}`,
465
- data: null,
466
- type: DEVTOOLS_TYPE,
467
- properties: {
468
- label: [
469
- "edge label",
470
- {
471
- ns: meta.id
472
- }
473
- ],
474
- icon: "ph--cloud--regular"
475
- },
476
- nodes: [
477
- {
478
- id: `${Devtools.Edge.Dashboard}-${node.id}`,
479
- data: Devtools.Edge.Dashboard,
480
- type: DEVTOOLS_TYPE,
481
- properties: {
482
- label: [
483
- "dashboard label",
484
- {
485
- ns: meta.id
486
- }
487
- ],
488
- icon: "ph--computer-tower--regular"
489
- }
490
- },
491
- {
492
- id: `${Devtools.Edge.Workflows}-${node.id}`,
493
- data: Devtools.Edge.Workflows,
494
- type: DEVTOOLS_TYPE,
495
- properties: {
496
- label: [
497
- "workflows label",
498
- {
499
- ns: meta.id
500
- }
501
- ],
502
- icon: "ph--function--regular"
503
- }
504
- },
505
- {
506
- id: `${Devtools.Edge.Traces}-${node.id}`,
507
- data: Devtools.Edge.Traces,
508
- type: DEVTOOLS_TYPE,
509
- properties: {
510
- label: [
511
- "traces label",
512
- {
513
- ns: meta.id
514
- }
515
- ],
516
- icon: "ph--line-segments--regular"
517
- }
518
- },
519
- {
520
- id: `${Devtools.Edge.Testing}-${node.id}`,
521
- data: Devtools.Edge.Testing,
522
- type: DEVTOOLS_TYPE,
523
- properties: {
524
- label: [
525
- "testing label",
526
- {
527
- ns: meta.id
528
- }
529
- ],
530
- icon: "ph--flask--regular"
531
- }
532
- }
533
- ]
534
- }
535
- ]
536
- }
537
- ];
538
- })
539
- }),
540
- // Debug object companion.
541
- GraphBuilder.createExtension({
542
- id: `${meta.id}/debug-object`,
543
- match: NodeMatcher.whenEchoObject,
544
- connector: (object) => Effect.succeed([
545
- {
546
- id: [
547
- Obj.getDXN(object).toString(),
548
- "debug"
549
- ].join(ATTENDABLE_PATH_SEPARATOR),
550
- type: PLANK_COMPANION_TYPE,
551
- data: "debug",
552
- properties: {
553
- label: [
554
- "debug label",
555
- {
556
- ns: meta.id
557
- }
558
- ],
559
- icon: "ph--bug--regular",
560
- disposition: "hidden",
561
- position: "fallback"
562
- }
563
- }
564
- ])
565
- }),
566
- // Devtools deck companion.
567
- GraphBuilder.createExtension({
568
- id: `${meta.id}/devtools-overview`,
569
- match: NodeMatcher.whenRoot,
570
- connector: (node) => Effect.succeed([
571
- {
572
- id: [
573
- node.id,
574
- "devtools"
575
- ].join(ATTENDABLE_PATH_SEPARATOR),
576
- type: DECK_COMPANION_TYPE,
577
- data: null,
578
- properties: {
579
- label: [
580
- "devtools overview label",
581
- {
582
- ns: meta.id
583
- }
584
- ],
585
- icon: "ph--equalizer--regular",
586
- disposition: "hidden",
587
- position: "fallback"
588
- }
589
- }
590
- ])
591
- })
592
- ]);
593
- return Capability.contributes(Common.Capability.AppGraphBuilder, extensions);
594
- }));
595
- export {
596
- app_graph_builder_default as default
597
- };
598
- //# sourceMappingURL=app-graph-builder-LV73R7HR.mjs.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/capabilities/app-graph-builder/app-graph-builder.ts"],
4
- "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capability, Common } from '@dxos/app-framework';\nimport { Obj } from '@dxos/echo';\nimport { ClientCapabilities } from '@dxos/plugin-client';\nimport { ATTENDABLE_PATH_SEPARATOR, DECK_COMPANION_TYPE, PLANK_COMPANION_TYPE } from '@dxos/plugin-deck/types';\nimport { GraphBuilder, Node, NodeMatcher } from '@dxos/plugin-graph';\nimport { meta as spaceMeta } from '@dxos/plugin-space';\nimport { parseId } from '@dxos/react-client/echo';\n\nimport { meta } from '../../meta';\nimport { Devtools } from '../../types';\n\nconst DEVTOOLS_TYPE = `${meta.id}/devtools`;\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n const extensions = yield* Effect.all([\n // Devtools node.\n GraphBuilder.createExtension({\n id: `${meta.id}/devtools`,\n match: NodeMatcher.whenAny(NodeMatcher.whenRoot, NodeMatcher.whenNodeType(`${spaceMeta.id}/settings`)),\n connector: (node, get) =>\n Effect.gen(function* () {\n const client = yield* Capability.get(ClientCapabilities.Client);\n const layoutAtom = get(yield* Capability.atom(Common.Capability.Layout))[0];\n const layout = layoutAtom ? get(layoutAtom) : undefined;\n const { spaceId } = parseId(layout?.workspace);\n const space = spaceId ? client.spaces.get(spaceId) : undefined;\n const [graph] = get(yield* Capability.atom(Common.Capability.AppGraph));\n\n return [\n {\n id: `${Devtools.id}-${node.id}`,\n data: null,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['devtools label', { ns: meta.id }],\n icon: 'ph--hammer--regular',\n disposition: 'pin-end',\n position: 'fallback',\n },\n nodes: [\n ...(space && node.type === `${spaceMeta.id}/settings`\n ? [\n {\n id: `debug-${node.id}`,\n type: `${meta.id}/space`,\n data: { space, type: `${meta.id}/space` },\n properties: {\n label: ['debug label', { ns: meta.id }],\n icon: 'ph--bug--regular',\n },\n },\n ]\n : []),\n {\n id: `app-graph-${node.id}`,\n type: `${meta.id}/app-graph`,\n data: { graph: graph?.graph, root: space ? space.id : Node.RootId },\n properties: {\n label: ['debug app graph label', { ns: meta.id }],\n icon: 'ph--graph--regular',\n },\n },\n {\n id: `${Devtools.Client.id}-${node.id}`,\n data: null,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['client label', { ns: meta.id }],\n icon: 'ph--users--regular',\n },\n nodes: [\n {\n id: `${Devtools.Client.Config}-${node.id}`,\n data: Devtools.Client.Config,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['config label', { ns: meta.id }],\n icon: 'ph--gear--regular',\n },\n },\n {\n id: `${Devtools.Client.Storage}-${node.id}`,\n data: Devtools.Client.Storage,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['storage label', { ns: meta.id }],\n icon: 'ph--hard-drives--regular',\n },\n },\n {\n id: `${Devtools.Client.Logs}-${node.id}`,\n data: Devtools.Client.Logs,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['logs label', { ns: meta.id }],\n icon: 'ph--file-text--regular',\n },\n },\n {\n id: `${Devtools.Client.Diagnostics}-${node.id}`,\n data: Devtools.Client.Diagnostics,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['diagnostics label', { ns: meta.id }],\n icon: 'ph--chart-line--regular',\n },\n },\n {\n id: `${Devtools.Client.Tracing}-${node.id}`,\n data: Devtools.Client.Tracing,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['tracing label', { ns: meta.id }],\n icon: 'ph--fire--regular',\n },\n },\n ],\n },\n {\n id: `${Devtools.Halo.id}-${node.id}`,\n data: null,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['halo label', { ns: meta.id }],\n icon: 'ph--identification-badge--regular',\n },\n nodes: [\n {\n id: `${Devtools.Halo.Identity}-${node.id}`,\n data: Devtools.Halo.Identity,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['identity label', { ns: meta.id }],\n icon: 'ph--identification-badge--regular',\n },\n },\n {\n id: `${Devtools.Halo.Devices}-${node.id}`,\n data: Devtools.Halo.Devices,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['devices label', { ns: meta.id }],\n icon: 'ph--devices--regular',\n },\n },\n {\n id: `${Devtools.Halo.Keyring}-${node.id}`,\n data: Devtools.Halo.Keyring,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['keyring label', { ns: meta.id }],\n icon: 'ph--key--regular',\n },\n },\n {\n id: `${Devtools.Halo.Credentials}-${node.id}`,\n data: Devtools.Halo.Credentials,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['credentials label', { ns: meta.id }],\n icon: 'ph--credit-card--regular',\n },\n },\n ],\n },\n {\n id: `${Devtools.Echo.id}-${node.id}`,\n data: null,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['echo label', { ns: meta.id }],\n icon: 'ph--database--regular',\n },\n nodes: [\n {\n id: `${Devtools.Echo.Spaces}-${node.id}`,\n data: Devtools.Echo.Spaces,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['spaces label', { ns: meta.id }],\n icon: 'ph--graph--regular',\n },\n },\n {\n id: `${Devtools.Echo.Space}-${node.id}`,\n data: Devtools.Echo.Space,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['space label', { ns: meta.id }],\n icon: 'ph--planet--regular',\n },\n },\n {\n id: `${Devtools.Echo.Feeds}-${node.id}`,\n data: Devtools.Echo.Feeds,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['feeds label', { ns: meta.id }],\n icon: 'ph--list-bullets--regular',\n },\n },\n {\n id: `${Devtools.Echo.Objects}-${node.id}`,\n data: Devtools.Echo.Objects,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['objects label', { ns: meta.id }],\n icon: 'ph--cube--regular',\n },\n },\n {\n id: `${Devtools.Echo.Schema}-${node.id}`,\n data: Devtools.Echo.Schema,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['schema label', { ns: meta.id }],\n icon: 'ph--database--regular',\n },\n },\n {\n id: `${Devtools.Echo.Automerge}-${node.id}`,\n data: Devtools.Echo.Automerge,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['automerge label', { ns: meta.id }],\n icon: 'ph--gear-six--regular',\n },\n },\n {\n id: `${Devtools.Echo.Queues}-${node.id}`,\n data: Devtools.Echo.Queues,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['queues label', { ns: meta.id }],\n icon: 'ph--queue--regular',\n },\n },\n {\n id: `${Devtools.Echo.Members}-${node.id}`,\n data: Devtools.Echo.Members,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['members label', { ns: meta.id }],\n icon: 'ph--users--regular',\n },\n },\n {\n id: `${Devtools.Echo.Metadata}-${node.id}`,\n data: Devtools.Echo.Metadata,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['metadata label', { ns: meta.id }],\n icon: 'ph--hard-drive--regular',\n },\n },\n ],\n },\n {\n id: `${Devtools.Mesh.id}-${node.id}`,\n data: null,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['mesh label', { ns: meta.id }],\n icon: 'ph--graph--regular',\n },\n nodes: [\n {\n id: `${Devtools.Mesh.Signal}-${node.id}`,\n data: Devtools.Mesh.Signal,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['signal label', { ns: meta.id }],\n icon: 'ph--wifi-high--regular',\n },\n },\n {\n id: `${Devtools.Mesh.Swarm}-${node.id}`,\n data: Devtools.Mesh.Swarm,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['swarm label', { ns: meta.id }],\n icon: 'ph--users-three--regular',\n },\n },\n {\n id: `${Devtools.Mesh.Network}-${node.id}`,\n data: Devtools.Mesh.Network,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['network label', { ns: meta.id }],\n icon: 'ph--polygon--regular',\n },\n },\n ],\n },\n // TODO(wittjosiah): Remove?\n // {\n // id: `${prefix}-${Devtools.Agent.id}`,\n // data: null,\n // type: DEVTOOLS_TYPE,\n // properties: {\n // label: ['agent label', { ns: meta.id }],\n // icon: 'ph--robot--regular',\n // },\n // nodes: [\n // {\n // id: `${prefix}-${Devtools.Agent.Dashboard}`,\n // data: Devtools.Agent.Dashboard,\n // type: DEVTOOLS_TYPE,\n // properties: {\n // label: ['dashboard label', { ns: meta.id }],\n // icon: 'ph--computer-tower--regular',\n // },\n // },\n // ],\n // },\n {\n id: `${Devtools.Edge.id}-${node.id}`,\n data: null,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['edge label', { ns: meta.id }],\n icon: 'ph--cloud--regular',\n },\n nodes: [\n {\n id: `${Devtools.Edge.Dashboard}-${node.id}`,\n data: Devtools.Edge.Dashboard,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['dashboard label', { ns: meta.id }],\n icon: 'ph--computer-tower--regular',\n },\n },\n {\n id: `${Devtools.Edge.Workflows}-${node.id}`,\n data: Devtools.Edge.Workflows,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['workflows label', { ns: meta.id }],\n icon: 'ph--function--regular',\n },\n },\n {\n id: `${Devtools.Edge.Traces}-${node.id}`,\n data: Devtools.Edge.Traces,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['traces label', { ns: meta.id }],\n icon: 'ph--line-segments--regular',\n },\n },\n {\n id: `${Devtools.Edge.Testing}-${node.id}`,\n data: Devtools.Edge.Testing,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['testing label', { ns: meta.id }],\n icon: 'ph--flask--regular',\n },\n },\n ],\n },\n ],\n },\n ];\n }),\n }),\n\n // Debug object companion.\n GraphBuilder.createExtension({\n id: `${meta.id}/debug-object`,\n match: NodeMatcher.whenEchoObject,\n connector: (object) =>\n Effect.succeed([\n {\n id: [Obj.getDXN(object).toString(), 'debug'].join(ATTENDABLE_PATH_SEPARATOR),\n type: PLANK_COMPANION_TYPE,\n data: 'debug',\n properties: {\n label: ['debug label', { ns: meta.id }],\n icon: 'ph--bug--regular',\n disposition: 'hidden',\n position: 'fallback',\n },\n },\n ]),\n }),\n\n // Devtools deck companion.\n GraphBuilder.createExtension({\n id: `${meta.id}/devtools-overview`,\n match: NodeMatcher.whenRoot,\n connector: (node) =>\n Effect.succeed([\n {\n id: [node.id, 'devtools'].join(ATTENDABLE_PATH_SEPARATOR),\n type: DECK_COMPANION_TYPE,\n data: null,\n properties: {\n label: ['devtools overview label', { ns: meta.id }],\n icon: 'ph--equalizer--regular',\n disposition: 'hidden',\n position: 'fallback',\n },\n },\n ]),\n }),\n ]);\n\n return Capability.contributes(Common.Capability.AppGraphBuilder, extensions);\n }),\n);\n"],
5
- "mappings": ";;;;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,YAAYC,cAAc;AACnC,SAASC,WAAW;AACpB,SAASC,0BAA0B;AACnC,SAASC,2BAA2BC,qBAAqBC,4BAA4B;AACrF,SAASC,cAAcC,MAAMC,mBAAmB;AAChD,SAASC,QAAQC,iBAAiB;AACl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Z;QACF;OACD;IACL,CAAA;;IAGApC,aAAaC,gBAAgB;MAC3BP,IAAI,GAAGD,KAAKC,EAAE;MACdQ,OAAOC,YAAYE;MACnBG,WAAW,CAACC,SACH+D,eAAQ;QACb;UACE9E,IAAI;YAACe,KAAKf;YAAI;YAAYkF,KAAKC,yBAAAA;UAC/B/C,MAAMiD;UACNlD,MAAM;UACNE,YAAY;YACVC,OAAO;cAAC;cAA2B;gBAAEC,IAAIxC,KAAKC;cAAG;;YACjDwC,MAAM;YACNC,aAAa;YACbC,UAAU;UACZ;QACF;OACD;IACL,CAAA;GACD;AAED,SAAOzC,WAAWqF,YAAY/D,OAAOtB,WAAWsF,iBAAiBnF,UAAAA;AACnE,CAAA,CAAA;",
6
- "names": ["Effect", "Capability", "Common", "Obj", "ClientCapabilities", "ATTENDABLE_PATH_SEPARATOR", "DECK_COMPANION_TYPE", "PLANK_COMPANION_TYPE", "GraphBuilder", "Node", "NodeMatcher", "meta", "spaceMeta", "parseId", "DEVTOOLS_TYPE", "meta", "id", "Capability", "makeModule", "fnUntraced", "extensions", "all", "GraphBuilder", "createExtension", "match", "NodeMatcher", "whenAny", "whenRoot", "whenNodeType", "spaceMeta", "connector", "node", "get", "gen", "client", "ClientCapabilities", "Client", "layoutAtom", "atom", "Common", "Layout", "layout", "undefined", "spaceId", "parseId", "workspace", "space", "spaces", "graph", "AppGraph", "Devtools", "data", "type", "properties", "label", "ns", "icon", "disposition", "position", "nodes", "root", "Node", "RootId", "Config", "Storage", "Logs", "Diagnostics", "Tracing", "Halo", "Identity", "Devices", "Keyring", "Credentials", "Echo", "Spaces", "Space", "Feeds", "Objects", "Schema", "Automerge", "Queues", "Members", "Metadata", "Mesh", "Signal", "Swarm", "Network", "Edge", "Dashboard", "Workflows", "Traces", "Testing", "whenEchoObject", "object", "succeed", "Obj", "getDXN", "toString", "join", "ATTENDABLE_PATH_SEPARATOR", "PLANK_COMPANION_TYPE", "DECK_COMPANION_TYPE", "contributes", "AppGraphBuilder"]
7
- }