@dxos/plugin-debug 0.7.5-main.ff8607b → 0.7.5-staging.2ff1350
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/{DebugSpace-4JHYA7FG.mjs → DebugSpace-BTMTVZ6C.mjs} +2 -2
- package/dist/lib/browser/SpaceGenerator-BPZGOSH4.mjs +1238 -0
- package/dist/lib/browser/SpaceGenerator-BPZGOSH4.mjs.map +7 -0
- package/dist/lib/browser/app-graph-builder-BZFZ6UG6.mjs +533 -0
- package/dist/lib/browser/app-graph-builder-BZFZ6UG6.mjs.map +7 -0
- package/dist/lib/browser/chunk-UASI2CRI.mjs +72 -0
- package/dist/lib/browser/chunk-UASI2CRI.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +44 -8
- 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 +16 -0
- package/dist/lib/browser/react-context-TCD3MNIT.mjs.map +7 -0
- package/dist/lib/browser/{react-surface-VEEFOGIM.mjs → react-surface-W6QLG4YJ.mjs} +210 -40
- package/dist/lib/browser/react-surface-W6QLG4YJ.mjs.map +7 -0
- package/dist/lib/browser/{settings-OIMSBZUC.mjs → settings-INPXR64L.mjs} +5 -6
- package/dist/lib/browser/{settings-OIMSBZUC.mjs.map → settings-INPXR64L.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/index.d.ts +5 -0
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-context.d.ts +8 -0
- package/dist/types/src/capabilities/react-context.d.ts.map +1 -0
- 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 +1 -2
- package/dist/types/src/components/DebugObjectPanel.d.ts.map +1 -1
- package/dist/types/src/components/DebugSettings.d.ts +1 -2
- package/dist/types/src/components/DebugSettings.d.ts.map +1 -1
- package/dist/types/src/components/DebugSpace/ObjectCreator.d.ts +1 -2
- package/dist/types/src/components/DebugSpace/ObjectCreator.d.ts.map +1 -1
- package/dist/types/src/components/DebugStatus.d.ts +1 -2
- package/dist/types/src/components/DebugStatus.d.ts.map +1 -1
- package/dist/types/src/components/SpaceGenerator/ObjectGenerator.d.ts.map +1 -1
- package/dist/types/src/components/SpaceGenerator/SchemaTable.d.ts +1 -2
- package/dist/types/src/components/SpaceGenerator/SchemaTable.d.ts.map +1 -1
- package/dist/types/src/components/SpaceGenerator/SpaceGenerator.d.ts +1 -2
- package/dist/types/src/components/SpaceGenerator/SpaceGenerator.d.ts.map +1 -1
- package/dist/types/src/components/SpaceGenerator/presets.d.ts +22 -0
- package/dist/types/src/components/SpaceGenerator/presets.d.ts.map +1 -0
- package/dist/types/src/components/Wireframe.d.ts +1 -2
- package/dist/types/src/components/Wireframe.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +1 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +28 -0
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +44 -1
- package/dist/types/src/types.d.ts.map +1 -1
- package/package.json +50 -44
- package/src/DebugPlugin.tsx +12 -4
- package/src/capabilities/app-graph-builder.ts +292 -89
- package/src/capabilities/index.ts +1 -0
- package/src/capabilities/react-context.tsx +16 -0
- package/src/capabilities/react-surface.tsx +204 -27
- package/src/capabilities/settings.ts +0 -1
- package/src/components/DebugObjectPanel.tsx +17 -5
- package/src/components/DebugSettings.tsx +0 -3
- package/src/components/SpaceGenerator/ObjectGenerator.tsx +31 -4
- package/src/components/SpaceGenerator/SpaceGenerator.tsx +75 -6
- package/src/components/SpaceGenerator/presets.ts +563 -0
- package/src/translations.ts +28 -0
- package/src/types.ts +52 -1
- package/dist/lib/browser/SpaceGenerator-NJCG57CU.mjs +0 -279
- package/dist/lib/browser/SpaceGenerator-NJCG57CU.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-66ZVNTDI.mjs +0 -182
- package/dist/lib/browser/app-graph-builder-66ZVNTDI.mjs.map +0 -7
- package/dist/lib/browser/chunk-P7GHHMDB.mjs +0 -21
- package/dist/lib/browser/chunk-P7GHHMDB.mjs.map +0 -7
- package/dist/lib/browser/react-surface-VEEFOGIM.mjs.map +0 -7
- /package/dist/lib/browser/{DebugSpace-4JHYA7FG.mjs.map → DebugSpace-BTMTVZ6C.mjs.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectCreator.d.ts","sourceRoot":"","sources":["../../../../../src/components/DebugSpace/ObjectCreator.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObjectCreator.d.ts","sourceRoot":"","sources":["../../../../../src/components/DebugSpace/ObjectCreator.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,uBAAuB,EAA8C,MAAM,sBAAsB,CAAC;AAChH,OAAO,EAA2B,KAAK,cAAc,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAMnG,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC,uBAAuB,EAAE,OAAO,GAAG,cAAc,GAAG,kBAAkB,CAAC,CAAC;CACzF,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,CAAC,EAAE,KAAK,IAAI,CAAC;CACzD,CAAC;AAEF,eAAO,MAAM,aAAa,4BAA6B,kBAAkB,4CA0ExE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugStatus.d.ts","sourceRoot":"","sources":["../../../../src/components/DebugStatus.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DebugStatus.d.ts","sourceRoot":"","sources":["../../../../src/components/DebugStatus.tsx"],"names":[],"mappings":"AA6MA,eAAO,MAAM,WAAW,+CAQvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectGenerator.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/ObjectGenerator.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ObjectGenerator.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/ObjectGenerator.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAY,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhF,OAAO,EAAmB,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAMzE,OAAO,EAAU,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAgB7D,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,UAAU,IAAI,CAClD,KAAK,EAAE,KAAK,EACZ,CAAC,EAAE,MAAM,EACT,EAAE,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,CAAC,EAAE,KAAK,IAAI,KAC1C,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AAElC,eAAO,MAAM,gBAAgB,mCAsG3B,CAAC;AAEH,eAAO,MAAM,eAAe,GAAI,CAAC,SAAS,UAAU,QAAQ,WAAW,CAAC,CAAC,CAAC,KAAG,eAAe,CAAC,CAAC,CA2B7F,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export type SchemaTableProps = {
|
|
3
2
|
types: any[];
|
|
4
3
|
objects?: Record<string, number | undefined>;
|
|
5
4
|
label: string;
|
|
6
5
|
onClick: (typename: string) => void;
|
|
7
6
|
};
|
|
8
|
-
export declare const SchemaTable: ({ types, objects, label, onClick }: SchemaTableProps) =>
|
|
7
|
+
export declare const SchemaTable: ({ types, objects, label, onClick }: SchemaTableProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
//# sourceMappingURL=SchemaTable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaTable.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/SchemaTable.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaTable.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/SchemaTable.tsx"],"names":[],"mappings":"AAQA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC,CAAC;AAEF,eAAO,MAAM,WAAW,uCAA6C,gBAAgB,4CAsBpF,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { type ReactiveObject } from '@dxos/live-object';
|
|
3
2
|
import { type Space } from '@dxos/react-client/echo';
|
|
4
3
|
export type SpaceGeneratorProps = {
|
|
5
4
|
space: Space;
|
|
6
5
|
onCreateObjects?: (objects: ReactiveObject<any>[]) => void;
|
|
7
6
|
};
|
|
8
|
-
export declare const SpaceGenerator: ({ space, onCreateObjects }: SpaceGeneratorProps) =>
|
|
7
|
+
export declare const SpaceGenerator: ({ space, onCreateObjects }: SpaceGeneratorProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
//# sourceMappingURL=SpaceGenerator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpaceGenerator.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/SpaceGenerator.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SpaceGenerator.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/SpaceGenerator.tsx"],"names":[],"mappings":"AASA,OAAO,EAAU,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAOhE,OAAO,EAAe,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAWlE,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,KAAK,CAAC;IACb,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,cAAc,CAAC,GAAG,CAAC,EAAE,KAAK,IAAI,CAAC;CAC5D,CAAC;AAEF,eAAO,MAAM,cAAc,+BAAgC,mBAAmB,4CAqJ7E,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FunctionTrigger } from '@dxos/functions/types';
|
|
2
|
+
import { CanvasBoardType } from '@dxos/react-ui-canvas-editor';
|
|
3
|
+
import { type ObjectGenerator } from './ObjectGenerator';
|
|
4
|
+
export declare enum PresetName {
|
|
5
|
+
EMAIL_TABLE = "email-table",
|
|
6
|
+
GPT_QUEUE = "webhook-gpt-queue",
|
|
7
|
+
CHAT_GPT = "chat-gpt-text",
|
|
8
|
+
EMAIL_WITH_SUMMARY = "email-gptSummary-table",
|
|
9
|
+
OBJECT_CHANGE_QUEUE = "objectChange-queue",
|
|
10
|
+
FOREX_FUNCTION_CALL = "forex-function-call",
|
|
11
|
+
TIMER_TICK_QUEUE = "timerTick-queue",
|
|
12
|
+
DISCORD_MESSAGES = "discord-messages",
|
|
13
|
+
KANBAN_QUEUE = "kanban-queue"
|
|
14
|
+
}
|
|
15
|
+
export declare const presets: {
|
|
16
|
+
schemas: (typeof CanvasBoardType | typeof FunctionTrigger)[];
|
|
17
|
+
types: {
|
|
18
|
+
typename: PresetName;
|
|
19
|
+
}[];
|
|
20
|
+
items: [PresetName, ObjectGenerator<any>][];
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=presets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/presets.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAiC,MAAM,uBAAuB,CAAC;AAoBvF,OAAO,EACL,eAAe,EAKhB,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,oBAAY,UAAU;IACpB,WAAW,gBAAgB;IAC3B,SAAS,sBAAsB;IAC/B,QAAQ,kBAAkB;IAC1B,kBAAkB,2BAA2B;IAC7C,mBAAmB,uBAAuB;IAC1C,mBAAmB,wBAAwB;IAC3C,gBAAgB,oBAAoB;IACpC,gBAAgB,qBAAqB;IACrC,YAAY,iBAAiB;CAC9B;AAED,eAAO,MAAM,OAAO;;;;;WA2Yb,CAAC,UAAU,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE;CAC1C,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { type ReactiveEchoObject } from '@dxos/react-client/echo';
|
|
3
2
|
import { type ThemedClassName } from '@dxos/react-ui';
|
|
4
3
|
export type WireframeProps = ThemedClassName<{
|
|
5
4
|
label?: string;
|
|
6
5
|
object: ReactiveEchoObject<any>;
|
|
7
6
|
}>;
|
|
8
|
-
export declare const Wireframe: ({ classNames, label, object }: WireframeProps) =>
|
|
7
|
+
export declare const Wireframe: ({ classNames, label, object }: WireframeProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
//# 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":"AAOA,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,4CAuBtE,CAAC"}
|
|
@@ -5,7 +5,7 @@ export declare const DebugSpace: import("react").LazyExoticComponent<import("rea
|
|
|
5
5
|
space: import("packages/sdk/client-protocol/dist/types/src").Space;
|
|
6
6
|
onAddObjects?: (objects: import("packages/core/echo/live-object/dist/types/src").ReactiveObject<any>[]) => void;
|
|
7
7
|
}>>;
|
|
8
|
-
export declare const SpaceGenerator: import("react").LazyExoticComponent<({ space, onCreateObjects }: import("./SpaceGenerator/SpaceGenerator").SpaceGeneratorProps) => import("react").JSX.Element>;
|
|
8
|
+
export declare const SpaceGenerator: import("react").LazyExoticComponent<({ space, onCreateObjects }: import("./SpaceGenerator/SpaceGenerator").SpaceGeneratorProps) => import("react/jsx-runtime").JSX.Element>;
|
|
9
9
|
export * from './DebugObjectPanel';
|
|
10
10
|
export * from './DebugSettings';
|
|
11
11
|
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,UAAU;;;GAAqC,CAAC;AAC7D,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,QAAQ;;GAAmC,CAAC;AACzD,eAAO,MAAM,UAAU;;;GAAqC,CAAC;AAC7D,eAAO,MAAM,cAAc,6KAAyC,CAAC;AAErE,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
|
|
@@ -23,6 +23,34 @@ declare const _default: {
|
|
|
23
23
|
'settings storage adapter changed alert': string;
|
|
24
24
|
'settings space fragmentation': string;
|
|
25
25
|
'open debug panel label': string;
|
|
26
|
+
'client label': string;
|
|
27
|
+
'config label': string;
|
|
28
|
+
'storage label': string;
|
|
29
|
+
'logs label': string;
|
|
30
|
+
'diagnostics label': string;
|
|
31
|
+
'tracing label': string;
|
|
32
|
+
'halo label': string;
|
|
33
|
+
'identity label': string;
|
|
34
|
+
'devices label': string;
|
|
35
|
+
'keyring label': string;
|
|
36
|
+
'credentials label': string;
|
|
37
|
+
'echo label': string;
|
|
38
|
+
'spaces label': string;
|
|
39
|
+
'space label': string;
|
|
40
|
+
'feeds label': string;
|
|
41
|
+
'objects label': string;
|
|
42
|
+
'automerge label': string;
|
|
43
|
+
'members label': string;
|
|
44
|
+
'metadata label': string;
|
|
45
|
+
'mesh label': string;
|
|
46
|
+
'signal label': string;
|
|
47
|
+
'swarm label': string;
|
|
48
|
+
'network label': string;
|
|
49
|
+
'agent label': string;
|
|
50
|
+
'dashboard label': string;
|
|
51
|
+
'search label': string;
|
|
52
|
+
'edge label': string;
|
|
53
|
+
'workflows label': string;
|
|
26
54
|
};
|
|
27
55
|
};
|
|
28
56
|
}[];
|
|
@@ -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,wBA0DE"}
|
|
@@ -8,10 +8,53 @@ export type DebugContextType = {
|
|
|
8
8
|
};
|
|
9
9
|
export declare const DebugContext: Context<DebugContextType>;
|
|
10
10
|
export declare const DebugSettingsSchema: S.mutable<S.Struct<{
|
|
11
|
-
devtools: S.optional<typeof S.Boolean>;
|
|
12
11
|
debug: S.optional<typeof S.Boolean>;
|
|
13
12
|
wireframe: S.optional<typeof S.Boolean>;
|
|
14
13
|
}>>;
|
|
15
14
|
export interface DebugSettingsProps extends S.Schema.Type<typeof DebugSettingsSchema> {
|
|
16
15
|
}
|
|
16
|
+
export declare namespace Devtools {
|
|
17
|
+
const id = "dxos.org.plugin.debug.devtools";
|
|
18
|
+
namespace Client {
|
|
19
|
+
const id = "dxos.org.plugin.debug.devtools.client";
|
|
20
|
+
const Config = "dxos.org.plugin.debug.devtools.client.config";
|
|
21
|
+
const Storage = "dxos.org.plugin.debug.devtools.client.storage";
|
|
22
|
+
const Logs = "dxos.org.plugin.debug.devtools.client.logs";
|
|
23
|
+
const Diagnostics = "dxos.org.plugin.debug.devtools.client.diagnostics";
|
|
24
|
+
const Tracing = "dxos.org.plugin.debug.devtools.client.tracing";
|
|
25
|
+
}
|
|
26
|
+
namespace Halo {
|
|
27
|
+
const id = "dxos.org.plugin.debug.devtools.halo";
|
|
28
|
+
const Identity = "dxos.org.plugin.debug.devtools.halo.identity";
|
|
29
|
+
const Devices = "dxos.org.plugin.debug.devtools.halo.devices";
|
|
30
|
+
const Keyring = "dxos.org.plugin.debug.devtools.halo.keyring";
|
|
31
|
+
const Credentials = "dxos.org.plugin.debug.devtools.halo.credentials";
|
|
32
|
+
}
|
|
33
|
+
namespace Echo {
|
|
34
|
+
const id = "dxos.org.plugin.debug.devtools.echo";
|
|
35
|
+
const Spaces = "dxos.org.plugin.debug.devtools.echo.spaces";
|
|
36
|
+
const Space = "dxos.org.plugin.debug.devtools.echo.space";
|
|
37
|
+
const Feeds = "dxos.org.plugin.debug.devtools.echo.feeds";
|
|
38
|
+
const Objects = "dxos.org.plugin.debug.devtools.echo.objects";
|
|
39
|
+
const Automerge = "dxos.org.plugin.debug.devtools.echo.automerge";
|
|
40
|
+
const Members = "dxos.org.plugin.debug.devtools.echo.members";
|
|
41
|
+
const Metadata = "dxos.org.plugin.debug.devtools.echo.metadata";
|
|
42
|
+
}
|
|
43
|
+
namespace Mesh {
|
|
44
|
+
const id = "dxos.org.plugin.debug.devtools.mesh";
|
|
45
|
+
const Signal = "dxos.org.plugin.debug.devtools.mesh.signal";
|
|
46
|
+
const Swarm = "dxos.org.plugin.debug.devtools.mesh.swarm";
|
|
47
|
+
const Network = "dxos.org.plugin.debug.devtools.mesh.network";
|
|
48
|
+
}
|
|
49
|
+
namespace Agent {
|
|
50
|
+
const id = "dxos.org.plugin.debug.devtools.agent";
|
|
51
|
+
const Dashboard = "dxos.org.plugin.debug.devtools.agent.dashboard";
|
|
52
|
+
const Search = "dxos.org.plugin.debug.devtools.agent.search";
|
|
53
|
+
}
|
|
54
|
+
namespace Edge {
|
|
55
|
+
const id = "dxos.org.plugin.debug.devtools.edge";
|
|
56
|
+
const Dashboard = "dxos.org.plugin.debug.devtools.edge.dashboard";
|
|
57
|
+
const Workflows = "dxos.org.plugin.debug.devtools.edge.workflows";
|
|
58
|
+
}
|
|
59
|
+
}
|
|
17
60
|
//# 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;;;GAK/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,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;KAC1D;CACF"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-debug",
|
|
3
|
-
"version": "0.7.5-
|
|
3
|
+
"version": "0.7.5-staging.2ff1350",
|
|
4
4
|
"description": "DXOS Surface plugin for testing.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"author": "DXOS.org",
|
|
9
9
|
"sideEffects": true,
|
|
10
|
+
"type": "module",
|
|
10
11
|
"exports": {
|
|
11
12
|
".": {
|
|
12
13
|
"types": "./dist/types/src/index.d.ts",
|
|
@@ -27,47 +28,52 @@
|
|
|
27
28
|
"@preact/signals-core": "^1.6.0",
|
|
28
29
|
"@tldraw/tldraw": "^3.0.0",
|
|
29
30
|
"date-fns": "^3.3.1",
|
|
30
|
-
"effect": "^3.12.
|
|
31
|
+
"effect": "^3.12.3",
|
|
31
32
|
"lodash.get": "^4.4.2",
|
|
32
33
|
"react-json-tree": "^0.18.0",
|
|
33
34
|
"react-resize-detector": "^11.0.1",
|
|
34
35
|
"workerize-loader": "^2.0.2",
|
|
35
|
-
"@dxos/app-framework": "0.7.5-
|
|
36
|
-
"@dxos/
|
|
37
|
-
"@dxos/
|
|
38
|
-
"@dxos/
|
|
39
|
-
"@dxos/
|
|
40
|
-
"@dxos/
|
|
41
|
-
"@dxos/
|
|
42
|
-
"@dxos/echo-generator": "0.7.5-
|
|
43
|
-
"@dxos/
|
|
44
|
-
"@dxos/echo-pipeline": "0.7.5-
|
|
45
|
-
"@dxos/
|
|
46
|
-
"@dxos/
|
|
47
|
-
"@dxos/
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/plugin-
|
|
52
|
-
"@dxos/plugin-
|
|
53
|
-
"@dxos/
|
|
54
|
-
"@dxos/plugin-
|
|
55
|
-
"@dxos/plugin-
|
|
56
|
-
"@dxos/plugin-
|
|
57
|
-
"@dxos/plugin-
|
|
58
|
-
"@dxos/
|
|
59
|
-
"@dxos/
|
|
60
|
-
"@dxos/plugin-
|
|
61
|
-
"@dxos/
|
|
62
|
-
"@dxos/
|
|
63
|
-
"@dxos/
|
|
64
|
-
"@dxos/react-
|
|
65
|
-
"@dxos/react-
|
|
66
|
-
"@dxos/react-ui-
|
|
67
|
-
"@dxos/react-ui-
|
|
68
|
-
"@dxos/react-ui-
|
|
69
|
-
"@dxos/
|
|
70
|
-
"@dxos/
|
|
36
|
+
"@dxos/app-framework": "0.7.5-staging.2ff1350",
|
|
37
|
+
"@dxos/automerge": "0.7.5-staging.2ff1350",
|
|
38
|
+
"@dxos/async": "0.7.5-staging.2ff1350",
|
|
39
|
+
"@dxos/client-services": "0.7.5-staging.2ff1350",
|
|
40
|
+
"@dxos/compute": "0.7.5-staging.2ff1350",
|
|
41
|
+
"@dxos/conductor": "0.7.5-staging.2ff1350",
|
|
42
|
+
"@dxos/config": "0.7.5-staging.2ff1350",
|
|
43
|
+
"@dxos/echo-generator": "0.7.5-staging.2ff1350",
|
|
44
|
+
"@dxos/devtools": "0.7.5-staging.2ff1350",
|
|
45
|
+
"@dxos/echo-pipeline": "0.7.5-staging.2ff1350",
|
|
46
|
+
"@dxos/functions": "0.7.5-staging.2ff1350",
|
|
47
|
+
"@dxos/echo-schema": "0.7.5-staging.2ff1350",
|
|
48
|
+
"@dxos/local-storage": "0.7.5-staging.2ff1350",
|
|
49
|
+
"@dxos/live-object": "0.7.5-staging.2ff1350",
|
|
50
|
+
"@dxos/keys": "0.7.5-staging.2ff1350",
|
|
51
|
+
"@dxos/log": "0.7.5-staging.2ff1350",
|
|
52
|
+
"@dxos/plugin-client": "0.7.5-staging.2ff1350",
|
|
53
|
+
"@dxos/plugin-deck": "0.7.5-staging.2ff1350",
|
|
54
|
+
"@dxos/invariant": "0.7.5-staging.2ff1350",
|
|
55
|
+
"@dxos/plugin-graph": "0.7.5-staging.2ff1350",
|
|
56
|
+
"@dxos/plugin-markdown": "0.7.5-staging.2ff1350",
|
|
57
|
+
"@dxos/plugin-sheet": "0.7.5-staging.2ff1350",
|
|
58
|
+
"@dxos/plugin-sketch": "0.7.5-staging.2ff1350",
|
|
59
|
+
"@dxos/plugin-space": "0.7.5-staging.2ff1350",
|
|
60
|
+
"@dxos/plugin-status-bar": "0.7.5-staging.2ff1350",
|
|
61
|
+
"@dxos/plugin-table": "0.7.5-staging.2ff1350",
|
|
62
|
+
"@dxos/plugin-theme": "0.7.5-staging.2ff1350",
|
|
63
|
+
"@dxos/protocols": "0.7.5-staging.2ff1350",
|
|
64
|
+
"@dxos/random": "0.7.5-staging.2ff1350",
|
|
65
|
+
"@dxos/react-client": "0.7.5-staging.2ff1350",
|
|
66
|
+
"@dxos/react-hooks": "0.7.5-staging.2ff1350",
|
|
67
|
+
"@dxos/react-ui-attention": "0.7.5-staging.2ff1350",
|
|
68
|
+
"@dxos/react-ui-canvas-compute": "0.7.5-staging.2ff1350",
|
|
69
|
+
"@dxos/react-ui-form": "0.7.5-staging.2ff1350",
|
|
70
|
+
"@dxos/react-ui-canvas-editor": "0.7.5-staging.2ff1350",
|
|
71
|
+
"@dxos/react-ui-kanban": "0.7.5-staging.2ff1350",
|
|
72
|
+
"@dxos/react-ui-stack": "0.7.5-staging.2ff1350",
|
|
73
|
+
"@dxos/react-ui-syntax-highlighter": "0.7.5-staging.2ff1350",
|
|
74
|
+
"@dxos/react-ui-table": "0.7.5-staging.2ff1350",
|
|
75
|
+
"@dxos/schema": "0.7.5-staging.2ff1350",
|
|
76
|
+
"@dxos/util": "0.7.5-staging.2ff1350"
|
|
71
77
|
},
|
|
72
78
|
"devDependencies": {
|
|
73
79
|
"@phosphor-icons/react": "^2.1.5",
|
|
@@ -77,17 +83,17 @@
|
|
|
77
83
|
"react": "~18.2.0",
|
|
78
84
|
"react-dom": "~18.2.0",
|
|
79
85
|
"vite": "5.4.7",
|
|
80
|
-
"@dxos/react-ui
|
|
81
|
-
"@dxos/react-ui": "0.7.5-
|
|
82
|
-
"@dxos/storybook-utils": "0.7.5-
|
|
86
|
+
"@dxos/react-ui": "0.7.5-staging.2ff1350",
|
|
87
|
+
"@dxos/react-ui-theme": "0.7.5-staging.2ff1350",
|
|
88
|
+
"@dxos/storybook-utils": "0.7.5-staging.2ff1350"
|
|
83
89
|
},
|
|
84
90
|
"peerDependencies": {
|
|
85
91
|
"@phosphor-icons/react": "^2.1.5",
|
|
86
92
|
"react": "~18.2.0",
|
|
87
93
|
"react-dom": "~18.2.0",
|
|
88
|
-
"@dxos/
|
|
89
|
-
"@dxos/
|
|
90
|
-
"@dxos/react-ui": "0.7.5-
|
|
94
|
+
"@dxos/random": "0.7.5-staging.2ff1350",
|
|
95
|
+
"@dxos/react-ui-theme": "0.7.5-staging.2ff1350",
|
|
96
|
+
"@dxos/react-ui": "0.7.5-staging.2ff1350"
|
|
91
97
|
},
|
|
92
98
|
"publishConfig": {
|
|
93
99
|
"access": "public"
|
package/src/DebugPlugin.tsx
CHANGED
|
@@ -3,13 +3,15 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
import { Capabilities, contributes, defineModule, definePlugin, Events } from '@dxos/app-framework';
|
|
6
|
-
import { DeckCapabilities } from '@dxos/plugin-deck';
|
|
6
|
+
import { DeckCapabilities, DeckEvents } from '@dxos/plugin-deck';
|
|
7
7
|
import { type Client } from '@dxos/react-client';
|
|
8
|
+
import { isEchoObject, getSpace } from '@dxos/react-client/echo';
|
|
8
9
|
|
|
9
|
-
import { AppGraphBuilder, DebugSettings, ReactSurface } from './capabilities';
|
|
10
|
+
import { AppGraphBuilder, DebugSettings, ReactContext, ReactSurface } from './capabilities';
|
|
10
11
|
import { DEBUG_PLUGIN, meta } from './meta';
|
|
11
12
|
import translations from './translations';
|
|
12
13
|
|
|
14
|
+
// TODO(wittjosiah): Rename to DevtoolsPlugin?
|
|
13
15
|
export const DebugPlugin = () => {
|
|
14
16
|
setupDevtools();
|
|
15
17
|
|
|
@@ -26,17 +28,23 @@ export const DebugPlugin = () => {
|
|
|
26
28
|
}),
|
|
27
29
|
defineModule({
|
|
28
30
|
id: `${meta.id}/module/complementary-panel`,
|
|
29
|
-
activatesOn:
|
|
31
|
+
activatesOn: DeckEvents.SetupComplementaryPanels,
|
|
30
32
|
activate: () =>
|
|
31
33
|
contributes(DeckCapabilities.ComplementaryPanel, {
|
|
32
34
|
id: 'debug',
|
|
33
35
|
label: ['debug label', { ns: DEBUG_PLUGIN }],
|
|
34
36
|
icon: 'ph--bug--regular',
|
|
37
|
+
filter: (node) => isEchoObject(node.data) && !!getSpace(node.data),
|
|
35
38
|
}),
|
|
36
39
|
}),
|
|
40
|
+
defineModule({
|
|
41
|
+
id: `${meta.id}/module/react-context`,
|
|
42
|
+
activatesOn: Events.Startup,
|
|
43
|
+
activate: ReactContext,
|
|
44
|
+
}),
|
|
37
45
|
defineModule({
|
|
38
46
|
id: `${meta.id}/module/react-surface`,
|
|
39
|
-
activatesOn: Events.
|
|
47
|
+
activatesOn: Events.SetupReactSurface,
|
|
40
48
|
activate: ReactSurface,
|
|
41
49
|
}),
|
|
42
50
|
defineModule({
|