@dxos/plugin-debug 0.8.4-main.7996785055 → 0.8.4-main.8baae0fced

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