@dxos/plugin-debug 0.8.4-main.2e9d522 → 0.8.4-main.406dc2a

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 (87) hide show
  1. package/dist/lib/browser/DebugGraph-EDOH6R2G.mjs +20 -0
  2. package/dist/lib/browser/DebugGraph-EDOH6R2G.mjs.map +7 -0
  3. package/dist/lib/browser/{SpaceGenerator-AG3XGNMV.mjs → SpaceGenerator-VMWHGAJZ.mjs} +245 -69
  4. package/dist/lib/browser/SpaceGenerator-VMWHGAJZ.mjs.map +7 -0
  5. package/dist/lib/browser/{app-graph-builder-SQXFD2BL.mjs → app-graph-builder-I4IHBKKN.mjs} +75 -84
  6. package/dist/lib/browser/app-graph-builder-I4IHBKKN.mjs.map +7 -0
  7. package/dist/lib/browser/{chunk-AJA6RYN3.mjs → chunk-SRV2AIGJ.mjs} +2 -2
  8. package/dist/lib/browser/chunk-SRV2AIGJ.mjs.map +7 -0
  9. package/dist/lib/browser/{chunk-5XPIRNQS.mjs → chunk-SVCKCXCL.mjs} +2 -4
  10. package/dist/lib/browser/chunk-SVCKCXCL.mjs.map +7 -0
  11. package/dist/lib/browser/index.mjs +14 -13
  12. package/dist/lib/browser/index.mjs.map +3 -3
  13. package/dist/lib/browser/meta.json +1 -1
  14. package/dist/lib/browser/{react-context-NVAGLAJD.mjs → react-context-QLZE7VSQ.mjs} +6 -6
  15. package/dist/lib/browser/react-context-QLZE7VSQ.mjs.map +7 -0
  16. package/dist/lib/browser/{react-surface-3GD2OWCA.mjs → react-surface-GFORPA3A.mjs} +78 -74
  17. package/dist/lib/browser/react-surface-GFORPA3A.mjs.map +7 -0
  18. package/dist/lib/browser/{settings-LSSWLM5I.mjs → settings-EBVICEEW.mjs} +5 -5
  19. package/dist/lib/browser/{settings-LSSWLM5I.mjs.map → settings-EBVICEEW.mjs.map} +1 -1
  20. package/dist/types/src/DebugPlugin.d.ts +1 -1
  21. package/dist/types/src/DebugPlugin.d.ts.map +1 -1
  22. package/dist/types/src/capabilities/app-graph-builder.d.ts +1 -1
  23. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  24. package/dist/types/src/capabilities/index.d.ts +5 -5
  25. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  26. package/dist/types/src/capabilities/react-context.d.ts +2 -2
  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 -1
  30. package/dist/types/src/components/DebugGraph.d.ts +8 -0
  31. package/dist/types/src/components/DebugGraph.d.ts.map +1 -0
  32. package/dist/types/src/components/DebugObjectPanel.d.ts.map +1 -1
  33. package/dist/types/src/components/DebugSettings.d.ts.map +1 -1
  34. package/dist/types/src/components/SpaceGenerator/ObjectGenerator.d.ts +1 -1
  35. package/dist/types/src/components/SpaceGenerator/ObjectGenerator.d.ts.map +1 -1
  36. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.d.ts.map +1 -1
  37. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.stories.d.ts +13 -4
  38. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.stories.d.ts.map +1 -1
  39. package/dist/types/src/components/SpaceGenerator/draw-util.d.ts.map +1 -1
  40. package/dist/types/src/components/SpaceGenerator/presets.d.ts +4 -1
  41. package/dist/types/src/components/SpaceGenerator/presets.d.ts.map +1 -1
  42. package/dist/types/src/components/Wireframe.d.ts.map +1 -1
  43. package/dist/types/src/components/index.d.ts +2 -1
  44. package/dist/types/src/components/index.d.ts.map +1 -1
  45. package/dist/types/src/meta.d.ts +0 -1
  46. package/dist/types/src/meta.d.ts.map +1 -1
  47. package/dist/types/src/translations.d.ts +2 -0
  48. package/dist/types/src/translations.d.ts.map +1 -1
  49. package/dist/types/src/types.d.ts +1 -1
  50. package/dist/types/src/types.d.ts.map +1 -1
  51. package/dist/types/tsconfig.tsbuildinfo +1 -1
  52. package/package.json +66 -63
  53. package/src/DebugPlugin.tsx +6 -7
  54. package/src/capabilities/app-graph-builder.ts +63 -89
  55. package/src/capabilities/react-context.tsx +2 -2
  56. package/src/capabilities/react-surface.tsx +49 -47
  57. package/src/components/DebugGraph.tsx +14 -0
  58. package/src/components/DebugObjectPanel.tsx +2 -4
  59. package/src/components/DebugSettings.tsx +74 -66
  60. package/src/components/DebugStatus.tsx +2 -2
  61. package/src/components/SpaceGenerator/ObjectGenerator.tsx +15 -15
  62. package/src/components/SpaceGenerator/SpaceGenerator.stories.tsx +11 -11
  63. package/src/components/SpaceGenerator/SpaceGenerator.tsx +7 -7
  64. package/src/components/SpaceGenerator/draw-util.ts +5 -5
  65. package/src/components/SpaceGenerator/presets.ts +173 -12
  66. package/src/components/Wireframe.tsx +2 -1
  67. package/src/components/index.ts +1 -1
  68. package/src/meta.ts +1 -3
  69. package/src/translations.ts +2 -0
  70. package/src/types.ts +1 -1
  71. package/dist/lib/browser/DebugApp-ZDL4CPY5.mjs +0 -228
  72. package/dist/lib/browser/DebugApp-ZDL4CPY5.mjs.map +0 -7
  73. package/dist/lib/browser/SpaceGenerator-AG3XGNMV.mjs.map +0 -7
  74. package/dist/lib/browser/app-graph-builder-SQXFD2BL.mjs.map +0 -7
  75. package/dist/lib/browser/chunk-5XPIRNQS.mjs.map +0 -7
  76. package/dist/lib/browser/chunk-AJA6RYN3.mjs.map +0 -7
  77. package/dist/lib/browser/react-context-NVAGLAJD.mjs.map +0 -7
  78. package/dist/lib/browser/react-surface-3GD2OWCA.mjs.map +0 -7
  79. package/dist/types/src/components/DebugApp/DebugApp.d.ts +0 -6
  80. package/dist/types/src/components/DebugApp/DebugApp.d.ts.map +0 -1
  81. package/dist/types/src/components/DebugApp/Tree.d.ts +0 -18
  82. package/dist/types/src/components/DebugApp/Tree.d.ts.map +0 -1
  83. package/dist/types/src/components/DebugApp/index.d.ts +0 -3
  84. package/dist/types/src/components/DebugApp/index.d.ts.map +0 -1
  85. package/src/components/DebugApp/DebugApp.tsx +0 -84
  86. package/src/components/DebugApp/Tree.tsx +0 -103
  87. package/src/components/DebugApp/index.ts +0 -7
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["../../../src/capabilities/settings.ts"],
4
4
  "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capabilities, contributes } from '@dxos/app-framework';\nimport { live } from '@dxos/live-object';\n\nimport { meta } from '../meta';\nimport { type DebugSettingsProps, DebugSettingsSchema } from '../types';\n\nexport default () => {\n const settings = live<DebugSettingsProps>({});\n\n return contributes(Capabilities.Settings, {\n prefix: meta.id,\n schema: DebugSettingsSchema,\n value: settings,\n });\n};\n"],
5
- "mappings": ";;;;;;;;AAIA,SAASA,cAAcC,mBAAmB;AAC1C,SAASC,YAAY;AAKrB,IAAA,mBAAe,MAAA;AACb,QAAMC,WAAWC,KAAyB,CAAC,CAAA;AAE3C,SAAOC,YAAYC,aAAaC,UAAU;IACxCC,QAAQC,KAAKC;IACbC,QAAQC;IACRC,OAAOV;EACT,CAAA;AACF;",
5
+ "mappings": ";;;;;;;;AAIA,SAASA,cAAcC,mBAAmB;AAC1C,SAASC,YAAY;AAKrB,IAAA,oBAAe,MAAA;AACb,QAAMC,WAAWC,KAAyB,CAAC,CAAA;AAE3C,SAAOC,YAAYC,aAAaC,UAAU;IACxCC,QAAQC,KAAKC;IACbC,QAAQC;IACRC,OAAOV;EACT,CAAA;AACF;",
6
6
  "names": ["Capabilities", "contributes", "live", "settings", "live", "contributes", "Capabilities", "Settings", "prefix", "meta", "id", "schema", "DebugSettingsSchema", "value"]
7
7
  }
@@ -1,2 +1,2 @@
1
- export declare const DebugPlugin: () => import("@dxos/app-framework").Plugin;
1
+ export declare const DebugPlugin: import("@dxos/app-framework").PluginFactory<void>;
2
2
  //# sourceMappingURL=DebugPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DebugPlugin.d.ts","sourceRoot":"","sources":["../../../src/DebugPlugin.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,WAAW,4CA8BvB,CAAC"}
1
+ {"version":3,"file":"DebugPlugin.d.ts","sourceRoot":"","sources":["../../../src/DebugPlugin.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,WAAW,mDA6BtB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { type PluginContext } from '@dxos/app-framework';
2
- declare const _default: (context: PluginContext) => import("@dxos/app-framework").Capability<import("@dxos/app-graph").BuilderExtensions>;
2
+ declare const _default: (context: PluginContext) => import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-graph").BuilderExtensions>>;
3
3
  export default _default;
4
4
  //# sourceMappingURL=app-graph-builder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAOA,OAAO,EAA6B,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;yBAWpE,SAAS,aAAa;AAAtC,wBAsbK"}
1
+ {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAQA,OAAO,EAAgB,KAAK,aAAa,EAAe,MAAM,qBAAqB,CAAC;yBAWpE,SAAS,aAAa;AAAtC,wBA2ZK"}
@@ -1,9 +1,9 @@
1
- export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-graph").BuilderExtensions> | import("@dxos/app-framework").AnyCapability[]>>;
2
- export declare const ReactContext: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<Readonly<{
1
+ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-graph").BuilderExtensions>> | import("@dxos/app-framework").AnyCapability[]>>;
2
+ export declare const ReactContext: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Readonly<{
3
3
  id: string;
4
4
  dependsOn?: string[];
5
5
  context: import("react").FC<import("react").PropsWithChildren>;
6
- }>> | import("@dxos/app-framework").AnyCapability[]>>;
7
- export declare const ReactSurface: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface> | import("@dxos/app-framework").AnyCapability[]>>;
8
- export declare const DebugSettings: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.Settings> | import("@dxos/app-framework").AnyCapability[]>>;
6
+ }>>> | import("@dxos/app-framework").AnyCapability[]>>;
7
+ export declare const ReactSurface: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-framework").Capabilities.ReactSurface>> | import("@dxos/app-framework").AnyCapability[]>>;
8
+ export declare const DebugSettings: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-framework").Capabilities.Settings>> | import("@dxos/app-framework").AnyCapability[]>>;
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,oOAA4C,CAAC;AACzE,eAAO,MAAM,YAAY;;;;qDAAwC,CAAC;AAClE,eAAO,MAAM,YAAY,gPAAwC,CAAC;AAClE,eAAO,MAAM,aAAa,4LAAmC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,gRAA4C,CAAC;AACzE,eAAO,MAAM,YAAY;;;;sDAAwC,CAAC;AAClE,eAAO,MAAM,YAAY,4RAAwC,CAAC;AAClE,eAAO,MAAM,aAAa,wOAAmC,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
- declare const _default: () => import("@dxos/app-framework").Capability<Readonly<{
2
+ declare const _default: () => import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Readonly<{
3
3
  id: string;
4
4
  dependsOn?: string[];
5
5
  context: React.FC<React.PropsWithChildren>;
6
- }>>;
6
+ }>>>;
7
7
  export default _default;
8
8
  //# sourceMappingURL=react-context.d.ts.map
@@ -1,4 +1,4 @@
1
1
  import { Capabilities, type PluginContext } from '@dxos/app-framework';
2
- declare const _default: (context: PluginContext) => import("@dxos/app-framework").Capability<Capabilities.ReactSurface>;
2
+ declare const _default: (context: PluginContext) => import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Capabilities.ReactSurface>>;
3
3
  export default _default;
4
4
  //# sourceMappingURL=react-surface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAOA,OAAO,EACL,YAAY,EAQZ,KAAK,aAAa,EACnB,MAAM,qBAAqB,CAAC;yBAwEb,SAAS,aAAa;AAAtC,wBAmTK"}
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAOA,OAAO,EACL,YAAY,EAEZ,KAAK,aAAa,EAOnB,MAAM,qBAAqB,CAAC;yBAyEb,SAAS,aAAa;AAAtC,wBAoTK"}
@@ -1,4 +1,4 @@
1
1
  import { Capabilities } from '@dxos/app-framework';
2
- declare const _default: () => import("@dxos/app-framework").Capability<Capabilities.Settings>;
2
+ declare const _default: () => import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<Capabilities.Settings>>;
3
3
  export default _default;
4
4
  //# sourceMappingURL=settings.d.ts.map
@@ -0,0 +1,8 @@
1
+ import { type FC } from 'react';
2
+ import { type Graph } from '@dxos/plugin-graph';
3
+ export declare const DebugGraph: FC<{
4
+ graph: Graph;
5
+ root: string;
6
+ }>;
7
+ export default DebugGraph;
8
+ //# sourceMappingURL=DebugGraph.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DebugGraph.d.ts","sourceRoot":"","sources":["../../../../src/components/DebugGraph.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAEzD,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DebugObjectPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/DebugObjectPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,YAAY,CAAC;AAKtC,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC;CACjB,CAAC;AAGF,eAAO,MAAM,gBAAgB,GAAI,YAAY,qBAAqB,sBAkBjE,CAAC"}
1
+ {"version":3,"file":"DebugObjectPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/DebugObjectPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,YAAY,CAAC;AAKtC,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC;CACjB,CAAC;AAGF,eAAO,MAAM,gBAAgB,GAAI,YAAY,qBAAqB,sBAgBjE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DebugSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/DebugSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAWnD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAYnD,eAAO,MAAM,aAAa,GAAI,cAAc;IAAE,QAAQ,EAAE,kBAAkB,CAAA;CAAE,sBAkH3E,CAAC"}
1
+ {"version":3,"file":"DebugSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/DebugSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAWnD,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAYnD,eAAO,MAAM,aAAa,GAAI,cAAc;IAAE,QAAQ,EAAE,kBAAkB,CAAA;CAAE,sBA0H3E,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { type PromiseIntentDispatcher } from '@dxos/app-framework';
2
2
  import { Obj } from '@dxos/echo';
3
- import { type TypedObject } from '@dxos/echo-schema';
3
+ import { type TypedObject } from '@dxos/echo/internal';
4
4
  import { type Client } from '@dxos/react-client';
5
5
  import { type Space } from '@dxos/react-client/echo';
6
6
  export type ObjectGenerator<T extends Obj.Any> = (space: Space, n: number, cb?: (objects: T[]) => void) => Promise<T[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"ObjectGenerator.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/ObjectGenerator.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAgB,KAAK,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAGjF,OAAO,EAAoB,GAAG,EAAa,MAAM,YAAY,CAAC;AAC9D,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAOrD,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAOrD,MAAM,MAAM,eAAe,CAAC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B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SpaceGenerator.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/SpaceGenerator.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAI9D,OAAO,EAAU,KAAK,GAAG,EAAE,MAAM,YAAY,CAAC;AAK9C,OAAO,EAAe,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAUlE,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,KAAK,CAAC;IACb,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,GAAG,EAAE,KAAK,IAAI,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,4BAA4B,mBAAmB,sBA6F7E,CAAC"}
1
+ {"version":3,"file":"SpaceGenerator.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/SpaceGenerator.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAI9D,OAAO,EAAU,KAAK,GAAG,EAAE,MAAM,YAAY,CAAC;AAK9C,OAAO,EAAE,KAAK,KAAK,EAAe,MAAM,yBAAyB,CAAC;AAUlE,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,KAAK,CAAC;IACb,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,CAAC,GAAG,EAAE,KAAK,IAAI,CAAC;CAChD,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,4BAA4B,mBAAmB,sBA6F7E,CAAC"}
@@ -1,6 +1,15 @@
1
- import '@dxos-theme';
2
- import { type Meta } from '@storybook/react-vite';
3
- declare const meta: Meta;
1
+ import { type StoryObj } from '@storybook/react-vite';
2
+ import React from 'react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: any;
6
+ render: (args: unknown) => React.JSX.Element;
7
+ decorators: import("@storybook/react").Decorator[];
8
+ parameters: {
9
+ layout: string;
10
+ };
11
+ };
4
12
  export default meta;
5
- export declare const Default: {};
13
+ type Story = StoryObj<typeof meta>;
14
+ export declare const Default: Story;
6
15
  //# sourceMappingURL=SpaceGenerator.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SpaceGenerator.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/SpaceGenerator.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAoBlD,QAAA,MAAM,IAAI,EAAE,IAqBX,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,IAAK,CAAC"}
1
+ {"version":3,"file":"SpaceGenerator.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/SpaceGenerator.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAoB1B,QAAA,MAAM,IAAI;;eAEqB,GAAG;;;;;;CAkBG,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"draw-util.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/draw-util.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAa,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAUpE,OAAO,EAAkC,KAAK,MAAM,EAAE,KAAK,eAAe,EAAE,KAAK,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAalH;;GAEG;AAGH,eAAO,MAAM,aAAa,QAAO,KAAK,CAAC,WAAW,EAAE,WAAW,CAiD9D,CAAC;AAEF,eAAO,MAAM,SAAS,GACpB,QAAQ,MAAM,EACd,OAAO,KAAK,CAAC,WAAW,EAAE,WAAW,CAAC,KACrC,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAC,CAuGnC,CAAC"}
1
+ {"version":3,"file":"draw-util.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/draw-util.ts"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,EAAE,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAUpE,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,eAAe,EAAE,KAAK,QAAQ,EAAkC,MAAM,gBAAgB,CAAC;AAalH;;GAEG;AAGH,eAAO,MAAM,aAAa,QAAO,KAAK,CAAC,WAAW,EAAE,WAAW,CAiD9D,CAAC;AAEF,eAAO,MAAM,SAAS,GACpB,QAAQ,MAAM,EACd,OAAO,KAAK,CAAC,WAAW,EAAE,WAAW,CAAC,KACrC,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAC,CAuGnC,CAAC"}
@@ -1,7 +1,10 @@
1
+ import * as Schema from 'effect/Schema';
1
2
  import { FunctionTrigger } from '@dxos/functions';
2
3
  import { CanvasBoardType } from '@dxos/react-ui-canvas-editor';
3
4
  import { type ObjectGenerator } from './ObjectGenerator';
4
5
  export declare enum PresetName {
6
+ DXOS_TEAM = "dxos-team",
7
+ ORG_RESEARCH_PROJECT = "org-research-project",
5
8
  GPT_QUEUE = "webhook-gpt-queue",
6
9
  CHAT_GPT = "chat-gpt-text",
7
10
  OBJECT_CHANGE_QUEUE = "objectChange-queue",
@@ -10,7 +13,7 @@ export declare enum PresetName {
10
13
  DISCORD_MESSAGES = "discord-messages"
11
14
  }
12
15
  export declare const generator: () => {
13
- schemas: (typeof CanvasBoardType | typeof FunctionTrigger)[];
16
+ schemas: (typeof CanvasBoardType | Schema.Schema<FunctionTrigger, import("@dxos/functions").FunctionTriggerEncoded, never>)[];
14
17
  types: {
15
18
  typename: PresetName;
16
19
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/presets.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,eAAe,EAAiC,MAAM,iBAAiB,CAAC;AAkBjF,OAAO,EACL,eAAe,EAKhB,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,oBAAY,UAAU;IAEpB,SAAS,sBAAsB;IAC/B,QAAQ,kBAAkB;IAE1B,mBAAmB,uBAAuB;IAC1C,mBAAmB,wBAAwB;IAC3C,gBAAgB,oBAAoB;IACpC,gBAAgB,qBAAqB;CAEtC;AAED,eAAO,MAAM,SAAS;;;;;WA8Yf,CAAC,UAAU,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE;CACzC,CAAC"}
1
+ {"version":3,"file":"presets.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceGenerator/presets.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,OAAO,EAAE,eAAe,EAAyD,MAAM,iBAAiB,CAAC;AAqBzG,OAAO,EACL,eAAe,EAKhB,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,oBAAY,UAAU;IACpB,SAAS,cAAc;IACvB,oBAAoB,yBAAyB;IAE7C,SAAS,sBAAsB;IAC/B,QAAQ,kBAAkB;IAE1B,mBAAmB,uBAAuB;IAC1C,mBAAmB,wBAAwB;IAC3C,gBAAgB,oBAAoB;IACpC,gBAAgB,qBAAqB;CAEtC;AAED,eAAO,MAAM,SAAS;;;;;WAuiBf,CAAC,UAAU,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC,EAAE;CACzC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Wireframe.d.ts","sourceRoot":"","sources":["../../../../src/components/Wireframe.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAMtD,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC;CACjB,CAAC,CAAC;AAGH,eAAO,MAAM,SAAS,GAAI,+BAA+B,cAAc,sBAuBtE,CAAC"}
1
+ {"version":3,"file":"Wireframe.d.ts","sourceRoot":"","sources":["../../../../src/components/Wireframe.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAMtD,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,GAAG,CAAC,GAAG,CAAC;CACjB,CAAC,CAAC;AAGH,eAAO,MAAM,SAAS,GAAI,+BAA+B,cAAc,sBAwBtE,CAAC"}
@@ -1,5 +1,6 @@
1
- export declare const DebugApp: import("react").LazyExoticComponent<import("react").FC<{
1
+ export declare const DebugGraph: import("react").LazyExoticComponent<import("react").FC<{
2
2
  graph: import("@dxos/app-graph").Graph;
3
+ root: string;
3
4
  }>>;
4
5
  export declare const DevtoolsOverviewContainer: import("react").LazyExoticComponent<() => import("react").JSX.Element>;
5
6
  export declare const SpaceGenerator: import("react").LazyExoticComponent<({ space, onCreateObjects }: import("./SpaceGenerator/SpaceGenerator").SpaceGeneratorProps) => import("react").JSX.Element>;
@@ -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,yBAAyB,wEAAoD,CAAC;AAC3F,eAAO,MAAM,cAAc,iKAAyC,CAAC;AAErE,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU;;;GAAqC,CAAC;AAC7D,eAAO,MAAM,yBAAyB,wEAAoD,CAAC;AAC3F,eAAO,MAAM,cAAc,iKAAyC,CAAC;AAErE,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC"}
@@ -1,4 +1,3 @@
1
1
  import { type PluginMeta } from '@dxos/app-framework';
2
- export declare const DEBUG_PLUGIN = "dxos.org/plugin/debug";
3
2
  export declare const meta: PluginMeta;
4
3
  //# sourceMappingURL=meta.d.ts.map
@@ -1 +1 @@
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,UAQlB,CAAC"}
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,IAAI,EAAE,UAQlB,CAAC"}
@@ -3,12 +3,14 @@ export declare const translations: [{
3
3
  readonly 'en-US': {
4
4
  readonly [meta.id]: {
5
5
  readonly 'plugin name': "Debug";
6
+ readonly 'settings title': "Debug settings";
6
7
  readonly 'mutation count': "Number of mutations";
7
8
  readonly 'mutation period': "Mutation period";
8
9
  readonly 'open devtools label': "Open DevTools";
9
10
  readonly 'devtools label': "DevTools";
10
11
  readonly 'devtools overview label': "DevTools Stats";
11
12
  readonly 'debug label': "Debug";
13
+ readonly 'debug app graph label': "App Graph";
12
14
  readonly 'settings show debug panel': "Show Debug panel.";
13
15
  readonly 'settings show devtools panel': "Show DevTools panel.";
14
16
  readonly 'settings wireframe': "Show wireframes.";
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAyDR;;EAGwB,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA2DR;;EAGwB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { Schema } from 'effect';
1
+ import * as Schema from 'effect/Schema';
2
2
  import { type Context } from 'react';
3
3
  import type { TimerCallback, TimerOptions } from '@dxos/async';
4
4
  export type DebugContextType = {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,KAAK,OAAO,EAAiB,MAAM,OAAO,CAAC;AAEpD,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE/D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,E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