@dxos/plugin-debug 0.9.0 → 0.9.1-staging.ee54ba693a

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 (118) hide show
  1. package/dist/lib/neutral/{DebugObjectPanel-OS65NC4M.mjs → DebugObjectPanel-QSGQJ3LM.mjs} +5 -3
  2. package/dist/lib/neutral/DebugObjectPanel-QSGQJ3LM.mjs.map +7 -0
  3. package/dist/lib/neutral/DebugPlugin.mjs +2 -2
  4. package/dist/lib/neutral/DebugPlugin.mjs.map +4 -4
  5. package/dist/lib/neutral/{DebugSettings-RKYNQIKH.mjs → DebugSettings-Q3WUL6YQ.mjs} +37 -31
  6. package/dist/lib/neutral/DebugSettings-Q3WUL6YQ.mjs.map +7 -0
  7. package/dist/lib/neutral/{DebugSpaceObjectsPanel-BHOCFWDJ.mjs → DebugSpaceObjectsPanel-AXFZWEIM.mjs} +5 -3
  8. package/dist/lib/neutral/DebugSpaceObjectsPanel-AXFZWEIM.mjs.map +7 -0
  9. package/dist/lib/neutral/{DevtoolsOverviewContainer-YX7Z3D2H.mjs → DevtoolsOverviewContainer-DWQHTK7D.mjs} +3 -2
  10. package/dist/lib/neutral/DevtoolsOverviewContainer-DWQHTK7D.mjs.map +7 -0
  11. package/dist/lib/neutral/{GithubPanel-QJKDJRVQ.mjs → GithubPanel-4CSJRVKE.mjs} +3 -3
  12. package/dist/lib/neutral/GithubPanel-4CSJRVKE.mjs.map +7 -0
  13. package/dist/lib/neutral/{app-graph-builder-4OJQQLSH.mjs → app-graph-builder-UKG4WVYK.mjs} +124 -131
  14. package/dist/lib/neutral/app-graph-builder-UKG4WVYK.mjs.map +7 -0
  15. package/dist/lib/neutral/capabilities/index.mjs +4 -4
  16. package/dist/lib/neutral/chunk-72QXLYMI.mjs +118 -0
  17. package/dist/lib/neutral/chunk-72QXLYMI.mjs.map +7 -0
  18. package/dist/lib/neutral/chunk-R5C4CKOF.mjs +54 -0
  19. package/dist/lib/neutral/chunk-R5C4CKOF.mjs.map +7 -0
  20. package/dist/lib/neutral/components/index.mjs +13 -24
  21. package/dist/lib/neutral/components/index.mjs.map +4 -4
  22. package/dist/lib/neutral/containers/index.mjs +6 -4
  23. package/dist/lib/neutral/containers/index.mjs.map +3 -3
  24. package/dist/lib/neutral/index.mjs +6 -4
  25. package/dist/lib/neutral/meta.json +1 -1
  26. package/dist/lib/neutral/meta.mjs +1 -1
  27. package/dist/lib/neutral/plugin.mjs +1 -1
  28. package/dist/lib/neutral/{react-context-MUZ3KVLU.mjs → react-context-UJURDOO6.mjs} +2 -2
  29. package/dist/lib/neutral/{react-context-MUZ3KVLU.mjs.map → react-context-UJURDOO6.mjs.map} +3 -3
  30. package/dist/lib/neutral/{react-surface-YBC4HK7I.mjs → react-surface-URESE7J4.mjs} +89 -35
  31. package/dist/lib/neutral/react-surface-URESE7J4.mjs.map +7 -0
  32. package/dist/lib/neutral/{settings-MPM6YUP4.mjs → settings-5I2674B6.mjs} +3 -3
  33. package/dist/lib/neutral/{settings-MPM6YUP4.mjs.map → settings-5I2674B6.mjs.map} +3 -3
  34. package/dist/lib/neutral/translations.mjs +1 -2
  35. package/dist/lib/neutral/translations.mjs.map +3 -3
  36. package/dist/lib/neutral/types/index.mjs +5 -3
  37. package/dist/types/dx.config.d.ts +28 -0
  38. package/dist/types/dx.config.d.ts.map +1 -0
  39. package/dist/types/src/capabilities/app-graph-builder.d.ts +1 -2
  40. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  41. package/dist/types/src/capabilities/index.d.ts +4 -8
  42. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  43. package/dist/types/src/capabilities/react-context.d.ts +1 -6
  44. package/dist/types/src/capabilities/react-context.d.ts.map +1 -1
  45. package/dist/types/src/capabilities/react-surface.d.ts +2 -2
  46. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  47. package/dist/types/src/capabilities/settings.d.ts +1 -3
  48. package/dist/types/src/capabilities/settings.d.ts.map +1 -1
  49. package/dist/types/src/components/SpaceGenerator/presets.d.ts.map +1 -1
  50. package/dist/types/src/components/index.d.ts +0 -2
  51. package/dist/types/src/components/index.d.ts.map +1 -1
  52. package/dist/types/src/containers/DebugObjectPanel/DebugObjectPanel.d.ts +6 -3
  53. package/dist/types/src/containers/DebugObjectPanel/DebugObjectPanel.d.ts.map +1 -1
  54. package/dist/types/src/{components → containers}/DebugSettings/DebugSettings.d.ts +2 -2
  55. package/dist/types/src/containers/DebugSettings/DebugSettings.d.ts.map +1 -0
  56. package/dist/types/src/{components → containers}/DebugSettings/DebugSettings.stories.d.ts +0 -1
  57. package/dist/types/src/{components → containers}/DebugSettings/DebugSettings.stories.d.ts.map +1 -1
  58. package/dist/types/src/{components → containers}/DebugSettings/index.d.ts.map +1 -1
  59. package/dist/types/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.d.ts +6 -2
  60. package/dist/types/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.d.ts.map +1 -1
  61. package/dist/types/src/containers/DevtoolsOverviewContainer/DevtoolsOverviewContainer.d.ts.map +1 -1
  62. package/dist/types/src/containers/GithubPanel/GithubComponent.stories.d.ts +0 -1
  63. package/dist/types/src/containers/GithubPanel/GithubComponent.stories.d.ts.map +1 -1
  64. package/dist/types/src/containers/RegistryPanel/index.d.ts +1 -1
  65. package/dist/types/src/containers/RegistryPanel/index.d.ts.map +1 -1
  66. package/dist/types/src/containers/index.d.ts +1 -0
  67. package/dist/types/src/containers/index.d.ts.map +1 -1
  68. package/dist/types/src/meta.d.ts +32 -2
  69. package/dist/types/src/meta.d.ts.map +1 -1
  70. package/dist/types/src/translations.d.ts +0 -1
  71. package/dist/types/src/translations.d.ts.map +1 -1
  72. package/dist/types/src/types/Devtools.d.ts +57 -0
  73. package/dist/types/src/types/Devtools.d.ts.map +1 -0
  74. package/dist/types/src/types/debug.d.ts +20 -0
  75. package/dist/types/src/types/debug.d.ts.map +1 -0
  76. package/dist/types/src/types/index.d.ts +3 -69
  77. package/dist/types/src/types/index.d.ts.map +1 -1
  78. package/dist/types/src/types/surface.d.ts +4 -0
  79. package/dist/types/src/types/surface.d.ts.map +1 -0
  80. package/dist/types/tsconfig.tsbuildinfo +1 -1
  81. package/dx.config.ts +39 -0
  82. package/package.json +59 -58
  83. package/src/DebugPlugin.test.ts +1 -1
  84. package/src/DebugPlugin.tsx +1 -1
  85. package/src/capabilities/app-graph-builder.ts +123 -131
  86. package/src/capabilities/react-context.tsx +1 -1
  87. package/src/capabilities/react-surface.tsx +85 -33
  88. package/src/capabilities/settings.ts +2 -2
  89. package/src/components/SpaceGenerator/presets.ts +10 -13
  90. package/src/components/index.ts +0 -4
  91. package/src/containers/DebugObjectPanel/DebugObjectPanel.tsx +13 -4
  92. package/src/{components → containers}/DebugSettings/DebugSettings.stories.tsx +1 -1
  93. package/src/{components → containers}/DebugSettings/DebugSettings.tsx +100 -98
  94. package/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.tsx +12 -4
  95. package/src/containers/DevtoolsOverviewContainer/DevtoolsOverviewContainer.tsx +3 -1
  96. package/src/containers/GithubPanel/GithubComponent.tsx +2 -2
  97. package/src/containers/RegistryPanel/index.ts +1 -1
  98. package/src/containers/index.ts +1 -0
  99. package/src/meta.ts +2 -31
  100. package/src/translations.ts +1 -2
  101. package/src/types/Devtools.ts +73 -0
  102. package/src/types/debug.ts +35 -0
  103. package/src/types/index.ts +3 -90
  104. package/src/types/surface.ts +10 -0
  105. package/dist/lib/neutral/DebugObjectPanel-OS65NC4M.mjs.map +0 -7
  106. package/dist/lib/neutral/DebugSettings-RKYNQIKH.mjs.map +0 -7
  107. package/dist/lib/neutral/DebugSpaceObjectsPanel-BHOCFWDJ.mjs.map +0 -7
  108. package/dist/lib/neutral/DevtoolsOverviewContainer-YX7Z3D2H.mjs.map +0 -7
  109. package/dist/lib/neutral/GithubPanel-QJKDJRVQ.mjs.map +0 -7
  110. package/dist/lib/neutral/app-graph-builder-4OJQQLSH.mjs.map +0 -7
  111. package/dist/lib/neutral/chunk-HOV6MV5B.mjs +0 -43
  112. package/dist/lib/neutral/chunk-HOV6MV5B.mjs.map +0 -7
  113. package/dist/lib/neutral/chunk-TAST3Y2C.mjs +0 -91
  114. package/dist/lib/neutral/chunk-TAST3Y2C.mjs.map +0 -7
  115. package/dist/lib/neutral/react-surface-YBC4HK7I.mjs.map +0 -7
  116. package/dist/types/src/components/DebugSettings/DebugSettings.d.ts.map +0 -1
  117. /package/dist/types/src/{components → containers}/DebugSettings/index.d.ts +0 -0
  118. /package/src/{components → containers}/DebugSettings/index.ts +0 -0
@@ -3,14 +3,12 @@ import "./chunk-J5LGTIGS.mjs";
3
3
  // src/capabilities/app-graph-builder.ts
4
4
  import * as Effect from "effect/Effect";
5
5
  import { Capability } from "@dxos/app-framework";
6
- import { AppCapabilities, AppNode, getSpaceIdFromPath } from "@dxos/app-toolkit";
7
- import { ClientCapabilities } from "@dxos/plugin-client";
6
+ import { AppCapabilities, AppNode, AppNodeMatcher, Paths } from "@dxos/app-toolkit";
8
7
  import { GraphBuilder, Node, NodeMatcher } from "@dxos/plugin-graph";
9
- import { SPACE_TYPE } from "@dxos/plugin-space";
10
- import { getParentId } from "@dxos/react-ui-attention";
8
+ import { isSpace } from "@dxos/react-client/echo";
9
+ import { Position } from "@dxos/util";
11
10
  import { meta } from "#meta";
12
11
  import { Devtools } from "#types";
13
- var DEVTOOLS_TYPE = `${meta.id}.devtools`;
14
12
  var app_graph_builder_default = Capability.makeModule(Effect.fnUntraced(function* () {
15
13
  const extensions = yield* Effect.all([
16
14
  GraphBuilder.createExtension({
@@ -26,7 +24,7 @@ var app_graph_builder_default = Capability.makeModule(Effect.fnUntraced(function
26
24
  label: [
27
25
  "reset-data.label",
28
26
  {
29
- ns: meta.id
27
+ ns: meta.profile.key
30
28
  }
31
29
  ],
32
30
  icon: "ph--warning--regular"
@@ -36,75 +34,70 @@ var app_graph_builder_default = Capability.makeModule(Effect.fnUntraced(function
36
34
  }),
37
35
  GraphBuilder.createExtension({
38
36
  id: "devtools",
39
- match: NodeMatcher.whenAny(NodeMatcher.whenRoot, NodeMatcher.whenNodeType(SPACE_TYPE)),
40
- connector: (node, get) => Effect.gen(function* () {
41
- const client = yield* Capability.get(ClientCapabilities.Client);
42
- const layoutAtom = get(yield* Capability.atom(AppCapabilities.Layout))[0];
43
- const layout = layoutAtom ? get(layoutAtom) : void 0;
44
- const spaceId = layout?.workspace ? getSpaceIdFromPath(layout.workspace) : void 0;
45
- const space = spaceId ? client.spaces.get(spaceId) : void 0;
37
+ match: NodeMatcher.whenAny(NodeMatcher.whenRoot, AppNodeMatcher.whenNavTreeGroup(Paths.GroupTypes.system)),
38
+ connector: (nodeOrSpace, get) => Effect.gen(function* () {
39
+ const space = isSpace(nodeOrSpace) ? nodeOrSpace : void 0;
46
40
  const [graph] = get(yield* Capability.atom(AppCapabilities.AppGraph));
47
41
  return [
48
42
  Node.make({
49
- id: Devtools.id,
43
+ id: Devtools.nodeId(Devtools.id),
50
44
  data: null,
51
- type: DEVTOOLS_TYPE,
45
+ type: Devtools.id,
52
46
  properties: {
53
47
  label: [
54
48
  "devtools.label",
55
49
  {
56
- ns: meta.id
50
+ ns: meta.profile.key
57
51
  }
58
52
  ],
59
53
  icon: "ph--hammer--regular",
60
- disposition: "pin-end",
61
- position: "last"
54
+ position: Position.last
62
55
  },
63
56
  nodes: [
64
57
  Node.make({
65
- id: "appGraph",
66
- type: `${meta.id}.app-graph`,
58
+ id: Devtools.nodeId(Devtools.AppGraph),
59
+ type: `${meta.profile.key}.app-graph`,
67
60
  data: {
68
61
  graph: graph?.graph,
69
- root: node.id === Node.RootId ? node.id : getParentId(node.id)
62
+ root: Node.RootId
70
63
  },
71
64
  properties: {
72
65
  label: [
73
66
  "debug-app-graph.label",
74
67
  {
75
- ns: meta.id
68
+ ns: meta.profile.key
76
69
  }
77
70
  ],
78
71
  icon: "ph--graph--regular"
79
72
  }
80
73
  }),
81
74
  Node.make({
82
- id: "toolsExplorer",
75
+ id: Devtools.nodeId(Devtools.ToolsExplorer),
83
76
  data: Devtools.ToolsExplorer,
84
- type: DEVTOOLS_TYPE,
77
+ type: Devtools.id,
85
78
  properties: {
86
79
  label: [
87
80
  "debug-tools-explorer.label",
88
81
  {
89
- ns: meta.id
82
+ ns: meta.profile.key
90
83
  }
91
84
  ],
92
85
  icon: "ph--toolbox--regular"
93
86
  }
94
87
  }),
95
- ...space && node.type === SPACE_TYPE ? [
88
+ ...space ? [
96
89
  Node.make({
97
- id: "debug",
98
- type: `${meta.id}.space`,
90
+ id: Devtools.nodeId(Devtools.Debug),
91
+ type: `${meta.profile.key}.space`,
99
92
  data: {
100
93
  space,
101
- type: `${meta.id}.space`
94
+ type: `${meta.profile.key}.space`
102
95
  },
103
96
  properties: {
104
97
  label: [
105
98
  "generate-objects.label",
106
99
  {
107
- ns: meta.id
100
+ ns: meta.profile.key
108
101
  }
109
102
  ],
110
103
  icon: "ph--dice-five--regular"
@@ -112,84 +105,84 @@ var app_graph_builder_default = Capability.makeModule(Effect.fnUntraced(function
112
105
  })
113
106
  ] : [],
114
107
  Node.make({
115
- id: Devtools.Client.id,
108
+ id: Devtools.nodeId(Devtools.Client.id),
116
109
  data: null,
117
- type: DEVTOOLS_TYPE,
110
+ type: Devtools.id,
118
111
  properties: {
119
112
  label: [
120
113
  "client.label",
121
114
  {
122
- ns: meta.id
115
+ ns: meta.profile.key
123
116
  }
124
117
  ],
125
118
  icon: "ph--users--regular"
126
119
  },
127
120
  nodes: [
128
121
  Node.make({
129
- id: Devtools.Client.Config,
122
+ id: Devtools.nodeId(Devtools.Client.Config),
130
123
  data: Devtools.Client.Config,
131
- type: DEVTOOLS_TYPE,
124
+ type: Devtools.id,
132
125
  properties: {
133
126
  label: [
134
127
  "config.label",
135
128
  {
136
- ns: meta.id
129
+ ns: meta.profile.key
137
130
  }
138
131
  ],
139
132
  icon: "ph--gear--regular"
140
133
  }
141
134
  }),
142
135
  Node.make({
143
- id: Devtools.Client.Storage,
136
+ id: Devtools.nodeId(Devtools.Client.Storage),
144
137
  data: Devtools.Client.Storage,
145
- type: DEVTOOLS_TYPE,
138
+ type: Devtools.id,
146
139
  properties: {
147
140
  label: [
148
141
  "storage.label",
149
142
  {
150
- ns: meta.id
143
+ ns: meta.profile.key
151
144
  }
152
145
  ],
153
146
  icon: "ph--hard-drives--regular"
154
147
  }
155
148
  }),
156
149
  Node.make({
157
- id: Devtools.Client.Sqlite,
150
+ id: Devtools.nodeId(Devtools.Client.Sqlite),
158
151
  data: Devtools.Client.Sqlite,
159
- type: DEVTOOLS_TYPE,
152
+ type: Devtools.id,
160
153
  properties: {
161
154
  label: [
162
155
  "sqlite.label",
163
156
  {
164
- ns: meta.id
157
+ ns: meta.profile.key
165
158
  }
166
159
  ],
167
160
  icon: "ph--database--regular"
168
161
  }
169
162
  }),
170
163
  Node.make({
171
- id: Devtools.Client.Logs,
164
+ id: Devtools.nodeId(Devtools.Client.Logs),
172
165
  data: Devtools.Client.Logs,
173
- type: DEVTOOLS_TYPE,
166
+ type: Devtools.id,
174
167
  properties: {
175
168
  label: [
176
169
  "logs.label",
177
170
  {
178
- ns: meta.id
171
+ ns: meta.profile.key
179
172
  }
180
173
  ],
181
174
  icon: "ph--file-text--regular"
182
175
  }
183
176
  }),
184
177
  Node.make({
185
- id: Devtools.Client.Diagnostics,
178
+ id: Devtools.nodeId(Devtools.Client.Diagnostics),
186
179
  data: Devtools.Client.Diagnostics,
187
- type: DEVTOOLS_TYPE,
180
+ type: Devtools.id,
188
181
  properties: {
189
182
  label: [
190
183
  "diagnostics.label",
191
184
  {
192
- ns: meta.id
185
+ ns: meta.profile.key
193
186
  }
194
187
  ],
195
188
  icon: "ph--chart-line--regular"
@@ -198,70 +191,70 @@ var app_graph_builder_default = Capability.makeModule(Effect.fnUntraced(function
198
191
  ]
199
192
  }),
200
193
  Node.make({
201
- id: Devtools.Halo.id,
194
+ id: Devtools.nodeId(Devtools.Halo.id),
202
195
  data: null,
203
- type: DEVTOOLS_TYPE,
196
+ type: Devtools.id,
204
197
  properties: {
205
198
  label: [
206
199
  "halo.label",
207
200
  {
208
- ns: meta.id
201
+ ns: meta.profile.key
209
202
  }
210
203
  ],
211
204
  icon: "ph--identification-badge--regular"
212
205
  },
213
206
  nodes: [
214
207
  Node.make({
215
- id: Devtools.Halo.Identity,
208
+ id: Devtools.nodeId(Devtools.Halo.Identity),
216
209
  data: Devtools.Halo.Identity,
217
- type: DEVTOOLS_TYPE,
210
+ type: Devtools.id,
218
211
  properties: {
219
212
  label: [
220
213
  "identity.label",
221
214
  {
222
- ns: meta.id
215
+ ns: meta.profile.key
223
216
  }
224
217
  ],
225
218
  icon: "ph--identification-badge--regular"
226
219
  }
227
220
  }),
228
221
  Node.make({
229
- id: Devtools.Halo.Devices,
222
+ id: Devtools.nodeId(Devtools.Halo.Devices),
230
223
  data: Devtools.Halo.Devices,
231
- type: DEVTOOLS_TYPE,
224
+ type: Devtools.id,
232
225
  properties: {
233
226
  label: [
234
227
  "devices.label",
235
228
  {
236
- ns: meta.id
229
+ ns: meta.profile.key
237
230
  }
238
231
  ],
239
232
  icon: "ph--devices--regular"
240
233
  }
241
234
  }),
242
235
  Node.make({
243
- id: Devtools.Halo.Keyring,
236
+ id: Devtools.nodeId(Devtools.Halo.Keyring),
244
237
  data: Devtools.Halo.Keyring,
245
- type: DEVTOOLS_TYPE,
238
+ type: Devtools.id,
246
239
  properties: {
247
240
  label: [
248
241
  "keyring.label",
249
242
  {
250
- ns: meta.id
243
+ ns: meta.profile.key
251
244
  }
252
245
  ],
253
246
  icon: "ph--key--regular"
254
247
  }
255
248
  }),
256
249
  Node.make({
257
- id: Devtools.Halo.Credentials,
250
+ id: Devtools.nodeId(Devtools.Halo.Credentials),
258
251
  data: Devtools.Halo.Credentials,
259
- type: DEVTOOLS_TYPE,
252
+ type: Devtools.id,
260
253
  properties: {
261
254
  label: [
262
255
  "credentials.label",
263
256
  {
264
- ns: meta.id
257
+ ns: meta.profile.key
265
258
  }
266
259
  ],
267
260
  icon: "ph--credit-card--regular"
@@ -270,154 +263,154 @@ var app_graph_builder_default = Capability.makeModule(Effect.fnUntraced(function
270
263
  ]
271
264
  }),
272
265
  Node.make({
273
- id: Devtools.Echo.id,
266
+ id: Devtools.nodeId(Devtools.Echo.id),
274
267
  data: null,
275
- type: DEVTOOLS_TYPE,
268
+ type: Devtools.id,
276
269
  properties: {
277
270
  label: [
278
271
  "echo.label",
279
272
  {
280
- ns: meta.id
273
+ ns: meta.profile.key
281
274
  }
282
275
  ],
283
276
  icon: "ph--database--regular"
284
277
  },
285
278
  nodes: [
286
279
  Node.make({
287
- id: Devtools.Echo.Spaces,
280
+ id: Devtools.nodeId(Devtools.Echo.Spaces),
288
281
  data: Devtools.Echo.Spaces,
289
- type: DEVTOOLS_TYPE,
282
+ type: Devtools.id,
290
283
  properties: {
291
284
  label: [
292
285
  "spaces.label",
293
286
  {
294
- ns: meta.id
287
+ ns: meta.profile.key
295
288
  }
296
289
  ],
297
290
  icon: "ph--graph--regular"
298
291
  }
299
292
  }),
300
293
  Node.make({
301
- id: Devtools.Echo.Space,
294
+ id: Devtools.nodeId(Devtools.Echo.Space),
302
295
  data: Devtools.Echo.Space,
303
- type: DEVTOOLS_TYPE,
296
+ type: Devtools.id,
304
297
  properties: {
305
298
  label: [
306
299
  "space.label",
307
300
  {
308
- ns: meta.id
301
+ ns: meta.profile.key
309
302
  }
310
303
  ],
311
304
  icon: "ph--planet--regular"
312
305
  }
313
306
  }),
314
307
  Node.make({
315
- id: Devtools.Echo.Feeds,
308
+ id: Devtools.nodeId(Devtools.Echo.Feeds),
316
309
  data: Devtools.Echo.Feeds,
317
- type: DEVTOOLS_TYPE,
310
+ type: Devtools.id,
318
311
  properties: {
319
312
  label: [
320
313
  "feeds.label",
321
314
  {
322
- ns: meta.id
315
+ ns: meta.profile.key
323
316
  }
324
317
  ],
325
318
  icon: "ph--list-bullets--regular"
326
319
  }
327
320
  }),
328
321
  Node.make({
329
- id: Devtools.Echo.Objects,
322
+ id: Devtools.nodeId(Devtools.Echo.Objects),
330
323
  data: Devtools.Echo.Objects,
331
- type: DEVTOOLS_TYPE,
324
+ type: Devtools.id,
332
325
  properties: {
333
326
  label: [
334
327
  "objects.label",
335
328
  {
336
- ns: meta.id
329
+ ns: meta.profile.key
337
330
  }
338
331
  ],
339
332
  icon: "ph--cube--regular"
340
333
  }
341
334
  }),
342
335
  Node.make({
343
- id: Devtools.Echo.Schema,
336
+ id: Devtools.nodeId(Devtools.Echo.Schema),
344
337
  data: Devtools.Echo.Schema,
345
- type: DEVTOOLS_TYPE,
338
+ type: Devtools.id,
346
339
  properties: {
347
340
  label: [
348
341
  "schema.label",
349
342
  {
350
- ns: meta.id
343
+ ns: meta.profile.key
351
344
  }
352
345
  ],
353
346
  icon: "ph--database--regular"
354
347
  }
355
348
  }),
356
349
  Node.make({
357
- id: Devtools.Echo.Registry,
350
+ id: Devtools.nodeId(Devtools.Echo.Registry),
358
351
  data: Devtools.Echo.Registry,
359
- type: DEVTOOLS_TYPE,
352
+ type: Devtools.id,
360
353
  properties: {
361
354
  label: [
362
355
  "registry.label",
363
356
  {
364
- ns: meta.id
357
+ ns: meta.profile.key
365
358
  }
366
359
  ],
367
360
  icon: "ph--books--regular"
368
361
  }
369
362
  }),
370
363
  Node.make({
371
- id: Devtools.Echo.Automerge,
364
+ id: Devtools.nodeId(Devtools.Echo.Automerge),
372
365
  data: Devtools.Echo.Automerge,
373
- type: DEVTOOLS_TYPE,
366
+ type: Devtools.id,
374
367
  properties: {
375
368
  label: [
376
369
  "automerge.label",
377
370
  {
378
- ns: meta.id
371
+ ns: meta.profile.key
379
372
  }
380
373
  ],
381
374
  icon: "ph--gear-six--regular"
382
375
  }
383
376
  }),
384
377
  Node.make({
385
- id: Devtools.Echo.Queues,
378
+ id: Devtools.nodeId(Devtools.Echo.Queues),
386
379
  data: Devtools.Echo.Queues,
387
- type: DEVTOOLS_TYPE,
380
+ type: Devtools.id,
388
381
  properties: {
389
382
  label: [
390
383
  "queues.label",
391
384
  {
392
- ns: meta.id
385
+ ns: meta.profile.key
393
386
  }
394
387
  ],
395
388
  icon: "ph--queue--regular"
396
389
  }
397
390
  }),
398
391
  Node.make({
399
- id: Devtools.Echo.Members,
392
+ id: Devtools.nodeId(Devtools.Echo.Members),
400
393
  data: Devtools.Echo.Members,
401
- type: DEVTOOLS_TYPE,
394
+ type: Devtools.id,
402
395
  properties: {
403
396
  label: [
404
397
  "members.label",
405
398
  {
406
- ns: meta.id
399
+ ns: meta.profile.key
407
400
  }
408
401
  ],
409
402
  icon: "ph--users--regular"
410
403
  }
411
404
  }),
412
405
  Node.make({
413
- id: Devtools.Echo.Metadata,
406
+ id: Devtools.nodeId(Devtools.Echo.Metadata),
414
407
  data: Devtools.Echo.Metadata,
415
- type: DEVTOOLS_TYPE,
408
+ type: Devtools.id,
416
409
  properties: {
417
410
  label: [
418
411
  "metadata.label",
419
412
  {
420
- ns: meta.id
413
+ ns: meta.profile.key
421
414
  }
422
415
  ],
423
416
  icon: "ph--hard-drive--regular"
@@ -426,56 +419,56 @@ var app_graph_builder_default = Capability.makeModule(Effect.fnUntraced(function
426
419
  ]
427
420
  }),
428
421
  Node.make({
429
- id: Devtools.Mesh.id,
422
+ id: Devtools.nodeId(Devtools.Mesh.id),
430
423
  data: null,
431
- type: DEVTOOLS_TYPE,
424
+ type: Devtools.id,
432
425
  properties: {
433
426
  label: [
434
427
  "mesh.label",
435
428
  {
436
- ns: meta.id
429
+ ns: meta.profile.key
437
430
  }
438
431
  ],
439
432
  icon: "ph--graph--regular"
440
433
  },
441
434
  nodes: [
442
435
  Node.make({
443
- id: Devtools.Mesh.Signal,
436
+ id: Devtools.nodeId(Devtools.Mesh.Signal),
444
437
  data: Devtools.Mesh.Signal,
445
- type: DEVTOOLS_TYPE,
438
+ type: Devtools.id,
446
439
  properties: {
447
440
  label: [
448
441
  "signal.label",
449
442
  {
450
- ns: meta.id
443
+ ns: meta.profile.key
451
444
  }
452
445
  ],
453
446
  icon: "ph--wifi-high--regular"
454
447
  }
455
448
  }),
456
449
  Node.make({
457
- id: Devtools.Mesh.Swarm,
450
+ id: Devtools.nodeId(Devtools.Mesh.Swarm),
458
451
  data: Devtools.Mesh.Swarm,
459
- type: DEVTOOLS_TYPE,
452
+ type: Devtools.id,
460
453
  properties: {
461
454
  label: [
462
455
  "swarm.label",
463
456
  {
464
- ns: meta.id
457
+ ns: meta.profile.key
465
458
  }
466
459
  ],
467
460
  icon: "ph--users-three--regular"
468
461
  }
469
462
  }),
470
463
  Node.make({
471
- id: Devtools.Mesh.Network,
464
+ id: Devtools.nodeId(Devtools.Mesh.Network),
472
465
  data: Devtools.Mesh.Network,
473
- type: DEVTOOLS_TYPE,
466
+ type: Devtools.id,
474
467
  properties: {
475
468
  label: [
476
469
  "network.label",
477
470
  {
478
- ns: meta.id
471
+ ns: meta.profile.key
479
472
  }
480
473
  ],
481
474
  icon: "ph--polygon--regular"
@@ -484,70 +477,70 @@ var app_graph_builder_default = Capability.makeModule(Effect.fnUntraced(function
484
477
  ]
485
478
  }),
486
479
  Node.make({
487
- id: Devtools.Edge.id,
480
+ id: Devtools.nodeId(Devtools.Edge.id),
488
481
  data: null,
489
- type: DEVTOOLS_TYPE,
482
+ type: Devtools.id,
490
483
  properties: {
491
484
  label: [
492
485
  "edge.label",
493
486
  {
494
- ns: meta.id
487
+ ns: meta.profile.key
495
488
  }
496
489
  ],
497
490
  icon: "ph--cloud--regular"
498
491
  },
499
492
  nodes: [
500
493
  Node.make({
501
- id: Devtools.Edge.Dashboard,
494
+ id: Devtools.nodeId(Devtools.Edge.Dashboard),
502
495
  data: Devtools.Edge.Dashboard,
503
- type: DEVTOOLS_TYPE,
496
+ type: Devtools.id,
504
497
  properties: {
505
498
  label: [
506
499
  "dashboard.label",
507
500
  {
508
- ns: meta.id
501
+ ns: meta.profile.key
509
502
  }
510
503
  ],
511
504
  icon: "ph--computer-tower--regular"
512
505
  }
513
506
  }),
514
507
  Node.make({
515
- id: Devtools.Edge.Workflows,
508
+ id: Devtools.nodeId(Devtools.Edge.Workflows),
516
509
  data: Devtools.Edge.Workflows,
517
- type: DEVTOOLS_TYPE,
510
+ type: Devtools.id,
518
511
  properties: {
519
512
  label: [
520
513
  "workflows.label",
521
514
  {
522
- ns: meta.id
515
+ ns: meta.profile.key
523
516
  }
524
517
  ],
525
518
  icon: "ph--function--regular"
526
519
  }
527
520
  }),
528
521
  Node.make({
529
- id: Devtools.Edge.Traces,
522
+ id: Devtools.nodeId(Devtools.Edge.Traces),
530
523
  data: Devtools.Edge.Traces,
531
- type: DEVTOOLS_TYPE,
524
+ type: Devtools.id,
532
525
  properties: {
533
526
  label: [
534
527
  "traces.label",
535
528
  {
536
- ns: meta.id
529
+ ns: meta.profile.key
537
530
  }
538
531
  ],
539
532
  icon: "ph--line-segments--regular"
540
533
  }
541
534
  }),
542
535
  Node.make({
543
- id: Devtools.Edge.Testing,
536
+ id: Devtools.nodeId(Devtools.Edge.Testing),
544
537
  data: Devtools.Edge.Testing,
545
- type: DEVTOOLS_TYPE,
538
+ type: Devtools.id,
546
539
  properties: {
547
540
  label: [
548
541
  "testing.label",
549
542
  {
550
- ns: meta.id
543
+ ns: meta.profile.key
551
544
  }
552
545
  ],
553
546
  icon: "ph--flask--regular"
@@ -570,12 +563,12 @@ var app_graph_builder_default = Capability.makeModule(Effect.fnUntraced(function
570
563
  label: [
571
564
  "debug.label",
572
565
  {
573
- ns: meta.id
566
+ ns: meta.profile.key
574
567
  }
575
568
  ],
576
569
  icon: "ph--bug--regular",
577
570
  data: "debug",
578
- position: "last"
571
+ position: Position.last
579
572
  })
580
573
  ])
581
574
  }),
@@ -585,16 +578,16 @@ var app_graph_builder_default = Capability.makeModule(Effect.fnUntraced(function
585
578
  match: NodeMatcher.whenRoot,
586
579
  connector: () => Effect.succeed([
587
580
  AppNode.makeDeckCompanion({
588
- id: "devtools",
581
+ id: "devtoolsOverview",
589
582
  label: [
590
583
  "devtools-overview.label",
591
584
  {
592
- ns: meta.id
585
+ ns: meta.profile.key
593
586
  }
594
587
  ],
595
588
  icon: "ph--equalizer--regular",
596
589
  data: "devtools",
597
- position: "last"
590
+ position: Position.last
598
591
  })
599
592
  ])
600
593
  }),
@@ -608,12 +601,12 @@ var app_graph_builder_default = Capability.makeModule(Effect.fnUntraced(function
608
601
  label: [
609
602
  "space-objects.label",
610
603
  {
611
- ns: meta.id
604
+ ns: meta.profile.key
612
605
  }
613
606
  ],
614
607
  icon: "ph--cube--regular",
615
608
  data: "space-objects",
616
- position: "last"
609
+ position: Position.last
617
610
  })
618
611
  ])
619
612
  })
@@ -623,4 +616,4 @@ var app_graph_builder_default = Capability.makeModule(Effect.fnUntraced(function
623
616
  export {
624
617
  app_graph_builder_default as default
625
618
  };
626
- //# sourceMappingURL=app-graph-builder-4OJQQLSH.mjs.map
619
+ //# sourceMappingURL=app-graph-builder-UKG4WVYK.mjs.map