@dxos/plugin-debug 0.8.1 → 0.8.2-main.f081794
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.
- package/dist/lib/browser/DevtoolsOverviewContainer-HYNZTH2Z.mjs +19 -0
- package/dist/lib/browser/DevtoolsOverviewContainer-HYNZTH2Z.mjs.map +7 -0
- package/dist/lib/browser/{SpaceGenerator-NBOQZ4JF.mjs → SpaceGenerator-RESAAW32.mjs} +12 -12
- package/dist/lib/browser/SpaceGenerator-RESAAW32.mjs.map +7 -0
- package/dist/lib/browser/{app-graph-builder-ALFPRSAR.mjs → app-graph-builder-RTKWOHHT.mjs} +74 -52
- package/dist/lib/browser/app-graph-builder-RTKWOHHT.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +4 -3
- package/dist/lib/browser/index.mjs.map +2 -2
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-MXXLOQYV.mjs → react-surface-E63KL63Y.mjs} +11 -28
- package/dist/lib/browser/react-surface-E63KL63Y.mjs.map +7 -0
- package/dist/lib/browser/{settings-AP74NCXH.mjs → settings-BIRIGKTH.mjs} +3 -3
- package/dist/lib/browser/settings-BIRIGKTH.mjs.map +7 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/DebugStatus.d.ts.map +1 -1
- package/dist/types/src/components/DevtoolsOverviewContainer.d.ts +4 -0
- package/dist/types/src/components/DevtoolsOverviewContainer.d.ts.map +1 -0
- package/dist/types/src/components/SpaceGenerator/ObjectGenerator.d.ts +2 -2
- package/dist/types/src/components/SpaceGenerator/ObjectGenerator.d.ts.map +1 -1
- package/dist/types/src/components/SpaceGenerator/SpaceGenerator.d.ts +2 -2
- package/dist/types/src/components/SpaceGenerator/SpaceGenerator.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +1 -0
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +1 -0
- package/dist/types/src/translations.d.ts.map +1 -1
- package/package.json +51 -49
- package/src/capabilities/app-graph-builder.ts +66 -58
- package/src/capabilities/react-surface.tsx +21 -8
- package/src/capabilities/settings.ts +2 -2
- package/src/components/DebugStatus.tsx +2 -24
- package/src/components/DevtoolsOverviewContainer.tsx +20 -0
- package/src/components/SpaceGenerator/ObjectGenerator.tsx +9 -13
- package/src/components/SpaceGenerator/SpaceGenerator.tsx +4 -4
- package/src/components/SpaceGenerator/presets.ts +2 -2
- package/src/components/index.ts +1 -0
- package/src/translations.ts +1 -0
- package/dist/lib/browser/SpaceGenerator-NBOQZ4JF.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-ALFPRSAR.mjs.map +0 -7
- package/dist/lib/browser/react-surface-MXXLOQYV.mjs.map +0 -7
- package/dist/lib/browser/settings-AP74NCXH.mjs.map +0 -7
|
@@ -7,30 +7,25 @@ import {
|
|
|
7
7
|
|
|
8
8
|
// packages/plugins/plugin-debug/src/capabilities/app-graph-builder.ts
|
|
9
9
|
import { contributes, Capabilities } from "@dxos/app-framework";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
10
|
+
import { ClientCapabilities } from "@dxos/plugin-client";
|
|
11
|
+
import { ATTENDABLE_PATH_SEPARATOR, DECK_COMPANION_TYPE, PLANK_COMPANION_TYPE } from "@dxos/plugin-deck/types";
|
|
12
|
+
import { createExtension } from "@dxos/plugin-graph";
|
|
13
|
+
import { SPACE_PLUGIN } from "@dxos/plugin-space";
|
|
14
|
+
import { isEchoObject, parseId } from "@dxos/react-client/echo";
|
|
14
15
|
var DEVTOOLS_TYPE = "dxos.org/plugin/debug/devtools";
|
|
15
16
|
var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBuilder, [
|
|
16
17
|
// Devtools node.
|
|
17
18
|
createExtension({
|
|
18
19
|
id: "dxos.org/plugin/debug/devtools",
|
|
19
|
-
filter: (node) => node.id === "root" ||
|
|
20
|
+
filter: (node) => node.id === "root" || node.type === `${SPACE_PLUGIN}/settings`,
|
|
20
21
|
connector: ({ node }) => {
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
const collection = space?.properties[CollectionType.typename]?.target;
|
|
28
|
-
if (node.id !== "root" && !collection) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
22
|
+
const layout = context.requestCapability(Capabilities.Layout);
|
|
23
|
+
const client = context.requestCapability(ClientCapabilities.Client);
|
|
24
|
+
const { spaceId } = parseId(layout.workspace);
|
|
25
|
+
const space = spaceId && client.spaces.get(spaceId);
|
|
31
26
|
return [
|
|
32
27
|
{
|
|
33
|
-
id: `${
|
|
28
|
+
id: `${Devtools.id}-${node.id}`,
|
|
34
29
|
data: null,
|
|
35
30
|
type: DEVTOOLS_TYPE,
|
|
36
31
|
properties: {
|
|
@@ -40,16 +35,17 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
40
35
|
ns: DEBUG_PLUGIN
|
|
41
36
|
}
|
|
42
37
|
],
|
|
38
|
+
icon: "ph--hammer--regular",
|
|
43
39
|
disposition: "workspace",
|
|
44
|
-
|
|
40
|
+
position: "fallback"
|
|
45
41
|
},
|
|
46
42
|
nodes: [
|
|
47
|
-
...
|
|
43
|
+
...space ? [
|
|
48
44
|
{
|
|
49
|
-
id:
|
|
45
|
+
id: `debug-${node.id}`,
|
|
50
46
|
type: "dxos.org/plugin/debug/space",
|
|
51
47
|
data: {
|
|
52
|
-
space
|
|
48
|
+
space,
|
|
53
49
|
type: "dxos.org/plugin/debug/space"
|
|
54
50
|
},
|
|
55
51
|
properties: {
|
|
@@ -64,7 +60,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
64
60
|
}
|
|
65
61
|
] : [],
|
|
66
62
|
{
|
|
67
|
-
id: `${
|
|
63
|
+
id: `${Devtools.Client.id}-${node.id}`,
|
|
68
64
|
data: null,
|
|
69
65
|
type: DEVTOOLS_TYPE,
|
|
70
66
|
properties: {
|
|
@@ -78,7 +74,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
78
74
|
},
|
|
79
75
|
nodes: [
|
|
80
76
|
{
|
|
81
|
-
id: `${
|
|
77
|
+
id: `${Devtools.Client.Config}-${node.id}`,
|
|
82
78
|
data: Devtools.Client.Config,
|
|
83
79
|
type: DEVTOOLS_TYPE,
|
|
84
80
|
properties: {
|
|
@@ -92,7 +88,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
92
88
|
}
|
|
93
89
|
},
|
|
94
90
|
{
|
|
95
|
-
id: `${
|
|
91
|
+
id: `${Devtools.Client.Storage}-${node.id}`,
|
|
96
92
|
data: Devtools.Client.Storage,
|
|
97
93
|
type: DEVTOOLS_TYPE,
|
|
98
94
|
properties: {
|
|
@@ -106,7 +102,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
106
102
|
}
|
|
107
103
|
},
|
|
108
104
|
{
|
|
109
|
-
id: `${
|
|
105
|
+
id: `${Devtools.Client.Logs}-${node.id}`,
|
|
110
106
|
data: Devtools.Client.Logs,
|
|
111
107
|
type: DEVTOOLS_TYPE,
|
|
112
108
|
properties: {
|
|
@@ -120,7 +116,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
120
116
|
}
|
|
121
117
|
},
|
|
122
118
|
{
|
|
123
|
-
id: `${
|
|
119
|
+
id: `${Devtools.Client.Diagnostics}-${node.id}`,
|
|
124
120
|
data: Devtools.Client.Diagnostics,
|
|
125
121
|
type: DEVTOOLS_TYPE,
|
|
126
122
|
properties: {
|
|
@@ -134,7 +130,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
134
130
|
}
|
|
135
131
|
},
|
|
136
132
|
{
|
|
137
|
-
id: `${
|
|
133
|
+
id: `${Devtools.Client.Tracing}-${node.id}`,
|
|
138
134
|
data: Devtools.Client.Tracing,
|
|
139
135
|
type: DEVTOOLS_TYPE,
|
|
140
136
|
properties: {
|
|
@@ -150,7 +146,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
150
146
|
]
|
|
151
147
|
},
|
|
152
148
|
{
|
|
153
|
-
id: `${
|
|
149
|
+
id: `${Devtools.Halo.id}-${node.id}`,
|
|
154
150
|
data: null,
|
|
155
151
|
type: DEVTOOLS_TYPE,
|
|
156
152
|
properties: {
|
|
@@ -164,7 +160,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
164
160
|
},
|
|
165
161
|
nodes: [
|
|
166
162
|
{
|
|
167
|
-
id: `${
|
|
163
|
+
id: `${Devtools.Halo.Identity}-${node.id}`,
|
|
168
164
|
data: Devtools.Halo.Identity,
|
|
169
165
|
type: DEVTOOLS_TYPE,
|
|
170
166
|
properties: {
|
|
@@ -178,7 +174,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
178
174
|
}
|
|
179
175
|
},
|
|
180
176
|
{
|
|
181
|
-
id: `${
|
|
177
|
+
id: `${Devtools.Halo.Devices}-${node.id}`,
|
|
182
178
|
data: Devtools.Halo.Devices,
|
|
183
179
|
type: DEVTOOLS_TYPE,
|
|
184
180
|
properties: {
|
|
@@ -192,7 +188,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
192
188
|
}
|
|
193
189
|
},
|
|
194
190
|
{
|
|
195
|
-
id: `${
|
|
191
|
+
id: `${Devtools.Halo.Keyring}-${node.id}`,
|
|
196
192
|
data: Devtools.Halo.Keyring,
|
|
197
193
|
type: DEVTOOLS_TYPE,
|
|
198
194
|
properties: {
|
|
@@ -206,7 +202,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
206
202
|
}
|
|
207
203
|
},
|
|
208
204
|
{
|
|
209
|
-
id: `${
|
|
205
|
+
id: `${Devtools.Halo.Credentials}-${node.id}`,
|
|
210
206
|
data: Devtools.Halo.Credentials,
|
|
211
207
|
type: DEVTOOLS_TYPE,
|
|
212
208
|
properties: {
|
|
@@ -222,7 +218,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
222
218
|
]
|
|
223
219
|
},
|
|
224
220
|
{
|
|
225
|
-
id: `${
|
|
221
|
+
id: `${Devtools.Echo.id}-${node.id}`,
|
|
226
222
|
data: null,
|
|
227
223
|
type: DEVTOOLS_TYPE,
|
|
228
224
|
properties: {
|
|
@@ -236,7 +232,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
236
232
|
},
|
|
237
233
|
nodes: [
|
|
238
234
|
{
|
|
239
|
-
id: `${
|
|
235
|
+
id: `${Devtools.Echo.Spaces}-${node.id}`,
|
|
240
236
|
data: Devtools.Echo.Spaces,
|
|
241
237
|
type: DEVTOOLS_TYPE,
|
|
242
238
|
properties: {
|
|
@@ -250,7 +246,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
250
246
|
}
|
|
251
247
|
},
|
|
252
248
|
{
|
|
253
|
-
id: `${
|
|
249
|
+
id: `${Devtools.Echo.Space}-${node.id}`,
|
|
254
250
|
data: Devtools.Echo.Space,
|
|
255
251
|
type: DEVTOOLS_TYPE,
|
|
256
252
|
properties: {
|
|
@@ -264,7 +260,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
264
260
|
}
|
|
265
261
|
},
|
|
266
262
|
{
|
|
267
|
-
id: `${
|
|
263
|
+
id: `${Devtools.Echo.Feeds}-${node.id}`,
|
|
268
264
|
data: Devtools.Echo.Feeds,
|
|
269
265
|
type: DEVTOOLS_TYPE,
|
|
270
266
|
properties: {
|
|
@@ -278,7 +274,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
278
274
|
}
|
|
279
275
|
},
|
|
280
276
|
{
|
|
281
|
-
id: `${
|
|
277
|
+
id: `${Devtools.Echo.Objects}-${node.id}`,
|
|
282
278
|
data: Devtools.Echo.Objects,
|
|
283
279
|
type: DEVTOOLS_TYPE,
|
|
284
280
|
properties: {
|
|
@@ -292,7 +288,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
292
288
|
}
|
|
293
289
|
},
|
|
294
290
|
{
|
|
295
|
-
id: `${
|
|
291
|
+
id: `${Devtools.Echo.Automerge}-${node.id}`,
|
|
296
292
|
data: Devtools.Echo.Automerge,
|
|
297
293
|
type: DEVTOOLS_TYPE,
|
|
298
294
|
properties: {
|
|
@@ -306,7 +302,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
306
302
|
}
|
|
307
303
|
},
|
|
308
304
|
{
|
|
309
|
-
id: `${
|
|
305
|
+
id: `${Devtools.Echo.Queues}-${node.id}`,
|
|
310
306
|
data: Devtools.Echo.Queues,
|
|
311
307
|
type: DEVTOOLS_TYPE,
|
|
312
308
|
properties: {
|
|
@@ -320,7 +316,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
320
316
|
}
|
|
321
317
|
},
|
|
322
318
|
{
|
|
323
|
-
id: `${
|
|
319
|
+
id: `${Devtools.Echo.Members}-${node.id}`,
|
|
324
320
|
data: Devtools.Echo.Members,
|
|
325
321
|
type: DEVTOOLS_TYPE,
|
|
326
322
|
properties: {
|
|
@@ -334,7 +330,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
334
330
|
}
|
|
335
331
|
},
|
|
336
332
|
{
|
|
337
|
-
id: `${
|
|
333
|
+
id: `${Devtools.Echo.Metadata}-${node.id}`,
|
|
338
334
|
data: Devtools.Echo.Metadata,
|
|
339
335
|
type: DEVTOOLS_TYPE,
|
|
340
336
|
properties: {
|
|
@@ -350,7 +346,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
350
346
|
]
|
|
351
347
|
},
|
|
352
348
|
{
|
|
353
|
-
id: `${
|
|
349
|
+
id: `${Devtools.Mesh.id}-${node.id}`,
|
|
354
350
|
data: null,
|
|
355
351
|
type: DEVTOOLS_TYPE,
|
|
356
352
|
properties: {
|
|
@@ -364,7 +360,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
364
360
|
},
|
|
365
361
|
nodes: [
|
|
366
362
|
{
|
|
367
|
-
id: `${
|
|
363
|
+
id: `${Devtools.Mesh.Signal}-${node.id}`,
|
|
368
364
|
data: Devtools.Mesh.Signal,
|
|
369
365
|
type: DEVTOOLS_TYPE,
|
|
370
366
|
properties: {
|
|
@@ -378,7 +374,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
378
374
|
}
|
|
379
375
|
},
|
|
380
376
|
{
|
|
381
|
-
id: `${
|
|
377
|
+
id: `${Devtools.Mesh.Swarm}-${node.id}`,
|
|
382
378
|
data: Devtools.Mesh.Swarm,
|
|
383
379
|
type: DEVTOOLS_TYPE,
|
|
384
380
|
properties: {
|
|
@@ -392,7 +388,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
392
388
|
}
|
|
393
389
|
},
|
|
394
390
|
{
|
|
395
|
-
id: `${
|
|
391
|
+
id: `${Devtools.Mesh.Network}-${node.id}`,
|
|
396
392
|
data: Devtools.Mesh.Network,
|
|
397
393
|
type: DEVTOOLS_TYPE,
|
|
398
394
|
properties: {
|
|
@@ -409,7 +405,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
409
405
|
},
|
|
410
406
|
// TODO(wittjosiah): Remove?
|
|
411
407
|
// {
|
|
412
|
-
// id: `${
|
|
408
|
+
// id: `${prefix}-${Devtools.Agent.id}`,
|
|
413
409
|
// data: null,
|
|
414
410
|
// type: DEVTOOLS_TYPE,
|
|
415
411
|
// properties: {
|
|
@@ -418,7 +414,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
418
414
|
// },
|
|
419
415
|
// nodes: [
|
|
420
416
|
// {
|
|
421
|
-
// id: `${
|
|
417
|
+
// id: `${prefix}-${Devtools.Agent.Dashboard}`,
|
|
422
418
|
// data: Devtools.Agent.Dashboard,
|
|
423
419
|
// type: DEVTOOLS_TYPE,
|
|
424
420
|
// properties: {
|
|
@@ -429,7 +425,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
429
425
|
// ],
|
|
430
426
|
// },
|
|
431
427
|
{
|
|
432
|
-
id: `${
|
|
428
|
+
id: `${Devtools.Edge.id}-${node.id}`,
|
|
433
429
|
data: null,
|
|
434
430
|
type: DEVTOOLS_TYPE,
|
|
435
431
|
properties: {
|
|
@@ -443,7 +439,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
443
439
|
},
|
|
444
440
|
nodes: [
|
|
445
441
|
{
|
|
446
|
-
id: `${
|
|
442
|
+
id: `${Devtools.Edge.Dashboard}-${node.id}`,
|
|
447
443
|
data: Devtools.Edge.Dashboard,
|
|
448
444
|
type: DEVTOOLS_TYPE,
|
|
449
445
|
properties: {
|
|
@@ -457,7 +453,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
457
453
|
}
|
|
458
454
|
},
|
|
459
455
|
{
|
|
460
|
-
id: `${
|
|
456
|
+
id: `${Devtools.Edge.Workflows}-${node.id}`,
|
|
461
457
|
data: Devtools.Edge.Workflows,
|
|
462
458
|
type: DEVTOOLS_TYPE,
|
|
463
459
|
properties: {
|
|
@@ -471,7 +467,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
471
467
|
}
|
|
472
468
|
},
|
|
473
469
|
{
|
|
474
|
-
id: `${
|
|
470
|
+
id: `${Devtools.Edge.Traces}-${node.id}`,
|
|
475
471
|
data: Devtools.Edge.Traces,
|
|
476
472
|
type: DEVTOOLS_TYPE,
|
|
477
473
|
properties: {
|
|
@@ -485,7 +481,7 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
485
481
|
}
|
|
486
482
|
},
|
|
487
483
|
{
|
|
488
|
-
id: `${
|
|
484
|
+
id: `${Devtools.Edge.Testing}-${node.id}`,
|
|
489
485
|
data: Devtools.Edge.Testing,
|
|
490
486
|
type: DEVTOOLS_TYPE,
|
|
491
487
|
properties: {
|
|
@@ -562,9 +558,35 @@ var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBu
|
|
|
562
558
|
}
|
|
563
559
|
}
|
|
564
560
|
]
|
|
561
|
+
}),
|
|
562
|
+
// Devtools deck companion.
|
|
563
|
+
createExtension({
|
|
564
|
+
id: `${DEBUG_PLUGIN}/devtools-overview`,
|
|
565
|
+
filter: (node) => node.id === "root",
|
|
566
|
+
connector: ({ node }) => [
|
|
567
|
+
{
|
|
568
|
+
id: [
|
|
569
|
+
node.id,
|
|
570
|
+
"devtools"
|
|
571
|
+
].join(ATTENDABLE_PATH_SEPARATOR),
|
|
572
|
+
type: DECK_COMPANION_TYPE,
|
|
573
|
+
data: null,
|
|
574
|
+
properties: {
|
|
575
|
+
label: [
|
|
576
|
+
"devtools overview label",
|
|
577
|
+
{
|
|
578
|
+
ns: DEBUG_PLUGIN
|
|
579
|
+
}
|
|
580
|
+
],
|
|
581
|
+
icon: "ph--hammer--regular",
|
|
582
|
+
disposition: "hidden",
|
|
583
|
+
position: "fallback"
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
]
|
|
565
587
|
})
|
|
566
588
|
]);
|
|
567
589
|
export {
|
|
568
590
|
app_graph_builder_default as default
|
|
569
591
|
};
|
|
570
|
-
//# sourceMappingURL=app-graph-builder-
|
|
592
|
+
//# sourceMappingURL=app-graph-builder-RTKWOHHT.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/app-graph-builder.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { contributes, Capabilities, type PluginsContext } from '@dxos/app-framework';\nimport { ClientCapabilities } from '@dxos/plugin-client';\nimport { ATTENDABLE_PATH_SEPARATOR, DECK_COMPANION_TYPE, PLANK_COMPANION_TYPE } from '@dxos/plugin-deck/types';\nimport { createExtension, type Node } from '@dxos/plugin-graph';\nimport { SPACE_PLUGIN } from '@dxos/plugin-space';\nimport { isEchoObject, type ReactiveEchoObject, parseId } from '@dxos/react-client/echo';\n\nimport { DEBUG_PLUGIN } from '../meta';\nimport { Devtools } from '../types';\n\nconst DEVTOOLS_TYPE = 'dxos.org/plugin/debug/devtools';\n\nexport default (context: PluginsContext) =>\n contributes(Capabilities.AppGraphBuilder, [\n // Devtools node.\n createExtension({\n id: 'dxos.org/plugin/debug/devtools',\n filter: (node): node is Node<null> => node.id === 'root' || node.type === `${SPACE_PLUGIN}/settings`,\n connector: ({ node }) => {\n const layout = context.requestCapability(Capabilities.Layout);\n const client = context.requestCapability(ClientCapabilities.Client);\n const { spaceId } = parseId(layout.workspace);\n const space = spaceId && client.spaces.get(spaceId);\n\n return [\n {\n id: `${Devtools.id}-${node.id}`,\n data: null,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['devtools label', { ns: DEBUG_PLUGIN }],\n icon: 'ph--hammer--regular',\n disposition: 'workspace',\n position: 'fallback',\n },\n nodes: [\n ...(space\n ? [\n {\n id: `debug-${node.id}`,\n type: 'dxos.org/plugin/debug/space',\n data: { space, type: 'dxos.org/plugin/debug/space' },\n properties: {\n label: ['debug label', { ns: DEBUG_PLUGIN }],\n icon: 'ph--bug--regular',\n },\n },\n ]\n : []),\n {\n id: `${Devtools.Client.id}-${node.id}`,\n data: null,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['client label', { ns: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\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: DEBUG_PLUGIN }],\n icon: 'ph--flask--regular',\n },\n },\n ],\n },\n ],\n },\n ];\n },\n }),\n\n // Debug node.\n createExtension({\n id: 'dxos.org/plugin/debug/debug',\n filter: (node): node is Node<null> => {\n // TODO(wittjosiah): Plank is currently blank. Remove?\n // const settings = context\n // .requestCapabilities(Capabilities.SettingsStore)[0]\n // ?.getStore<DebugSettingsProps>(DEBUG_PLUGIN)?.value;\n // return !!settings?.debug && node.id === 'root';\n return false;\n },\n connector: () => {\n const [graph] = context.requestCapabilities(Capabilities.AppGraph);\n if (!graph) {\n return;\n }\n\n return [\n {\n id: 'dxos.org/plugin/debug/debug',\n type: 'dxos.org/plugin/debug/debug',\n data: { graph },\n properties: {\n label: ['debug label', { ns: DEBUG_PLUGIN }],\n disposition: 'navigation',\n icon: 'ph--bug--regular',\n },\n },\n ];\n },\n }),\n\n // Debug object companion.\n createExtension({\n id: `${DEBUG_PLUGIN}/debug-object`,\n filter: (node): node is Node<ReactiveEchoObject<any>> => isEchoObject(node.data),\n connector: ({ node }) => [\n {\n id: [node.id, 'debug'].join(ATTENDABLE_PATH_SEPARATOR),\n type: PLANK_COMPANION_TYPE,\n data: 'debug',\n properties: {\n label: ['debug label', { ns: DEBUG_PLUGIN }],\n icon: 'ph--bug--regular',\n disposition: 'hidden',\n position: 'fallback',\n },\n },\n ],\n }),\n\n // Devtools deck companion.\n createExtension({\n id: `${DEBUG_PLUGIN}/devtools-overview`,\n filter: (node): node is Node<null> => node.id === 'root',\n connector: ({ node }) => [\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: DEBUG_PLUGIN }],\n icon: 'ph--hammer--regular',\n disposition: 'hidden',\n position: 'fallback',\n },\n },\n ],\n }),\n ]);\n"],
|
|
5
|
+
"mappings": ";;;;;;;;AAIA,SAASA,aAAaC,oBAAyC;AAC/D,SAASC,0BAA0B;AACnC,SAASC,2BAA2BC,qBAAqBC,4BAA4B;AACrF,SAASC,uBAAkC;AAC3C,SAASC,oBAAoB;AAC7B,SAASC,cAAuCC,eAAe;AAK/D,IAAMC,gBAAgB;AAEtB,IAAA,4BAAe,CAACC,YACdC,YAAYC,aAAaC,iBAAiB;;EAExCC,gBAAgB;IACdC,IAAI;IACJC,QAAQ,CAACC,SAA6BA,KAAKF,OAAO,UAAUE,KAAKC,SAAS,GAAGC,YAAAA;IAC7EC,WAAW,CAAC,EAAEH,KAAI,MAAE;AAClB,YAAMI,SAASX,QAAQY,kBAAkBV,aAAaW,MAAM;AAC5D,YAAMC,SAASd,QAAQY,kBAAkBG,mBAAmBC,MAAM;AAClE,YAAM,EAAEC,QAAO,IAAKC,QAAQP,OAAOQ,SAAS;AAC5C,YAAMC,QAAQH,WAAWH,OAAOO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AI,GAAGuB,YAAAA;IACPtB,QAAQ,CAACC,SAA6BA,KAAKF,OAAO;IAClDK,WAAW,CAAC,EAAEH,KAAI,MAAO;MACvB;QACEF,IAAI;UAACE,KAAKF;UAAI;UAAY4D,KAAKC,yBAAAA;QAC/B1D,MAAM4D;QACN5C,MAAM;QACNC,YAAY;UACVC,OAAO;YAAC;YAA2B;cAAEC,IAAIC;YAAa;;UACtDC,MAAM;UACNC,aAAa;UACbC,UAAU;QACZ;MACF;;EAEJ,CAAA;CACD;",
|
|
6
|
+
"names": ["contributes", "Capabilities", "ClientCapabilities", "ATTENDABLE_PATH_SEPARATOR", "DECK_COMPANION_TYPE", "PLANK_COMPANION_TYPE", "createExtension", "SPACE_PLUGIN", "isEchoObject", "parseId", "DEVTOOLS_TYPE", "context", "contributes", "Capabilities", "AppGraphBuilder", "createExtension", "id", "filter", "node", "type", "SPACE_PLUGIN", "connector", "layout", "requestCapability", "Layout", "client", "ClientCapabilities", "Client", "spaceId", "parseId", "workspace", "space", "spaces", "get", "Devtools", "data", "properties", "label", "ns", "DEBUG_PLUGIN", "icon", "disposition", "position", "nodes", "Config", "Storage", "Logs", "Diagnostics", "Tracing", "Halo", "Identity", "Devices", "Keyring", "Credentials", "Echo", "Spaces", "Space", "Feeds", "Objects", "Automerge", "Queues", "Members", "Metadata", "Mesh", "Signal", "Swarm", "Network", "Edge", "Dashboard", "Workflows", "Traces", "Testing", "graph", "requestCapabilities", "AppGraph", "isEchoObject", "join", "ATTENDABLE_PATH_SEPARATOR", "PLANK_COMPANION_TYPE", "DECK_COMPANION_TYPE"]
|
|
7
|
+
}
|
|
@@ -8,10 +8,10 @@ import { Capabilities, contributes, defineModule, definePlugin, Events } from "@
|
|
|
8
8
|
|
|
9
9
|
// packages/plugins/plugin-debug/src/capabilities/index.ts
|
|
10
10
|
import { lazy } from "@dxos/app-framework";
|
|
11
|
-
var AppGraphBuilder = lazy(() => import("./app-graph-builder-
|
|
11
|
+
var AppGraphBuilder = lazy(() => import("./app-graph-builder-RTKWOHHT.mjs"));
|
|
12
12
|
var ReactContext = lazy(() => import("./react-context-ZRLN5KUI.mjs"));
|
|
13
|
-
var ReactSurface = lazy(() => import("./react-surface-
|
|
14
|
-
var DebugSettings = lazy(() => import("./settings-
|
|
13
|
+
var ReactSurface = lazy(() => import("./react-surface-E63KL63Y.mjs"));
|
|
14
|
+
var DebugSettings = lazy(() => import("./settings-BIRIGKTH.mjs"));
|
|
15
15
|
|
|
16
16
|
// packages/plugins/plugin-debug/src/translations.ts
|
|
17
17
|
var translations_default = [
|
|
@@ -23,6 +23,7 @@ var translations_default = [
|
|
|
23
23
|
"mutation period": "Mutation period",
|
|
24
24
|
"open devtools label": "Open DevTools",
|
|
25
25
|
"devtools label": "DevTools",
|
|
26
|
+
"devtools overview label": "DevTools Overview",
|
|
26
27
|
"debug label": "Debug",
|
|
27
28
|
"settings show debug panel": "Show Debug panel.",
|
|
28
29
|
"settings show devtools panel": "Show DevTools panel.",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/DebugPlugin.tsx", "../../../src/capabilities/index.ts", "../../../src/translations.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Capabilities, contributes, defineModule, definePlugin, Events } 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): Rename to DevtoolsPlugin?\nexport const DebugPlugin = () => {\n setupDevtools();\n\n return definePlugin(meta, [\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 { DEBUG_PLUGIN } from './meta';\n\nexport default [\n {\n 'en-US': {\n [DEBUG_PLUGIN]: {\n 'plugin name': 'Debug',\n 'mutation count': 'Number of mutations',\n 'mutation period': 'Mutation period',\n 'open devtools label': 'Open DevTools',\n 'devtools label': 'DevTools',\n 'debug label': 'Debug',\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 '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];\n"],
|
|
5
|
-
"mappings": ";;;;;;AAIA,SAASA,cAAcC,aAAaC,cAAcC,cAAcC,cAAc;;;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;;;ACH/C,IAAA,uBAAe;EACb;IACE,SAAS;MACP,CAACI,YAAAA,GAAe;QACd,eAAe;QACf,kBAAkB;QAClB,mBAAmB;QACnB,uBAAuB;QACvB,kBAAkB;QAClB,eAAe;QACf,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,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;;;;
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Capabilities, contributes, defineModule, definePlugin, Events } 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): Rename to DevtoolsPlugin?\nexport const DebugPlugin = () => {\n setupDevtools();\n\n return definePlugin(meta, [\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 { DEBUG_PLUGIN } from './meta';\n\nexport default [\n {\n 'en-US': {\n [DEBUG_PLUGIN]: {\n 'plugin name': 'Debug',\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 Overview',\n 'debug label': 'Debug',\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 '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];\n"],
|
|
5
|
+
"mappings": ";;;;;;AAIA,SAASA,cAAcC,aAAaC,cAAcC,cAAcC,cAAc;;;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;;;ACH/C,IAAA,uBAAe;EACb;IACE,SAAS;MACP,CAACI,YAAAA,GAAe;QACd,eAAe;QACf,kBAAkB;QAClB,mBAAmB;QACnB,uBAAuB;QACvB,kBAAkB;QAClB,2BAA2B;QAC3B,eAAe;QACf,6BAA6B;QAC7B,gCAAgC;QAChC,sBAAsB;QACtB,mBAAmB;QACnB,iCAAiC;QACjC,qBAAqB;QACrB,kCAAkC;QAClC,2BAA2B;QAC3B,0B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AAED,+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
6
|
"names": ["Capabilities", "contributes", "defineModule", "definePlugin", "Events", "lazy", "AppGraphBuilder", "lazy", "ReactContext", "ReactSurface", "DebugSettings", "DEBUG_PLUGIN", "DebugPlugin", "setupDevtools", "definePlugin", "meta", "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"]
|
|
7
7
|
}
|