@dxos/plugin-debug 0.8.3 → 0.8.4-main.f9ba587
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/{DebugApp-WSEJPCKY.mjs → DebugApp-5JPOASYB.mjs} +6 -6
- package/dist/lib/browser/{DevtoolsOverviewContainer-IIIWO77Q.mjs → DevtoolsOverviewContainer-EPD6EWT5.mjs} +2 -2
- package/dist/lib/browser/{SpaceGenerator-VB6IB2LL.mjs → SpaceGenerator-BLFPBKL2.mjs} +9 -9
- package/dist/lib/browser/{app-graph-builder-6HHJMKVU.mjs → app-graph-builder-SQXFD2BL.mjs} +4 -4
- package/dist/lib/browser/{chunk-47JOZTT2.mjs → chunk-5XPIRNQS.mjs} +2 -2
- package/dist/lib/browser/{chunk-KS3YBEL7.mjs → chunk-AJA6RYN3.mjs} +2 -2
- package/dist/lib/browser/index.mjs +12 -12
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-context-ZQRD2WG2.mjs → react-context-NVAGLAJD.mjs} +3 -3
- package/dist/lib/browser/{react-surface-UI6OK73H.mjs → react-surface-EWOX4JS7.mjs} +18 -18
- package/dist/lib/browser/react-surface-EWOX4JS7.mjs.map +7 -0
- package/dist/lib/browser/{settings-SXQWSIM4.mjs → settings-LSSWLM5I.mjs} +4 -4
- package/dist/lib/node-esm/DebugApp-B2TUPIX6.mjs +227 -0
- package/dist/lib/node-esm/DebugApp-B2TUPIX6.mjs.map +7 -0
- package/dist/lib/node-esm/DevtoolsOverviewContainer-K622ZTH2.mjs +27 -0
- package/dist/lib/node-esm/DevtoolsOverviewContainer-K622ZTH2.mjs.map +7 -0
- package/dist/lib/node-esm/SpaceGenerator-MJR725EE.mjs +1240 -0
- package/dist/lib/node-esm/SpaceGenerator-MJR725EE.mjs.map +7 -0
- package/dist/lib/node-esm/app-graph-builder-W26WQYCF.mjs +598 -0
- package/dist/lib/node-esm/app-graph-builder-W26WQYCF.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-HTJ6Z5U5.mjs +20 -0
- package/dist/lib/node-esm/chunk-HTJ6Z5U5.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-I6XSKQ6D.mjs +70 -0
- package/dist/lib/node-esm/chunk-I6XSKQ6D.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +131 -0
- package/dist/lib/node-esm/index.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -0
- package/dist/lib/node-esm/react-context-6ELMAMVB.mjs +17 -0
- package/dist/lib/node-esm/react-context-6ELMAMVB.mjs.map +7 -0
- package/dist/lib/node-esm/react-surface-HDU56SYC.mjs +769 -0
- package/dist/lib/node-esm/react-surface-HDU56SYC.mjs.map +7 -0
- package/dist/lib/node-esm/settings-YWFF57TW.mjs +23 -0
- package/dist/lib/node-esm/settings-YWFF57TW.mjs.map +7 -0
- package/dist/types/src/components/SpaceGenerator/SpaceGenerator.stories.d.ts +1 -1
- package/dist/types/src/components/SpaceGenerator/SpaceGenerator.stories.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +60 -60
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +56 -56
- package/src/DebugPlugin.tsx +1 -1
- package/src/capabilities/react-surface.tsx +2 -2
- package/src/components/SpaceGenerator/SpaceGenerator.stories.tsx +1 -1
- package/src/translations.ts +6 -4
- package/dist/lib/browser/react-surface-UI6OK73H.mjs.map +0 -7
- /package/dist/lib/browser/{DebugApp-WSEJPCKY.mjs.map → DebugApp-5JPOASYB.mjs.map} +0 -0
- /package/dist/lib/browser/{DevtoolsOverviewContainer-IIIWO77Q.mjs.map → DevtoolsOverviewContainer-EPD6EWT5.mjs.map} +0 -0
- /package/dist/lib/browser/{SpaceGenerator-VB6IB2LL.mjs.map → SpaceGenerator-BLFPBKL2.mjs.map} +0 -0
- /package/dist/lib/browser/{app-graph-builder-6HHJMKVU.mjs.map → app-graph-builder-SQXFD2BL.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-47JOZTT2.mjs.map → chunk-5XPIRNQS.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-KS3YBEL7.mjs.map → chunk-AJA6RYN3.mjs.map} +0 -0
- /package/dist/lib/browser/{react-context-ZQRD2WG2.mjs.map → react-context-NVAGLAJD.mjs.map} +0 -0
- /package/dist/lib/browser/{settings-SXQWSIM4.mjs.map → settings-LSSWLM5I.mjs.map} +0 -0
|
@@ -0,0 +1,598 @@
|
|
|
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
|
|
@@ -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 { 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,KACED,IAAIH,IAAAA,GACJK,OAAOC,QAAQ,CAACN,UACdA,MAAKF,OAAOS,WAAWP,MAAKQ,SAAS,GAAGC,YAAAA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B;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
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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
|