@dxos/plugin-debug 0.8.4-main.c4373fc → 0.8.4-main.c85a9c8dae

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 (188) hide show
  1. package/dist/lib/browser/DebugGraph-7HXJ2PS2.mjs +16 -0
  2. package/dist/lib/browser/DebugGraph-7HXJ2PS2.mjs.map +7 -0
  3. package/dist/lib/browser/DebugObjectPanel-3TCDNUNW.mjs +33 -0
  4. package/dist/lib/browser/DebugObjectPanel-3TCDNUNW.mjs.map +7 -0
  5. package/dist/lib/browser/DebugSettings-JZMIUDYB.mjs +174 -0
  6. package/dist/lib/browser/DebugSettings-JZMIUDYB.mjs.map +7 -0
  7. package/dist/lib/browser/DebugSpaceObjectsPanel-7NRPLWZ4.mjs +50 -0
  8. package/dist/lib/browser/DebugSpaceObjectsPanel-7NRPLWZ4.mjs.map +7 -0
  9. package/dist/lib/browser/DebugStatus-COQGH37G.mjs +125 -0
  10. package/dist/lib/browser/DebugStatus-COQGH37G.mjs.map +7 -0
  11. package/dist/lib/browser/DevtoolsOverviewContainer-C75NFVER.mjs +20 -0
  12. package/dist/lib/browser/DevtoolsOverviewContainer-C75NFVER.mjs.map +7 -0
  13. package/dist/lib/browser/{SpaceGenerator-54FUIZIH.mjs → SpaceGenerator-SWSGJEEL.mjs} +476 -461
  14. package/dist/lib/browser/SpaceGenerator-SWSGJEEL.mjs.map +7 -0
  15. package/dist/lib/browser/Wireframe-KAGOKEFW.mjs +53 -0
  16. package/dist/lib/browser/Wireframe-KAGOKEFW.mjs.map +7 -0
  17. package/dist/lib/browser/app-graph-builder-LGUQNXHD.mjs +625 -0
  18. package/dist/lib/browser/app-graph-builder-LGUQNXHD.mjs.map +7 -0
  19. package/dist/lib/browser/{chunk-SRV2AIGJ.mjs → chunk-4UFQXPP7.mjs} +11 -1
  20. package/dist/lib/browser/chunk-4UFQXPP7.mjs.map +7 -0
  21. package/dist/lib/browser/chunk-A5H5GRV6.mjs +20 -0
  22. package/dist/lib/browser/chunk-A5H5GRV6.mjs.map +7 -0
  23. package/dist/lib/browser/index.mjs +42 -41
  24. package/dist/lib/browser/index.mjs.map +4 -4
  25. package/dist/lib/browser/meta.json +1 -1
  26. package/dist/lib/browser/react-context-I3USIAF6.mjs +17 -0
  27. package/dist/lib/browser/react-context-I3USIAF6.mjs.map +7 -0
  28. package/dist/lib/browser/react-surface-BTVNKKVQ.mjs +443 -0
  29. package/dist/lib/browser/react-surface-BTVNKKVQ.mjs.map +7 -0
  30. package/dist/lib/browser/settings-SLTQJJNF.mjs +32 -0
  31. package/dist/lib/browser/settings-SLTQJJNF.mjs.map +7 -0
  32. package/dist/types/src/DebugPlugin.d.ts +7 -1
  33. package/dist/types/src/DebugPlugin.d.ts.map +1 -1
  34. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +6 -0
  35. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +1 -0
  36. package/dist/types/src/capabilities/app-graph-builder/index.d.ts +3 -0
  37. package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +1 -0
  38. package/dist/types/src/capabilities/index.d.ts +4 -8
  39. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  40. package/dist/types/src/capabilities/react-context/index.d.ts +7 -0
  41. package/dist/types/src/capabilities/react-context/index.d.ts.map +1 -0
  42. package/dist/types/src/capabilities/react-context/react-context.d.ts +10 -0
  43. package/dist/types/src/capabilities/react-context/react-context.d.ts.map +1 -0
  44. package/dist/types/src/capabilities/react-surface/index.d.ts +5 -0
  45. package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -0
  46. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +9 -0
  47. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -0
  48. package/dist/types/src/capabilities/settings/index.d.ts +3 -0
  49. package/dist/types/src/capabilities/settings/index.d.ts.map +1 -0
  50. package/dist/types/src/capabilities/settings/settings.d.ts +6 -0
  51. package/dist/types/src/capabilities/settings/settings.d.ts.map +1 -0
  52. package/dist/types/src/components/SchemaTable/SchemaTable.d.ts.map +1 -0
  53. package/dist/types/src/components/SchemaTable/index.d.ts +2 -0
  54. package/dist/types/src/components/SchemaTable/index.d.ts.map +1 -0
  55. package/dist/types/src/components/SpaceGenerator/ObjectGenerator.d.ts +5 -5
  56. package/dist/types/src/components/SpaceGenerator/ObjectGenerator.d.ts.map +1 -1
  57. package/dist/types/src/components/SpaceGenerator/index.d.ts +2 -2
  58. package/dist/types/src/components/SpaceGenerator/index.d.ts.map +1 -1
  59. package/dist/types/src/components/SpaceGenerator/presets.d.ts +2 -5
  60. package/dist/types/src/components/SpaceGenerator/presets.d.ts.map +1 -1
  61. package/dist/types/src/components/index.d.ts +2 -10
  62. package/dist/types/src/components/index.d.ts.map +1 -1
  63. package/dist/types/src/containers/DebugGraph/DebugGraph.d.ts +8 -0
  64. package/dist/types/src/containers/DebugGraph/DebugGraph.d.ts.map +1 -0
  65. package/dist/types/src/containers/DebugGraph/index.d.ts +3 -0
  66. package/dist/types/src/containers/DebugGraph/index.d.ts.map +1 -0
  67. package/dist/types/src/{components → containers/DebugObjectPanel}/DebugObjectPanel.d.ts +2 -2
  68. package/dist/types/src/containers/DebugObjectPanel/DebugObjectPanel.d.ts.map +1 -0
  69. package/dist/types/src/containers/DebugObjectPanel/index.d.ts +3 -0
  70. package/dist/types/src/containers/DebugObjectPanel/index.d.ts.map +1 -0
  71. package/dist/types/src/containers/DebugSettings/DebugSettings.d.ts +10 -0
  72. package/dist/types/src/containers/DebugSettings/DebugSettings.d.ts.map +1 -0
  73. package/dist/types/src/containers/DebugSettings/index.d.ts +3 -0
  74. package/dist/types/src/containers/DebugSettings/index.d.ts.map +1 -0
  75. package/dist/types/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.d.ts +3 -0
  76. package/dist/types/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.d.ts.map +1 -0
  77. package/dist/types/src/containers/DebugSpaceObjectsPanel/index.d.ts +3 -0
  78. package/dist/types/src/containers/DebugSpaceObjectsPanel/index.d.ts.map +1 -0
  79. package/dist/types/src/containers/DebugStatus/DebugStatus.d.ts.map +1 -0
  80. package/dist/types/src/containers/DebugStatus/index.d.ts +3 -0
  81. package/dist/types/src/containers/DebugStatus/index.d.ts.map +1 -0
  82. package/dist/types/src/{components → containers/DevtoolsOverviewContainer}/DevtoolsOverviewContainer.d.ts +0 -1
  83. package/dist/types/src/containers/DevtoolsOverviewContainer/DevtoolsOverviewContainer.d.ts.map +1 -0
  84. package/dist/types/src/containers/DevtoolsOverviewContainer/index.d.ts +3 -0
  85. package/dist/types/src/containers/DevtoolsOverviewContainer/index.d.ts.map +1 -0
  86. package/dist/types/src/{components → containers}/SpaceGenerator/SpaceGenerator.d.ts +2 -2
  87. package/dist/types/src/containers/SpaceGenerator/SpaceGenerator.d.ts.map +1 -0
  88. package/dist/types/src/containers/SpaceGenerator/index.d.ts +3 -0
  89. package/dist/types/src/containers/SpaceGenerator/index.d.ts.map +1 -0
  90. package/dist/types/src/{components → containers/Wireframe}/Wireframe.d.ts +2 -2
  91. package/dist/types/src/containers/Wireframe/Wireframe.d.ts.map +1 -0
  92. package/dist/types/src/containers/Wireframe/index.d.ts +3 -0
  93. package/dist/types/src/containers/Wireframe/index.d.ts.map +1 -0
  94. package/dist/types/src/containers/index.d.ts +10 -0
  95. package/dist/types/src/containers/index.d.ts.map +1 -0
  96. package/dist/types/src/meta.d.ts +2 -2
  97. package/dist/types/src/meta.d.ts.map +1 -1
  98. package/dist/types/src/translations.d.ts +3 -1
  99. package/dist/types/src/translations.d.ts.map +1 -1
  100. package/dist/types/src/types.d.ts +5 -0
  101. package/dist/types/src/types.d.ts.map +1 -1
  102. package/dist/types/tsconfig.tsbuildinfo +1 -1
  103. package/package.json +75 -69
  104. package/src/DebugPlugin.tsx +27 -31
  105. package/src/capabilities/app-graph-builder/app-graph-builder.ts +441 -0
  106. package/src/capabilities/app-graph-builder/index.ts +7 -0
  107. package/src/capabilities/index.ts +4 -6
  108. package/src/capabilities/react-context/index.ts +7 -0
  109. package/src/capabilities/react-context/react-context.tsx +20 -0
  110. package/src/capabilities/react-surface/index.ts +7 -0
  111. package/src/capabilities/react-surface/react-surface.tsx +428 -0
  112. package/src/capabilities/settings/index.ts +7 -0
  113. package/src/capabilities/settings/settings.ts +31 -0
  114. package/src/components/SchemaTable/index.ts +5 -0
  115. package/src/components/SpaceGenerator/ObjectGenerator.tsx +26 -32
  116. package/src/components/SpaceGenerator/index.ts +2 -3
  117. package/src/components/SpaceGenerator/presets.ts +258 -141
  118. package/src/components/index.ts +2 -10
  119. package/src/containers/DebugGraph/DebugGraph.tsx +13 -0
  120. package/src/containers/DebugGraph/index.ts +7 -0
  121. package/src/containers/DebugObjectPanel/DebugObjectPanel.tsx +45 -0
  122. package/src/containers/DebugObjectPanel/index.ts +7 -0
  123. package/src/{components → containers/DebugSettings}/DebugSettings.tsx +78 -36
  124. package/src/containers/DebugSettings/index.ts +7 -0
  125. package/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.tsx +60 -0
  126. package/src/containers/DebugSpaceObjectsPanel/index.ts +7 -0
  127. package/src/containers/DebugStatus/index.ts +7 -0
  128. package/src/{components → containers/DevtoolsOverviewContainer}/DevtoolsOverviewContainer.tsx +2 -4
  129. package/src/containers/DevtoolsOverviewContainer/index.ts +7 -0
  130. package/src/containers/SpaceGenerator/SpaceGenerator.tsx +127 -0
  131. package/src/containers/SpaceGenerator/index.ts +7 -0
  132. package/src/{components → containers/Wireframe}/Wireframe.tsx +6 -7
  133. package/src/containers/Wireframe/index.ts +7 -0
  134. package/src/containers/index.ts +14 -0
  135. package/src/meta.ts +7 -4
  136. package/src/translations.ts +3 -1
  137. package/src/types.ts +8 -0
  138. package/dist/lib/browser/DebugGraph-EDOH6R2G.mjs +0 -20
  139. package/dist/lib/browser/DebugGraph-EDOH6R2G.mjs.map +0 -7
  140. package/dist/lib/browser/DevtoolsOverviewContainer-EPD6EWT5.mjs +0 -25
  141. package/dist/lib/browser/DevtoolsOverviewContainer-EPD6EWT5.mjs.map +0 -7
  142. package/dist/lib/browser/SpaceGenerator-54FUIZIH.mjs.map +0 -7
  143. package/dist/lib/browser/app-graph-builder-I4IHBKKN.mjs +0 -588
  144. package/dist/lib/browser/app-graph-builder-I4IHBKKN.mjs.map +0 -7
  145. package/dist/lib/browser/chunk-SRV2AIGJ.mjs.map +0 -7
  146. package/dist/lib/browser/chunk-SVCKCXCL.mjs +0 -16
  147. package/dist/lib/browser/chunk-SVCKCXCL.mjs.map +0 -7
  148. package/dist/lib/browser/react-context-QLZE7VSQ.mjs +0 -16
  149. package/dist/lib/browser/react-context-QLZE7VSQ.mjs.map +0 -7
  150. package/dist/lib/browser/react-surface-BTWJ2I3F.mjs +0 -772
  151. package/dist/lib/browser/react-surface-BTWJ2I3F.mjs.map +0 -7
  152. package/dist/lib/browser/settings-EBVICEEW.mjs +0 -22
  153. package/dist/lib/browser/settings-EBVICEEW.mjs.map +0 -7
  154. package/dist/types/src/capabilities/app-graph-builder.d.ts +0 -4
  155. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +0 -1
  156. package/dist/types/src/capabilities/react-context.d.ts +0 -8
  157. package/dist/types/src/capabilities/react-context.d.ts.map +0 -1
  158. package/dist/types/src/capabilities/react-surface.d.ts +0 -4
  159. package/dist/types/src/capabilities/react-surface.d.ts.map +0 -1
  160. package/dist/types/src/capabilities/settings.d.ts +0 -4
  161. package/dist/types/src/capabilities/settings.d.ts.map +0 -1
  162. package/dist/types/src/components/Container.d.ts +0 -5
  163. package/dist/types/src/components/Container.d.ts.map +0 -1
  164. package/dist/types/src/components/DebugGraph.d.ts +0 -8
  165. package/dist/types/src/components/DebugGraph.d.ts.map +0 -1
  166. package/dist/types/src/components/DebugObjectPanel.d.ts.map +0 -1
  167. package/dist/types/src/components/DebugSettings.d.ts +0 -6
  168. package/dist/types/src/components/DebugSettings.d.ts.map +0 -1
  169. package/dist/types/src/components/DebugStatus.d.ts.map +0 -1
  170. package/dist/types/src/components/DevtoolsOverviewContainer.d.ts.map +0 -1
  171. package/dist/types/src/components/SpaceGenerator/SchemaTable.d.ts.map +0 -1
  172. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.d.ts.map +0 -1
  173. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.stories.d.ts +0 -15
  174. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.stories.d.ts.map +0 -1
  175. package/dist/types/src/components/Wireframe.d.ts.map +0 -1
  176. package/src/capabilities/app-graph-builder.ts +0 -431
  177. package/src/capabilities/react-context.tsx +0 -16
  178. package/src/capabilities/react-surface.tsx +0 -399
  179. package/src/capabilities/settings.ts +0 -19
  180. package/src/components/Container.tsx +0 -15
  181. package/src/components/DebugGraph.tsx +0 -14
  182. package/src/components/DebugObjectPanel.tsx +0 -33
  183. package/src/components/SpaceGenerator/SpaceGenerator.stories.tsx +0 -52
  184. package/src/components/SpaceGenerator/SpaceGenerator.tsx +0 -122
  185. /package/dist/types/src/components/{SpaceGenerator → SchemaTable}/SchemaTable.d.ts +0 -0
  186. /package/dist/types/src/{components → containers/DebugStatus}/DebugStatus.d.ts +0 -0
  187. /package/src/components/{SpaceGenerator → SchemaTable}/SchemaTable.tsx +0 -0
  188. /package/src/{components → containers/DebugStatus}/DebugStatus.tsx +0 -0
@@ -0,0 +1,625 @@
1
+ import {
2
+ Devtools
3
+ } from "./chunk-4UFQXPP7.mjs";
4
+ import {
5
+ meta
6
+ } from "./chunk-A5H5GRV6.mjs";
7
+
8
+ // src/capabilities/app-graph-builder/app-graph-builder.ts
9
+ import * as Effect from "effect/Effect";
10
+ import { Capability } from "@dxos/app-framework";
11
+ import { AppCapabilities } from "@dxos/app-toolkit";
12
+ import { Obj } from "@dxos/echo";
13
+ import { ClientCapabilities } from "@dxos/plugin-client";
14
+ import { ATTENDABLE_PATH_SEPARATOR, DECK_COMPANION_TYPE, PLANK_COMPANION_TYPE } from "@dxos/plugin-deck/types";
15
+ import { GraphBuilder, Node, NodeMatcher } from "@dxos/plugin-graph";
16
+ import { meta as spaceMeta } from "@dxos/plugin-space";
17
+ import { parseId } from "@dxos/react-client/echo";
18
+ var DEVTOOLS_TYPE = `${meta.id}/devtools`;
19
+ var app_graph_builder_default = Capability.makeModule(Effect.fnUntraced(function* () {
20
+ const extensions = yield* Effect.all([
21
+ // Devtools node.
22
+ GraphBuilder.createExtension({
23
+ id: `${meta.id}/devtools`,
24
+ match: NodeMatcher.whenAny(NodeMatcher.whenRoot, NodeMatcher.whenNodeType(`${spaceMeta.id}/settings`)),
25
+ connector: (node, get) => Effect.gen(function* () {
26
+ const client = yield* Capability.get(ClientCapabilities.Client);
27
+ const layoutAtom = get(yield* Capability.atom(AppCapabilities.Layout))[0];
28
+ const layout = layoutAtom ? get(layoutAtom) : void 0;
29
+ const { spaceId } = parseId(layout?.workspace);
30
+ const space = spaceId ? client.spaces.get(spaceId) : void 0;
31
+ const [graph] = get(yield* Capability.atom(AppCapabilities.AppGraph));
32
+ return [
33
+ {
34
+ id: `${Devtools.id}-${node.id}`,
35
+ data: null,
36
+ type: DEVTOOLS_TYPE,
37
+ properties: {
38
+ label: [
39
+ "devtools label",
40
+ {
41
+ ns: meta.id
42
+ }
43
+ ],
44
+ icon: "ph--hammer--regular",
45
+ disposition: "pin-end",
46
+ position: "fallback"
47
+ },
48
+ nodes: [
49
+ ...space && node.type === `${spaceMeta.id}/settings` ? [
50
+ {
51
+ id: `debug-${node.id}`,
52
+ type: `${meta.id}/space`,
53
+ data: {
54
+ space,
55
+ type: `${meta.id}/space`
56
+ },
57
+ properties: {
58
+ label: [
59
+ "debug label",
60
+ {
61
+ ns: meta.id
62
+ }
63
+ ],
64
+ icon: "ph--bug--regular"
65
+ }
66
+ }
67
+ ] : [],
68
+ {
69
+ id: `app-graph-${node.id}`,
70
+ type: `${meta.id}/app-graph`,
71
+ data: {
72
+ graph: graph?.graph,
73
+ root: space ? space.id : Node.RootId
74
+ },
75
+ properties: {
76
+ label: [
77
+ "debug app graph label",
78
+ {
79
+ ns: meta.id
80
+ }
81
+ ],
82
+ icon: "ph--graph--regular"
83
+ }
84
+ },
85
+ {
86
+ id: `${Devtools.Client.id}-${node.id}`,
87
+ data: null,
88
+ type: DEVTOOLS_TYPE,
89
+ properties: {
90
+ label: [
91
+ "client label",
92
+ {
93
+ ns: meta.id
94
+ }
95
+ ],
96
+ icon: "ph--users--regular"
97
+ },
98
+ nodes: [
99
+ {
100
+ id: `${Devtools.Client.Config}-${node.id}`,
101
+ data: Devtools.Client.Config,
102
+ type: DEVTOOLS_TYPE,
103
+ properties: {
104
+ label: [
105
+ "config label",
106
+ {
107
+ ns: meta.id
108
+ }
109
+ ],
110
+ icon: "ph--gear--regular"
111
+ }
112
+ },
113
+ {
114
+ id: `${Devtools.Client.Storage}-${node.id}`,
115
+ data: Devtools.Client.Storage,
116
+ type: DEVTOOLS_TYPE,
117
+ properties: {
118
+ label: [
119
+ "storage label",
120
+ {
121
+ ns: meta.id
122
+ }
123
+ ],
124
+ icon: "ph--hard-drives--regular"
125
+ }
126
+ },
127
+ {
128
+ id: `${Devtools.Client.Logs}-${node.id}`,
129
+ data: Devtools.Client.Logs,
130
+ type: DEVTOOLS_TYPE,
131
+ properties: {
132
+ label: [
133
+ "logs label",
134
+ {
135
+ ns: meta.id
136
+ }
137
+ ],
138
+ icon: "ph--file-text--regular"
139
+ }
140
+ },
141
+ {
142
+ id: `${Devtools.Client.Diagnostics}-${node.id}`,
143
+ data: Devtools.Client.Diagnostics,
144
+ type: DEVTOOLS_TYPE,
145
+ properties: {
146
+ label: [
147
+ "diagnostics label",
148
+ {
149
+ ns: meta.id
150
+ }
151
+ ],
152
+ icon: "ph--chart-line--regular"
153
+ }
154
+ },
155
+ {
156
+ id: `${Devtools.Client.Tracing}-${node.id}`,
157
+ data: Devtools.Client.Tracing,
158
+ type: DEVTOOLS_TYPE,
159
+ properties: {
160
+ label: [
161
+ "tracing label",
162
+ {
163
+ ns: meta.id
164
+ }
165
+ ],
166
+ icon: "ph--fire--regular"
167
+ }
168
+ }
169
+ ]
170
+ },
171
+ {
172
+ id: `${Devtools.Halo.id}-${node.id}`,
173
+ data: null,
174
+ type: DEVTOOLS_TYPE,
175
+ properties: {
176
+ label: [
177
+ "halo label",
178
+ {
179
+ ns: meta.id
180
+ }
181
+ ],
182
+ icon: "ph--identification-badge--regular"
183
+ },
184
+ nodes: [
185
+ {
186
+ id: `${Devtools.Halo.Identity}-${node.id}`,
187
+ data: Devtools.Halo.Identity,
188
+ type: DEVTOOLS_TYPE,
189
+ properties: {
190
+ label: [
191
+ "identity label",
192
+ {
193
+ ns: meta.id
194
+ }
195
+ ],
196
+ icon: "ph--identification-badge--regular"
197
+ }
198
+ },
199
+ {
200
+ id: `${Devtools.Halo.Devices}-${node.id}`,
201
+ data: Devtools.Halo.Devices,
202
+ type: DEVTOOLS_TYPE,
203
+ properties: {
204
+ label: [
205
+ "devices label",
206
+ {
207
+ ns: meta.id
208
+ }
209
+ ],
210
+ icon: "ph--devices--regular"
211
+ }
212
+ },
213
+ {
214
+ id: `${Devtools.Halo.Keyring}-${node.id}`,
215
+ data: Devtools.Halo.Keyring,
216
+ type: DEVTOOLS_TYPE,
217
+ properties: {
218
+ label: [
219
+ "keyring label",
220
+ {
221
+ ns: meta.id
222
+ }
223
+ ],
224
+ icon: "ph--key--regular"
225
+ }
226
+ },
227
+ {
228
+ id: `${Devtools.Halo.Credentials}-${node.id}`,
229
+ data: Devtools.Halo.Credentials,
230
+ type: DEVTOOLS_TYPE,
231
+ properties: {
232
+ label: [
233
+ "credentials label",
234
+ {
235
+ ns: meta.id
236
+ }
237
+ ],
238
+ icon: "ph--credit-card--regular"
239
+ }
240
+ }
241
+ ]
242
+ },
243
+ {
244
+ id: `${Devtools.Echo.id}-${node.id}`,
245
+ data: null,
246
+ type: DEVTOOLS_TYPE,
247
+ properties: {
248
+ label: [
249
+ "echo label",
250
+ {
251
+ ns: meta.id
252
+ }
253
+ ],
254
+ icon: "ph--database--regular"
255
+ },
256
+ nodes: [
257
+ {
258
+ id: `${Devtools.Echo.Spaces}-${node.id}`,
259
+ data: Devtools.Echo.Spaces,
260
+ type: DEVTOOLS_TYPE,
261
+ properties: {
262
+ label: [
263
+ "spaces label",
264
+ {
265
+ ns: meta.id
266
+ }
267
+ ],
268
+ icon: "ph--graph--regular"
269
+ }
270
+ },
271
+ {
272
+ id: `${Devtools.Echo.Space}-${node.id}`,
273
+ data: Devtools.Echo.Space,
274
+ type: DEVTOOLS_TYPE,
275
+ properties: {
276
+ label: [
277
+ "space label",
278
+ {
279
+ ns: meta.id
280
+ }
281
+ ],
282
+ icon: "ph--planet--regular"
283
+ }
284
+ },
285
+ {
286
+ id: `${Devtools.Echo.Feeds}-${node.id}`,
287
+ data: Devtools.Echo.Feeds,
288
+ type: DEVTOOLS_TYPE,
289
+ properties: {
290
+ label: [
291
+ "feeds label",
292
+ {
293
+ ns: meta.id
294
+ }
295
+ ],
296
+ icon: "ph--list-bullets--regular"
297
+ }
298
+ },
299
+ {
300
+ id: `${Devtools.Echo.Objects}-${node.id}`,
301
+ data: Devtools.Echo.Objects,
302
+ type: DEVTOOLS_TYPE,
303
+ properties: {
304
+ label: [
305
+ "objects label",
306
+ {
307
+ ns: meta.id
308
+ }
309
+ ],
310
+ icon: "ph--cube--regular"
311
+ }
312
+ },
313
+ {
314
+ id: `${Devtools.Echo.Schema}-${node.id}`,
315
+ data: Devtools.Echo.Schema,
316
+ type: DEVTOOLS_TYPE,
317
+ properties: {
318
+ label: [
319
+ "schema label",
320
+ {
321
+ ns: meta.id
322
+ }
323
+ ],
324
+ icon: "ph--database--regular"
325
+ }
326
+ },
327
+ {
328
+ id: `${Devtools.Echo.Automerge}-${node.id}`,
329
+ data: Devtools.Echo.Automerge,
330
+ type: DEVTOOLS_TYPE,
331
+ properties: {
332
+ label: [
333
+ "automerge label",
334
+ {
335
+ ns: meta.id
336
+ }
337
+ ],
338
+ icon: "ph--gear-six--regular"
339
+ }
340
+ },
341
+ {
342
+ id: `${Devtools.Echo.Queues}-${node.id}`,
343
+ data: Devtools.Echo.Queues,
344
+ type: DEVTOOLS_TYPE,
345
+ properties: {
346
+ label: [
347
+ "queues label",
348
+ {
349
+ ns: meta.id
350
+ }
351
+ ],
352
+ icon: "ph--queue--regular"
353
+ }
354
+ },
355
+ {
356
+ id: `${Devtools.Echo.Members}-${node.id}`,
357
+ data: Devtools.Echo.Members,
358
+ type: DEVTOOLS_TYPE,
359
+ properties: {
360
+ label: [
361
+ "members label",
362
+ {
363
+ ns: meta.id
364
+ }
365
+ ],
366
+ icon: "ph--users--regular"
367
+ }
368
+ },
369
+ {
370
+ id: `${Devtools.Echo.Metadata}-${node.id}`,
371
+ data: Devtools.Echo.Metadata,
372
+ type: DEVTOOLS_TYPE,
373
+ properties: {
374
+ label: [
375
+ "metadata label",
376
+ {
377
+ ns: meta.id
378
+ }
379
+ ],
380
+ icon: "ph--hard-drive--regular"
381
+ }
382
+ }
383
+ ]
384
+ },
385
+ {
386
+ id: `${Devtools.Mesh.id}-${node.id}`,
387
+ data: null,
388
+ type: DEVTOOLS_TYPE,
389
+ properties: {
390
+ label: [
391
+ "mesh label",
392
+ {
393
+ ns: meta.id
394
+ }
395
+ ],
396
+ icon: "ph--graph--regular"
397
+ },
398
+ nodes: [
399
+ {
400
+ id: `${Devtools.Mesh.Signal}-${node.id}`,
401
+ data: Devtools.Mesh.Signal,
402
+ type: DEVTOOLS_TYPE,
403
+ properties: {
404
+ label: [
405
+ "signal label",
406
+ {
407
+ ns: meta.id
408
+ }
409
+ ],
410
+ icon: "ph--wifi-high--regular"
411
+ }
412
+ },
413
+ {
414
+ id: `${Devtools.Mesh.Swarm}-${node.id}`,
415
+ data: Devtools.Mesh.Swarm,
416
+ type: DEVTOOLS_TYPE,
417
+ properties: {
418
+ label: [
419
+ "swarm label",
420
+ {
421
+ ns: meta.id
422
+ }
423
+ ],
424
+ icon: "ph--users-three--regular"
425
+ }
426
+ },
427
+ {
428
+ id: `${Devtools.Mesh.Network}-${node.id}`,
429
+ data: Devtools.Mesh.Network,
430
+ type: DEVTOOLS_TYPE,
431
+ properties: {
432
+ label: [
433
+ "network label",
434
+ {
435
+ ns: meta.id
436
+ }
437
+ ],
438
+ icon: "ph--polygon--regular"
439
+ }
440
+ }
441
+ ]
442
+ },
443
+ // TODO(wittjosiah): Remove?
444
+ // {
445
+ // id: `${prefix}-${Devtools.Agent.id}`,
446
+ // data: null,
447
+ // type: DEVTOOLS_TYPE,
448
+ // properties: {
449
+ // label: ['agent label', { ns: meta.id }],
450
+ // icon: 'ph--robot--regular',
451
+ // },
452
+ // nodes: [
453
+ // {
454
+ // id: `${prefix}-${Devtools.Agent.Dashboard}`,
455
+ // data: Devtools.Agent.Dashboard,
456
+ // type: DEVTOOLS_TYPE,
457
+ // properties: {
458
+ // label: ['dashboard label', { ns: meta.id }],
459
+ // icon: 'ph--computer-tower--regular',
460
+ // },
461
+ // },
462
+ // ],
463
+ // },
464
+ {
465
+ id: `${Devtools.Edge.id}-${node.id}`,
466
+ data: null,
467
+ type: DEVTOOLS_TYPE,
468
+ properties: {
469
+ label: [
470
+ "edge label",
471
+ {
472
+ ns: meta.id
473
+ }
474
+ ],
475
+ icon: "ph--cloud--regular"
476
+ },
477
+ nodes: [
478
+ {
479
+ id: `${Devtools.Edge.Dashboard}-${node.id}`,
480
+ data: Devtools.Edge.Dashboard,
481
+ type: DEVTOOLS_TYPE,
482
+ properties: {
483
+ label: [
484
+ "dashboard label",
485
+ {
486
+ ns: meta.id
487
+ }
488
+ ],
489
+ icon: "ph--computer-tower--regular"
490
+ }
491
+ },
492
+ {
493
+ id: `${Devtools.Edge.Workflows}-${node.id}`,
494
+ data: Devtools.Edge.Workflows,
495
+ type: DEVTOOLS_TYPE,
496
+ properties: {
497
+ label: [
498
+ "workflows label",
499
+ {
500
+ ns: meta.id
501
+ }
502
+ ],
503
+ icon: "ph--function--regular"
504
+ }
505
+ },
506
+ {
507
+ id: `${Devtools.Edge.Traces}-${node.id}`,
508
+ data: Devtools.Edge.Traces,
509
+ type: DEVTOOLS_TYPE,
510
+ properties: {
511
+ label: [
512
+ "traces label",
513
+ {
514
+ ns: meta.id
515
+ }
516
+ ],
517
+ icon: "ph--line-segments--regular"
518
+ }
519
+ },
520
+ {
521
+ id: `${Devtools.Edge.Testing}-${node.id}`,
522
+ data: Devtools.Edge.Testing,
523
+ type: DEVTOOLS_TYPE,
524
+ properties: {
525
+ label: [
526
+ "testing label",
527
+ {
528
+ ns: meta.id
529
+ }
530
+ ],
531
+ icon: "ph--flask--regular"
532
+ }
533
+ }
534
+ ]
535
+ }
536
+ ]
537
+ }
538
+ ];
539
+ })
540
+ }),
541
+ // Debug object companion.
542
+ GraphBuilder.createExtension({
543
+ id: `${meta.id}/debug-object`,
544
+ match: NodeMatcher.whenEchoObject,
545
+ connector: (object) => Effect.succeed([
546
+ {
547
+ id: [
548
+ Obj.getDXN(object).toString(),
549
+ "debug"
550
+ ].join(ATTENDABLE_PATH_SEPARATOR),
551
+ type: PLANK_COMPANION_TYPE,
552
+ data: "debug",
553
+ properties: {
554
+ label: [
555
+ "debug label",
556
+ {
557
+ ns: meta.id
558
+ }
559
+ ],
560
+ icon: "ph--bug--regular",
561
+ disposition: "hidden",
562
+ position: "fallback"
563
+ }
564
+ }
565
+ ])
566
+ }),
567
+ // Devtools deck companion.
568
+ GraphBuilder.createExtension({
569
+ id: `${meta.id}/devtools-overview`,
570
+ match: NodeMatcher.whenRoot,
571
+ connector: (node) => Effect.succeed([
572
+ {
573
+ id: [
574
+ node.id,
575
+ "devtools"
576
+ ].join(ATTENDABLE_PATH_SEPARATOR),
577
+ type: DECK_COMPANION_TYPE,
578
+ data: "devtools",
579
+ properties: {
580
+ label: [
581
+ "devtools overview label",
582
+ {
583
+ ns: meta.id
584
+ }
585
+ ],
586
+ icon: "ph--equalizer--regular",
587
+ disposition: "hidden",
588
+ position: "fallback"
589
+ }
590
+ }
591
+ ])
592
+ }),
593
+ // Object explorer.
594
+ GraphBuilder.createExtension({
595
+ id: `${meta.id}/space-objects`,
596
+ match: NodeMatcher.whenRoot,
597
+ connector: (node) => Effect.succeed([
598
+ {
599
+ id: [
600
+ node.id,
601
+ "space-objects"
602
+ ].join(ATTENDABLE_PATH_SEPARATOR),
603
+ type: DECK_COMPANION_TYPE,
604
+ data: "space-objects",
605
+ properties: {
606
+ label: [
607
+ "space objects label",
608
+ {
609
+ ns: meta.id
610
+ }
611
+ ],
612
+ icon: "ph--cube--regular",
613
+ disposition: "hidden",
614
+ position: "fallback"
615
+ }
616
+ }
617
+ ])
618
+ })
619
+ ]);
620
+ return Capability.contributes(AppCapabilities.AppGraphBuilder, extensions);
621
+ }));
622
+ export {
623
+ app_graph_builder_default as default
624
+ };
625
+ //# sourceMappingURL=app-graph-builder-LGUQNXHD.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/app-graph-builder/app-graph-builder.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capability } from '@dxos/app-framework';\nimport { AppCapabilities } from '@dxos/app-toolkit';\nimport { Obj } from '@dxos/echo';\nimport { ClientCapabilities } from '@dxos/plugin-client';\nimport { ATTENDABLE_PATH_SEPARATOR, DECK_COMPANION_TYPE, PLANK_COMPANION_TYPE } from '@dxos/plugin-deck/types';\nimport { GraphBuilder, Node, NodeMatcher } from '@dxos/plugin-graph';\nimport { meta as spaceMeta } from '@dxos/plugin-space';\nimport { parseId } from '@dxos/react-client/echo';\n\nimport { meta } from '../../meta';\nimport { Devtools } from '../../types';\n\nconst DEVTOOLS_TYPE = `${meta.id}/devtools`;\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n const extensions = yield* Effect.all([\n // Devtools node.\n GraphBuilder.createExtension({\n id: `${meta.id}/devtools`,\n match: NodeMatcher.whenAny(NodeMatcher.whenRoot, NodeMatcher.whenNodeType(`${spaceMeta.id}/settings`)),\n connector: (node, get) =>\n Effect.gen(function* () {\n const client = yield* Capability.get(ClientCapabilities.Client);\n const layoutAtom = get(yield* Capability.atom(AppCapabilities.Layout))[0];\n const layout = layoutAtom ? get(layoutAtom) : undefined;\n const { spaceId } = parseId(layout?.workspace);\n const space = spaceId ? client.spaces.get(spaceId) : undefined;\n const [graph] = get(yield* Capability.atom(AppCapabilities.AppGraph));\n\n return [\n {\n id: `${Devtools.id}-${node.id}`,\n data: null,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['devtools label', { ns: meta.id }],\n icon: 'ph--hammer--regular',\n disposition: 'pin-end',\n position: 'fallback',\n },\n nodes: [\n ...(space && node.type === `${spaceMeta.id}/settings`\n ? [\n {\n id: `debug-${node.id}`,\n type: `${meta.id}/space`,\n data: { space, type: `${meta.id}/space` },\n properties: {\n label: ['debug label', { ns: meta.id }],\n icon: 'ph--bug--regular',\n },\n },\n ]\n : []),\n {\n id: `app-graph-${node.id}`,\n type: `${meta.id}/app-graph`,\n data: { graph: graph?.graph, root: space ? space.id : Node.RootId },\n properties: {\n label: ['debug app graph label', { ns: meta.id }],\n icon: 'ph--graph--regular',\n },\n },\n {\n id: `${Devtools.Client.id}-${node.id}`,\n data: null,\n type: DEVTOOLS_TYPE,\n properties: {\n label: ['client label', { ns: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\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: meta.id }],\n icon: 'ph--flask--regular',\n },\n },\n ],\n },\n ],\n },\n ];\n }),\n }),\n\n // Debug object companion.\n GraphBuilder.createExtension({\n id: `${meta.id}/debug-object`,\n match: NodeMatcher.whenEchoObject,\n connector: (object) =>\n Effect.succeed([\n {\n id: [Obj.getDXN(object).toString(), 'debug'].join(ATTENDABLE_PATH_SEPARATOR),\n type: PLANK_COMPANION_TYPE,\n data: 'debug',\n properties: {\n label: ['debug label', { ns: meta.id }],\n icon: 'ph--bug--regular',\n disposition: 'hidden',\n position: 'fallback',\n },\n },\n ]),\n }),\n\n // Devtools deck companion.\n GraphBuilder.createExtension({\n id: `${meta.id}/devtools-overview`,\n match: NodeMatcher.whenRoot,\n connector: (node) =>\n Effect.succeed([\n {\n id: [node.id, 'devtools'].join(ATTENDABLE_PATH_SEPARATOR),\n type: DECK_COMPANION_TYPE,\n data: 'devtools' as const,\n properties: {\n label: ['devtools overview label', { ns: meta.id }],\n icon: 'ph--equalizer--regular',\n disposition: 'hidden',\n position: 'fallback',\n },\n },\n ]),\n }),\n\n // Object explorer.\n GraphBuilder.createExtension({\n id: `${meta.id}/space-objects`,\n match: NodeMatcher.whenRoot,\n connector: (node) =>\n Effect.succeed([\n {\n id: [node.id, 'space-objects'].join(ATTENDABLE_PATH_SEPARATOR),\n type: DECK_COMPANION_TYPE,\n data: 'space-objects' as const,\n properties: {\n label: ['space objects label', { ns: meta.id }],\n icon: 'ph--cube--regular',\n disposition: 'hidden',\n position: 'fallback',\n },\n },\n ]),\n }),\n ]);\n\n return Capability.contributes(AppCapabilities.AppGraphBuilder, extensions);\n }),\n);\n"],
5
+ "mappings": ";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AAIC,OAAOH,MAAAA,EAAQI,SAAQ;YAAI;YAASC,KAAKC,yBAAAA;UAClD/C,MAAMgD;UACNjD,MAAM;UACNE,YAAY;YACVC,OAAO;cAAC;cAAe;gBAAEC,IAAIxC,KAAKC;cAAG;;YACrCwC,MAAM;YACNC,aAAa;YACbC,UAAU;UACZ;QACF;OACD;IACL,CAAA;;IAGApC,aAAaC,gBAAgB;MAC3BP,IAAI,GAAGD,KAAKC,EAAE;MACdQ,OAAOC,YAAYE;MACnBG,WAAW,CAACC,SACH+D,eAAQ;QACb;UACE9E,IAAI;YAACe,KAAKf;YAAI;YAAYkF,KAAKC,yBAAAA;UAC/B/C,MAAMiD;UACNlD,MAAM;UACNE,YAAY;YACVC,OAAO;cAAC;cAA2B;gBAAEC,IAAIxC,KAAKC;cAAG;;YACjDwC,MAAM;YACNC,aAAa;YACbC,UAAU;UACZ;QACF;OACD;IACL,CAAA;;IAGApC,aAAaC,gBAAgB;MAC3BP,IAAI,GAAGD,KAAKC,EAAE;MACdQ,OAAOC,YAAYE;MACnBG,WAAW,CAACC,SACH+D,eAAQ;QACb;UACE9E,IAAI;YAACe,KAAKf;YAAI;YAAiBkF,KAAKC,yBAAAA;UACpC/C,MAAMiD;UACNlD,MAAM;UACNE,YAAY;YACVC,OAAO;cAAC;cAAuB;gBAAEC,IAAIxC,KAAKC;cAAG;;YAC7CwC,MAAM;YACNC,aAAa;YACbC,UAAU;UACZ;QACF;OACD;IACL,CAAA;GACD;AAED,SAAOzC,WAAWqF,YAAY/D,gBAAgBgE,iBAAiBnF,UAAAA;AACjE,CAAA,CAAA;",
6
+ "names": ["Effect", "Capability", "AppCapabilities", "Obj", "ClientCapabilities", "ATTENDABLE_PATH_SEPARATOR", "DECK_COMPANION_TYPE", "PLANK_COMPANION_TYPE", "GraphBuilder", "Node", "NodeMatcher", "meta", "spaceMeta", "parseId", "DEVTOOLS_TYPE", "meta", "id", "Capability", "makeModule", "fnUntraced", "extensions", "all", "GraphBuilder", "createExtension", "match", "NodeMatcher", "whenAny", "whenRoot", "whenNodeType", "spaceMeta", "connector", "node", "get", "gen", "client", "ClientCapabilities", "Client", "layoutAtom", "atom", "AppCapabilities", "Layout", "layout", "undefined", "spaceId", "parseId", "workspace", "space", "spaces", "graph", "AppGraph", "Devtools", "data", "type", "properties", "label", "ns", "icon", "disposition", "position", "nodes", "root", "Node", "RootId", "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", "whenEchoObject", "object", "succeed", "Obj", "getDXN", "toString", "join", "ATTENDABLE_PATH_SEPARATOR", "PLANK_COMPANION_TYPE", "DECK_COMPANION_TYPE", "contributes", "AppGraphBuilder"]
7
+ }