@dxos/plugin-debug 0.9.0 → 0.9.1-main.c7dcc2e112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/neutral/DebugPlugin.mjs +2 -2
- package/dist/lib/neutral/DebugPlugin.mjs.map +4 -4
- package/dist/lib/neutral/{DebugSettings-RKYNQIKH.mjs → DebugSettings-WLFIBSRV.mjs} +5 -5
- package/dist/lib/neutral/DebugSettings-WLFIBSRV.mjs.map +7 -0
- package/dist/lib/neutral/{DevtoolsOverviewContainer-YX7Z3D2H.mjs → DevtoolsOverviewContainer-DWQHTK7D.mjs} +3 -2
- package/dist/lib/neutral/DevtoolsOverviewContainer-DWQHTK7D.mjs.map +7 -0
- package/dist/lib/neutral/{GithubPanel-QJKDJRVQ.mjs → GithubPanel-4CSJRVKE.mjs} +3 -3
- package/dist/lib/neutral/GithubPanel-4CSJRVKE.mjs.map +7 -0
- package/dist/lib/neutral/{app-graph-builder-4OJQQLSH.mjs → app-graph-builder-XJHFSODX.mjs} +46 -46
- package/dist/lib/neutral/app-graph-builder-XJHFSODX.mjs.map +7 -0
- package/dist/lib/neutral/capabilities/index.mjs +4 -4
- package/dist/lib/neutral/{chunk-TAST3Y2C.mjs → chunk-MIF2W4LF.mjs} +8 -3
- package/dist/lib/neutral/chunk-MIF2W4LF.mjs.map +7 -0
- package/dist/lib/neutral/chunk-R5C4CKOF.mjs +54 -0
- package/dist/lib/neutral/chunk-R5C4CKOF.mjs.map +7 -0
- package/dist/lib/neutral/components/index.mjs +1 -1
- package/dist/lib/neutral/containers/index.mjs +2 -2
- package/dist/lib/neutral/index.mjs +4 -2
- package/dist/lib/neutral/meta.json +1 -1
- package/dist/lib/neutral/meta.mjs +1 -1
- package/dist/lib/neutral/plugin.mjs +1 -1
- package/dist/lib/neutral/{react-context-MUZ3KVLU.mjs → react-context-UJURDOO6.mjs} +2 -2
- package/dist/lib/neutral/{react-context-MUZ3KVLU.mjs.map → react-context-UJURDOO6.mjs.map} +3 -3
- package/dist/lib/neutral/{react-surface-YBC4HK7I.mjs → react-surface-MUVRCB3H.mjs} +19 -22
- package/dist/lib/neutral/react-surface-MUVRCB3H.mjs.map +7 -0
- package/dist/lib/neutral/{settings-MPM6YUP4.mjs → settings-5I2674B6.mjs} +3 -3
- package/dist/lib/neutral/{settings-MPM6YUP4.mjs.map → settings-5I2674B6.mjs.map} +3 -3
- package/dist/lib/neutral/translations.mjs +1 -1
- package/dist/lib/neutral/translations.mjs.map +3 -3
- package/dist/lib/neutral/types/index.mjs +3 -1
- package/dist/types/dx.config.d.ts +28 -0
- package/dist/types/dx.config.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +4 -8
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts +2 -2
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/DebugSettings/DebugSettings.d.ts.map +1 -1
- package/dist/types/src/containers/DevtoolsOverviewContainer/DevtoolsOverviewContainer.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +28 -2
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/types/index.d.ts +1 -0
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/surface.d.ts +4 -0
- package/dist/types/src/types/surface.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dx.config.ts +39 -0
- package/package.json +50 -49
- package/src/DebugPlugin.test.ts +1 -1
- package/src/DebugPlugin.tsx +1 -1
- package/src/capabilities/app-graph-builder.ts +45 -45
- package/src/capabilities/react-context.tsx +1 -1
- package/src/capabilities/react-surface.tsx +23 -21
- package/src/capabilities/settings.ts +2 -2
- package/src/components/DebugSettings/DebugSettings.tsx +4 -4
- package/src/containers/DevtoolsOverviewContainer/DevtoolsOverviewContainer.tsx +3 -1
- package/src/containers/GithubPanel/GithubComponent.tsx +2 -2
- package/src/meta.ts +2 -31
- package/src/translations.ts +1 -1
- package/src/types/index.ts +3 -2
- package/src/types/surface.ts +10 -0
- package/dist/lib/neutral/DebugSettings-RKYNQIKH.mjs.map +0 -7
- package/dist/lib/neutral/DevtoolsOverviewContainer-YX7Z3D2H.mjs.map +0 -7
- package/dist/lib/neutral/GithubPanel-QJKDJRVQ.mjs.map +0 -7
- package/dist/lib/neutral/app-graph-builder-4OJQQLSH.mjs.map +0 -7
- package/dist/lib/neutral/chunk-HOV6MV5B.mjs +0 -43
- package/dist/lib/neutral/chunk-HOV6MV5B.mjs.map +0 -7
- package/dist/lib/neutral/chunk-TAST3Y2C.mjs.map +0 -7
- package/dist/lib/neutral/react-surface-YBC4HK7I.mjs.map +0 -7
package/dx.config.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { Config2 } from '@dxos/app-framework/config';
|
|
6
|
+
import { trim } from '@dxos/util';
|
|
7
|
+
|
|
8
|
+
export default Config2.make({
|
|
9
|
+
plugin: {
|
|
10
|
+
key: 'org.dxos.plugin.debug',
|
|
11
|
+
name: 'Debug',
|
|
12
|
+
author: 'DXOS',
|
|
13
|
+
description: trim`
|
|
14
|
+
DebugPlugin is the developer toolkit for DXOS Composer. It adds a structured Devtools node
|
|
15
|
+
to the navigation graph — grouped into Client, HALO, ECHO, Mesh, and EDGE sub-sections —
|
|
16
|
+
exposing panel views for config, storage, logs, diagnostics, identity, devices, feeds,
|
|
17
|
+
objects, schemas, automerge internals, network topology, EDGE workflows, and invocation
|
|
18
|
+
traces, all driven by the @dxos/devtools component library.
|
|
19
|
+
|
|
20
|
+
The plugin contributes a Debug companion tab to every ECHO object in the deck so developers
|
|
21
|
+
can inspect raw field values and DXNs inline, and a Space Objects companion panel that lists
|
|
22
|
+
all objects in the active space with live reactive updates.
|
|
23
|
+
|
|
24
|
+
Test-data generation is available via a SpaceGenerator article surface: developers can
|
|
25
|
+
create configurable batches of synthetic ECHO objects into any space collection, with a
|
|
26
|
+
status indicator showing when generation is running.
|
|
27
|
+
|
|
28
|
+
Additional utilities include a wireframe overlay mode that draws labelled borders around
|
|
29
|
+
every article and section surface, a log-capture and download facility backed by an
|
|
30
|
+
IdbLogStore, a ToolsExplorer connected to the DXOS MCP introspect service, and a
|
|
31
|
+
globalThis helper for manual storage-version testing.
|
|
32
|
+
`,
|
|
33
|
+
source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/plugin-debug',
|
|
34
|
+
icon: { key: 'ph--bug--regular' },
|
|
35
|
+
spec: 'PLUGIN.mdl',
|
|
36
|
+
tags: ['labs'],
|
|
37
|
+
screenshots: [{ dark: 'https://dxos.network/plugin-details-debug-dark.png' }],
|
|
38
|
+
},
|
|
39
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-debug",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1-main.c7dcc2e112",
|
|
4
4
|
"description": "DXOS Surface plugin for testing.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
"types": "dist/types/src/index.d.ts",
|
|
77
77
|
"files": [
|
|
78
78
|
"dist",
|
|
79
|
+
"dx.config.ts",
|
|
79
80
|
"src",
|
|
80
81
|
"PLUGIN.mdl"
|
|
81
82
|
],
|
|
@@ -85,47 +86,47 @@
|
|
|
85
86
|
"@effect-atom/atom-react": "^0.5.0",
|
|
86
87
|
"@tldraw/tldraw": "^3.0.0",
|
|
87
88
|
"react-resize-detector": "^11.0.1",
|
|
88
|
-
"@dxos/app-framework": "0.9.
|
|
89
|
-
"@dxos/
|
|
90
|
-
"@dxos/
|
|
91
|
-
"@dxos/
|
|
92
|
-
"@dxos/
|
|
93
|
-
"@dxos/compute": "0.9.
|
|
94
|
-
"@dxos/
|
|
95
|
-
"@dxos/
|
|
96
|
-
"@dxos/
|
|
97
|
-
"@dxos/devtools": "0.9.
|
|
98
|
-
"@dxos/echo": "0.9.
|
|
99
|
-
"@dxos/echo-host": "0.9.
|
|
100
|
-
"@dxos/invariant": "0.9.
|
|
101
|
-
"@dxos/
|
|
102
|
-
"@dxos/
|
|
103
|
-
"@dxos/log": "0.9.
|
|
104
|
-
"@dxos/
|
|
105
|
-
"@dxos/
|
|
106
|
-
"@dxos/
|
|
107
|
-
"@dxos/
|
|
108
|
-
"@dxos/plugin-
|
|
109
|
-
"@dxos/plugin-
|
|
110
|
-
"@dxos/plugin-
|
|
111
|
-
"@dxos/plugin-
|
|
112
|
-
"@dxos/plugin-
|
|
113
|
-
"@dxos/
|
|
114
|
-
"@dxos/
|
|
115
|
-
"@dxos/
|
|
116
|
-
"@dxos/react-
|
|
117
|
-
"@dxos/
|
|
118
|
-
"@dxos/
|
|
119
|
-
"@dxos/react-ui-canvas-
|
|
120
|
-
"@dxos/
|
|
121
|
-
"@dxos/react-ui-form": "0.9.
|
|
122
|
-
"@dxos/react-ui-introspect": "0.9.
|
|
123
|
-
"@dxos/react-ui-syntax-highlighter": "0.9.
|
|
124
|
-
"@dxos/react-ui-table": "0.9.
|
|
125
|
-
"@dxos/
|
|
126
|
-
"@dxos/
|
|
127
|
-
"@dxos/util": "0.9.
|
|
128
|
-
"@dxos/types": "0.9.
|
|
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"
|
|
129
130
|
},
|
|
130
131
|
"devDependencies": {
|
|
131
132
|
"@effect-atom/atom-react": "^0.5.0",
|
|
@@ -136,10 +137,10 @@
|
|
|
136
137
|
"react": "~19.2.3",
|
|
137
138
|
"react-dom": "~19.2.3",
|
|
138
139
|
"vite": "^8.0.16",
|
|
139
|
-
"@dxos/plugin-testing": "0.9.
|
|
140
|
-
"@dxos/storybook-utils": "0.9.
|
|
141
|
-
"@dxos/react-ui": "0.9.
|
|
142
|
-
"@dxos/ui-theme": "0.9.
|
|
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"
|
|
143
144
|
},
|
|
144
145
|
"peerDependencies": {
|
|
145
146
|
"@effect-atom/atom-react": "^0.5.0",
|
|
@@ -147,9 +148,9 @@
|
|
|
147
148
|
"effect": "3.21.3",
|
|
148
149
|
"react": "~19.2.3",
|
|
149
150
|
"react-dom": "~19.2.3",
|
|
150
|
-
"@dxos/
|
|
151
|
-
"@dxos/
|
|
152
|
-
"@dxos/
|
|
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"
|
|
153
154
|
},
|
|
154
155
|
"publishConfig": {
|
|
155
156
|
"access": "public"
|
package/src/DebugPlugin.test.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { DebugPlugin } from '#plugin';
|
|
|
11
11
|
|
|
12
12
|
import { meta } from './meta';
|
|
13
13
|
|
|
14
|
-
const moduleId = (name: string) => `${meta.
|
|
14
|
+
const moduleId = (name: string) => `${meta.profile.key}.module.${name}`;
|
|
15
15
|
|
|
16
16
|
describe('DebugPlugin', () => {
|
|
17
17
|
test('modules activate on the expected events', async ({ expect }) => {
|
package/src/DebugPlugin.tsx
CHANGED
|
@@ -34,7 +34,7 @@ export const DebugPlugin = Plugin.define<DebugPluginOptions>(meta).pipe(
|
|
|
34
34
|
activate: () => Effect.sync(() => setupDevtools()),
|
|
35
35
|
}),
|
|
36
36
|
AppPlugin.addPluginAssetModule({
|
|
37
|
-
asset: { pluginId: meta.
|
|
37
|
+
asset: { pluginId: meta.profile.key, path: 'PLUGIN.mdl', content: pluginSpec, mimeType: 'application/x-mdl' },
|
|
38
38
|
}),
|
|
39
39
|
Plugin.make,
|
|
40
40
|
);
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import * as Effect from 'effect/Effect';
|
|
6
6
|
|
|
7
7
|
import { Capability } from '@dxos/app-framework';
|
|
8
|
-
import { AppCapabilities, AppNode,
|
|
8
|
+
import { AppCapabilities, AppNode, Paths } from '@dxos/app-toolkit';
|
|
9
9
|
import { ClientCapabilities } from '@dxos/plugin-client';
|
|
10
10
|
import { GraphBuilder, Node, NodeMatcher } from '@dxos/plugin-graph';
|
|
11
11
|
import { SPACE_TYPE } from '@dxos/plugin-space';
|
|
@@ -14,7 +14,7 @@ import { getParentId } from '@dxos/react-ui-attention';
|
|
|
14
14
|
import { meta } from '#meta';
|
|
15
15
|
import { Devtools } from '#types';
|
|
16
16
|
|
|
17
|
-
const DEVTOOLS_TYPE = `${meta.
|
|
17
|
+
const DEVTOOLS_TYPE = `${meta.profile.key}.devtools`;
|
|
18
18
|
|
|
19
19
|
export default Capability.makeModule(
|
|
20
20
|
Effect.fnUntraced(function* () {
|
|
@@ -31,7 +31,7 @@ export default Capability.makeModule(
|
|
|
31
31
|
window.location.href = '/reset.html#continue';
|
|
32
32
|
}),
|
|
33
33
|
properties: {
|
|
34
|
-
label: ['reset-data.label', { ns: meta.
|
|
34
|
+
label: ['reset-data.label', { ns: meta.profile.key }],
|
|
35
35
|
icon: 'ph--warning--regular',
|
|
36
36
|
},
|
|
37
37
|
}),
|
|
@@ -46,7 +46,7 @@ export default Capability.makeModule(
|
|
|
46
46
|
const client = yield* Capability.get(ClientCapabilities.Client);
|
|
47
47
|
const layoutAtom = get(yield* Capability.atom(AppCapabilities.Layout))[0];
|
|
48
48
|
const layout = layoutAtom ? get(layoutAtom) : undefined;
|
|
49
|
-
const spaceId = layout?.workspace ? getSpaceIdFromPath(layout.workspace) : undefined;
|
|
49
|
+
const spaceId = layout?.workspace ? Paths.getSpaceIdFromPath(layout.workspace) : undefined;
|
|
50
50
|
const space = spaceId ? client.spaces.get(spaceId) : undefined;
|
|
51
51
|
const [graph] = get(yield* Capability.atom(AppCapabilities.AppGraph));
|
|
52
52
|
|
|
@@ -56,7 +56,7 @@ export default Capability.makeModule(
|
|
|
56
56
|
data: null,
|
|
57
57
|
type: DEVTOOLS_TYPE,
|
|
58
58
|
properties: {
|
|
59
|
-
label: ['devtools.label', { ns: meta.
|
|
59
|
+
label: ['devtools.label', { ns: meta.profile.key }],
|
|
60
60
|
icon: 'ph--hammer--regular',
|
|
61
61
|
disposition: 'pin-end',
|
|
62
62
|
position: 'last',
|
|
@@ -64,10 +64,10 @@ export default Capability.makeModule(
|
|
|
64
64
|
nodes: [
|
|
65
65
|
Node.make({
|
|
66
66
|
id: 'appGraph',
|
|
67
|
-
type: `${meta.
|
|
67
|
+
type: `${meta.profile.key}.app-graph`,
|
|
68
68
|
data: { graph: graph?.graph, root: node.id === Node.RootId ? node.id : getParentId(node.id) },
|
|
69
69
|
properties: {
|
|
70
|
-
label: ['debug-app-graph.label', { ns: meta.
|
|
70
|
+
label: ['debug-app-graph.label', { ns: meta.profile.key }],
|
|
71
71
|
icon: 'ph--graph--regular',
|
|
72
72
|
},
|
|
73
73
|
}),
|
|
@@ -76,7 +76,7 @@ export default Capability.makeModule(
|
|
|
76
76
|
data: Devtools.ToolsExplorer,
|
|
77
77
|
type: DEVTOOLS_TYPE,
|
|
78
78
|
properties: {
|
|
79
|
-
label: ['debug-tools-explorer.label', { ns: meta.
|
|
79
|
+
label: ['debug-tools-explorer.label', { ns: meta.profile.key }],
|
|
80
80
|
icon: 'ph--toolbox--regular',
|
|
81
81
|
},
|
|
82
82
|
}),
|
|
@@ -84,10 +84,10 @@ export default Capability.makeModule(
|
|
|
84
84
|
? [
|
|
85
85
|
Node.make({
|
|
86
86
|
id: 'debug',
|
|
87
|
-
type: `${meta.
|
|
88
|
-
data: { space, type: `${meta.
|
|
87
|
+
type: `${meta.profile.key}.space`,
|
|
88
|
+
data: { space, type: `${meta.profile.key}.space` },
|
|
89
89
|
properties: {
|
|
90
|
-
label: ['generate-objects.label', { ns: meta.
|
|
90
|
+
label: ['generate-objects.label', { ns: meta.profile.key }],
|
|
91
91
|
icon: 'ph--dice-five--regular',
|
|
92
92
|
},
|
|
93
93
|
}),
|
|
@@ -98,7 +98,7 @@ export default Capability.makeModule(
|
|
|
98
98
|
data: null,
|
|
99
99
|
type: DEVTOOLS_TYPE,
|
|
100
100
|
properties: {
|
|
101
|
-
label: ['client.label', { ns: meta.
|
|
101
|
+
label: ['client.label', { ns: meta.profile.key }],
|
|
102
102
|
icon: 'ph--users--regular',
|
|
103
103
|
},
|
|
104
104
|
nodes: [
|
|
@@ -107,7 +107,7 @@ export default Capability.makeModule(
|
|
|
107
107
|
data: Devtools.Client.Config,
|
|
108
108
|
type: DEVTOOLS_TYPE,
|
|
109
109
|
properties: {
|
|
110
|
-
label: ['config.label', { ns: meta.
|
|
110
|
+
label: ['config.label', { ns: meta.profile.key }],
|
|
111
111
|
icon: 'ph--gear--regular',
|
|
112
112
|
},
|
|
113
113
|
}),
|
|
@@ -116,7 +116,7 @@ export default Capability.makeModule(
|
|
|
116
116
|
data: Devtools.Client.Storage,
|
|
117
117
|
type: DEVTOOLS_TYPE,
|
|
118
118
|
properties: {
|
|
119
|
-
label: ['storage.label', { ns: meta.
|
|
119
|
+
label: ['storage.label', { ns: meta.profile.key }],
|
|
120
120
|
icon: 'ph--hard-drives--regular',
|
|
121
121
|
},
|
|
122
122
|
}),
|
|
@@ -125,7 +125,7 @@ export default Capability.makeModule(
|
|
|
125
125
|
data: Devtools.Client.Sqlite,
|
|
126
126
|
type: DEVTOOLS_TYPE,
|
|
127
127
|
properties: {
|
|
128
|
-
label: ['sqlite.label', { ns: meta.
|
|
128
|
+
label: ['sqlite.label', { ns: meta.profile.key }],
|
|
129
129
|
icon: 'ph--database--regular',
|
|
130
130
|
},
|
|
131
131
|
}),
|
|
@@ -134,7 +134,7 @@ export default Capability.makeModule(
|
|
|
134
134
|
data: Devtools.Client.Logs,
|
|
135
135
|
type: DEVTOOLS_TYPE,
|
|
136
136
|
properties: {
|
|
137
|
-
label: ['logs.label', { ns: meta.
|
|
137
|
+
label: ['logs.label', { ns: meta.profile.key }],
|
|
138
138
|
icon: 'ph--file-text--regular',
|
|
139
139
|
},
|
|
140
140
|
}),
|
|
@@ -143,7 +143,7 @@ export default Capability.makeModule(
|
|
|
143
143
|
data: Devtools.Client.Diagnostics,
|
|
144
144
|
type: DEVTOOLS_TYPE,
|
|
145
145
|
properties: {
|
|
146
|
-
label: ['diagnostics.label', { ns: meta.
|
|
146
|
+
label: ['diagnostics.label', { ns: meta.profile.key }],
|
|
147
147
|
icon: 'ph--chart-line--regular',
|
|
148
148
|
},
|
|
149
149
|
}),
|
|
@@ -154,7 +154,7 @@ export default Capability.makeModule(
|
|
|
154
154
|
data: null,
|
|
155
155
|
type: DEVTOOLS_TYPE,
|
|
156
156
|
properties: {
|
|
157
|
-
label: ['halo.label', { ns: meta.
|
|
157
|
+
label: ['halo.label', { ns: meta.profile.key }],
|
|
158
158
|
icon: 'ph--identification-badge--regular',
|
|
159
159
|
},
|
|
160
160
|
nodes: [
|
|
@@ -163,7 +163,7 @@ export default Capability.makeModule(
|
|
|
163
163
|
data: Devtools.Halo.Identity,
|
|
164
164
|
type: DEVTOOLS_TYPE,
|
|
165
165
|
properties: {
|
|
166
|
-
label: ['identity.label', { ns: meta.
|
|
166
|
+
label: ['identity.label', { ns: meta.profile.key }],
|
|
167
167
|
icon: 'ph--identification-badge--regular',
|
|
168
168
|
},
|
|
169
169
|
}),
|
|
@@ -172,7 +172,7 @@ export default Capability.makeModule(
|
|
|
172
172
|
data: Devtools.Halo.Devices,
|
|
173
173
|
type: DEVTOOLS_TYPE,
|
|
174
174
|
properties: {
|
|
175
|
-
label: ['devices.label', { ns: meta.
|
|
175
|
+
label: ['devices.label', { ns: meta.profile.key }],
|
|
176
176
|
icon: 'ph--devices--regular',
|
|
177
177
|
},
|
|
178
178
|
}),
|
|
@@ -181,7 +181,7 @@ export default Capability.makeModule(
|
|
|
181
181
|
data: Devtools.Halo.Keyring,
|
|
182
182
|
type: DEVTOOLS_TYPE,
|
|
183
183
|
properties: {
|
|
184
|
-
label: ['keyring.label', { ns: meta.
|
|
184
|
+
label: ['keyring.label', { ns: meta.profile.key }],
|
|
185
185
|
icon: 'ph--key--regular',
|
|
186
186
|
},
|
|
187
187
|
}),
|
|
@@ -190,7 +190,7 @@ export default Capability.makeModule(
|
|
|
190
190
|
data: Devtools.Halo.Credentials,
|
|
191
191
|
type: DEVTOOLS_TYPE,
|
|
192
192
|
properties: {
|
|
193
|
-
label: ['credentials.label', { ns: meta.
|
|
193
|
+
label: ['credentials.label', { ns: meta.profile.key }],
|
|
194
194
|
icon: 'ph--credit-card--regular',
|
|
195
195
|
},
|
|
196
196
|
}),
|
|
@@ -201,7 +201,7 @@ export default Capability.makeModule(
|
|
|
201
201
|
data: null,
|
|
202
202
|
type: DEVTOOLS_TYPE,
|
|
203
203
|
properties: {
|
|
204
|
-
label: ['echo.label', { ns: meta.
|
|
204
|
+
label: ['echo.label', { ns: meta.profile.key }],
|
|
205
205
|
icon: 'ph--database--regular',
|
|
206
206
|
},
|
|
207
207
|
nodes: [
|
|
@@ -210,7 +210,7 @@ export default Capability.makeModule(
|
|
|
210
210
|
data: Devtools.Echo.Spaces,
|
|
211
211
|
type: DEVTOOLS_TYPE,
|
|
212
212
|
properties: {
|
|
213
|
-
label: ['spaces.label', { ns: meta.
|
|
213
|
+
label: ['spaces.label', { ns: meta.profile.key }],
|
|
214
214
|
icon: 'ph--graph--regular',
|
|
215
215
|
},
|
|
216
216
|
}),
|
|
@@ -219,7 +219,7 @@ export default Capability.makeModule(
|
|
|
219
219
|
data: Devtools.Echo.Space,
|
|
220
220
|
type: DEVTOOLS_TYPE,
|
|
221
221
|
properties: {
|
|
222
|
-
label: ['space.label', { ns: meta.
|
|
222
|
+
label: ['space.label', { ns: meta.profile.key }],
|
|
223
223
|
icon: 'ph--planet--regular',
|
|
224
224
|
},
|
|
225
225
|
}),
|
|
@@ -228,7 +228,7 @@ export default Capability.makeModule(
|
|
|
228
228
|
data: Devtools.Echo.Feeds,
|
|
229
229
|
type: DEVTOOLS_TYPE,
|
|
230
230
|
properties: {
|
|
231
|
-
label: ['feeds.label', { ns: meta.
|
|
231
|
+
label: ['feeds.label', { ns: meta.profile.key }],
|
|
232
232
|
icon: 'ph--list-bullets--regular',
|
|
233
233
|
},
|
|
234
234
|
}),
|
|
@@ -237,7 +237,7 @@ export default Capability.makeModule(
|
|
|
237
237
|
data: Devtools.Echo.Objects,
|
|
238
238
|
type: DEVTOOLS_TYPE,
|
|
239
239
|
properties: {
|
|
240
|
-
label: ['objects.label', { ns: meta.
|
|
240
|
+
label: ['objects.label', { ns: meta.profile.key }],
|
|
241
241
|
icon: 'ph--cube--regular',
|
|
242
242
|
},
|
|
243
243
|
}),
|
|
@@ -246,7 +246,7 @@ export default Capability.makeModule(
|
|
|
246
246
|
data: Devtools.Echo.Schema,
|
|
247
247
|
type: DEVTOOLS_TYPE,
|
|
248
248
|
properties: {
|
|
249
|
-
label: ['schema.label', { ns: meta.
|
|
249
|
+
label: ['schema.label', { ns: meta.profile.key }],
|
|
250
250
|
icon: 'ph--database--regular',
|
|
251
251
|
},
|
|
252
252
|
}),
|
|
@@ -255,7 +255,7 @@ export default Capability.makeModule(
|
|
|
255
255
|
data: Devtools.Echo.Registry,
|
|
256
256
|
type: DEVTOOLS_TYPE,
|
|
257
257
|
properties: {
|
|
258
|
-
label: ['registry.label', { ns: meta.
|
|
258
|
+
label: ['registry.label', { ns: meta.profile.key }],
|
|
259
259
|
icon: 'ph--books--regular',
|
|
260
260
|
},
|
|
261
261
|
}),
|
|
@@ -264,7 +264,7 @@ export default Capability.makeModule(
|
|
|
264
264
|
data: Devtools.Echo.Automerge,
|
|
265
265
|
type: DEVTOOLS_TYPE,
|
|
266
266
|
properties: {
|
|
267
|
-
label: ['automerge.label', { ns: meta.
|
|
267
|
+
label: ['automerge.label', { ns: meta.profile.key }],
|
|
268
268
|
icon: 'ph--gear-six--regular',
|
|
269
269
|
},
|
|
270
270
|
}),
|
|
@@ -273,7 +273,7 @@ export default Capability.makeModule(
|
|
|
273
273
|
data: Devtools.Echo.Queues,
|
|
274
274
|
type: DEVTOOLS_TYPE,
|
|
275
275
|
properties: {
|
|
276
|
-
label: ['queues.label', { ns: meta.
|
|
276
|
+
label: ['queues.label', { ns: meta.profile.key }],
|
|
277
277
|
icon: 'ph--queue--regular',
|
|
278
278
|
},
|
|
279
279
|
}),
|
|
@@ -282,7 +282,7 @@ export default Capability.makeModule(
|
|
|
282
282
|
data: Devtools.Echo.Members,
|
|
283
283
|
type: DEVTOOLS_TYPE,
|
|
284
284
|
properties: {
|
|
285
|
-
label: ['members.label', { ns: meta.
|
|
285
|
+
label: ['members.label', { ns: meta.profile.key }],
|
|
286
286
|
icon: 'ph--users--regular',
|
|
287
287
|
},
|
|
288
288
|
}),
|
|
@@ -291,7 +291,7 @@ export default Capability.makeModule(
|
|
|
291
291
|
data: Devtools.Echo.Metadata,
|
|
292
292
|
type: DEVTOOLS_TYPE,
|
|
293
293
|
properties: {
|
|
294
|
-
label: ['metadata.label', { ns: meta.
|
|
294
|
+
label: ['metadata.label', { ns: meta.profile.key }],
|
|
295
295
|
icon: 'ph--hard-drive--regular',
|
|
296
296
|
},
|
|
297
297
|
}),
|
|
@@ -302,7 +302,7 @@ export default Capability.makeModule(
|
|
|
302
302
|
data: null,
|
|
303
303
|
type: DEVTOOLS_TYPE,
|
|
304
304
|
properties: {
|
|
305
|
-
label: ['mesh.label', { ns: meta.
|
|
305
|
+
label: ['mesh.label', { ns: meta.profile.key }],
|
|
306
306
|
icon: 'ph--graph--regular',
|
|
307
307
|
},
|
|
308
308
|
nodes: [
|
|
@@ -311,7 +311,7 @@ export default Capability.makeModule(
|
|
|
311
311
|
data: Devtools.Mesh.Signal,
|
|
312
312
|
type: DEVTOOLS_TYPE,
|
|
313
313
|
properties: {
|
|
314
|
-
label: ['signal.label', { ns: meta.
|
|
314
|
+
label: ['signal.label', { ns: meta.profile.key }],
|
|
315
315
|
icon: 'ph--wifi-high--regular',
|
|
316
316
|
},
|
|
317
317
|
}),
|
|
@@ -320,7 +320,7 @@ export default Capability.makeModule(
|
|
|
320
320
|
data: Devtools.Mesh.Swarm,
|
|
321
321
|
type: DEVTOOLS_TYPE,
|
|
322
322
|
properties: {
|
|
323
|
-
label: ['swarm.label', { ns: meta.
|
|
323
|
+
label: ['swarm.label', { ns: meta.profile.key }],
|
|
324
324
|
icon: 'ph--users-three--regular',
|
|
325
325
|
},
|
|
326
326
|
}),
|
|
@@ -329,7 +329,7 @@ export default Capability.makeModule(
|
|
|
329
329
|
data: Devtools.Mesh.Network,
|
|
330
330
|
type: DEVTOOLS_TYPE,
|
|
331
331
|
properties: {
|
|
332
|
-
label: ['network.label', { ns: meta.
|
|
332
|
+
label: ['network.label', { ns: meta.profile.key }],
|
|
333
333
|
icon: 'ph--polygon--regular',
|
|
334
334
|
},
|
|
335
335
|
}),
|
|
@@ -340,7 +340,7 @@ export default Capability.makeModule(
|
|
|
340
340
|
data: null,
|
|
341
341
|
type: DEVTOOLS_TYPE,
|
|
342
342
|
properties: {
|
|
343
|
-
label: ['edge.label', { ns: meta.
|
|
343
|
+
label: ['edge.label', { ns: meta.profile.key }],
|
|
344
344
|
icon: 'ph--cloud--regular',
|
|
345
345
|
},
|
|
346
346
|
nodes: [
|
|
@@ -349,7 +349,7 @@ export default Capability.makeModule(
|
|
|
349
349
|
data: Devtools.Edge.Dashboard,
|
|
350
350
|
type: DEVTOOLS_TYPE,
|
|
351
351
|
properties: {
|
|
352
|
-
label: ['dashboard.label', { ns: meta.
|
|
352
|
+
label: ['dashboard.label', { ns: meta.profile.key }],
|
|
353
353
|
icon: 'ph--computer-tower--regular',
|
|
354
354
|
},
|
|
355
355
|
}),
|
|
@@ -358,7 +358,7 @@ export default Capability.makeModule(
|
|
|
358
358
|
data: Devtools.Edge.Workflows,
|
|
359
359
|
type: DEVTOOLS_TYPE,
|
|
360
360
|
properties: {
|
|
361
|
-
label: ['workflows.label', { ns: meta.
|
|
361
|
+
label: ['workflows.label', { ns: meta.profile.key }],
|
|
362
362
|
icon: 'ph--function--regular',
|
|
363
363
|
},
|
|
364
364
|
}),
|
|
@@ -367,7 +367,7 @@ export default Capability.makeModule(
|
|
|
367
367
|
data: Devtools.Edge.Traces,
|
|
368
368
|
type: DEVTOOLS_TYPE,
|
|
369
369
|
properties: {
|
|
370
|
-
label: ['traces.label', { ns: meta.
|
|
370
|
+
label: ['traces.label', { ns: meta.profile.key }],
|
|
371
371
|
icon: 'ph--line-segments--regular',
|
|
372
372
|
},
|
|
373
373
|
}),
|
|
@@ -376,7 +376,7 @@ export default Capability.makeModule(
|
|
|
376
376
|
data: Devtools.Edge.Testing,
|
|
377
377
|
type: DEVTOOLS_TYPE,
|
|
378
378
|
properties: {
|
|
379
|
-
label: ['testing.label', { ns: meta.
|
|
379
|
+
label: ['testing.label', { ns: meta.profile.key }],
|
|
380
380
|
icon: 'ph--flask--regular',
|
|
381
381
|
},
|
|
382
382
|
}),
|
|
@@ -396,7 +396,7 @@ export default Capability.makeModule(
|
|
|
396
396
|
Effect.succeed([
|
|
397
397
|
AppNode.makeCompanion({
|
|
398
398
|
id: 'debug',
|
|
399
|
-
label: ['debug.label', { ns: meta.
|
|
399
|
+
label: ['debug.label', { ns: meta.profile.key }],
|
|
400
400
|
icon: 'ph--bug--regular',
|
|
401
401
|
data: 'debug',
|
|
402
402
|
position: 'last',
|
|
@@ -412,7 +412,7 @@ export default Capability.makeModule(
|
|
|
412
412
|
Effect.succeed([
|
|
413
413
|
AppNode.makeDeckCompanion({
|
|
414
414
|
id: 'devtools',
|
|
415
|
-
label: ['devtools-overview.label', { ns: meta.
|
|
415
|
+
label: ['devtools-overview.label', { ns: meta.profile.key }],
|
|
416
416
|
icon: 'ph--equalizer--regular',
|
|
417
417
|
data: 'devtools' as const,
|
|
418
418
|
position: 'last',
|
|
@@ -428,7 +428,7 @@ export default Capability.makeModule(
|
|
|
428
428
|
Effect.succeed([
|
|
429
429
|
AppNode.makeDeckCompanion({
|
|
430
430
|
id: 'spaceObjects',
|
|
431
|
-
label: ['space-objects.label', { ns: meta.
|
|
431
|
+
label: ['space-objects.label', { ns: meta.profile.key }],
|
|
432
432
|
icon: 'ph--cube--regular',
|
|
433
433
|
data: 'space-objects' as const,
|
|
434
434
|
position: 'last',
|
|
@@ -14,7 +14,7 @@ import { meta } from '#meta';
|
|
|
14
14
|
export default Capability.makeModule(() =>
|
|
15
15
|
Effect.succeed(
|
|
16
16
|
Capability.contributes(Capabilities.ReactContext, {
|
|
17
|
-
id: meta.
|
|
17
|
+
id: meta.profile.key,
|
|
18
18
|
context: ({ children }) => (
|
|
19
19
|
<Surface.ProfilerProvider>
|
|
20
20
|
<DevtoolsContextProvider>{children}</DevtoolsContextProvider>
|