@dxos/plugin-debug 0.8.3 → 0.8.4-main.1068cf700f

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