@dxos/plugin-debug 0.8.1-staging.391c573 → 0.8.1-staging.97aedb1

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 (71) hide show
  1. package/dist/lib/browser/{DebugApp-LQHFFK3Y.mjs → DebugApp-7PFYN52J.mjs} +30 -23
  2. package/dist/lib/browser/{DebugApp-LQHFFK3Y.mjs.map → DebugApp-7PFYN52J.mjs.map} +4 -4
  3. package/dist/lib/browser/{SpaceGenerator-SPEJBGP7.mjs → SpaceGenerator-NBOQZ4JF.mjs} +12 -12
  4. package/dist/lib/browser/SpaceGenerator-NBOQZ4JF.mjs.map +7 -0
  5. package/dist/lib/browser/app-graph-builder-ALFPRSAR.mjs +570 -0
  6. package/dist/lib/browser/app-graph-builder-ALFPRSAR.mjs.map +7 -0
  7. package/dist/lib/browser/{chunk-EF3UVAVI.mjs → chunk-RORUXVAC.mjs} +1 -1
  8. package/dist/lib/browser/chunk-RORUXVAC.mjs.map +7 -0
  9. package/dist/lib/browser/{chunk-LHJC7LSH.mjs → chunk-TCEHALD4.mjs} +2 -3
  10. package/dist/lib/browser/chunk-TCEHALD4.mjs.map +7 -0
  11. package/dist/lib/browser/index.mjs +9 -25
  12. package/dist/lib/browser/index.mjs.map +3 -3
  13. package/dist/lib/browser/meta.json +1 -1
  14. package/dist/lib/browser/{react-context-TCD3MNIT.mjs → react-context-ZRLN5KUI.mjs} +2 -2
  15. package/dist/lib/browser/{react-surface-PQFKDW3V.mjs → react-surface-MXXLOQYV.mjs} +110 -44
  16. package/dist/lib/browser/react-surface-MXXLOQYV.mjs.map +7 -0
  17. package/dist/lib/browser/{settings-DLIPIUG7.mjs → settings-AP74NCXH.mjs} +6 -8
  18. package/dist/lib/browser/{settings-DLIPIUG7.mjs.map → settings-AP74NCXH.mjs.map} +3 -3
  19. package/dist/types/src/DebugPlugin.d.ts.map +1 -1
  20. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  21. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  22. package/dist/types/src/capabilities/settings.d.ts.map +1 -1
  23. package/dist/types/src/components/DebugSettings.d.ts.map +1 -1
  24. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.d.ts.map +1 -1
  25. package/dist/types/src/components/index.d.ts +0 -4
  26. package/dist/types/src/components/index.d.ts.map +1 -1
  27. package/dist/types/src/meta.d.ts +2 -9
  28. package/dist/types/src/meta.d.ts.map +1 -1
  29. package/dist/types/src/translations.d.ts +1 -0
  30. package/dist/types/src/translations.d.ts.map +1 -1
  31. package/dist/types/src/types.d.ts +1 -1
  32. package/dist/types/src/types.d.ts.map +1 -1
  33. package/package.json +49 -48
  34. package/src/DebugPlugin.tsx +1 -14
  35. package/src/capabilities/app-graph-builder.ts +329 -357
  36. package/src/capabilities/react-surface.tsx +75 -41
  37. package/src/capabilities/settings.ts +1 -3
  38. package/src/components/DebugSettings.tsx +0 -3
  39. package/src/components/SpaceGenerator/ObjectGenerator.tsx +1 -1
  40. package/src/components/SpaceGenerator/SchemaTable.tsx +1 -1
  41. package/src/components/SpaceGenerator/SpaceGenerator.tsx +3 -9
  42. package/src/components/index.ts +0 -1
  43. package/src/meta.ts +2 -2
  44. package/src/translations.ts +3 -2
  45. package/src/types.ts +1 -1
  46. package/dist/lib/browser/DebugSpace-5A2QOKAZ.mjs +0 -277
  47. package/dist/lib/browser/DebugSpace-5A2QOKAZ.mjs.map +0 -7
  48. package/dist/lib/browser/SpaceGenerator-SPEJBGP7.mjs.map +0 -7
  49. package/dist/lib/browser/app-graph-builder-NYB6QZQK.mjs +0 -619
  50. package/dist/lib/browser/app-graph-builder-NYB6QZQK.mjs.map +0 -7
  51. package/dist/lib/browser/chunk-EF3UVAVI.mjs.map +0 -7
  52. package/dist/lib/browser/chunk-GSJS3HEM.mjs +0 -15
  53. package/dist/lib/browser/chunk-GSJS3HEM.mjs.map +0 -7
  54. package/dist/lib/browser/chunk-LHJC7LSH.mjs.map +0 -7
  55. package/dist/lib/browser/react-surface-PQFKDW3V.mjs.map +0 -7
  56. package/dist/types/src/components/DebugSpace/DebugSpace.d.ts +0 -8
  57. package/dist/types/src/components/DebugSpace/DebugSpace.d.ts.map +0 -1
  58. package/dist/types/src/components/DebugSpace/DebugSpace.stories.d.ts +0 -6
  59. package/dist/types/src/components/DebugSpace/DebugSpace.stories.d.ts.map +0 -1
  60. package/dist/types/src/components/DebugSpace/ObjectCreator.d.ts +0 -15
  61. package/dist/types/src/components/DebugSpace/ObjectCreator.d.ts.map +0 -1
  62. package/dist/types/src/components/DebugSpace/ObjectCreator.stories.d.ts +0 -6
  63. package/dist/types/src/components/DebugSpace/ObjectCreator.stories.d.ts.map +0 -1
  64. package/dist/types/src/components/DebugSpace/index.d.ts +0 -3
  65. package/dist/types/src/components/DebugSpace/index.d.ts.map +0 -1
  66. package/src/components/DebugSpace/DebugSpace.stories.tsx +0 -46
  67. package/src/components/DebugSpace/DebugSpace.tsx +0 -183
  68. package/src/components/DebugSpace/ObjectCreator.stories.tsx +0 -51
  69. package/src/components/DebugSpace/ObjectCreator.tsx +0 -100
  70. package/src/components/DebugSpace/index.ts +0 -7
  71. /package/dist/lib/browser/{react-context-TCD3MNIT.mjs.map → react-context-ZRLN5KUI.mjs.map} +0 -0
@@ -1,619 +0,0 @@
1
- import {
2
- DEBUG_PLUGIN
3
- } from "./chunk-EF3UVAVI.mjs";
4
- import {
5
- Devtools
6
- } from "./chunk-LHJC7LSH.mjs";
7
-
8
- // packages/plugins/plugin-debug/src/capabilities/app-graph-builder.ts
9
- import { contributes, Capabilities } from "@dxos/app-framework";
10
- import { createExtension, toSignal } from "@dxos/plugin-graph";
11
- import { CollectionType } from "@dxos/plugin-space/types";
12
- import { SpaceState } from "@dxos/react-client/echo";
13
- import { isSpace } from "@dxos/react-client/echo";
14
- var DEVTOOLS_TYPE = "dxos.org/plugin/debug/devtools";
15
- var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBuilder, [
16
- // Devtools node.
17
- createExtension({
18
- id: "dxos.org/plugin/debug/devtools",
19
- filter: (node) => node.id === "root",
20
- connector: () => [
21
- {
22
- id: Devtools.id,
23
- data: null,
24
- type: DEVTOOLS_TYPE,
25
- properties: {
26
- label: [
27
- "devtools label",
28
- {
29
- ns: DEBUG_PLUGIN
30
- }
31
- ],
32
- disposition: "workspace",
33
- icon: "ph--hammer--regular"
34
- },
35
- nodes: [
36
- {
37
- id: Devtools.Client.id,
38
- data: null,
39
- type: DEVTOOLS_TYPE,
40
- properties: {
41
- label: [
42
- "client label",
43
- {
44
- ns: DEBUG_PLUGIN
45
- }
46
- ],
47
- icon: "ph--users--regular"
48
- },
49
- nodes: [
50
- {
51
- id: Devtools.Client.Config,
52
- data: Devtools.Client.Config,
53
- type: DEVTOOLS_TYPE,
54
- properties: {
55
- label: [
56
- "config label",
57
- {
58
- ns: DEBUG_PLUGIN
59
- }
60
- ],
61
- icon: "ph--gear--regular"
62
- }
63
- },
64
- {
65
- id: Devtools.Client.Storage,
66
- data: Devtools.Client.Storage,
67
- type: DEVTOOLS_TYPE,
68
- properties: {
69
- label: [
70
- "storage label",
71
- {
72
- ns: DEBUG_PLUGIN
73
- }
74
- ],
75
- icon: "ph--hard-drives--regular"
76
- }
77
- },
78
- {
79
- id: Devtools.Client.Logs,
80
- data: Devtools.Client.Logs,
81
- type: DEVTOOLS_TYPE,
82
- properties: {
83
- label: [
84
- "logs label",
85
- {
86
- ns: DEBUG_PLUGIN
87
- }
88
- ],
89
- icon: "ph--file-text--regular"
90
- }
91
- },
92
- {
93
- id: Devtools.Client.Diagnostics,
94
- data: Devtools.Client.Diagnostics,
95
- type: DEVTOOLS_TYPE,
96
- properties: {
97
- label: [
98
- "diagnostics label",
99
- {
100
- ns: DEBUG_PLUGIN
101
- }
102
- ],
103
- icon: "ph--chart-line--regular"
104
- }
105
- },
106
- {
107
- id: Devtools.Client.Tracing,
108
- data: Devtools.Client.Tracing,
109
- type: DEVTOOLS_TYPE,
110
- properties: {
111
- label: [
112
- "tracing label",
113
- {
114
- ns: DEBUG_PLUGIN
115
- }
116
- ],
117
- icon: "ph--fire--regular"
118
- }
119
- }
120
- ]
121
- },
122
- {
123
- id: Devtools.Halo.id,
124
- data: null,
125
- type: DEVTOOLS_TYPE,
126
- properties: {
127
- label: [
128
- "halo label",
129
- {
130
- ns: DEBUG_PLUGIN
131
- }
132
- ],
133
- icon: "ph--identification-badge--regular"
134
- },
135
- nodes: [
136
- {
137
- id: Devtools.Halo.Identity,
138
- data: Devtools.Halo.Identity,
139
- type: DEVTOOLS_TYPE,
140
- properties: {
141
- label: [
142
- "identity label",
143
- {
144
- ns: DEBUG_PLUGIN
145
- }
146
- ],
147
- icon: "ph--identification-badge--regular"
148
- }
149
- },
150
- {
151
- id: Devtools.Halo.Devices,
152
- data: Devtools.Halo.Devices,
153
- type: DEVTOOLS_TYPE,
154
- properties: {
155
- label: [
156
- "devices label",
157
- {
158
- ns: DEBUG_PLUGIN
159
- }
160
- ],
161
- icon: "ph--devices--regular"
162
- }
163
- },
164
- {
165
- id: Devtools.Halo.Keyring,
166
- data: Devtools.Halo.Keyring,
167
- type: DEVTOOLS_TYPE,
168
- properties: {
169
- label: [
170
- "keyring label",
171
- {
172
- ns: DEBUG_PLUGIN
173
- }
174
- ],
175
- icon: "ph--key--regular"
176
- }
177
- },
178
- {
179
- id: Devtools.Halo.Credentials,
180
- data: Devtools.Halo.Credentials,
181
- type: DEVTOOLS_TYPE,
182
- properties: {
183
- label: [
184
- "credentials label",
185
- {
186
- ns: DEBUG_PLUGIN
187
- }
188
- ],
189
- icon: "ph--credit-card--regular"
190
- }
191
- }
192
- ]
193
- },
194
- {
195
- id: Devtools.Echo.id,
196
- data: null,
197
- type: DEVTOOLS_TYPE,
198
- properties: {
199
- label: [
200
- "echo label",
201
- {
202
- ns: DEBUG_PLUGIN
203
- }
204
- ],
205
- icon: "ph--database--regular"
206
- },
207
- nodes: [
208
- {
209
- id: Devtools.Echo.Spaces,
210
- data: Devtools.Echo.Spaces,
211
- type: DEVTOOLS_TYPE,
212
- properties: {
213
- label: [
214
- "spaces label",
215
- {
216
- ns: DEBUG_PLUGIN
217
- }
218
- ],
219
- icon: "ph--graph--regular"
220
- }
221
- },
222
- {
223
- id: Devtools.Echo.Space,
224
- data: Devtools.Echo.Space,
225
- type: DEVTOOLS_TYPE,
226
- properties: {
227
- label: [
228
- "space label",
229
- {
230
- ns: DEBUG_PLUGIN
231
- }
232
- ],
233
- icon: "ph--planet--regular"
234
- }
235
- },
236
- {
237
- id: Devtools.Echo.Feeds,
238
- data: Devtools.Echo.Feeds,
239
- type: DEVTOOLS_TYPE,
240
- properties: {
241
- label: [
242
- "feeds label",
243
- {
244
- ns: DEBUG_PLUGIN
245
- }
246
- ],
247
- icon: "ph--list-bullets--regular"
248
- }
249
- },
250
- {
251
- id: Devtools.Echo.Objects,
252
- data: Devtools.Echo.Objects,
253
- type: DEVTOOLS_TYPE,
254
- properties: {
255
- label: [
256
- "objects label",
257
- {
258
- ns: DEBUG_PLUGIN
259
- }
260
- ],
261
- icon: "ph--database--regular"
262
- }
263
- },
264
- {
265
- id: Devtools.Echo.Automerge,
266
- data: Devtools.Echo.Automerge,
267
- type: DEVTOOLS_TYPE,
268
- properties: {
269
- label: [
270
- "automerge label",
271
- {
272
- ns: DEBUG_PLUGIN
273
- }
274
- ],
275
- icon: "ph--gear-six--regular"
276
- }
277
- },
278
- {
279
- id: Devtools.Echo.Queues,
280
- data: Devtools.Echo.Queues,
281
- type: DEVTOOLS_TYPE,
282
- properties: {
283
- label: [
284
- "queues label",
285
- {
286
- ns: DEBUG_PLUGIN
287
- }
288
- ],
289
- icon: "ph--queue--regular"
290
- }
291
- },
292
- {
293
- id: Devtools.Echo.Members,
294
- data: Devtools.Echo.Members,
295
- type: DEVTOOLS_TYPE,
296
- properties: {
297
- label: [
298
- "members label",
299
- {
300
- ns: DEBUG_PLUGIN
301
- }
302
- ],
303
- icon: "ph--users--regular"
304
- }
305
- },
306
- {
307
- id: Devtools.Echo.Metadata,
308
- data: Devtools.Echo.Metadata,
309
- type: DEVTOOLS_TYPE,
310
- properties: {
311
- label: [
312
- "metadata label",
313
- {
314
- ns: DEBUG_PLUGIN
315
- }
316
- ],
317
- icon: "ph--hard-drive--regular"
318
- }
319
- }
320
- ]
321
- },
322
- {
323
- id: Devtools.Mesh.id,
324
- data: null,
325
- type: DEVTOOLS_TYPE,
326
- properties: {
327
- label: [
328
- "mesh label",
329
- {
330
- ns: DEBUG_PLUGIN
331
- }
332
- ],
333
- icon: "ph--graph--regular"
334
- },
335
- nodes: [
336
- {
337
- id: Devtools.Mesh.Signal,
338
- data: Devtools.Mesh.Signal,
339
- type: DEVTOOLS_TYPE,
340
- properties: {
341
- label: [
342
- "signal label",
343
- {
344
- ns: DEBUG_PLUGIN
345
- }
346
- ],
347
- icon: "ph--wifi-high--regular"
348
- }
349
- },
350
- {
351
- id: Devtools.Mesh.Swarm,
352
- data: Devtools.Mesh.Swarm,
353
- type: DEVTOOLS_TYPE,
354
- properties: {
355
- label: [
356
- "swarm label",
357
- {
358
- ns: DEBUG_PLUGIN
359
- }
360
- ],
361
- icon: "ph--users-three--regular"
362
- }
363
- },
364
- {
365
- id: Devtools.Mesh.Network,
366
- data: Devtools.Mesh.Network,
367
- type: DEVTOOLS_TYPE,
368
- properties: {
369
- label: [
370
- "network label",
371
- {
372
- ns: DEBUG_PLUGIN
373
- }
374
- ],
375
- icon: "ph--polygon--regular"
376
- }
377
- }
378
- ]
379
- },
380
- {
381
- id: Devtools.Agent.id,
382
- data: null,
383
- type: DEVTOOLS_TYPE,
384
- properties: {
385
- label: [
386
- "agent label",
387
- {
388
- ns: DEBUG_PLUGIN
389
- }
390
- ],
391
- icon: "ph--robot--regular"
392
- },
393
- nodes: [
394
- {
395
- id: Devtools.Agent.Dashboard,
396
- data: Devtools.Agent.Dashboard,
397
- type: DEVTOOLS_TYPE,
398
- properties: {
399
- label: [
400
- "dashboard label",
401
- {
402
- ns: DEBUG_PLUGIN
403
- }
404
- ],
405
- icon: "ph--computer-tower--regular"
406
- }
407
- },
408
- {
409
- id: Devtools.Agent.Search,
410
- data: Devtools.Agent.Search,
411
- type: DEVTOOLS_TYPE,
412
- properties: {
413
- label: [
414
- "search label",
415
- {
416
- ns: DEBUG_PLUGIN
417
- }
418
- ],
419
- icon: "ph--magnifying-glass--regular"
420
- }
421
- }
422
- ]
423
- },
424
- {
425
- id: Devtools.Edge.id,
426
- data: null,
427
- type: DEVTOOLS_TYPE,
428
- properties: {
429
- label: [
430
- "edge label",
431
- {
432
- ns: DEBUG_PLUGIN
433
- }
434
- ],
435
- icon: "ph--cloud--regular"
436
- },
437
- nodes: [
438
- {
439
- id: Devtools.Edge.Dashboard,
440
- data: Devtools.Edge.Dashboard,
441
- type: DEVTOOLS_TYPE,
442
- properties: {
443
- label: [
444
- "dashboard label",
445
- {
446
- ns: DEBUG_PLUGIN
447
- }
448
- ],
449
- icon: "ph--computer-tower--regular"
450
- }
451
- },
452
- {
453
- id: Devtools.Edge.Workflows,
454
- data: Devtools.Edge.Workflows,
455
- type: DEVTOOLS_TYPE,
456
- properties: {
457
- label: [
458
- "workflows label",
459
- {
460
- ns: DEBUG_PLUGIN
461
- }
462
- ],
463
- icon: "ph--function--regular"
464
- }
465
- },
466
- {
467
- id: Devtools.Edge.Traces,
468
- data: Devtools.Edge.Traces,
469
- type: DEVTOOLS_TYPE,
470
- properties: {
471
- label: [
472
- "traces label",
473
- {
474
- ns: DEBUG_PLUGIN
475
- }
476
- ],
477
- icon: "ph--line-segments--regular"
478
- }
479
- }
480
- ]
481
- }
482
- ]
483
- }
484
- ]
485
- }),
486
- // Debug node.
487
- createExtension({
488
- id: "dxos.org/plugin/debug/debug",
489
- filter: (node) => {
490
- return false;
491
- },
492
- connector: () => {
493
- const [graph] = context.requestCapabilities(Capabilities.AppGraph);
494
- if (!graph) {
495
- return;
496
- }
497
- return [
498
- {
499
- id: "dxos.org/plugin/debug/debug",
500
- type: "dxos.org/plugin/debug/debug",
501
- data: {
502
- graph
503
- },
504
- properties: {
505
- label: [
506
- "debug label",
507
- {
508
- ns: DEBUG_PLUGIN
509
- }
510
- ],
511
- disposition: "navigation",
512
- icon: "ph--bug--regular"
513
- }
514
- }
515
- ];
516
- }
517
- }),
518
- // Space debug nodes.
519
- createExtension({
520
- id: "dxos.org/plugin/debug/spaces",
521
- filter: (node) => {
522
- const settings = context.requestCapabilities(Capabilities.SettingsStore)[0]?.getStore(DEBUG_PLUGIN)?.value;
523
- return !!settings?.debug && isSpace(node.data);
524
- },
525
- connector: ({ node }) => {
526
- const space = node.data;
527
- const state = toSignal((onChange) => space.state.subscribe(() => onChange()).unsubscribe, () => space.state.get(), space.id);
528
- if (state !== SpaceState.SPACE_READY) {
529
- return;
530
- }
531
- const collection = space.properties[CollectionType.typename]?.target;
532
- if (!collection) {
533
- return;
534
- }
535
- return [
536
- {
537
- id: `${space.id}-${Devtools.id}`,
538
- data: null,
539
- type: DEVTOOLS_TYPE,
540
- properties: {
541
- label: [
542
- "devtools label",
543
- {
544
- ns: DEBUG_PLUGIN
545
- }
546
- ],
547
- icon: "ph--hammer--regular"
548
- },
549
- nodes: [
550
- {
551
- // TODO(wittjosiah): Cannot use slashes in ids until we have a router which decouples ids from url paths.
552
- id: `${space.id}-debug`,
553
- type: "dxos.org/plugin/debug/space",
554
- data: {
555
- space,
556
- type: "dxos.org/plugin/debug/space"
557
- },
558
- properties: {
559
- label: [
560
- "debug label",
561
- {
562
- ns: DEBUG_PLUGIN
563
- }
564
- ],
565
- icon: "ph--bug--regular"
566
- }
567
- },
568
- {
569
- id: `${space.id}-${Devtools.Echo.Space}`,
570
- data: Devtools.Echo.Space,
571
- type: DEVTOOLS_TYPE,
572
- properties: {
573
- label: [
574
- "space label",
575
- {
576
- ns: DEBUG_PLUGIN
577
- }
578
- ],
579
- icon: "ph--planet--regular"
580
- }
581
- },
582
- {
583
- id: `${space.id}-${Devtools.Echo.Objects}`,
584
- data: Devtools.Echo.Objects,
585
- type: DEVTOOLS_TYPE,
586
- properties: {
587
- label: [
588
- "objects label",
589
- {
590
- ns: DEBUG_PLUGIN
591
- }
592
- ],
593
- icon: "ph--database--regular"
594
- }
595
- },
596
- {
597
- id: `${space.id}-${Devtools.Edge.Traces}`,
598
- data: Devtools.Edge.Traces,
599
- type: DEVTOOLS_TYPE,
600
- properties: {
601
- label: [
602
- "traces label",
603
- {
604
- ns: DEBUG_PLUGIN
605
- }
606
- ],
607
- icon: "ph--line-segments--regular"
608
- }
609
- }
610
- ]
611
- }
612
- ];
613
- }
614
- })
615
- ]);
616
- export {
617
- app_graph_builder_default as default
618
- };
619
- //# sourceMappingURL=app-graph-builder-NYB6QZQK.mjs.map
@@ -1,7 +0,0 @@
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 { createExtension, toSignal, type Node } from '@dxos/plugin-graph';\nimport { CollectionType } from '@dxos/plugin-space/types';\nimport { SpaceState } from '@dxos/react-client/echo';\nimport { isSpace, type Space } from '@dxos/react-client/echo';\n\nimport { DEBUG_PLUGIN } from '../meta';\nimport { type DebugSettingsProps, 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',\n connector: () => [\n {\n id: Devtools.id,\n data: null,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['devtools label', { ns: DEBUG_PLUGIN }],\n disposition: 'workspace',\n icon: 'ph--hammer--regular',\n },\n nodes: [\n {\n id: Devtools.Client.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,\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,\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,\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,\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,\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,\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,\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,\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,\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,\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,\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,\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,\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,\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,\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,\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,\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,\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,\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,\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,\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,\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,\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 {\n id: 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: 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 id: Devtools.Agent.Search,\n data: Devtools.Agent.Search,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['search label', { ns: DEBUG_PLUGIN }],\n icon: 'ph--magnifying-glass--regular',\n },\n },\n ],\n },\n {\n id: Devtools.Edge.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,\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,\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,\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 },\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 // Space debug nodes.\n createExtension({\n id: 'dxos.org/plugin/debug/spaces',\n filter: (node): node is Node<Space> => {\n const settings = context\n .requestCapabilities(Capabilities.SettingsStore)[0]\n ?.getStore<DebugSettingsProps>(DEBUG_PLUGIN)?.value;\n return !!settings?.debug && isSpace(node.data);\n },\n connector: ({ node }) => {\n const space = node.data;\n const state = toSignal(\n (onChange) => space.state.subscribe(() => onChange()).unsubscribe,\n () => space.state.get(),\n space.id,\n );\n if (state !== SpaceState.SPACE_READY) {\n return;\n }\n\n // Not adding the debug node until the root collection is available aligns the behaviour of this\n // extension with that of the space plugin adding objects. This ensures that the debug node is added at\n // the same time as objects and prevents order from changing as the nodes are added.\n const collection = space.properties[CollectionType.typename]?.target as CollectionType | undefined;\n if (!collection) {\n return;\n }\n\n return [\n {\n id: `${space.id}-${Devtools.id}`,\n data: null,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['devtools label', { ns: DEBUG_PLUGIN }],\n icon: 'ph--hammer--regular',\n },\n nodes: [\n {\n // TODO(wittjosiah): Cannot use slashes in ids until we have a router which decouples ids from url paths.\n id: `${space.id}-debug`,\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 id: `${space.id}-${Devtools.Echo.Space}`,\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: `${space.id}-${Devtools.Echo.Objects}`,\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: `${space.id}-${Devtools.Edge.Traces}`,\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 },\n ];\n },\n }),\n ]);\n"],
5
- "mappings": ";;;;;;;;AAIA,SAASA,aAAaC,oBAAyC;AAC/D,SAASC,iBAAiBC,gBAA2B;AACrD,SAASC,sBAAsB;AAC/B,SAASC,kBAAkB;AAC3B,SAASC,eAA2B;AAKpC,IAAMC,gBAAgB;AAEtB,IAAA,4BAAe,CAACC,YACdC,YAAYC,aAAaC,iBAAiB;;EAExCC,gBAAgB;IACdC,IAAI;IACJC,QAAQ,CAACC,SAA6BA,KAAKF,OAAO;IAClDG,WAAW,MAAM;MACf;QACEH,IAAII,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AIC;kBAAa;;gBAC3CE,MAAM;cACR;YACF;;QAEJ;;IAEJ;EACF,CAAA;CACD;",
6
- "names": ["contributes", "Capabilities", "createExtension", "toSignal", "CollectionType", "SpaceState", "isSpace", "DEVTOOLS_TYPE", "context", "contributes", "Capabilities", "AppGraphBuilder", "createExtension", "id", "filter", "node", "connector", "Devtools", "data", "type", "properties", "label", "ns", "DEBUG_PLUGIN", "disposition", "icon", "nodes", "Client", "Config", "Storage", "Logs", "Diagnostics", "Tracing", "Halo", "Identity", "Devices", "Keyring", "Credentials", "Echo", "Spaces", "Space", "Feeds", "Objects", "Automerge", "Queues", "Members", "Metadata", "Mesh", "Signal", "Swarm", "Network", "Agent", "Dashboard", "Search", "Edge", "Workflows", "Traces", "graph", "requestCapabilities", "AppGraph", "settings", "SettingsStore", "getStore", "value", "debug", "isSpace", "space", "state", "toSignal", "onChange", "subscribe", "unsubscribe", "get", "SpaceState", "SPACE_READY", "collection", "CollectionType", "typename", "target"]
7
- }
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/meta.ts"],
4
- "sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type PluginMeta } from '@dxos/app-framework';\n\nexport const DEBUG_PLUGIN = 'dxos.org/plugin/debug';\n\nexport const meta = {\n id: DEBUG_PLUGIN,\n name: 'Debug',\n description:\n 'The debug plugin is useful for troubleshooting inside of Composer. You can also use the Debug plugin to create test data inside of sheets or tables or explore pre-built automations. Non-technical users will likely not spend much time here, but this plugin is invaluable for developers and technical users.',\n icon: 'ph--bug--regular',\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-debug',\n tags: ['experimental'],\n screenshots: ['https://dxos.network/plugin-details-debug-dark.png'],\n} satisfies PluginMeta;\n"],
5
- "mappings": ";AAMO,IAAMA,eAAe;AAErB,IAAMC,OAAO;EAClBC,IAAIF;EACJG,MAAM;EACNC,aACE;EACFC,MAAM;EACNC,QAAQ;EACRC,MAAM;IAAC;;EACPC,aAAa;IAAC;;AAChB;",
6
- "names": ["DEBUG_PLUGIN", "meta", "id", "name", "description", "icon", "source", "tags", "screenshots"]
7
- }