@dxos/plugin-debug 0.8.1-main.ae460ac → 0.8.1-staging.31c3ee1
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/browser/{DebugApp-LQHFFK3Y.mjs → DebugApp-7PFYN52J.mjs} +30 -23
- package/dist/lib/browser/{DebugApp-LQHFFK3Y.mjs.map → DebugApp-7PFYN52J.mjs.map} +4 -4
- package/dist/lib/browser/{SpaceGenerator-SPEJBGP7.mjs → SpaceGenerator-NBOQZ4JF.mjs} +12 -12
- package/dist/lib/browser/SpaceGenerator-NBOQZ4JF.mjs.map +7 -0
- package/dist/lib/browser/app-graph-builder-ALFPRSAR.mjs +570 -0
- package/dist/lib/browser/app-graph-builder-ALFPRSAR.mjs.map +7 -0
- package/dist/lib/browser/{chunk-EF3UVAVI.mjs → chunk-RORUXVAC.mjs} +1 -1
- package/dist/lib/browser/chunk-RORUXVAC.mjs.map +7 -0
- package/dist/lib/browser/{chunk-Y4ZZEHUN.mjs → chunk-TCEHALD4.mjs} +3 -3
- package/dist/lib/browser/chunk-TCEHALD4.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +10 -25
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-context-TCD3MNIT.mjs → react-context-ZRLN5KUI.mjs} +2 -2
- package/dist/lib/browser/{react-surface-GLOHHHOD.mjs → react-surface-MXXLOQYV.mjs} +137 -45
- package/dist/lib/browser/react-surface-MXXLOQYV.mjs.map +7 -0
- package/dist/lib/browser/{settings-XWFV3P44.mjs → settings-AP74NCXH.mjs} +6 -8
- package/dist/lib/browser/{settings-XWFV3P44.mjs.map → settings-AP74NCXH.mjs.map} +3 -3
- package/dist/types/src/DebugPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/settings.d.ts.map +1 -1
- package/dist/types/src/components/Container.d.ts +2 -2
- package/dist/types/src/components/Container.d.ts.map +1 -1
- package/dist/types/src/components/DebugObjectPanel.d.ts +2 -1
- package/dist/types/src/components/DebugObjectPanel.d.ts.map +1 -1
- package/dist/types/src/components/DebugSettings.d.ts +2 -1
- package/dist/types/src/components/DebugSettings.d.ts.map +1 -1
- package/dist/types/src/components/DebugStatus.d.ts +2 -1
- package/dist/types/src/components/DebugStatus.d.ts.map +1 -1
- package/dist/types/src/components/SpaceGenerator/SchemaTable.d.ts +2 -1
- package/dist/types/src/components/SpaceGenerator/SchemaTable.d.ts.map +1 -1
- package/dist/types/src/components/SpaceGenerator/SpaceGenerator.d.ts +2 -1
- package/dist/types/src/components/SpaceGenerator/SpaceGenerator.d.ts.map +1 -1
- package/dist/types/src/components/Wireframe.d.ts +2 -1
- package/dist/types/src/components/Wireframe.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +1 -5
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +2 -9
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +2 -0
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +2 -1
- package/dist/types/src/types.d.ts.map +1 -1
- package/package.json +50 -49
- package/src/DebugPlugin.tsx +1 -14
- package/src/capabilities/app-graph-builder.ts +330 -311
- package/src/capabilities/react-surface.tsx +102 -42
- package/src/capabilities/settings.ts +1 -3
- package/src/components/DebugSettings.tsx +0 -3
- package/src/components/SpaceGenerator/ObjectGenerator.tsx +1 -1
- package/src/components/SpaceGenerator/SchemaTable.tsx +1 -1
- package/src/components/SpaceGenerator/SpaceGenerator.tsx +3 -9
- package/src/components/index.ts +0 -1
- package/src/meta.ts +2 -2
- package/src/translations.ts +4 -2
- package/src/types.ts +2 -1
- package/dist/lib/browser/DebugSpace-EBJYT5JG.mjs +0 -277
- package/dist/lib/browser/DebugSpace-EBJYT5JG.mjs.map +0 -7
- package/dist/lib/browser/SpaceGenerator-SPEJBGP7.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-5STXPSZJ.mjs +0 -547
- package/dist/lib/browser/app-graph-builder-5STXPSZJ.mjs.map +0 -7
- package/dist/lib/browser/chunk-EF3UVAVI.mjs.map +0 -7
- package/dist/lib/browser/chunk-GSJS3HEM.mjs +0 -15
- package/dist/lib/browser/chunk-GSJS3HEM.mjs.map +0 -7
- package/dist/lib/browser/chunk-Y4ZZEHUN.mjs.map +0 -7
- package/dist/lib/browser/react-surface-GLOHHHOD.mjs.map +0 -7
- package/dist/types/src/components/DebugSpace/DebugSpace.d.ts +0 -8
- package/dist/types/src/components/DebugSpace/DebugSpace.d.ts.map +0 -1
- package/dist/types/src/components/DebugSpace/DebugSpace.stories.d.ts +0 -6
- package/dist/types/src/components/DebugSpace/DebugSpace.stories.d.ts.map +0 -1
- package/dist/types/src/components/DebugSpace/ObjectCreator.d.ts +0 -14
- package/dist/types/src/components/DebugSpace/ObjectCreator.d.ts.map +0 -1
- package/dist/types/src/components/DebugSpace/ObjectCreator.stories.d.ts +0 -6
- package/dist/types/src/components/DebugSpace/ObjectCreator.stories.d.ts.map +0 -1
- package/dist/types/src/components/DebugSpace/index.d.ts +0 -3
- package/dist/types/src/components/DebugSpace/index.d.ts.map +0 -1
- package/src/components/DebugSpace/DebugSpace.stories.tsx +0 -46
- package/src/components/DebugSpace/DebugSpace.tsx +0 -183
- package/src/components/DebugSpace/ObjectCreator.stories.tsx +0 -51
- package/src/components/DebugSpace/ObjectCreator.tsx +0 -100
- package/src/components/DebugSpace/index.ts +0 -7
- /package/dist/lib/browser/{react-context-TCD3MNIT.mjs.map → react-context-ZRLN5KUI.mjs.map} +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { type ReactiveEchoObject } from '@dxos/react-client/echo';
|
|
2
3
|
import { type ThemedClassName } from '@dxos/react-ui';
|
|
3
4
|
export type WireframeProps = ThemedClassName<{
|
|
4
5
|
label?: string;
|
|
5
6
|
object: ReactiveEchoObject<any>;
|
|
6
7
|
}>;
|
|
7
|
-
export declare const Wireframe: ({ classNames, label, object }: WireframeProps) =>
|
|
8
|
+
export declare const Wireframe: ({ classNames, label, object }: WireframeProps) => React.JSX.Element;
|
|
8
9
|
//# sourceMappingURL=Wireframe.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wireframe.d.ts","sourceRoot":"","sources":["../../../../src/components/Wireframe.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Wireframe.d.ts","sourceRoot":"","sources":["../../../../src/components/Wireframe.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAoB,KAAK,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAMtD,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,kBAAkB,CAAC,GAAG,CAAC,CAAC;CACjC,CAAC,CAAC;AAGH,eAAO,MAAM,SAAS,kCAAmC,cAAc,sBAuBtE,CAAC"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
export declare const DebugApp: import("react").LazyExoticComponent<import("react").FC<{
|
|
2
2
|
graph: import("@dxos/app-graph").Graph;
|
|
3
3
|
}>>;
|
|
4
|
-
export declare const
|
|
5
|
-
space: import("@dxos/client-protocol").Space;
|
|
6
|
-
onAddObjects?: (objects: import("@dxos/live-object").ReactiveObject<any>[]) => void;
|
|
7
|
-
}>>;
|
|
8
|
-
export declare const SpaceGenerator: import("react").LazyExoticComponent<({ space, onCreateObjects }: import("./SpaceGenerator/SpaceGenerator").SpaceGeneratorProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
+
export declare const SpaceGenerator: import("react").LazyExoticComponent<({ space, onCreateObjects }: import("./SpaceGenerator/SpaceGenerator").SpaceGeneratorProps) => import("react").JSX.Element>;
|
|
9
5
|
export * from './DebugObjectPanel';
|
|
10
6
|
export * from './DebugSettings';
|
|
11
7
|
export * from './DebugStatus';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,QAAQ;;GAAmC,CAAC;AACzD,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,QAAQ;;GAAmC,CAAC;AACzD,eAAO,MAAM,cAAc,iKAAyC,CAAC;AAErE,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
|
+
import { type PluginMeta } from '@dxos/app-framework';
|
|
1
2
|
export declare const DEBUG_PLUGIN = "dxos.org/plugin/debug";
|
|
2
|
-
export declare const meta:
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
description: string;
|
|
6
|
-
icon: string;
|
|
7
|
-
source: string;
|
|
8
|
-
tags: string[];
|
|
9
|
-
screenshots: string[];
|
|
10
|
-
};
|
|
3
|
+
export declare const meta: PluginMeta;
|
|
11
4
|
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,YAAY,0BAA0B,CAAC;AAEpD,eAAO,MAAM,IAAI,EAAE,UASlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBA6DE"}
|
|
@@ -8,7 +8,6 @@ export type DebugContextType = {
|
|
|
8
8
|
};
|
|
9
9
|
export declare const DebugContext: Context<DebugContextType>;
|
|
10
10
|
export declare const DebugSettingsSchema: S.mutable<S.Struct<{
|
|
11
|
-
debug: S.optional<typeof S.Boolean>;
|
|
12
11
|
wireframe: S.optional<typeof S.Boolean>;
|
|
13
12
|
}>>;
|
|
14
13
|
export interface DebugSettingsProps extends S.Schema.Type<typeof DebugSettingsSchema> {
|
|
@@ -56,6 +55,8 @@ export declare namespace Devtools {
|
|
|
56
55
|
const id = "dxos.org.plugin.debug.devtools.edge";
|
|
57
56
|
const Dashboard = "dxos.org.plugin.debug.devtools.edge.dashboard";
|
|
58
57
|
const Workflows = "dxos.org.plugin.debug.devtools.edge.workflows";
|
|
58
|
+
const Traces = "dxos.org.plugin.debug.devtools.edge.traces";
|
|
59
|
+
const Testing = "dxos.org.plugin.debug.devtools.edge.testing";
|
|
59
60
|
}
|
|
60
61
|
}
|
|
61
62
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,OAAO,EAAiB,MAAM,OAAO,CAAC;AAEpD,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAEtC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,CAAC,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IAC1D,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,gBAAgB,CAIjD,CAAC;AAEH,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,OAAO,EAAiB,MAAM,OAAO,CAAC;AAEpD,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAEtC,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,CAAC,EAAE,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IAC1D,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,gBAAgB,CAIjD,CAAC;AAEH,eAAO,MAAM,mBAAmB;;GAI/B,CAAC;AAEF,MAAM,WAAW,kBAAmB,SAAQ,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,mBAAmB,CAAC;CAAG;AAExF,yBAAiB,QAAQ,CAAC;IAEjB,MAAM,EAAE,mCAAmC,CAAC;IAEnD,UAAiB,MAAM,CAAC;QACf,MAAM,EAAE,0CAA0B,CAAC;QACnC,MAAM,MAAM,iDAAiC,CAAC;QAC9C,MAAM,OAAO,kDAAkC,CAAC;QAChD,MAAM,IAAI,+CAA+B,CAAC;QAC1C,MAAM,WAAW,sDAAsC,CAAC;QACxD,MAAM,OAAO,kDAAkC,CAAC;KACxD;IAED,UAAiB,IAAI,CAAC;QACb,MAAM,EAAE,wCAAwB,CAAC;QACjC,MAAM,QAAQ,iDAAiC,CAAC;QAChD,MAAM,OAAO,gDAAgC,CAAC;QAC9C,MAAM,OAAO,gDAAgC,CAAC;QAC9C,MAAM,WAAW,oDAAoC,CAAC;KAC9D;IAED,UAAiB,IAAI,CAAC;QACb,MAAM,EAAE,wCAAwB,CAAC;QACjC,MAAM,MAAM,+CAA+B,CAAC;QAC5C,MAAM,KAAK,8CAA8B,CAAC;QAC1C,MAAM,KAAK,8CAA8B,CAAC;QAC1C,MAAM,OAAO,gDAAgC,CAAC;QAC9C,MAAM,SAAS,kDAAkC,CAAC;QAClD,MAAM,MAAM,+CAA+B,CAAC;QAC5C,MAAM,OAAO,gDAAgC,CAAC;QAC9C,MAAM,QAAQ,iDAAiC,CAAC;KACxD;IAED,UAAiB,IAAI,CAAC;QACb,MAAM,EAAE,wCAAwB,CAAC;QACjC,MAAM,MAAM,+CAA+B,CAAC;QAC5C,MAAM,KAAK,8CAA8B,CAAC;QAC1C,MAAM,OAAO,gDAAgC,CAAC;KACtD;IAED,UAAiB,KAAK,CAAC;QACd,MAAM,EAAE,yCAAyB,CAAC;QAClC,MAAM,SAAS,mDAAmC,CAAC;QACnD,MAAM,MAAM,gDAAgC,CAAC;KACrD;IAED,UAAiB,IAAI,CAAC;QACb,MAAM,EAAE,wCAAwB,CAAC;QACjC,MAAM,SAAS,kDAAkC,CAAC;QAClD,MAAM,SAAS,kDAAkC,CAAC;QAClD,MAAM,MAAM,+CAA+B,CAAC;QAC5C,MAAM,OAAO,gDAAgC,CAAC;KACtD;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-debug",
|
|
3
|
-
"version": "0.8.1-
|
|
3
|
+
"version": "0.8.1-staging.31c3ee1",
|
|
4
4
|
"description": "DXOS Surface plugin for testing.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -28,52 +28,53 @@
|
|
|
28
28
|
"@preact/signals-core": "^1.6.0",
|
|
29
29
|
"@tldraw/tldraw": "^3.0.0",
|
|
30
30
|
"date-fns": "^3.3.1",
|
|
31
|
-
"effect": "
|
|
31
|
+
"effect": "3.13.3",
|
|
32
32
|
"lodash.get": "^4.4.2",
|
|
33
33
|
"react-json-tree": "^0.18.0",
|
|
34
34
|
"react-resize-detector": "^11.0.1",
|
|
35
35
|
"workerize-loader": "^2.0.2",
|
|
36
|
-
"@dxos/
|
|
37
|
-
"@dxos/
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/
|
|
40
|
-
"@dxos/
|
|
41
|
-
"@dxos/
|
|
42
|
-
"@dxos/
|
|
43
|
-
"@dxos/devtools": "0.8.1-
|
|
44
|
-
"@dxos/echo-
|
|
45
|
-
"@dxos/
|
|
46
|
-
"@dxos/
|
|
47
|
-
"@dxos/
|
|
48
|
-
"@dxos/invariant": "0.8.1-
|
|
49
|
-
"@dxos/
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/
|
|
52
|
-
"@dxos/log": "0.8.1-
|
|
53
|
-
"@dxos/plugin-client": "0.8.1-
|
|
54
|
-
"@dxos/plugin-
|
|
55
|
-
"@dxos/plugin-
|
|
56
|
-
"@dxos/plugin-
|
|
57
|
-
"@dxos/plugin-
|
|
58
|
-
"@dxos/plugin-
|
|
59
|
-
"@dxos/plugin-
|
|
60
|
-
"@dxos/plugin-
|
|
61
|
-
"@dxos/plugin-
|
|
62
|
-
"@dxos/plugin-
|
|
63
|
-
"@dxos/
|
|
64
|
-
"@dxos/
|
|
65
|
-
"@dxos/
|
|
66
|
-
"@dxos/react-
|
|
67
|
-
"@dxos/
|
|
68
|
-
"@dxos/react-ui-attention": "0.8.1-
|
|
69
|
-
"@dxos/react-ui-canvas-
|
|
70
|
-
"@dxos/react-ui-
|
|
71
|
-
"@dxos/react-ui-form": "0.8.1-
|
|
72
|
-
"@dxos/react-ui-
|
|
73
|
-
"@dxos/react-ui-
|
|
74
|
-
"@dxos/
|
|
75
|
-
"@dxos/
|
|
76
|
-
"@dxos/util": "0.8.1-
|
|
36
|
+
"@dxos/automerge": "0.8.1-staging.31c3ee1",
|
|
37
|
+
"@dxos/app-framework": "0.8.1-staging.31c3ee1",
|
|
38
|
+
"@dxos/async": "0.8.1-staging.31c3ee1",
|
|
39
|
+
"@dxos/client-services": "0.8.1-staging.31c3ee1",
|
|
40
|
+
"@dxos/compute": "0.8.1-staging.31c3ee1",
|
|
41
|
+
"@dxos/config": "0.8.1-staging.31c3ee1",
|
|
42
|
+
"@dxos/echo-generator": "0.8.1-staging.31c3ee1",
|
|
43
|
+
"@dxos/devtools": "0.8.1-staging.31c3ee1",
|
|
44
|
+
"@dxos/echo-schema": "0.8.1-staging.31c3ee1",
|
|
45
|
+
"@dxos/conductor": "0.8.1-staging.31c3ee1",
|
|
46
|
+
"@dxos/echo-pipeline": "0.8.1-staging.31c3ee1",
|
|
47
|
+
"@dxos/functions": "0.8.1-staging.31c3ee1",
|
|
48
|
+
"@dxos/invariant": "0.8.1-staging.31c3ee1",
|
|
49
|
+
"@dxos/keys": "0.8.1-staging.31c3ee1",
|
|
50
|
+
"@dxos/local-storage": "0.8.1-staging.31c3ee1",
|
|
51
|
+
"@dxos/live-object": "0.8.1-staging.31c3ee1",
|
|
52
|
+
"@dxos/log": "0.8.1-staging.31c3ee1",
|
|
53
|
+
"@dxos/plugin-client": "0.8.1-staging.31c3ee1",
|
|
54
|
+
"@dxos/plugin-deck": "0.8.1-staging.31c3ee1",
|
|
55
|
+
"@dxos/plugin-graph": "0.8.1-staging.31c3ee1",
|
|
56
|
+
"@dxos/plugin-sheet": "0.8.1-staging.31c3ee1",
|
|
57
|
+
"@dxos/plugin-script": "0.8.1-staging.31c3ee1",
|
|
58
|
+
"@dxos/plugin-markdown": "0.8.1-staging.31c3ee1",
|
|
59
|
+
"@dxos/plugin-sketch": "0.8.1-staging.31c3ee1",
|
|
60
|
+
"@dxos/plugin-space": "0.8.1-staging.31c3ee1",
|
|
61
|
+
"@dxos/plugin-status-bar": "0.8.1-staging.31c3ee1",
|
|
62
|
+
"@dxos/plugin-theme": "0.8.1-staging.31c3ee1",
|
|
63
|
+
"@dxos/plugin-table": "0.8.1-staging.31c3ee1",
|
|
64
|
+
"@dxos/protocols": "0.8.1-staging.31c3ee1",
|
|
65
|
+
"@dxos/react-hooks": "0.8.1-staging.31c3ee1",
|
|
66
|
+
"@dxos/react-client": "0.8.1-staging.31c3ee1",
|
|
67
|
+
"@dxos/random": "0.8.1-staging.31c3ee1",
|
|
68
|
+
"@dxos/react-ui-attention": "0.8.1-staging.31c3ee1",
|
|
69
|
+
"@dxos/react-ui-canvas-compute": "0.8.1-staging.31c3ee1",
|
|
70
|
+
"@dxos/react-ui-canvas-editor": "0.8.1-staging.31c3ee1",
|
|
71
|
+
"@dxos/react-ui-form": "0.8.1-staging.31c3ee1",
|
|
72
|
+
"@dxos/react-ui-kanban": "0.8.1-staging.31c3ee1",
|
|
73
|
+
"@dxos/react-ui-syntax-highlighter": "0.8.1-staging.31c3ee1",
|
|
74
|
+
"@dxos/schema": "0.8.1-staging.31c3ee1",
|
|
75
|
+
"@dxos/react-ui-stack": "0.8.1-staging.31c3ee1",
|
|
76
|
+
"@dxos/util": "0.8.1-staging.31c3ee1",
|
|
77
|
+
"@dxos/react-ui-table": "0.8.1-staging.31c3ee1"
|
|
77
78
|
},
|
|
78
79
|
"devDependencies": {
|
|
79
80
|
"@phosphor-icons/react": "^2.1.5",
|
|
@@ -83,17 +84,17 @@
|
|
|
83
84
|
"react": "~18.2.0",
|
|
84
85
|
"react-dom": "~18.2.0",
|
|
85
86
|
"vite": "5.4.7",
|
|
86
|
-
"@dxos/react-ui": "0.8.1-
|
|
87
|
-
"@dxos/
|
|
88
|
-
"@dxos/
|
|
87
|
+
"@dxos/react-ui": "0.8.1-staging.31c3ee1",
|
|
88
|
+
"@dxos/storybook-utils": "0.8.1-staging.31c3ee1",
|
|
89
|
+
"@dxos/react-ui-theme": "0.8.1-staging.31c3ee1"
|
|
89
90
|
},
|
|
90
91
|
"peerDependencies": {
|
|
91
92
|
"@phosphor-icons/react": "^2.1.5",
|
|
92
93
|
"react": "~18.2.0",
|
|
93
94
|
"react-dom": "~18.2.0",
|
|
94
|
-
"@dxos/react-ui": "0.8.1-
|
|
95
|
-
"@dxos/random": "0.8.1-
|
|
96
|
-
"@dxos/react-ui-theme": "0.8.1-
|
|
95
|
+
"@dxos/react-ui": "0.8.1-staging.31c3ee1",
|
|
96
|
+
"@dxos/random": "0.8.1-staging.31c3ee1",
|
|
97
|
+
"@dxos/react-ui-theme": "0.8.1-staging.31c3ee1"
|
|
97
98
|
},
|
|
98
99
|
"publishConfig": {
|
|
99
100
|
"access": "public"
|
package/src/DebugPlugin.tsx
CHANGED
|
@@ -3,12 +3,10 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
import { Capabilities, contributes, defineModule, definePlugin, Events } from '@dxos/app-framework';
|
|
6
|
-
import { DeckCapabilities, DeckEvents } from '@dxos/plugin-deck';
|
|
7
6
|
import { type Client } from '@dxos/react-client';
|
|
8
|
-
import { isEchoObject, getSpace } from '@dxos/react-client/echo';
|
|
9
7
|
|
|
10
8
|
import { AppGraphBuilder, DebugSettings, ReactContext, ReactSurface } from './capabilities';
|
|
11
|
-
import {
|
|
9
|
+
import { meta } from './meta';
|
|
12
10
|
import translations from './translations';
|
|
13
11
|
|
|
14
12
|
// TODO(wittjosiah): Rename to DevtoolsPlugin?
|
|
@@ -26,17 +24,6 @@ export const DebugPlugin = () => {
|
|
|
26
24
|
activatesOn: Events.SetupTranslations,
|
|
27
25
|
activate: () => contributes(Capabilities.Translations, translations),
|
|
28
26
|
}),
|
|
29
|
-
defineModule({
|
|
30
|
-
id: `${meta.id}/module/complementary-panel`,
|
|
31
|
-
activatesOn: DeckEvents.SetupComplementaryPanels,
|
|
32
|
-
activate: () =>
|
|
33
|
-
contributes(DeckCapabilities.ComplementaryPanel, {
|
|
34
|
-
id: 'debug',
|
|
35
|
-
label: ['debug label', { ns: DEBUG_PLUGIN }],
|
|
36
|
-
icon: 'ph--bug--regular',
|
|
37
|
-
filter: (node) => isEchoObject(node.data) && !!getSpace(node.data),
|
|
38
|
-
}),
|
|
39
|
-
}),
|
|
40
27
|
defineModule({
|
|
41
28
|
id: `${meta.id}/module/react-context`,
|
|
42
29
|
activatesOn: Events.Startup,
|