@dxos/plugin-debug 0.9.1-main.c7dcc2e112 → 0.10.0

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 (84) 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/{DebugSettings-WLFIBSRV.mjs → DebugSettings-Q3WUL6YQ.mjs} +34 -28
  4. package/dist/lib/neutral/DebugSettings-Q3WUL6YQ.mjs.map +7 -0
  5. package/dist/lib/neutral/{DebugSpaceObjectsPanel-BHOCFWDJ.mjs → DebugSpaceObjectsPanel-AXFZWEIM.mjs} +5 -3
  6. package/dist/lib/neutral/DebugSpaceObjectsPanel-AXFZWEIM.mjs.map +7 -0
  7. package/dist/lib/neutral/{app-graph-builder-XJHFSODX.mjs → app-graph-builder-UKG4WVYK.mjs} +82 -89
  8. package/dist/lib/neutral/app-graph-builder-UKG4WVYK.mjs.map +7 -0
  9. package/dist/lib/neutral/capabilities/index.mjs +2 -2
  10. package/dist/lib/neutral/chunk-72QXLYMI.mjs +118 -0
  11. package/dist/lib/neutral/chunk-72QXLYMI.mjs.map +7 -0
  12. package/dist/lib/neutral/components/index.mjs +13 -24
  13. package/dist/lib/neutral/components/index.mjs.map +4 -4
  14. package/dist/lib/neutral/containers/index.mjs +4 -2
  15. package/dist/lib/neutral/containers/index.mjs.map +3 -3
  16. package/dist/lib/neutral/index.mjs +3 -3
  17. package/dist/lib/neutral/meta.json +1 -1
  18. package/dist/lib/neutral/{react-surface-MUVRCB3H.mjs → react-surface-URESE7J4.mjs} +73 -16
  19. package/dist/lib/neutral/react-surface-URESE7J4.mjs.map +7 -0
  20. package/dist/lib/neutral/translations.mjs +0 -1
  21. package/dist/lib/neutral/translations.mjs.map +2 -2
  22. package/dist/lib/neutral/types/index.mjs +3 -3
  23. package/dist/types/src/capabilities/app-graph-builder.d.ts +1 -2
  24. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  25. package/dist/types/src/capabilities/react-context.d.ts +1 -6
  26. package/dist/types/src/capabilities/react-context.d.ts.map +1 -1
  27. package/dist/types/src/capabilities/react-surface.d.ts +1 -1
  28. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  29. package/dist/types/src/capabilities/settings.d.ts +1 -3
  30. package/dist/types/src/capabilities/settings.d.ts.map +1 -1
  31. package/dist/types/src/components/SpaceGenerator/presets.d.ts.map +1 -1
  32. package/dist/types/src/components/index.d.ts +0 -2
  33. package/dist/types/src/components/index.d.ts.map +1 -1
  34. package/dist/types/src/containers/DebugObjectPanel/DebugObjectPanel.d.ts +6 -3
  35. package/dist/types/src/containers/DebugObjectPanel/DebugObjectPanel.d.ts.map +1 -1
  36. package/dist/types/src/{components → containers}/DebugSettings/DebugSettings.d.ts +2 -2
  37. package/dist/types/src/containers/DebugSettings/DebugSettings.d.ts.map +1 -0
  38. package/dist/types/src/{components → containers}/DebugSettings/DebugSettings.stories.d.ts +0 -1
  39. package/dist/types/src/{components → containers}/DebugSettings/DebugSettings.stories.d.ts.map +1 -1
  40. package/dist/types/src/{components → containers}/DebugSettings/index.d.ts.map +1 -1
  41. package/dist/types/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.d.ts +6 -2
  42. package/dist/types/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.d.ts.map +1 -1
  43. package/dist/types/src/containers/GithubPanel/GithubComponent.stories.d.ts +0 -1
  44. package/dist/types/src/containers/GithubPanel/GithubComponent.stories.d.ts.map +1 -1
  45. package/dist/types/src/containers/RegistryPanel/index.d.ts +1 -1
  46. package/dist/types/src/containers/RegistryPanel/index.d.ts.map +1 -1
  47. package/dist/types/src/containers/index.d.ts +1 -0
  48. package/dist/types/src/containers/index.d.ts.map +1 -1
  49. package/dist/types/src/meta.d.ts +4 -0
  50. package/dist/types/src/meta.d.ts.map +1 -1
  51. package/dist/types/src/translations.d.ts +0 -1
  52. package/dist/types/src/translations.d.ts.map +1 -1
  53. package/dist/types/src/types/Devtools.d.ts +57 -0
  54. package/dist/types/src/types/Devtools.d.ts.map +1 -0
  55. package/dist/types/src/types/debug.d.ts +20 -0
  56. package/dist/types/src/types/debug.d.ts.map +1 -0
  57. package/dist/types/src/types/index.d.ts +2 -69
  58. package/dist/types/src/types/index.d.ts.map +1 -1
  59. package/dist/types/tsconfig.tsbuildinfo +1 -1
  60. package/package.json +58 -58
  61. package/src/capabilities/app-graph-builder.ts +81 -89
  62. package/src/capabilities/react-surface.tsx +62 -12
  63. package/src/components/SpaceGenerator/presets.ts +10 -13
  64. package/src/components/index.ts +0 -4
  65. package/src/containers/DebugObjectPanel/DebugObjectPanel.tsx +13 -4
  66. package/src/{components → containers}/DebugSettings/DebugSettings.stories.tsx +1 -1
  67. package/src/{components → containers}/DebugSettings/DebugSettings.tsx +97 -95
  68. package/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.tsx +12 -4
  69. package/src/containers/RegistryPanel/index.ts +1 -1
  70. package/src/containers/index.ts +1 -0
  71. package/src/translations.ts +0 -1
  72. package/src/types/Devtools.ts +73 -0
  73. package/src/types/debug.ts +35 -0
  74. package/src/types/index.ts +2 -90
  75. package/dist/lib/neutral/DebugObjectPanel-OS65NC4M.mjs.map +0 -7
  76. package/dist/lib/neutral/DebugSettings-WLFIBSRV.mjs.map +0 -7
  77. package/dist/lib/neutral/DebugSpaceObjectsPanel-BHOCFWDJ.mjs.map +0 -7
  78. package/dist/lib/neutral/app-graph-builder-XJHFSODX.mjs.map +0 -7
  79. package/dist/lib/neutral/chunk-MIF2W4LF.mjs +0 -96
  80. package/dist/lib/neutral/chunk-MIF2W4LF.mjs.map +0 -7
  81. package/dist/lib/neutral/react-surface-MUVRCB3H.mjs.map +0 -7
  82. package/dist/types/src/components/DebugSettings/DebugSettings.d.ts.map +0 -1
  83. /package/dist/types/src/{components → containers}/DebugSettings/index.d.ts +0 -0
  84. /package/src/{components → containers}/DebugSettings/index.ts +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-debug",
3
- "version": "0.9.1-main.c7dcc2e112",
3
+ "version": "0.10.0",
4
4
  "description": "DXOS Surface plugin for testing.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -86,71 +86,71 @@
86
86
  "@effect-atom/atom-react": "^0.5.0",
87
87
  "@tldraw/tldraw": "^3.0.0",
88
88
  "react-resize-detector": "^11.0.1",
89
- "@dxos/app-framework": "0.9.1-main.c7dcc2e112",
90
- "@dxos/app-toolkit": "0.9.1-main.c7dcc2e112",
91
- "@dxos/async": "0.9.1-main.c7dcc2e112",
92
- "@dxos/compute": "0.9.1-main.c7dcc2e112",
93
- "@dxos/assistant-toolkit": "0.9.1-main.c7dcc2e112",
94
- "@dxos/compute-hyperformula": "0.9.1-main.c7dcc2e112",
95
- "@dxos/client-services": "0.9.1-main.c7dcc2e112",
96
- "@dxos/config": "0.9.1-main.c7dcc2e112",
97
- "@dxos/conductor": "0.9.1-main.c7dcc2e112",
98
- "@dxos/devtools": "0.9.1-main.c7dcc2e112",
99
- "@dxos/echo": "0.9.1-main.c7dcc2e112",
100
- "@dxos/echo-host": "0.9.1-main.c7dcc2e112",
101
- "@dxos/invariant": "0.9.1-main.c7dcc2e112",
102
- "@dxos/effect": "0.9.1-main.c7dcc2e112",
103
- "@dxos/keys": "0.9.1-main.c7dcc2e112",
104
- "@dxos/log": "0.9.1-main.c7dcc2e112",
105
- "@dxos/log-store-idb": "0.9.1-main.c7dcc2e112",
106
- "@dxos/operation": "0.9.1-main.c7dcc2e112",
107
- "@dxos/plugin-client": "0.9.1-main.c7dcc2e112",
108
- "@dxos/plugin-graph": "0.9.1-main.c7dcc2e112",
109
- "@dxos/plugin-markdown": "0.9.1-main.c7dcc2e112",
110
- "@dxos/plugin-inbox": "0.9.1-main.c7dcc2e112",
111
- "@dxos/plugin-sheet": "0.9.1-main.c7dcc2e112",
112
- "@dxos/plugin-sketch": "0.9.1-main.c7dcc2e112",
113
- "@dxos/plugin-space": "0.9.1-main.c7dcc2e112",
114
- "@dxos/protocols": "0.9.1-main.c7dcc2e112",
115
- "@dxos/random": "0.9.1-main.c7dcc2e112",
116
- "@dxos/react-client": "0.9.1-main.c7dcc2e112",
117
- "@dxos/react-ui-attention": "0.9.1-main.c7dcc2e112",
118
- "@dxos/plugin-status-bar": "0.9.1-main.c7dcc2e112",
119
- "@dxos/plugin-script": "0.9.1-main.c7dcc2e112",
120
- "@dxos/react-ui-canvas-compute": "0.9.1-main.c7dcc2e112",
121
- "@dxos/react-ui-canvas-editor": "0.9.1-main.c7dcc2e112",
122
- "@dxos/react-ui-form": "0.9.1-main.c7dcc2e112",
123
- "@dxos/react-ui-introspect": "0.9.1-main.c7dcc2e112",
124
- "@dxos/react-ui-syntax-highlighter": "0.9.1-main.c7dcc2e112",
125
- "@dxos/react-ui-table": "0.9.1-main.c7dcc2e112",
126
- "@dxos/tracing": "0.9.1-main.c7dcc2e112",
127
- "@dxos/schema": "0.9.1-main.c7dcc2e112",
128
- "@dxos/util": "0.9.1-main.c7dcc2e112",
129
- "@dxos/types": "0.9.1-main.c7dcc2e112"
89
+ "@dxos/app-framework": "0.10.0",
90
+ "@dxos/app-toolkit": "0.10.0",
91
+ "@dxos/assistant-toolkit": "0.10.0",
92
+ "@dxos/async": "0.10.0",
93
+ "@dxos/compute": "0.10.0",
94
+ "@dxos/client-services": "0.10.0",
95
+ "@dxos/compute-hyperformula": "0.10.0",
96
+ "@dxos/conductor": "0.10.0",
97
+ "@dxos/config": "0.10.0",
98
+ "@dxos/devtools": "0.10.0",
99
+ "@dxos/echo-host": "0.10.0",
100
+ "@dxos/effect": "0.10.0",
101
+ "@dxos/invariant": "0.10.0",
102
+ "@dxos/keys": "0.10.0",
103
+ "@dxos/echo": "0.10.0",
104
+ "@dxos/operation": "0.10.0",
105
+ "@dxos/plugin-graph": "0.10.0",
106
+ "@dxos/log-store-idb": "0.10.0",
107
+ "@dxos/log": "0.10.0",
108
+ "@dxos/plugin-markdown": "0.10.0",
109
+ "@dxos/plugin-inbox": "0.10.0",
110
+ "@dxos/plugin-sheet": "0.10.0",
111
+ "@dxos/plugin-script": "0.10.0",
112
+ "@dxos/plugin-sketch": "0.10.0",
113
+ "@dxos/plugin-space": "0.10.0",
114
+ "@dxos/plugin-status-bar": "0.10.0",
115
+ "@dxos/protocols": "0.10.0",
116
+ "@dxos/random": "0.10.0",
117
+ "@dxos/react-client": "0.10.0",
118
+ "@dxos/react-ui-attention": "0.10.0",
119
+ "@dxos/plugin-client": "0.10.0",
120
+ "@dxos/react-ui-canvas-compute": "0.10.0",
121
+ "@dxos/react-ui-form": "0.10.0",
122
+ "@dxos/react-ui-introspect": "0.10.0",
123
+ "@dxos/react-ui-table": "0.10.0",
124
+ "@dxos/react-ui-canvas-editor": "0.10.0",
125
+ "@dxos/react-ui-syntax-highlighter": "0.10.0",
126
+ "@dxos/schema": "0.10.0",
127
+ "@dxos/tracing": "0.10.0",
128
+ "@dxos/types": "0.10.0",
129
+ "@dxos/util": "0.10.0"
130
130
  },
131
131
  "devDependencies": {
132
132
  "@effect-atom/atom-react": "^0.5.0",
133
- "@effect/platform": "0.96.1",
134
- "@types/react": "~19.2.7",
133
+ "@effect/platform": "0.96.2",
134
+ "@types/react": "~19.2.17",
135
135
  "@types/react-dom": "~19.2.3",
136
- "effect": "3.21.3",
137
- "react": "~19.2.3",
138
- "react-dom": "~19.2.3",
136
+ "effect": "3.21.4",
137
+ "react": "~19.2.7",
138
+ "react-dom": "~19.2.7",
139
139
  "vite": "^8.0.16",
140
- "@dxos/plugin-testing": "0.9.1-main.c7dcc2e112",
141
- "@dxos/storybook-utils": "0.9.1-main.c7dcc2e112",
142
- "@dxos/react-ui": "0.9.1-main.c7dcc2e112",
143
- "@dxos/ui-theme": "0.9.1-main.c7dcc2e112"
140
+ "@dxos/react-ui": "0.10.0",
141
+ "@dxos/storybook-utils": "0.10.0",
142
+ "@dxos/ui-theme": "0.10.0",
143
+ "@dxos/plugin-testing": "0.10.0"
144
144
  },
145
145
  "peerDependencies": {
146
146
  "@effect-atom/atom-react": "^0.5.0",
147
- "@effect/platform": "0.96.1",
148
- "effect": "3.21.3",
149
- "react": "~19.2.3",
150
- "react-dom": "~19.2.3",
151
- "@dxos/react-ui": "0.9.1-main.c7dcc2e112",
152
- "@dxos/ui-theme": "0.9.1-main.c7dcc2e112",
153
- "@dxos/random": "0.9.1-main.c7dcc2e112"
147
+ "@effect/platform": "0.96.2",
148
+ "effect": "3.21.4",
149
+ "react": "~19.2.7",
150
+ "react-dom": "~19.2.7",
151
+ "@dxos/random": "0.10.0",
152
+ "@dxos/react-ui": "0.10.0",
153
+ "@dxos/ui-theme": "0.10.0"
154
154
  },
155
155
  "publishConfig": {
156
156
  "access": "public"
@@ -5,17 +5,14 @@
5
5
  import * as Effect from 'effect/Effect';
6
6
 
7
7
  import { Capability } from '@dxos/app-framework';
8
- import { AppCapabilities, AppNode, Paths } from '@dxos/app-toolkit';
9
- import { ClientCapabilities } from '@dxos/plugin-client';
8
+ import { AppCapabilities, AppNode, AppNodeMatcher, Paths } from '@dxos/app-toolkit';
10
9
  import { GraphBuilder, Node, NodeMatcher } from '@dxos/plugin-graph';
11
- import { SPACE_TYPE } from '@dxos/plugin-space';
12
- import { getParentId } from '@dxos/react-ui-attention';
10
+ import { type Space, isSpace } from '@dxos/react-client/echo';
11
+ import { Position } from '@dxos/util';
13
12
 
14
13
  import { meta } from '#meta';
15
14
  import { Devtools } from '#types';
16
15
 
17
- const DEVTOOLS_TYPE = `${meta.profile.key}.devtools`;
18
-
19
16
  export default Capability.makeModule(
20
17
  Effect.fnUntraced(function* () {
21
18
  const extensions = yield* Effect.all([
@@ -40,50 +37,45 @@ export default Capability.makeModule(
40
37
 
41
38
  GraphBuilder.createExtension({
42
39
  id: 'devtools',
43
- match: NodeMatcher.whenAny(NodeMatcher.whenRoot, NodeMatcher.whenNodeType(SPACE_TYPE)),
44
- connector: (node, get) =>
40
+ match: NodeMatcher.whenAny(NodeMatcher.whenRoot, AppNodeMatcher.whenNavTreeGroup(Paths.GroupTypes.system)),
41
+ connector: (nodeOrSpace: Node.Node | Space, get) =>
45
42
  Effect.gen(function* () {
46
- const client = yield* Capability.get(ClientCapabilities.Client);
47
- const layoutAtom = get(yield* Capability.atom(AppCapabilities.Layout))[0];
48
- const layout = layoutAtom ? get(layoutAtom) : undefined;
49
- const spaceId = layout?.workspace ? Paths.getSpaceIdFromPath(layout.workspace) : undefined;
50
- const space = spaceId ? client.spaces.get(spaceId) : undefined;
43
+ const space: Space | undefined = isSpace(nodeOrSpace) ? nodeOrSpace : undefined;
51
44
  const [graph] = get(yield* Capability.atom(AppCapabilities.AppGraph));
52
45
 
53
46
  return [
54
47
  Node.make({
55
- id: Devtools.id,
48
+ id: Devtools.nodeId(Devtools.id),
56
49
  data: null,
57
- type: DEVTOOLS_TYPE,
50
+ type: Devtools.id,
58
51
  properties: {
59
52
  label: ['devtools.label', { ns: meta.profile.key }],
60
53
  icon: 'ph--hammer--regular',
61
- disposition: 'pin-end',
62
- position: 'last',
54
+ position: Position.last,
63
55
  },
64
56
  nodes: [
65
57
  Node.make({
66
- id: 'appGraph',
58
+ id: Devtools.nodeId(Devtools.AppGraph),
67
59
  type: `${meta.profile.key}.app-graph`,
68
- data: { graph: graph?.graph, root: node.id === Node.RootId ? node.id : getParentId(node.id) },
60
+ data: { graph: graph?.graph, root: Node.RootId },
69
61
  properties: {
70
62
  label: ['debug-app-graph.label', { ns: meta.profile.key }],
71
63
  icon: 'ph--graph--regular',
72
64
  },
73
65
  }),
74
66
  Node.make({
75
- id: 'toolsExplorer',
67
+ id: Devtools.nodeId(Devtools.ToolsExplorer),
76
68
  data: Devtools.ToolsExplorer,
77
- type: DEVTOOLS_TYPE,
69
+ type: Devtools.id,
78
70
  properties: {
79
71
  label: ['debug-tools-explorer.label', { ns: meta.profile.key }],
80
72
  icon: 'ph--toolbox--regular',
81
73
  },
82
74
  }),
83
- ...(space && node.type === SPACE_TYPE
75
+ ...(space
84
76
  ? [
85
77
  Node.make({
86
- id: 'debug',
78
+ id: Devtools.nodeId(Devtools.Debug),
87
79
  type: `${meta.profile.key}.space`,
88
80
  data: { space, type: `${meta.profile.key}.space` },
89
81
  properties: {
@@ -94,54 +86,54 @@ export default Capability.makeModule(
94
86
  ]
95
87
  : []),
96
88
  Node.make({
97
- id: Devtools.Client.id,
89
+ id: Devtools.nodeId(Devtools.Client.id),
98
90
  data: null,
99
- type: DEVTOOLS_TYPE,
91
+ type: Devtools.id,
100
92
  properties: {
101
93
  label: ['client.label', { ns: meta.profile.key }],
102
94
  icon: 'ph--users--regular',
103
95
  },
104
96
  nodes: [
105
97
  Node.make({
106
- id: Devtools.Client.Config,
98
+ id: Devtools.nodeId(Devtools.Client.Config),
107
99
  data: Devtools.Client.Config,
108
- type: DEVTOOLS_TYPE,
100
+ type: Devtools.id,
109
101
  properties: {
110
102
  label: ['config.label', { ns: meta.profile.key }],
111
103
  icon: 'ph--gear--regular',
112
104
  },
113
105
  }),
114
106
  Node.make({
115
- id: Devtools.Client.Storage,
107
+ id: Devtools.nodeId(Devtools.Client.Storage),
116
108
  data: Devtools.Client.Storage,
117
- type: DEVTOOLS_TYPE,
109
+ type: Devtools.id,
118
110
  properties: {
119
111
  label: ['storage.label', { ns: meta.profile.key }],
120
112
  icon: 'ph--hard-drives--regular',
121
113
  },
122
114
  }),
123
115
  Node.make({
124
- id: Devtools.Client.Sqlite,
116
+ id: Devtools.nodeId(Devtools.Client.Sqlite),
125
117
  data: Devtools.Client.Sqlite,
126
- type: DEVTOOLS_TYPE,
118
+ type: Devtools.id,
127
119
  properties: {
128
120
  label: ['sqlite.label', { ns: meta.profile.key }],
129
121
  icon: 'ph--database--regular',
130
122
  },
131
123
  }),
132
124
  Node.make({
133
- id: Devtools.Client.Logs,
125
+ id: Devtools.nodeId(Devtools.Client.Logs),
134
126
  data: Devtools.Client.Logs,
135
- type: DEVTOOLS_TYPE,
127
+ type: Devtools.id,
136
128
  properties: {
137
129
  label: ['logs.label', { ns: meta.profile.key }],
138
130
  icon: 'ph--file-text--regular',
139
131
  },
140
132
  }),
141
133
  Node.make({
142
- id: Devtools.Client.Diagnostics,
134
+ id: Devtools.nodeId(Devtools.Client.Diagnostics),
143
135
  data: Devtools.Client.Diagnostics,
144
- type: DEVTOOLS_TYPE,
136
+ type: Devtools.id,
145
137
  properties: {
146
138
  label: ['diagnostics.label', { ns: meta.profile.key }],
147
139
  icon: 'ph--chart-line--regular',
@@ -150,45 +142,45 @@ export default Capability.makeModule(
150
142
  ],
151
143
  }),
152
144
  Node.make({
153
- id: Devtools.Halo.id,
145
+ id: Devtools.nodeId(Devtools.Halo.id),
154
146
  data: null,
155
- type: DEVTOOLS_TYPE,
147
+ type: Devtools.id,
156
148
  properties: {
157
149
  label: ['halo.label', { ns: meta.profile.key }],
158
150
  icon: 'ph--identification-badge--regular',
159
151
  },
160
152
  nodes: [
161
153
  Node.make({
162
- id: Devtools.Halo.Identity,
154
+ id: Devtools.nodeId(Devtools.Halo.Identity),
163
155
  data: Devtools.Halo.Identity,
164
- type: DEVTOOLS_TYPE,
156
+ type: Devtools.id,
165
157
  properties: {
166
158
  label: ['identity.label', { ns: meta.profile.key }],
167
159
  icon: 'ph--identification-badge--regular',
168
160
  },
169
161
  }),
170
162
  Node.make({
171
- id: Devtools.Halo.Devices,
163
+ id: Devtools.nodeId(Devtools.Halo.Devices),
172
164
  data: Devtools.Halo.Devices,
173
- type: DEVTOOLS_TYPE,
165
+ type: Devtools.id,
174
166
  properties: {
175
167
  label: ['devices.label', { ns: meta.profile.key }],
176
168
  icon: 'ph--devices--regular',
177
169
  },
178
170
  }),
179
171
  Node.make({
180
- id: Devtools.Halo.Keyring,
172
+ id: Devtools.nodeId(Devtools.Halo.Keyring),
181
173
  data: Devtools.Halo.Keyring,
182
- type: DEVTOOLS_TYPE,
174
+ type: Devtools.id,
183
175
  properties: {
184
176
  label: ['keyring.label', { ns: meta.profile.key }],
185
177
  icon: 'ph--key--regular',
186
178
  },
187
179
  }),
188
180
  Node.make({
189
- id: Devtools.Halo.Credentials,
181
+ id: Devtools.nodeId(Devtools.Halo.Credentials),
190
182
  data: Devtools.Halo.Credentials,
191
- type: DEVTOOLS_TYPE,
183
+ type: Devtools.id,
192
184
  properties: {
193
185
  label: ['credentials.label', { ns: meta.profile.key }],
194
186
  icon: 'ph--credit-card--regular',
@@ -197,99 +189,99 @@ export default Capability.makeModule(
197
189
  ],
198
190
  }),
199
191
  Node.make({
200
- id: Devtools.Echo.id,
192
+ id: Devtools.nodeId(Devtools.Echo.id),
201
193
  data: null,
202
- type: DEVTOOLS_TYPE,
194
+ type: Devtools.id,
203
195
  properties: {
204
196
  label: ['echo.label', { ns: meta.profile.key }],
205
197
  icon: 'ph--database--regular',
206
198
  },
207
199
  nodes: [
208
200
  Node.make({
209
- id: Devtools.Echo.Spaces,
201
+ id: Devtools.nodeId(Devtools.Echo.Spaces),
210
202
  data: Devtools.Echo.Spaces,
211
- type: DEVTOOLS_TYPE,
203
+ type: Devtools.id,
212
204
  properties: {
213
205
  label: ['spaces.label', { ns: meta.profile.key }],
214
206
  icon: 'ph--graph--regular',
215
207
  },
216
208
  }),
217
209
  Node.make({
218
- id: Devtools.Echo.Space,
210
+ id: Devtools.nodeId(Devtools.Echo.Space),
219
211
  data: Devtools.Echo.Space,
220
- type: DEVTOOLS_TYPE,
212
+ type: Devtools.id,
221
213
  properties: {
222
214
  label: ['space.label', { ns: meta.profile.key }],
223
215
  icon: 'ph--planet--regular',
224
216
  },
225
217
  }),
226
218
  Node.make({
227
- id: Devtools.Echo.Feeds,
219
+ id: Devtools.nodeId(Devtools.Echo.Feeds),
228
220
  data: Devtools.Echo.Feeds,
229
- type: DEVTOOLS_TYPE,
221
+ type: Devtools.id,
230
222
  properties: {
231
223
  label: ['feeds.label', { ns: meta.profile.key }],
232
224
  icon: 'ph--list-bullets--regular',
233
225
  },
234
226
  }),
235
227
  Node.make({
236
- id: Devtools.Echo.Objects,
228
+ id: Devtools.nodeId(Devtools.Echo.Objects),
237
229
  data: Devtools.Echo.Objects,
238
- type: DEVTOOLS_TYPE,
230
+ type: Devtools.id,
239
231
  properties: {
240
232
  label: ['objects.label', { ns: meta.profile.key }],
241
233
  icon: 'ph--cube--regular',
242
234
  },
243
235
  }),
244
236
  Node.make({
245
- id: Devtools.Echo.Schema,
237
+ id: Devtools.nodeId(Devtools.Echo.Schema),
246
238
  data: Devtools.Echo.Schema,
247
- type: DEVTOOLS_TYPE,
239
+ type: Devtools.id,
248
240
  properties: {
249
241
  label: ['schema.label', { ns: meta.profile.key }],
250
242
  icon: 'ph--database--regular',
251
243
  },
252
244
  }),
253
245
  Node.make({
254
- id: Devtools.Echo.Registry,
246
+ id: Devtools.nodeId(Devtools.Echo.Registry),
255
247
  data: Devtools.Echo.Registry,
256
- type: DEVTOOLS_TYPE,
248
+ type: Devtools.id,
257
249
  properties: {
258
250
  label: ['registry.label', { ns: meta.profile.key }],
259
251
  icon: 'ph--books--regular',
260
252
  },
261
253
  }),
262
254
  Node.make({
263
- id: Devtools.Echo.Automerge,
255
+ id: Devtools.nodeId(Devtools.Echo.Automerge),
264
256
  data: Devtools.Echo.Automerge,
265
- type: DEVTOOLS_TYPE,
257
+ type: Devtools.id,
266
258
  properties: {
267
259
  label: ['automerge.label', { ns: meta.profile.key }],
268
260
  icon: 'ph--gear-six--regular',
269
261
  },
270
262
  }),
271
263
  Node.make({
272
- id: Devtools.Echo.Queues,
264
+ id: Devtools.nodeId(Devtools.Echo.Queues),
273
265
  data: Devtools.Echo.Queues,
274
- type: DEVTOOLS_TYPE,
266
+ type: Devtools.id,
275
267
  properties: {
276
268
  label: ['queues.label', { ns: meta.profile.key }],
277
269
  icon: 'ph--queue--regular',
278
270
  },
279
271
  }),
280
272
  Node.make({
281
- id: Devtools.Echo.Members,
273
+ id: Devtools.nodeId(Devtools.Echo.Members),
282
274
  data: Devtools.Echo.Members,
283
- type: DEVTOOLS_TYPE,
275
+ type: Devtools.id,
284
276
  properties: {
285
277
  label: ['members.label', { ns: meta.profile.key }],
286
278
  icon: 'ph--users--regular',
287
279
  },
288
280
  }),
289
281
  Node.make({
290
- id: Devtools.Echo.Metadata,
282
+ id: Devtools.nodeId(Devtools.Echo.Metadata),
291
283
  data: Devtools.Echo.Metadata,
292
- type: DEVTOOLS_TYPE,
284
+ type: Devtools.id,
293
285
  properties: {
294
286
  label: ['metadata.label', { ns: meta.profile.key }],
295
287
  icon: 'ph--hard-drive--regular',
@@ -298,36 +290,36 @@ export default Capability.makeModule(
298
290
  ],
299
291
  }),
300
292
  Node.make({
301
- id: Devtools.Mesh.id,
293
+ id: Devtools.nodeId(Devtools.Mesh.id),
302
294
  data: null,
303
- type: DEVTOOLS_TYPE,
295
+ type: Devtools.id,
304
296
  properties: {
305
297
  label: ['mesh.label', { ns: meta.profile.key }],
306
298
  icon: 'ph--graph--regular',
307
299
  },
308
300
  nodes: [
309
301
  Node.make({
310
- id: Devtools.Mesh.Signal,
302
+ id: Devtools.nodeId(Devtools.Mesh.Signal),
311
303
  data: Devtools.Mesh.Signal,
312
- type: DEVTOOLS_TYPE,
304
+ type: Devtools.id,
313
305
  properties: {
314
306
  label: ['signal.label', { ns: meta.profile.key }],
315
307
  icon: 'ph--wifi-high--regular',
316
308
  },
317
309
  }),
318
310
  Node.make({
319
- id: Devtools.Mesh.Swarm,
311
+ id: Devtools.nodeId(Devtools.Mesh.Swarm),
320
312
  data: Devtools.Mesh.Swarm,
321
- type: DEVTOOLS_TYPE,
313
+ type: Devtools.id,
322
314
  properties: {
323
315
  label: ['swarm.label', { ns: meta.profile.key }],
324
316
  icon: 'ph--users-three--regular',
325
317
  },
326
318
  }),
327
319
  Node.make({
328
- id: Devtools.Mesh.Network,
320
+ id: Devtools.nodeId(Devtools.Mesh.Network),
329
321
  data: Devtools.Mesh.Network,
330
- type: DEVTOOLS_TYPE,
322
+ type: Devtools.id,
331
323
  properties: {
332
324
  label: ['network.label', { ns: meta.profile.key }],
333
325
  icon: 'ph--polygon--regular',
@@ -336,45 +328,45 @@ export default Capability.makeModule(
336
328
  ],
337
329
  }),
338
330
  Node.make({
339
- id: Devtools.Edge.id,
331
+ id: Devtools.nodeId(Devtools.Edge.id),
340
332
  data: null,
341
- type: DEVTOOLS_TYPE,
333
+ type: Devtools.id,
342
334
  properties: {
343
335
  label: ['edge.label', { ns: meta.profile.key }],
344
336
  icon: 'ph--cloud--regular',
345
337
  },
346
338
  nodes: [
347
339
  Node.make({
348
- id: Devtools.Edge.Dashboard,
340
+ id: Devtools.nodeId(Devtools.Edge.Dashboard),
349
341
  data: Devtools.Edge.Dashboard,
350
- type: DEVTOOLS_TYPE,
342
+ type: Devtools.id,
351
343
  properties: {
352
344
  label: ['dashboard.label', { ns: meta.profile.key }],
353
345
  icon: 'ph--computer-tower--regular',
354
346
  },
355
347
  }),
356
348
  Node.make({
357
- id: Devtools.Edge.Workflows,
349
+ id: Devtools.nodeId(Devtools.Edge.Workflows),
358
350
  data: Devtools.Edge.Workflows,
359
- type: DEVTOOLS_TYPE,
351
+ type: Devtools.id,
360
352
  properties: {
361
353
  label: ['workflows.label', { ns: meta.profile.key }],
362
354
  icon: 'ph--function--regular',
363
355
  },
364
356
  }),
365
357
  Node.make({
366
- id: Devtools.Edge.Traces,
358
+ id: Devtools.nodeId(Devtools.Edge.Traces),
367
359
  data: Devtools.Edge.Traces,
368
- type: DEVTOOLS_TYPE,
360
+ type: Devtools.id,
369
361
  properties: {
370
362
  label: ['traces.label', { ns: meta.profile.key }],
371
363
  icon: 'ph--line-segments--regular',
372
364
  },
373
365
  }),
374
366
  Node.make({
375
- id: Devtools.Edge.Testing,
367
+ id: Devtools.nodeId(Devtools.Edge.Testing),
376
368
  data: Devtools.Edge.Testing,
377
- type: DEVTOOLS_TYPE,
369
+ type: Devtools.id,
378
370
  properties: {
379
371
  label: ['testing.label', { ns: meta.profile.key }],
380
372
  icon: 'ph--flask--regular',
@@ -399,7 +391,7 @@ export default Capability.makeModule(
399
391
  label: ['debug.label', { ns: meta.profile.key }],
400
392
  icon: 'ph--bug--regular',
401
393
  data: 'debug',
402
- position: 'last',
394
+ position: Position.last,
403
395
  }),
404
396
  ]),
405
397
  }),
@@ -411,11 +403,11 @@ export default Capability.makeModule(
411
403
  connector: () =>
412
404
  Effect.succeed([
413
405
  AppNode.makeDeckCompanion({
414
- id: 'devtools',
406
+ id: 'devtoolsOverview',
415
407
  label: ['devtools-overview.label', { ns: meta.profile.key }],
416
408
  icon: 'ph--equalizer--regular',
417
409
  data: 'devtools' as const,
418
- position: 'last',
410
+ position: Position.last,
419
411
  }),
420
412
  ]),
421
413
  }),
@@ -431,7 +423,7 @@ export default Capability.makeModule(
431
423
  label: ['space-objects.label', { ns: meta.profile.key }],
432
424
  icon: 'ph--cube--regular',
433
425
  data: 'space-objects' as const,
434
- position: 'last',
426
+ position: Position.last,
435
427
  }),
436
428
  ]),
437
429
  }),