@dxos/plugin-debug 0.8.4-main.f9ba587 → 0.8.4-main.fd6878d

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 (56) hide show
  1. package/dist/lib/browser/{DebugApp-5JPOASYB.mjs → DebugApp-F4UFVW4Y.mjs} +61 -58
  2. package/dist/lib/browser/DebugApp-F4UFVW4Y.mjs.map +7 -0
  3. package/dist/lib/browser/{SpaceGenerator-BLFPBKL2.mjs → SpaceGenerator-XJJAOTIT.mjs} +217 -475
  4. package/dist/lib/browser/SpaceGenerator-XJJAOTIT.mjs.map +7 -0
  5. package/dist/lib/browser/{app-graph-builder-SQXFD2BL.mjs → app-graph-builder-PXPZIIGY.mjs} +4 -4
  6. package/dist/lib/{node-esm/app-graph-builder-W26WQYCF.mjs.map → browser/app-graph-builder-PXPZIIGY.mjs.map} +3 -3
  7. package/dist/lib/browser/index.mjs +3 -3
  8. package/dist/lib/browser/index.mjs.map +3 -3
  9. package/dist/lib/browser/meta.json +1 -1
  10. package/dist/lib/browser/{react-surface-EWOX4JS7.mjs → react-surface-UNFNQFWK.mjs} +6 -6
  11. package/dist/lib/browser/{react-surface-EWOX4JS7.mjs.map → react-surface-UNFNQFWK.mjs.map} +3 -3
  12. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  13. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  14. package/dist/types/src/components/DebugApp/DebugApp.d.ts.map +1 -1
  15. package/dist/types/src/components/SpaceGenerator/ObjectGenerator.d.ts +3 -1
  16. package/dist/types/src/components/SpaceGenerator/ObjectGenerator.d.ts.map +1 -1
  17. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.d.ts +1 -1
  18. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.d.ts.map +1 -1
  19. package/dist/types/src/components/SpaceGenerator/draw-util.d.ts.map +1 -1
  20. package/dist/types/src/components/SpaceGenerator/presets.d.ts +1 -4
  21. package/dist/types/src/components/SpaceGenerator/presets.d.ts.map +1 -1
  22. package/dist/types/tsconfig.tsbuildinfo +1 -1
  23. package/package.json +55 -56
  24. package/src/DebugPlugin.tsx +1 -1
  25. package/src/capabilities/app-graph-builder.ts +3 -3
  26. package/src/capabilities/react-surface.tsx +3 -3
  27. package/src/components/DebugApp/DebugApp.tsx +21 -13
  28. package/src/components/DebugSettings.tsx +2 -2
  29. package/src/components/SpaceGenerator/ObjectGenerator.tsx +31 -25
  30. package/src/components/SpaceGenerator/SpaceGenerator.stories.tsx +1 -1
  31. package/src/components/SpaceGenerator/SpaceGenerator.tsx +14 -71
  32. package/src/components/SpaceGenerator/draw-util.ts +3 -3
  33. package/src/components/SpaceGenerator/presets.ts +217 -215
  34. package/dist/lib/browser/DebugApp-5JPOASYB.mjs.map +0 -7
  35. package/dist/lib/browser/SpaceGenerator-BLFPBKL2.mjs.map +0 -7
  36. package/dist/lib/browser/app-graph-builder-SQXFD2BL.mjs.map +0 -7
  37. package/dist/lib/node-esm/DebugApp-B2TUPIX6.mjs +0 -227
  38. package/dist/lib/node-esm/DebugApp-B2TUPIX6.mjs.map +0 -7
  39. package/dist/lib/node-esm/DevtoolsOverviewContainer-K622ZTH2.mjs +0 -27
  40. package/dist/lib/node-esm/DevtoolsOverviewContainer-K622ZTH2.mjs.map +0 -7
  41. package/dist/lib/node-esm/SpaceGenerator-MJR725EE.mjs +0 -1240
  42. package/dist/lib/node-esm/SpaceGenerator-MJR725EE.mjs.map +0 -7
  43. package/dist/lib/node-esm/app-graph-builder-W26WQYCF.mjs +0 -598
  44. package/dist/lib/node-esm/chunk-HTJ6Z5U5.mjs +0 -20
  45. package/dist/lib/node-esm/chunk-HTJ6Z5U5.mjs.map +0 -7
  46. package/dist/lib/node-esm/chunk-I6XSKQ6D.mjs +0 -70
  47. package/dist/lib/node-esm/chunk-I6XSKQ6D.mjs.map +0 -7
  48. package/dist/lib/node-esm/index.mjs +0 -131
  49. package/dist/lib/node-esm/index.mjs.map +0 -7
  50. package/dist/lib/node-esm/meta.json +0 -1
  51. package/dist/lib/node-esm/react-context-6ELMAMVB.mjs +0 -17
  52. package/dist/lib/node-esm/react-context-6ELMAMVB.mjs.map +0 -7
  53. package/dist/lib/node-esm/react-surface-HDU56SYC.mjs +0 -769
  54. package/dist/lib/node-esm/react-surface-HDU56SYC.mjs.map +0 -7
  55. package/dist/lib/node-esm/settings-YWFF57TW.mjs +0 -23
  56. package/dist/lib/node-esm/settings-YWFF57TW.mjs.map +0 -7
@@ -1,598 +0,0 @@
1
- import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
- import {
3
- Devtools
4
- } from "./chunk-I6XSKQ6D.mjs";
5
- import {
6
- DEBUG_PLUGIN
7
- } from "./chunk-HTJ6Z5U5.mjs";
8
-
9
- // src/capabilities/app-graph-builder.ts
10
- import { Rx } from "@effect-rx/rx-react";
11
- import { Option, pipe } from "effect";
12
- import { contributes, Capabilities } from "@dxos/app-framework";
13
- import { Obj } from "@dxos/echo";
14
- import { ATTENDABLE_PATH_SEPARATOR, DECK_COMPANION_TYPE, PLANK_COMPANION_TYPE } from "@dxos/plugin-deck/types";
15
- import { createExtension, ROOT_ID, rxFromSignal } from "@dxos/plugin-graph";
16
- import { getActiveSpace, SPACE_PLUGIN } from "@dxos/plugin-space";
17
- var DEVTOOLS_TYPE = "dxos.org/plugin/debug/devtools";
18
- var app_graph_builder_default = (context) => contributes(Capabilities.AppGraphBuilder, [
19
- // Devtools node.
20
- createExtension({
21
- id: "dxos.org/plugin/debug/devtools",
22
- connector: (node) => Rx.make((get) => pipe(get(node), Option.flatMap((node2) => node2.id === ROOT_ID || node2.type === `${SPACE_PLUGIN}/settings` ? Option.some(node2) : Option.none()), Option.map((node2) => {
23
- const space = get(rxFromSignal(() => getActiveSpace(context)));
24
- return [
25
- {
26
- id: `${Devtools.id}-${node2.id}`,
27
- data: null,
28
- type: DEVTOOLS_TYPE,
29
- properties: {
30
- label: [
31
- "devtools label",
32
- {
33
- ns: DEBUG_PLUGIN
34
- }
35
- ],
36
- icon: "ph--hammer--regular",
37
- disposition: "pin-end",
38
- position: "fallback"
39
- },
40
- nodes: [
41
- ...space && node2.type === `${SPACE_PLUGIN}/settings` ? [
42
- {
43
- id: `debug-${node2.id}`,
44
- type: "dxos.org/plugin/debug/space",
45
- data: {
46
- space,
47
- type: "dxos.org/plugin/debug/space"
48
- },
49
- properties: {
50
- label: [
51
- "debug label",
52
- {
53
- ns: DEBUG_PLUGIN
54
- }
55
- ],
56
- icon: "ph--bug--regular"
57
- }
58
- }
59
- ] : [],
60
- {
61
- id: `${Devtools.Client.id}-${node2.id}`,
62
- data: null,
63
- type: DEVTOOLS_TYPE,
64
- properties: {
65
- label: [
66
- "client label",
67
- {
68
- ns: DEBUG_PLUGIN
69
- }
70
- ],
71
- icon: "ph--users--regular"
72
- },
73
- nodes: [
74
- {
75
- id: `${Devtools.Client.Config}-${node2.id}`,
76
- data: Devtools.Client.Config,
77
- type: DEVTOOLS_TYPE,
78
- properties: {
79
- label: [
80
- "config label",
81
- {
82
- ns: DEBUG_PLUGIN
83
- }
84
- ],
85
- icon: "ph--gear--regular"
86
- }
87
- },
88
- {
89
- id: `${Devtools.Client.Storage}-${node2.id}`,
90
- data: Devtools.Client.Storage,
91
- type: DEVTOOLS_TYPE,
92
- properties: {
93
- label: [
94
- "storage label",
95
- {
96
- ns: DEBUG_PLUGIN
97
- }
98
- ],
99
- icon: "ph--hard-drives--regular"
100
- }
101
- },
102
- {
103
- id: `${Devtools.Client.Logs}-${node2.id}`,
104
- data: Devtools.Client.Logs,
105
- type: DEVTOOLS_TYPE,
106
- properties: {
107
- label: [
108
- "logs label",
109
- {
110
- ns: DEBUG_PLUGIN
111
- }
112
- ],
113
- icon: "ph--file-text--regular"
114
- }
115
- },
116
- {
117
- id: `${Devtools.Client.Diagnostics}-${node2.id}`,
118
- data: Devtools.Client.Diagnostics,
119
- type: DEVTOOLS_TYPE,
120
- properties: {
121
- label: [
122
- "diagnostics label",
123
- {
124
- ns: DEBUG_PLUGIN
125
- }
126
- ],
127
- icon: "ph--chart-line--regular"
128
- }
129
- },
130
- {
131
- id: `${Devtools.Client.Tracing}-${node2.id}`,
132
- data: Devtools.Client.Tracing,
133
- type: DEVTOOLS_TYPE,
134
- properties: {
135
- label: [
136
- "tracing label",
137
- {
138
- ns: DEBUG_PLUGIN
139
- }
140
- ],
141
- icon: "ph--fire--regular"
142
- }
143
- }
144
- ]
145
- },
146
- {
147
- id: `${Devtools.Halo.id}-${node2.id}`,
148
- data: null,
149
- type: DEVTOOLS_TYPE,
150
- properties: {
151
- label: [
152
- "halo label",
153
- {
154
- ns: DEBUG_PLUGIN
155
- }
156
- ],
157
- icon: "ph--identification-badge--regular"
158
- },
159
- nodes: [
160
- {
161
- id: `${Devtools.Halo.Identity}-${node2.id}`,
162
- data: Devtools.Halo.Identity,
163
- type: DEVTOOLS_TYPE,
164
- properties: {
165
- label: [
166
- "identity label",
167
- {
168
- ns: DEBUG_PLUGIN
169
- }
170
- ],
171
- icon: "ph--identification-badge--regular"
172
- }
173
- },
174
- {
175
- id: `${Devtools.Halo.Devices}-${node2.id}`,
176
- data: Devtools.Halo.Devices,
177
- type: DEVTOOLS_TYPE,
178
- properties: {
179
- label: [
180
- "devices label",
181
- {
182
- ns: DEBUG_PLUGIN
183
- }
184
- ],
185
- icon: "ph--devices--regular"
186
- }
187
- },
188
- {
189
- id: `${Devtools.Halo.Keyring}-${node2.id}`,
190
- data: Devtools.Halo.Keyring,
191
- type: DEVTOOLS_TYPE,
192
- properties: {
193
- label: [
194
- "keyring label",
195
- {
196
- ns: DEBUG_PLUGIN
197
- }
198
- ],
199
- icon: "ph--key--regular"
200
- }
201
- },
202
- {
203
- id: `${Devtools.Halo.Credentials}-${node2.id}`,
204
- data: Devtools.Halo.Credentials,
205
- type: DEVTOOLS_TYPE,
206
- properties: {
207
- label: [
208
- "credentials label",
209
- {
210
- ns: DEBUG_PLUGIN
211
- }
212
- ],
213
- icon: "ph--credit-card--regular"
214
- }
215
- }
216
- ]
217
- },
218
- {
219
- id: `${Devtools.Echo.id}-${node2.id}`,
220
- data: null,
221
- type: DEVTOOLS_TYPE,
222
- properties: {
223
- label: [
224
- "echo label",
225
- {
226
- ns: DEBUG_PLUGIN
227
- }
228
- ],
229
- icon: "ph--database--regular"
230
- },
231
- nodes: [
232
- {
233
- id: `${Devtools.Echo.Spaces}-${node2.id}`,
234
- data: Devtools.Echo.Spaces,
235
- type: DEVTOOLS_TYPE,
236
- properties: {
237
- label: [
238
- "spaces label",
239
- {
240
- ns: DEBUG_PLUGIN
241
- }
242
- ],
243
- icon: "ph--graph--regular"
244
- }
245
- },
246
- {
247
- id: `${Devtools.Echo.Space}-${node2.id}`,
248
- data: Devtools.Echo.Space,
249
- type: DEVTOOLS_TYPE,
250
- properties: {
251
- label: [
252
- "space label",
253
- {
254
- ns: DEBUG_PLUGIN
255
- }
256
- ],
257
- icon: "ph--planet--regular"
258
- }
259
- },
260
- {
261
- id: `${Devtools.Echo.Feeds}-${node2.id}`,
262
- data: Devtools.Echo.Feeds,
263
- type: DEVTOOLS_TYPE,
264
- properties: {
265
- label: [
266
- "feeds label",
267
- {
268
- ns: DEBUG_PLUGIN
269
- }
270
- ],
271
- icon: "ph--list-bullets--regular"
272
- }
273
- },
274
- {
275
- id: `${Devtools.Echo.Objects}-${node2.id}`,
276
- data: Devtools.Echo.Objects,
277
- type: DEVTOOLS_TYPE,
278
- properties: {
279
- label: [
280
- "objects label",
281
- {
282
- ns: DEBUG_PLUGIN
283
- }
284
- ],
285
- icon: "ph--cube--regular"
286
- }
287
- },
288
- {
289
- id: `${Devtools.Echo.Schema}-${node2.id}`,
290
- data: Devtools.Echo.Schema,
291
- type: DEVTOOLS_TYPE,
292
- properties: {
293
- label: [
294
- "schema label",
295
- {
296
- ns: DEBUG_PLUGIN
297
- }
298
- ],
299
- icon: "ph--database--regular"
300
- }
301
- },
302
- {
303
- id: `${Devtools.Echo.Automerge}-${node2.id}`,
304
- data: Devtools.Echo.Automerge,
305
- type: DEVTOOLS_TYPE,
306
- properties: {
307
- label: [
308
- "automerge label",
309
- {
310
- ns: DEBUG_PLUGIN
311
- }
312
- ],
313
- icon: "ph--gear-six--regular"
314
- }
315
- },
316
- {
317
- id: `${Devtools.Echo.Queues}-${node2.id}`,
318
- data: Devtools.Echo.Queues,
319
- type: DEVTOOLS_TYPE,
320
- properties: {
321
- label: [
322
- "queues label",
323
- {
324
- ns: DEBUG_PLUGIN
325
- }
326
- ],
327
- icon: "ph--queue--regular"
328
- }
329
- },
330
- {
331
- id: `${Devtools.Echo.Members}-${node2.id}`,
332
- data: Devtools.Echo.Members,
333
- type: DEVTOOLS_TYPE,
334
- properties: {
335
- label: [
336
- "members label",
337
- {
338
- ns: DEBUG_PLUGIN
339
- }
340
- ],
341
- icon: "ph--users--regular"
342
- }
343
- },
344
- {
345
- id: `${Devtools.Echo.Metadata}-${node2.id}`,
346
- data: Devtools.Echo.Metadata,
347
- type: DEVTOOLS_TYPE,
348
- properties: {
349
- label: [
350
- "metadata label",
351
- {
352
- ns: DEBUG_PLUGIN
353
- }
354
- ],
355
- icon: "ph--hard-drive--regular"
356
- }
357
- }
358
- ]
359
- },
360
- {
361
- id: `${Devtools.Mesh.id}-${node2.id}`,
362
- data: null,
363
- type: DEVTOOLS_TYPE,
364
- properties: {
365
- label: [
366
- "mesh label",
367
- {
368
- ns: DEBUG_PLUGIN
369
- }
370
- ],
371
- icon: "ph--graph--regular"
372
- },
373
- nodes: [
374
- {
375
- id: `${Devtools.Mesh.Signal}-${node2.id}`,
376
- data: Devtools.Mesh.Signal,
377
- type: DEVTOOLS_TYPE,
378
- properties: {
379
- label: [
380
- "signal label",
381
- {
382
- ns: DEBUG_PLUGIN
383
- }
384
- ],
385
- icon: "ph--wifi-high--regular"
386
- }
387
- },
388
- {
389
- id: `${Devtools.Mesh.Swarm}-${node2.id}`,
390
- data: Devtools.Mesh.Swarm,
391
- type: DEVTOOLS_TYPE,
392
- properties: {
393
- label: [
394
- "swarm label",
395
- {
396
- ns: DEBUG_PLUGIN
397
- }
398
- ],
399
- icon: "ph--users-three--regular"
400
- }
401
- },
402
- {
403
- id: `${Devtools.Mesh.Network}-${node2.id}`,
404
- data: Devtools.Mesh.Network,
405
- type: DEVTOOLS_TYPE,
406
- properties: {
407
- label: [
408
- "network label",
409
- {
410
- ns: DEBUG_PLUGIN
411
- }
412
- ],
413
- icon: "ph--polygon--regular"
414
- }
415
- }
416
- ]
417
- },
418
- // TODO(wittjosiah): Remove?
419
- // {
420
- // id: `${prefix}-${Devtools.Agent.id}`,
421
- // data: null,
422
- // type: DEVTOOLS_TYPE,
423
- // properties: {
424
- // label: ['agent label', { ns: DEBUG_PLUGIN }],
425
- // icon: 'ph--robot--regular',
426
- // },
427
- // nodes: [
428
- // {
429
- // id: `${prefix}-${Devtools.Agent.Dashboard}`,
430
- // data: Devtools.Agent.Dashboard,
431
- // type: DEVTOOLS_TYPE,
432
- // properties: {
433
- // label: ['dashboard label', { ns: DEBUG_PLUGIN }],
434
- // icon: 'ph--computer-tower--regular',
435
- // },
436
- // },
437
- // ],
438
- // },
439
- {
440
- id: `${Devtools.Edge.id}-${node2.id}`,
441
- data: null,
442
- type: DEVTOOLS_TYPE,
443
- properties: {
444
- label: [
445
- "edge label",
446
- {
447
- ns: DEBUG_PLUGIN
448
- }
449
- ],
450
- icon: "ph--cloud--regular"
451
- },
452
- nodes: [
453
- {
454
- id: `${Devtools.Edge.Dashboard}-${node2.id}`,
455
- data: Devtools.Edge.Dashboard,
456
- type: DEVTOOLS_TYPE,
457
- properties: {
458
- label: [
459
- "dashboard label",
460
- {
461
- ns: DEBUG_PLUGIN
462
- }
463
- ],
464
- icon: "ph--computer-tower--regular"
465
- }
466
- },
467
- {
468
- id: `${Devtools.Edge.Workflows}-${node2.id}`,
469
- data: Devtools.Edge.Workflows,
470
- type: DEVTOOLS_TYPE,
471
- properties: {
472
- label: [
473
- "workflows label",
474
- {
475
- ns: DEBUG_PLUGIN
476
- }
477
- ],
478
- icon: "ph--function--regular"
479
- }
480
- },
481
- {
482
- id: `${Devtools.Edge.Traces}-${node2.id}`,
483
- data: Devtools.Edge.Traces,
484
- type: DEVTOOLS_TYPE,
485
- properties: {
486
- label: [
487
- "traces label",
488
- {
489
- ns: DEBUG_PLUGIN
490
- }
491
- ],
492
- icon: "ph--line-segments--regular"
493
- }
494
- },
495
- {
496
- id: `${Devtools.Edge.Testing}-${node2.id}`,
497
- data: Devtools.Edge.Testing,
498
- type: DEVTOOLS_TYPE,
499
- properties: {
500
- label: [
501
- "testing label",
502
- {
503
- ns: DEBUG_PLUGIN
504
- }
505
- ],
506
- icon: "ph--flask--regular"
507
- }
508
- }
509
- ]
510
- }
511
- ]
512
- }
513
- ];
514
- }), Option.getOrElse(() => [])))
515
- }),
516
- // Debug node.
517
- createExtension({
518
- id: "dxos.org/plugin/debug/debug",
519
- connector: (node) => Rx.make((get) => pipe(get(node), Option.flatMap((node2) => node2.id === ROOT_ID ? Option.some(node2) : Option.none()), Option.flatMap(() => {
520
- const [graph] = get(context.capabilities(Capabilities.AppGraph));
521
- return graph ? Option.some(graph) : Option.none();
522
- }), Option.flatMap((graph) => {
523
- return Option.none();
524
- }), Option.map((graph) => [
525
- {
526
- id: "dxos.org/plugin/debug/debug",
527
- type: "dxos.org/plugin/debug/debug",
528
- data: {
529
- graph
530
- },
531
- properties: {
532
- label: [
533
- "debug label",
534
- {
535
- ns: DEBUG_PLUGIN
536
- }
537
- ],
538
- disposition: "navigation",
539
- icon: "ph--bug--regular"
540
- }
541
- }
542
- ]), Option.getOrElse(() => [])))
543
- }),
544
- // Debug object companion.
545
- createExtension({
546
- id: `${DEBUG_PLUGIN}/debug-object`,
547
- connector: (node) => Rx.make((get) => pipe(get(node), Option.flatMap((node2) => Obj.isObject(node2.data) ? Option.some(node2) : Option.none()), Option.map((node2) => [
548
- {
549
- id: [
550
- node2.id,
551
- "debug"
552
- ].join(ATTENDABLE_PATH_SEPARATOR),
553
- type: PLANK_COMPANION_TYPE,
554
- data: "debug",
555
- properties: {
556
- label: [
557
- "debug label",
558
- {
559
- ns: DEBUG_PLUGIN
560
- }
561
- ],
562
- icon: "ph--bug--regular",
563
- disposition: "hidden",
564
- position: "fallback"
565
- }
566
- }
567
- ]), Option.getOrElse(() => [])))
568
- }),
569
- // Devtools deck companion.
570
- createExtension({
571
- id: `${DEBUG_PLUGIN}/devtools-overview`,
572
- connector: (node) => Rx.make((get) => pipe(get(node), Option.flatMap((node2) => node2.id === ROOT_ID ? Option.some(node2) : Option.none()), Option.map((node2) => [
573
- {
574
- id: [
575
- node2.id,
576
- "devtools"
577
- ].join(ATTENDABLE_PATH_SEPARATOR),
578
- type: DECK_COMPANION_TYPE,
579
- data: null,
580
- properties: {
581
- label: [
582
- "devtools overview label",
583
- {
584
- ns: DEBUG_PLUGIN
585
- }
586
- ],
587
- icon: "ph--equalizer--regular",
588
- disposition: "hidden",
589
- position: "fallback"
590
- }
591
- }
592
- ]), Option.getOrElse(() => [])))
593
- })
594
- ]);
595
- export {
596
- app_graph_builder_default as default
597
- };
598
- //# sourceMappingURL=app-graph-builder-W26WQYCF.mjs.map
@@ -1,20 +0,0 @@
1
- import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
-
3
- // src/meta.ts
4
- var DEBUG_PLUGIN = "dxos.org/plugin/debug";
5
- var meta = {
6
- id: DEBUG_PLUGIN,
7
- name: "Debug",
8
- description: "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.",
9
- icon: "ph--bug--regular",
10
- source: "https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-debug",
11
- screenshots: [
12
- "https://dxos.network/plugin-details-debug-dark.png"
13
- ]
14
- };
15
-
16
- export {
17
- DEBUG_PLUGIN,
18
- meta
19
- };
20
- //# sourceMappingURL=chunk-HTJ6Z5U5.mjs.map
@@ -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: PluginMeta = {\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 screenshots: ['https://dxos.network/plugin-details-debug-dark.png'],\n};\n"],
5
- "mappings": ";;;AAMO,IAAMA,eAAe;AAErB,IAAMC,OAAmB;EAC9BC,IAAIF;EACJG,MAAM;EACNC,aACE;EACFC,MAAM;EACNC,QAAQ;EACRC,aAAa;IAAC;;AAChB;",
6
- "names": ["DEBUG_PLUGIN", "meta", "id", "name", "description", "icon", "source", "screenshots"]
7
- }
@@ -1,70 +0,0 @@
1
- import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
-
3
- // src/types.ts
4
- import { Schema } from "effect";
5
- import { createContext } from "react";
6
- var DebugContext = createContext({
7
- running: false,
8
- start: () => {
9
- },
10
- stop: () => {
11
- }
12
- });
13
- var DebugSettingsSchema = Schema.mutable(Schema.Struct({
14
- wireframe: Schema.optional(Schema.Boolean)
15
- }));
16
- (function(Devtools2) {
17
- Devtools2.id = "dxos.org.plugin.debug.devtools";
18
- (function(Client) {
19
- Client.id = `${Devtools2.id}.client`;
20
- Client.Config = `${Devtools2.Client.id}.config`;
21
- Client.Storage = `${Devtools2.Client.id}.storage`;
22
- Client.Logs = `${Devtools2.Client.id}.logs`;
23
- Client.Diagnostics = `${Devtools2.Client.id}.diagnostics`;
24
- Client.Tracing = `${Devtools2.Client.id}.tracing`;
25
- })(Devtools2.Client || (Devtools2.Client = {}));
26
- (function(Halo) {
27
- Halo.id = `${Devtools2.id}.halo`;
28
- Halo.Identity = `${Devtools2.Halo.id}.identity`;
29
- Halo.Devices = `${Devtools2.Halo.id}.devices`;
30
- Halo.Keyring = `${Devtools2.Halo.id}.keyring`;
31
- Halo.Credentials = `${Devtools2.Halo.id}.credentials`;
32
- })(Devtools2.Halo || (Devtools2.Halo = {}));
33
- (function(Echo) {
34
- Echo.id = `${Devtools2.id}.echo`;
35
- Echo.Spaces = `${Devtools2.Echo.id}.spaces`;
36
- Echo.Space = `${Devtools2.Echo.id}.space`;
37
- Echo.Feeds = `${Devtools2.Echo.id}.feeds`;
38
- Echo.Objects = `${Devtools2.Echo.id}.objects`;
39
- Echo.Schema = `${Devtools2.Echo.id}.schema`;
40
- Echo.Automerge = `${Devtools2.Echo.id}.automerge`;
41
- Echo.Queues = `${Devtools2.Echo.id}.queues`;
42
- Echo.Members = `${Devtools2.Echo.id}.members`;
43
- Echo.Metadata = `${Devtools2.Echo.id}.metadata`;
44
- })(Devtools2.Echo || (Devtools2.Echo = {}));
45
- (function(Mesh) {
46
- Mesh.id = `${Devtools2.id}.mesh`;
47
- Mesh.Signal = `${Devtools2.Mesh.id}.signal`;
48
- Mesh.Swarm = `${Devtools2.Mesh.id}.swarm`;
49
- Mesh.Network = `${Devtools2.Mesh.id}.network`;
50
- })(Devtools2.Mesh || (Devtools2.Mesh = {}));
51
- (function(Agent) {
52
- Agent.id = `${Devtools2.id}.agent`;
53
- Agent.Dashboard = `${Devtools2.Agent.id}.dashboard`;
54
- Agent.Search = `${Devtools2.Agent.id}.search`;
55
- })(Devtools2.Agent || (Devtools2.Agent = {}));
56
- (function(Edge) {
57
- Edge.id = `${Devtools2.id}.edge`;
58
- Edge.Dashboard = `${Devtools2.Edge.id}.dashboard`;
59
- Edge.Workflows = `${Devtools2.Edge.id}.workflows`;
60
- Edge.Traces = `${Devtools2.Edge.id}.traces`;
61
- Edge.Testing = `${Devtools2.Edge.id}.testing`;
62
- })(Devtools2.Edge || (Devtools2.Edge = {}));
63
- })(Devtools || (Devtools = {}));
64
- var Devtools;
65
-
66
- export {
67
- DebugSettingsSchema,
68
- Devtools
69
- };
70
- //# sourceMappingURL=chunk-I6XSKQ6D.mjs.map