@dxos/plugin-debug 0.8.4-main.937b3ca → 0.8.4-main.abd8ff62ef

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 (180) hide show
  1. package/dist/lib/browser/index.mjs +19 -118
  2. package/dist/lib/browser/index.mjs.map +4 -4
  3. package/dist/lib/browser/meta.json +1 -1
  4. package/dist/lib/browser/translations.mjs +81 -0
  5. package/dist/lib/browser/translations.mjs.map +7 -0
  6. package/dist/types/src/DebugPlugin.d.ts +3 -1
  7. package/dist/types/src/DebugPlugin.d.ts.map +1 -1
  8. package/dist/types/src/DebugPlugin.node.d.ts +5 -0
  9. package/dist/types/src/DebugPlugin.node.d.ts.map +1 -0
  10. package/dist/types/src/DebugPlugin.test.d.ts +2 -0
  11. package/dist/types/src/DebugPlugin.test.d.ts.map +1 -0
  12. package/dist/types/src/capabilities/app-graph-builder.d.ts +6 -0
  13. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
  14. package/dist/types/src/capabilities/index.d.ts +11 -4
  15. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  16. package/dist/types/src/capabilities/{react-context/react-context.d.ts → react-context.d.ts} +1 -1
  17. package/dist/types/src/capabilities/react-context.d.ts.map +1 -0
  18. package/dist/types/src/capabilities/react-surface.d.ts +9 -0
  19. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
  20. package/dist/types/src/capabilities/settings.d.ts +7 -0
  21. package/dist/types/src/capabilities/settings.d.ts.map +1 -0
  22. package/dist/types/src/components/DebugSettings/DebugSettings.d.ts +11 -0
  23. package/dist/types/src/components/DebugSettings/DebugSettings.d.ts.map +1 -0
  24. package/dist/types/src/components/DebugSettings/DebugSettings.stories.d.ts +97 -0
  25. package/dist/types/src/components/DebugSettings/DebugSettings.stories.d.ts.map +1 -0
  26. package/dist/types/src/components/DebugSettings/index.d.ts +2 -0
  27. package/dist/types/src/components/DebugSettings/index.d.ts.map +1 -0
  28. package/dist/types/src/components/SchemaTable/SchemaTable.d.ts.map +1 -0
  29. package/dist/types/src/components/SchemaTable/index.d.ts +2 -0
  30. package/dist/types/src/components/SchemaTable/index.d.ts.map +1 -0
  31. package/dist/types/src/components/SpaceGenerator/ObjectGenerator.d.ts +2 -2
  32. package/dist/types/src/components/SpaceGenerator/ObjectGenerator.d.ts.map +1 -1
  33. package/dist/types/src/components/SpaceGenerator/draw-util.d.ts.map +1 -1
  34. package/dist/types/src/components/SpaceGenerator/index.d.ts +2 -2
  35. package/dist/types/src/components/SpaceGenerator/index.d.ts.map +1 -1
  36. package/dist/types/src/components/SpaceGenerator/presets.d.ts.map +1 -1
  37. package/dist/types/src/components/index.d.ts +4 -10
  38. package/dist/types/src/components/index.d.ts.map +1 -1
  39. package/dist/types/src/containers/DebugGraph/DebugGraph.d.ts +8 -0
  40. package/dist/types/src/containers/DebugGraph/DebugGraph.d.ts.map +1 -0
  41. package/dist/types/src/containers/DebugGraph/index.d.ts +2 -0
  42. package/dist/types/src/containers/DebugGraph/index.d.ts.map +1 -0
  43. package/dist/types/src/containers/DebugObjectPanel/DebugObjectPanel.d.ts +6 -0
  44. package/dist/types/src/containers/DebugObjectPanel/DebugObjectPanel.d.ts.map +1 -0
  45. package/dist/types/src/containers/DebugObjectPanel/index.d.ts +2 -0
  46. package/dist/types/src/containers/DebugObjectPanel/index.d.ts.map +1 -0
  47. package/dist/types/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.d.ts +5 -0
  48. package/dist/types/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.d.ts.map +1 -0
  49. package/dist/types/src/containers/DebugSpaceObjectsPanel/index.d.ts +2 -0
  50. package/dist/types/src/containers/DebugSpaceObjectsPanel/index.d.ts.map +1 -0
  51. package/dist/types/src/containers/DebugStatus/DebugStatus.d.ts.map +1 -0
  52. package/dist/types/src/containers/DebugStatus/index.d.ts +2 -0
  53. package/dist/types/src/containers/DebugStatus/index.d.ts.map +1 -0
  54. package/dist/types/src/{components → containers/DevtoolsOverviewContainer}/DevtoolsOverviewContainer.d.ts +0 -1
  55. package/dist/types/src/containers/DevtoolsOverviewContainer/DevtoolsOverviewContainer.d.ts.map +1 -0
  56. package/dist/types/src/containers/DevtoolsOverviewContainer/index.d.ts +2 -0
  57. package/dist/types/src/containers/DevtoolsOverviewContainer/index.d.ts.map +1 -0
  58. package/dist/types/src/containers/SpaceGenerator/SpaceGenerator.d.ts +11 -0
  59. package/dist/types/src/{components → containers}/SpaceGenerator/SpaceGenerator.d.ts.map +1 -1
  60. package/dist/types/src/containers/SpaceGenerator/index.d.ts +2 -0
  61. package/dist/types/src/containers/SpaceGenerator/index.d.ts.map +1 -0
  62. package/dist/types/src/containers/Wireframe/Wireframe.d.ts.map +1 -0
  63. package/dist/types/src/containers/Wireframe/index.d.ts +2 -0
  64. package/dist/types/src/containers/Wireframe/index.d.ts.map +1 -0
  65. package/dist/types/src/containers/index.d.ts +9 -0
  66. package/dist/types/src/containers/index.d.ts.map +1 -0
  67. package/dist/types/src/index.d.ts +3 -1
  68. package/dist/types/src/index.d.ts.map +1 -1
  69. package/dist/types/src/translations.d.ts +78 -59
  70. package/dist/types/src/translations.d.ts.map +1 -1
  71. package/dist/types/src/types/Settings.d.ts +8 -0
  72. package/dist/types/src/types/Settings.d.ts.map +1 -0
  73. package/dist/types/src/types/index.d.ts +69 -0
  74. package/dist/types/src/types/index.d.ts.map +1 -0
  75. package/dist/types/tsconfig.tsbuildinfo +1 -1
  76. package/package.json +89 -70
  77. package/src/DebugPlugin.node.ts +18 -0
  78. package/src/DebugPlugin.test.ts +29 -0
  79. package/src/DebugPlugin.tsx +20 -11
  80. package/src/capabilities/app-graph-builder.ts +405 -0
  81. package/src/capabilities/index.ts +6 -4
  82. package/src/capabilities/react-context.tsx +25 -0
  83. package/src/capabilities/react-surface.tsx +439 -0
  84. package/src/capabilities/{settings/settings.ts → settings.ts} +7 -6
  85. package/src/components/DebugSettings/DebugSettings.stories.tsx +36 -0
  86. package/src/components/DebugSettings/DebugSettings.tsx +262 -0
  87. package/src/components/DebugSettings/index.ts +5 -0
  88. package/src/components/{SpaceGenerator → SchemaTable}/SchemaTable.tsx +2 -2
  89. package/src/components/SchemaTable/index.ts +5 -0
  90. package/src/components/SpaceGenerator/ObjectGenerator.tsx +14 -15
  91. package/src/components/SpaceGenerator/draw-util.ts +8 -8
  92. package/src/components/SpaceGenerator/index.ts +2 -3
  93. package/src/components/SpaceGenerator/presets.ts +55 -73
  94. package/src/components/index.ts +4 -11
  95. package/src/{components → containers/DebugGraph}/DebugGraph.tsx +3 -4
  96. package/src/containers/DebugGraph/index.ts +5 -0
  97. package/src/containers/DebugObjectPanel/DebugObjectPanel.tsx +76 -0
  98. package/src/containers/DebugObjectPanel/index.ts +5 -0
  99. package/src/containers/DebugSpaceObjectsPanel/DebugSpaceObjectsPanel.tsx +47 -0
  100. package/src/containers/DebugSpaceObjectsPanel/index.ts +5 -0
  101. package/src/{components → containers/DebugStatus}/DebugStatus.tsx +41 -19
  102. package/src/containers/DebugStatus/index.ts +5 -0
  103. package/src/containers/DevtoolsOverviewContainer/DevtoolsOverviewContainer.tsx +25 -0
  104. package/src/containers/DevtoolsOverviewContainer/index.ts +5 -0
  105. package/src/containers/SpaceGenerator/SpaceGenerator.tsx +126 -0
  106. package/src/containers/SpaceGenerator/index.ts +5 -0
  107. package/src/{components → containers/Wireframe}/Wireframe.tsx +3 -7
  108. package/src/containers/Wireframe/index.ts +5 -0
  109. package/src/containers/index.ts +13 -0
  110. package/src/index.ts +7 -1
  111. package/src/meta.ts +1 -1
  112. package/src/translations.ts +75 -58
  113. package/src/types/Settings.ts +16 -0
  114. package/src/{types.ts → types/index.ts} +15 -14
  115. package/dist/lib/browser/DebugGraph-6VMEOKEV.mjs +0 -15
  116. package/dist/lib/browser/DebugGraph-6VMEOKEV.mjs.map +0 -7
  117. package/dist/lib/browser/DevtoolsOverviewContainer-77PKFLYV.mjs +0 -19
  118. package/dist/lib/browser/DevtoolsOverviewContainer-77PKFLYV.mjs.map +0 -7
  119. package/dist/lib/browser/SpaceGenerator-ZHVZWGM7.mjs +0 -1150
  120. package/dist/lib/browser/SpaceGenerator-ZHVZWGM7.mjs.map +0 -7
  121. package/dist/lib/browser/app-graph-builder-FBDRMMYF.mjs +0 -597
  122. package/dist/lib/browser/app-graph-builder-FBDRMMYF.mjs.map +0 -7
  123. package/dist/lib/browser/chunk-4UFQXPP7.mjs +0 -78
  124. package/dist/lib/browser/chunk-4UFQXPP7.mjs.map +0 -7
  125. package/dist/lib/browser/chunk-A5H5GRV6.mjs +0 -20
  126. package/dist/lib/browser/chunk-A5H5GRV6.mjs.map +0 -7
  127. package/dist/lib/browser/react-context-FSWBT3MH.mjs +0 -17
  128. package/dist/lib/browser/react-context-FSWBT3MH.mjs.map +0 -7
  129. package/dist/lib/browser/react-surface-W62RJ32U.mjs +0 -757
  130. package/dist/lib/browser/react-surface-W62RJ32U.mjs.map +0 -7
  131. package/dist/lib/browser/settings-KA4GN73K.mjs +0 -31
  132. package/dist/lib/browser/settings-KA4GN73K.mjs.map +0 -7
  133. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +0 -6
  134. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +0 -1
  135. package/dist/types/src/capabilities/app-graph-builder/index.d.ts +0 -3
  136. package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +0 -1
  137. package/dist/types/src/capabilities/react-context/index.d.ts +0 -7
  138. package/dist/types/src/capabilities/react-context/index.d.ts.map +0 -1
  139. package/dist/types/src/capabilities/react-context/react-context.d.ts.map +0 -1
  140. package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
  141. package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
  142. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +0 -5
  143. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
  144. package/dist/types/src/capabilities/settings/index.d.ts +0 -3
  145. package/dist/types/src/capabilities/settings/index.d.ts.map +0 -1
  146. package/dist/types/src/capabilities/settings/settings.d.ts +0 -5
  147. package/dist/types/src/capabilities/settings/settings.d.ts.map +0 -1
  148. package/dist/types/src/components/Container.d.ts +0 -5
  149. package/dist/types/src/components/Container.d.ts.map +0 -1
  150. package/dist/types/src/components/DebugGraph.d.ts +0 -9
  151. package/dist/types/src/components/DebugGraph.d.ts.map +0 -1
  152. package/dist/types/src/components/DebugObjectPanel.d.ts +0 -7
  153. package/dist/types/src/components/DebugObjectPanel.d.ts.map +0 -1
  154. package/dist/types/src/components/DebugSettings.d.ts +0 -8
  155. package/dist/types/src/components/DebugSettings.d.ts.map +0 -1
  156. package/dist/types/src/components/DebugStatus.d.ts.map +0 -1
  157. package/dist/types/src/components/DevtoolsOverviewContainer.d.ts.map +0 -1
  158. package/dist/types/src/components/SpaceGenerator/SchemaTable.d.ts.map +0 -1
  159. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.d.ts +0 -9
  160. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.stories.d.ts +0 -15
  161. package/dist/types/src/components/SpaceGenerator/SpaceGenerator.stories.d.ts.map +0 -1
  162. package/dist/types/src/components/Wireframe.d.ts.map +0 -1
  163. package/dist/types/src/types.d.ts +0 -68
  164. package/dist/types/src/types.d.ts.map +0 -1
  165. package/src/capabilities/app-graph-builder/app-graph-builder.ts +0 -419
  166. package/src/capabilities/app-graph-builder/index.ts +0 -7
  167. package/src/capabilities/react-context/index.ts +0 -7
  168. package/src/capabilities/react-context/react-context.tsx +0 -20
  169. package/src/capabilities/react-surface/index.ts +0 -7
  170. package/src/capabilities/react-surface/react-surface.tsx +0 -409
  171. package/src/capabilities/settings/index.ts +0 -7
  172. package/src/components/Container.tsx +0 -15
  173. package/src/components/DebugObjectPanel.tsx +0 -33
  174. package/src/components/DebugSettings.tsx +0 -185
  175. package/src/components/DevtoolsOverviewContainer.tsx +0 -20
  176. package/src/components/SpaceGenerator/SpaceGenerator.stories.tsx +0 -54
  177. package/src/components/SpaceGenerator/SpaceGenerator.tsx +0 -127
  178. /package/dist/types/src/components/{SpaceGenerator → SchemaTable}/SchemaTable.d.ts +0 -0
  179. /package/dist/types/src/{components → containers/DebugStatus}/DebugStatus.d.ts +0 -0
  180. /package/dist/types/src/{components → containers/Wireframe}/Wireframe.d.ts +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-debug",
3
- "version": "0.8.4-main.937b3ca",
3
+ "version": "0.8.4-main.abd8ff62ef",
4
4
  "description": "DXOS Surface plugin for testing.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -12,17 +12,33 @@
12
12
  "author": "DXOS.org",
13
13
  "sideEffects": true,
14
14
  "type": "module",
15
+ "imports": {
16
+ "#capabilities": "./src/capabilities/index.ts",
17
+ "#components": "./src/components/index.ts",
18
+ "#containers": "./src/containers/index.ts",
19
+ "#meta": "./src/meta.ts",
20
+ "#plugin": {
21
+ "browser": "./src/DebugPlugin.tsx",
22
+ "node": "./src/DebugPlugin.node.ts",
23
+ "default": "./src/DebugPlugin.tsx"
24
+ },
25
+ "#translations": "./src/translations.ts",
26
+ "#types": "./src/types/index.ts"
27
+ },
15
28
  "exports": {
16
29
  ".": {
17
- "browser": "./dist/lib/browser/index.mjs",
18
30
  "source": "./src/index.ts",
19
- "types": "./dist/types/src/index.d.ts"
31
+ "types": "./dist/types/src/index.d.ts",
32
+ "browser": "./dist/lib/browser/index.mjs"
33
+ },
34
+ "./translations": {
35
+ "source": "./src/translations.ts",
36
+ "types": "./dist/types/src/translations.d.ts",
37
+ "browser": "./dist/lib/browser/translations.mjs",
38
+ "node": "./dist/lib/node-esm/translations.mjs"
20
39
  }
21
40
  },
22
41
  "types": "dist/types/src/index.d.ts",
23
- "typesVersions": {
24
- "*": {}
25
- },
26
42
  "files": [
27
43
  "dist",
28
44
  "src"
@@ -31,84 +47,87 @@
31
47
  "@antv/graphlib": "^2.0.4",
32
48
  "@antv/layout": "^1.2.13",
33
49
  "@automerge/automerge": "3.2.3",
34
- "@effect-atom/atom": "^0.4.13",
35
- "@effect-atom/atom-react": "^0.4.6",
50
+ "@effect-atom/atom": "^0.5.1",
51
+ "@effect-atom/atom-react": "^0.5.0",
36
52
  "@tldraw/tldraw": "^3.0.0",
37
- "date-fns": "^3.3.1",
53
+ "date-fns": "^3.6.0",
38
54
  "react-json-tree": "^0.18.0",
39
55
  "react-resize-detector": "^11.0.1",
40
56
  "workerize-loader": "^2.0.2",
41
- "@dxos/assistant-toolkit": "0.8.4-main.937b3ca",
42
- "@dxos/app-framework": "0.8.4-main.937b3ca",
43
- "@dxos/async": "0.8.4-main.937b3ca",
44
- "@dxos/blueprints": "0.8.4-main.937b3ca",
45
- "@dxos/client-services": "0.8.4-main.937b3ca",
46
- "@dxos/conductor": "0.8.4-main.937b3ca",
47
- "@dxos/config": "0.8.4-main.937b3ca",
48
- "@dxos/context": "0.8.4-main.937b3ca",
49
- "@dxos/compute": "0.8.4-main.937b3ca",
50
- "@dxos/devtools": "0.8.4-main.937b3ca",
51
- "@dxos/echo-generator": "0.8.4-main.937b3ca",
52
- "@dxos/echo": "0.8.4-main.937b3ca",
53
- "@dxos/effect": "0.8.4-main.937b3ca",
54
- "@dxos/echo-pipeline": "0.8.4-main.937b3ca",
55
- "@dxos/invariant": "0.8.4-main.937b3ca",
56
- "@dxos/functions": "0.8.4-main.937b3ca",
57
- "@dxos/keys": "0.8.4-main.937b3ca",
58
- "@dxos/log": "0.8.4-main.937b3ca",
59
- "@dxos/operation": "0.8.4-main.937b3ca",
60
- "@dxos/plugin-client": "0.8.4-main.937b3ca",
61
- "@dxos/plugin-graph": "0.8.4-main.937b3ca",
62
- "@dxos/plugin-deck": "0.8.4-main.937b3ca",
63
- "@dxos/plugin-markdown": "0.8.4-main.937b3ca",
64
- "@dxos/plugin-script": "0.8.4-main.937b3ca",
65
- "@dxos/plugin-meeting": "0.8.4-main.937b3ca",
66
- "@dxos/plugin-sheet": "0.8.4-main.937b3ca",
67
- "@dxos/plugin-inbox": "0.8.4-main.937b3ca",
68
- "@dxos/plugin-sketch": "0.8.4-main.937b3ca",
69
- "@dxos/plugin-space": "0.8.4-main.937b3ca",
70
- "@dxos/plugin-status-bar": "0.8.4-main.937b3ca",
71
- "@dxos/plugin-theme": "0.8.4-main.937b3ca",
72
- "@dxos/plugin-table": "0.8.4-main.937b3ca",
73
- "@dxos/protocols": "0.8.4-main.937b3ca",
74
- "@dxos/react-hooks": "0.8.4-main.937b3ca",
75
- "@dxos/react-client": "0.8.4-main.937b3ca",
76
- "@dxos/react-ui-attention": "0.8.4-main.937b3ca",
77
- "@dxos/react-ui-canvas-editor": "0.8.4-main.937b3ca",
78
- "@dxos/random": "0.8.4-main.937b3ca",
79
- "@dxos/react-ui-form": "0.8.4-main.937b3ca",
80
- "@dxos/react-ui-kanban": "0.8.4-main.937b3ca",
81
- "@dxos/react-ui-stack": "0.8.4-main.937b3ca",
82
- "@dxos/react-ui-table": "0.8.4-main.937b3ca",
83
- "@dxos/react-ui-syntax-highlighter": "0.8.4-main.937b3ca",
84
- "@dxos/react-ui-mosaic": "0.8.4-main.937b3ca",
85
- "@dxos/schema": "0.8.4-main.937b3ca",
86
- "@dxos/types": "0.8.4-main.937b3ca",
87
- "@dxos/util": "0.8.4-main.937b3ca",
88
- "@dxos/react-ui-canvas-compute": "0.8.4-main.937b3ca"
57
+ "@dxos/app-framework": "0.8.4-main.abd8ff62ef",
58
+ "@dxos/assistant-toolkit": "0.8.4-main.abd8ff62ef",
59
+ "@dxos/client-services": "0.8.4-main.abd8ff62ef",
60
+ "@dxos/async": "0.8.4-main.abd8ff62ef",
61
+ "@dxos/compute": "0.8.4-main.abd8ff62ef",
62
+ "@dxos/compute-hyperformula": "0.8.4-main.abd8ff62ef",
63
+ "@dxos/conductor": "0.8.4-main.abd8ff62ef",
64
+ "@dxos/app-toolkit": "0.8.4-main.abd8ff62ef",
65
+ "@dxos/config": "0.8.4-main.abd8ff62ef",
66
+ "@dxos/context": "0.8.4-main.abd8ff62ef",
67
+ "@dxos/devtools": "0.8.4-main.abd8ff62ef",
68
+ "@dxos/echo-generator": "0.8.4-main.abd8ff62ef",
69
+ "@dxos/effect": "0.8.4-main.abd8ff62ef",
70
+ "@dxos/echo": "0.8.4-main.abd8ff62ef",
71
+ "@dxos/echo-pipeline": "0.8.4-main.abd8ff62ef",
72
+ "@dxos/invariant": "0.8.4-main.abd8ff62ef",
73
+ "@dxos/keys": "0.8.4-main.abd8ff62ef",
74
+ "@dxos/log-store-idb": "0.8.4-main.abd8ff62ef",
75
+ "@dxos/log": "0.8.4-main.abd8ff62ef",
76
+ "@dxos/operation": "0.8.4-main.abd8ff62ef",
77
+ "@dxos/plugin-client": "0.8.4-main.abd8ff62ef",
78
+ "@dxos/plugin-deck": "0.8.4-main.abd8ff62ef",
79
+ "@dxos/plugin-graph": "0.8.4-main.abd8ff62ef",
80
+ "@dxos/plugin-inbox": "0.8.4-main.abd8ff62ef",
81
+ "@dxos/plugin-markdown": "0.8.4-main.abd8ff62ef",
82
+ "@dxos/plugin-script": "0.8.4-main.abd8ff62ef",
83
+ "@dxos/plugin-sheet": "0.8.4-main.abd8ff62ef",
84
+ "@dxos/plugin-meeting": "0.8.4-main.abd8ff62ef",
85
+ "@dxos/plugin-sketch": "0.8.4-main.abd8ff62ef",
86
+ "@dxos/plugin-space": "0.8.4-main.abd8ff62ef",
87
+ "@dxos/plugin-status-bar": "0.8.4-main.abd8ff62ef",
88
+ "@dxos/plugin-table": "0.8.4-main.abd8ff62ef",
89
+ "@dxos/protocols": "0.8.4-main.abd8ff62ef",
90
+ "@dxos/random": "0.8.4-main.abd8ff62ef",
91
+ "@dxos/plugin-theme": "0.8.4-main.abd8ff62ef",
92
+ "@dxos/react-client": "0.8.4-main.abd8ff62ef",
93
+ "@dxos/react-hooks": "0.8.4-main.abd8ff62ef",
94
+ "@dxos/react-ui-canvas-compute": "0.8.4-main.abd8ff62ef",
95
+ "@dxos/react-ui-canvas-editor": "0.8.4-main.abd8ff62ef",
96
+ "@dxos/react-ui-form": "0.8.4-main.abd8ff62ef",
97
+ "@dxos/react-ui-attention": "0.8.4-main.abd8ff62ef",
98
+ "@dxos/react-ui-introspect": "0.8.4-main.abd8ff62ef",
99
+ "@dxos/react-ui-mosaic": "0.8.4-main.abd8ff62ef",
100
+ "@dxos/react-ui-stack": "0.8.4-main.abd8ff62ef",
101
+ "@dxos/react-ui-syntax-highlighter": "0.8.4-main.abd8ff62ef",
102
+ "@dxos/schema": "0.8.4-main.abd8ff62ef",
103
+ "@dxos/react-ui-table": "0.8.4-main.abd8ff62ef",
104
+ "@dxos/types": "0.8.4-main.abd8ff62ef",
105
+ "@dxos/tracing": "0.8.4-main.abd8ff62ef",
106
+ "@dxos/util": "0.8.4-main.abd8ff62ef"
89
107
  },
90
108
  "devDependencies": {
91
- "@effect-atom/atom-react": "^0.4.6",
92
- "@effect/platform": "0.93.6",
109
+ "@effect-atom/atom-react": "^0.5.0",
110
+ "@effect/platform": "0.94.4",
93
111
  "@types/react": "~19.2.7",
94
112
  "@types/react-dom": "~19.2.3",
95
- "effect": "3.19.11",
113
+ "effect": "3.20.0",
96
114
  "react": "~19.2.3",
97
115
  "react-dom": "~19.2.3",
98
- "vite": "7.1.9",
99
- "@dxos/storybook-utils": "0.8.4-main.937b3ca",
100
- "@dxos/react-ui": "0.8.4-main.937b3ca",
101
- "@dxos/ui-theme": "0.8.4-main.937b3ca"
116
+ "vite": "^8.0.10",
117
+ "@dxos/plugin-testing": "0.8.4-main.abd8ff62ef",
118
+ "@dxos/storybook-utils": "0.8.4-main.abd8ff62ef",
119
+ "@dxos/react-ui": "0.8.4-main.abd8ff62ef",
120
+ "@dxos/ui-theme": "0.8.4-main.abd8ff62ef"
102
121
  },
103
122
  "peerDependencies": {
104
- "@effect-atom/atom-react": "^0.4.6",
105
- "@effect/platform": "0.93.6",
106
- "effect": "3.19.11",
123
+ "@effect-atom/atom-react": "^0.5.0",
124
+ "@effect/platform": "0.94.4",
125
+ "effect": "3.20.0",
107
126
  "react": "~19.2.3",
108
127
  "react-dom": "~19.2.3",
109
- "@dxos/react-ui": "0.8.4-main.937b3ca",
110
- "@dxos/random": "0.8.4-main.937b3ca",
111
- "@dxos/ui-theme": "0.8.4-main.937b3ca"
128
+ "@dxos/ui-theme": "0.8.4-main.abd8ff62ef",
129
+ "@dxos/react-ui": "0.8.4-main.abd8ff62ef",
130
+ "@dxos/random": "0.8.4-main.abd8ff62ef"
112
131
  },
113
132
  "publishConfig": {
114
133
  "access": "public"
@@ -0,0 +1,18 @@
1
+ //
2
+ // Copyright 2023 DXOS.org
3
+ //
4
+
5
+ import { Plugin } from '@dxos/app-framework';
6
+ import { AppPlugin } from '@dxos/app-toolkit';
7
+
8
+ import { AppGraphBuilder, DebugSettings } from '#capabilities';
9
+ import { meta } from '#meta';
10
+ import { type DebugPluginOptions } from '#types';
11
+
12
+ export const DebugPlugin = Plugin.define<DebugPluginOptions>(meta).pipe(
13
+ AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),
14
+ AppPlugin.addSettingsModule({ activate: DebugSettings }),
15
+ Plugin.make,
16
+ );
17
+
18
+ export default DebugPlugin;
@@ -0,0 +1,29 @@
1
+ //
2
+ // Copyright 2026 DXOS.org
3
+ //
4
+
5
+ import { describe, test } from 'vitest';
6
+
7
+ import { AppActivationEvents } from '@dxos/app-toolkit';
8
+ import { createComposerTestApp } from '@dxos/plugin-testing/harness';
9
+
10
+ import { DebugPlugin } from '#plugin';
11
+
12
+ import { meta } from './meta';
13
+
14
+ const moduleId = (name: string) => `${meta.id}.module.${name}`;
15
+
16
+ describe('DebugPlugin', () => {
17
+ test('modules activate on the expected events', async ({ expect }) => {
18
+ await using harness = await createComposerTestApp({
19
+ plugins: [DebugPlugin({})],
20
+ });
21
+
22
+ // AppGraphBuilder auto-cascades from Startup (SetupAppGraph).
23
+ expect(harness.manager.getActive()).toContain(moduleId('AppGraphBuilder'));
24
+
25
+ // DebugSettings still needs manual SetupSettings fire (not auto-cascaded).
26
+ await harness.fire(AppActivationEvents.SetupSettings);
27
+ expect(harness.manager.getActive()).toContain(moduleId('DebugSettings'));
28
+ });
29
+ });
@@ -4,25 +4,32 @@
4
4
 
5
5
  import * as Effect from 'effect/Effect';
6
6
 
7
- import { Common, Plugin } from '@dxos/app-framework';
7
+ import { ActivationEvents, Capability, Plugin } from '@dxos/app-framework';
8
+ import { AppPlugin } from '@dxos/app-toolkit';
8
9
  import { type Client } from '@dxos/react-client';
9
10
 
10
- import { AppGraphBuilder, DebugSettings, ReactContext, ReactSurface } from './capabilities';
11
- import { meta } from './meta';
12
- import { translations } from './translations';
11
+ import { AppGraphBuilder, DebugSettings, ReactContext, ReactSurface } from '#capabilities';
12
+ import { meta } from '#meta';
13
+ import { translations } from '#translations';
14
+ import { type DebugPluginOptions } from '#types';
13
15
 
14
16
  // TODO(wittjosiah): Factor out DevtoolsPlugin?
15
- export const DebugPlugin = Plugin.define(meta).pipe(
17
+
18
+ export const DebugPlugin = Plugin.define<DebugPluginOptions>(meta).pipe(
19
+ AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),
20
+ AppPlugin.addReactContextModule({ activate: ReactContext }),
21
+ AppPlugin.addSettingsModule({ activate: DebugSettings }),
22
+ Plugin.addModule(({ logStore }) => ({
23
+ id: Capability.getModuleTag(ReactSurface) ?? 'surfaces',
24
+ activatesOn: ActivationEvents.SetupReactSurface,
25
+ activate: () => ReactSurface({ logStore }),
26
+ })),
27
+ AppPlugin.addTranslationsModule({ translations }),
16
28
  Plugin.addModule({
17
29
  id: 'setup-devtools',
18
- activatesOn: Common.ActivationEvent.Startup,
30
+ activatesOn: ActivationEvents.Startup,
19
31
  activate: () => Effect.sync(() => setupDevtools()),
20
32
  }),
21
- Common.Plugin.addSettingsModule({ activate: DebugSettings }),
22
- Common.Plugin.addTranslationsModule({ translations }),
23
- Common.Plugin.addReactContextModule({ activate: ReactContext }),
24
- Common.Plugin.addSurfaceModule({ activate: ReactSurface }),
25
- Common.Plugin.addAppGraphModule({ activate: AppGraphBuilder }),
26
33
  Plugin.make,
27
34
  );
28
35
 
@@ -41,3 +48,5 @@ const setupDevtools = () => {
41
48
  location.pathname = '/';
42
49
  };
43
50
  };
51
+
52
+ export default DebugPlugin;