@runfusion/fusion 0.22.0 → 0.24.0

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 (206) hide show
  1. package/dist/bin.js +30071 -20735
  2. package/dist/client/assets/AgentDetailView-BwJaLqZh.css +1 -0
  3. package/dist/client/assets/AgentDetailView-gy_5SUj2.js +18 -0
  4. package/dist/client/assets/AgentsView-BkB9FiMT.js +29 -0
  5. package/dist/client/assets/AgentsView-CV3vm7Qk.css +1 -0
  6. package/dist/client/assets/ChatView-B_-B8fqu.js +1 -0
  7. package/dist/client/assets/ChatView-DwJAd5G1.css +1 -0
  8. package/dist/client/assets/{DevServerView-l8RCyL2k.js → DevServerView-BkvtjZBa.js} +1 -1
  9. package/dist/client/assets/{DirectoryPicker-CS1dwqcC.js → DirectoryPicker-BK-KbnhP.js} +1 -1
  10. package/dist/client/assets/{DocumentsView-DmthQWDZ.js → DocumentsView-BEg1CQAk.js} +1 -1
  11. package/dist/client/assets/{DocumentsView-BrhyOdeE.css → DocumentsView-gv4zG3aT.css} +1 -1
  12. package/dist/client/assets/EvalsView-Berf9bQm.js +1 -0
  13. package/dist/client/assets/EvalsView-CUNJ1TLc.css +1 -0
  14. package/dist/client/assets/{agentSkills-DDHJnrkn.css → ExperimentalAgentOnboardingModal-B-APN_lM.css} +1 -1
  15. package/dist/client/assets/ExperimentalAgentOnboardingModal-jcInE50G.js +499 -0
  16. package/dist/client/assets/InsightsView-B0J4mhzV.css +1 -0
  17. package/dist/client/assets/InsightsView-BX5bSF1J.js +11 -0
  18. package/dist/client/assets/{MemoryView-CPwlKnUI.js → MemoryView-CKElJY_3.js} +2 -2
  19. package/dist/client/assets/NodesView-DLUOBLf6.js +14 -0
  20. package/dist/client/assets/NodesView-DT4pXowv.css +1 -0
  21. package/dist/client/assets/{PiExtensionsManager-j8rPXqmB.js → PiExtensionsManager-COlJf0Kx.js} +2 -2
  22. package/dist/client/assets/PluginManager-CfW55BF4.js +1 -0
  23. package/dist/client/assets/PluginManager-DtRQXia5.css +1 -0
  24. package/dist/client/assets/{ResearchView-D9DNJYDq.js → ResearchView-B256Lr8I.js} +1 -1
  25. package/dist/client/assets/SettingsModal-BeA_nQtW.js +31 -0
  26. package/dist/client/assets/SettingsModal-DzsLquBu.css +1 -0
  27. package/dist/client/assets/{SettingsModal-fxvTFLtR.js → SettingsModal-yRqM4DV8.js} +1 -1
  28. package/dist/client/assets/SetupWizardModal-uUZk3TKT.js +1 -0
  29. package/dist/client/assets/{SkillsView-Ddf0YL8z.js → SkillsView-CP8JX0P_.js} +1 -1
  30. package/dist/client/assets/TodoView-Cx9cVhq7.css +1 -0
  31. package/dist/client/assets/TodoView-DCRIkDZ-.js +6 -0
  32. package/dist/client/assets/createLucideIcon-BazL2hk5.js +21 -0
  33. package/dist/client/assets/dashboard-view-BkTMSZYn.css +1 -0
  34. package/dist/client/assets/dashboard-view-CyWN-d02.js +63 -0
  35. package/dist/client/assets/dashboard-view-lR7YYmSC.js +21 -0
  36. package/dist/client/assets/{folder-open-BiJpmnaT.js → folder-open-DHjELt8-.js} +1 -1
  37. package/dist/client/assets/index-CQyVRLOb.js +692 -0
  38. package/dist/client/assets/index-CxA2Nn0_.css +1 -0
  39. package/dist/client/assets/projectDetection-G3XuxD2X.js +1 -0
  40. package/dist/client/assets/{star-BwRZmiuZ.js → star-DYesq1AV.js} +1 -1
  41. package/dist/client/assets/{upload-D4NwZhPp.js → upload-DTWF3Db5.js} +1 -1
  42. package/dist/client/assets/{users-DNISDtI1.js → users--syrel4l.js} +1 -1
  43. package/dist/client/index.html +12 -20
  44. package/dist/client/theme-data.css +106 -0
  45. package/dist/client/version.json +1 -1
  46. package/dist/droid-cli/package.json +1 -1
  47. package/dist/extension.js +17072 -9627
  48. package/dist/pi-claude-cli/package.json +1 -1
  49. package/dist/plugins/fusion-plugin-cursor-runtime/bundled.js +218 -0
  50. package/dist/plugins/fusion-plugin-cursor-runtime/manifest.json +6 -0
  51. package/dist/plugins/fusion-plugin-cursor-runtime/package.json +11 -0
  52. package/dist/plugins/fusion-plugin-dependency-graph/manifest.json +1 -1
  53. package/dist/plugins/fusion-plugin-dependency-graph/package.json +6 -4
  54. package/dist/plugins/fusion-plugin-dependency-graph/src/DependencyGraph.css +58 -0
  55. package/dist/plugins/fusion-plugin-dependency-graph/src/DependencyGraph.tsx +301 -0
  56. package/dist/plugins/fusion-plugin-dependency-graph/src/GraphHighlight.css +27 -0
  57. package/dist/plugins/fusion-plugin-dependency-graph/src/GraphTaskNode.css +157 -0
  58. package/dist/plugins/fusion-plugin-dependency-graph/src/GraphTaskNode.tsx +126 -0
  59. package/dist/plugins/fusion-plugin-dependency-graph/src/GraphToolbar.css +35 -0
  60. package/dist/plugins/fusion-plugin-dependency-graph/src/GraphToolbar.tsx +36 -0
  61. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/DependencyGraph.highlighting.test.tsx +112 -0
  62. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/DependencyGraph.persistence.test.tsx +115 -0
  63. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/DependencyGraph.test.tsx +128 -0
  64. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/GraphTaskNode.drag.test.tsx +82 -0
  65. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/GraphTaskNode.test.tsx +307 -0
  66. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/GraphToolbar.test.tsx +60 -0
  67. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/edges.test.tsx +75 -0
  68. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/filtering.test.tsx +62 -0
  69. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/filters.test.ts +78 -0
  70. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/graphPositionStorage.test.ts +95 -0
  71. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/host-integration.test.ts +74 -0
  72. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/index.test.ts +58 -0
  73. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/interactions.test.tsx +121 -0
  74. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/layout.test.ts +70 -0
  75. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/persistence.test.tsx +89 -0
  76. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/useGraphData.test.ts +86 -0
  77. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/useGraphInteraction.test.ts +167 -0
  78. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/useGraphPositions.test.ts +66 -0
  79. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/useNodeDrag.test.ts +81 -0
  80. package/dist/plugins/fusion-plugin-dependency-graph/src/dashboard-interop.d.ts +35 -0
  81. package/dist/plugins/fusion-plugin-dependency-graph/src/dashboard-view.tsx +19 -0
  82. package/dist/plugins/fusion-plugin-dependency-graph/src/edges.tsx +70 -0
  83. package/dist/plugins/fusion-plugin-dependency-graph/src/filters.ts +8 -0
  84. package/dist/plugins/fusion-plugin-dependency-graph/src/hooks/__tests__/useDependencyChain.test.ts +53 -0
  85. package/dist/plugins/fusion-plugin-dependency-graph/src/hooks/useDependencyChain.ts +60 -0
  86. package/dist/plugins/fusion-plugin-dependency-graph/src/hooks/useGraphPositions.ts +45 -0
  87. package/dist/plugins/fusion-plugin-dependency-graph/src/hooks/useNodeDrag.ts +114 -0
  88. package/dist/plugins/fusion-plugin-dependency-graph/src/index.ts +1 -2
  89. package/dist/plugins/fusion-plugin-dependency-graph/src/layout.ts +91 -0
  90. package/dist/plugins/fusion-plugin-dependency-graph/src/styles/drag.css +15 -0
  91. package/dist/plugins/fusion-plugin-dependency-graph/src/types.ts +21 -0
  92. package/dist/plugins/fusion-plugin-dependency-graph/src/useGraphData.ts +17 -0
  93. package/dist/plugins/fusion-plugin-dependency-graph/src/useGraphInteraction.ts +292 -0
  94. package/dist/plugins/fusion-plugin-dependency-graph/src/utils/graphPositionStorage.ts +65 -0
  95. package/dist/plugins/fusion-plugin-droid-runtime/bundled.js +136680 -0
  96. package/dist/plugins/fusion-plugin-droid-runtime/manifest.json +13 -0
  97. package/dist/plugins/fusion-plugin-droid-runtime/mcp-schema-server.cjs +49 -0
  98. package/dist/plugins/fusion-plugin-droid-runtime/package.json +11 -0
  99. package/dist/plugins/fusion-plugin-hermes-runtime/bundled.js +176 -7
  100. package/dist/plugins/fusion-plugin-hermes-runtime/package.json +1 -1
  101. package/dist/plugins/fusion-plugin-openclaw-runtime/bundled.js +93 -6
  102. package/dist/plugins/fusion-plugin-openclaw-runtime/mcp-schema-server.cjs +59 -0
  103. package/dist/plugins/fusion-plugin-openclaw-runtime/package.json +1 -1
  104. package/dist/plugins/fusion-plugin-paperclip-runtime/package.json +1 -1
  105. package/dist/plugins/fusion-plugin-reports/manifest.json +33 -0
  106. package/dist/plugins/fusion-plugin-reports/package.json +26 -0
  107. package/dist/plugins/fusion-plugin-reports/src/__tests__/manifest.test.ts +51 -0
  108. package/dist/plugins/fusion-plugin-reports/src/__tests__/review-panel.test.ts +166 -0
  109. package/dist/plugins/fusion-plugin-reports/src/__tests__/settings.test.ts +157 -0
  110. package/dist/plugins/fusion-plugin-reports/src/index.ts +41 -0
  111. package/dist/plugins/fusion-plugin-reports/src/review-panel.ts +294 -0
  112. package/dist/plugins/fusion-plugin-reports/src/review-types.ts +75 -0
  113. package/dist/plugins/fusion-plugin-reports/src/settings.ts +105 -0
  114. package/dist/plugins/fusion-plugin-roadmap/manifest.json +16 -0
  115. package/dist/plugins/fusion-plugin-roadmap/package.json +48 -0
  116. package/dist/plugins/fusion-plugin-roadmap/src/__tests__/api-client.test.ts +101 -0
  117. package/dist/plugins/fusion-plugin-roadmap/src/__tests__/index.test.ts +92 -0
  118. package/dist/plugins/fusion-plugin-roadmap/src/__tests__/roadmap-routes.test.ts +48 -0
  119. package/dist/plugins/fusion-plugin-roadmap/src/__tests__/roadmap-suggestions.test.ts +31 -0
  120. package/dist/plugins/fusion-plugin-roadmap/src/dashboard/RoadmapsView.css +1299 -0
  121. package/dist/plugins/fusion-plugin-roadmap/src/dashboard/RoadmapsView.tsx +2559 -0
  122. package/dist/plugins/fusion-plugin-roadmap/src/dashboard/__tests__/RoadmapsView.test.tsx +1144 -0
  123. package/dist/plugins/fusion-plugin-roadmap/src/dashboard/__tests__/useRoadmaps.test.ts +1756 -0
  124. package/dist/plugins/fusion-plugin-roadmap/src/dashboard/api.ts +70 -0
  125. package/dist/plugins/fusion-plugin-roadmap/src/dashboard/test-setup.ts +7 -0
  126. package/dist/plugins/fusion-plugin-roadmap/src/dashboard/types.ts +1 -0
  127. package/dist/plugins/fusion-plugin-roadmap/src/dashboard/useConfirm.ts +8 -0
  128. package/dist/plugins/fusion-plugin-roadmap/src/dashboard/useRoadmaps.ts +1188 -0
  129. package/dist/plugins/fusion-plugin-roadmap/src/dashboard/useViewportMode.ts +20 -0
  130. package/dist/plugins/fusion-plugin-roadmap/src/dashboard-view.tsx +6 -0
  131. package/dist/plugins/fusion-plugin-roadmap/src/index.ts +74 -0
  132. package/dist/plugins/fusion-plugin-roadmap/src/roadmap-routes.ts +1 -0
  133. package/dist/plugins/fusion-plugin-roadmap/src/roadmap-schema.ts +41 -0
  134. package/dist/plugins/fusion-plugin-roadmap/src/roadmap-suggestions.d.ts +15 -0
  135. package/dist/plugins/fusion-plugin-roadmap/src/roadmap-suggestions.ts +15 -0
  136. package/dist/plugins/fusion-plugin-roadmap/src/roadmap-types.d.ts +283 -0
  137. package/dist/plugins/fusion-plugin-roadmap/src/roadmap-types.d.ts.map +1 -0
  138. package/dist/plugins/fusion-plugin-roadmap/src/roadmap-types.js +21 -0
  139. package/dist/plugins/fusion-plugin-roadmap/src/roadmap-types.js.map +1 -0
  140. package/dist/plugins/fusion-plugin-roadmap/src/roadmap-types.ts +310 -0
  141. package/dist/plugins/fusion-plugin-roadmap/src/routes/roadmap-routes.d.ts +5 -0
  142. package/dist/plugins/fusion-plugin-roadmap/src/routes/roadmap-routes.d.ts.map +1 -0
  143. package/dist/plugins/fusion-plugin-roadmap/src/routes/roadmap-routes.js +361 -0
  144. package/dist/plugins/fusion-plugin-roadmap/src/routes/roadmap-routes.js.map +1 -0
  145. package/dist/plugins/fusion-plugin-roadmap/src/routes/roadmap-routes.ts +408 -0
  146. package/dist/plugins/fusion-plugin-roadmap/src/routes/roadmap-suggestions.d.ts +68 -0
  147. package/dist/plugins/fusion-plugin-roadmap/src/routes/roadmap-suggestions.d.ts.map +1 -0
  148. package/dist/plugins/fusion-plugin-roadmap/src/routes/roadmap-suggestions.js +300 -0
  149. package/dist/plugins/fusion-plugin-roadmap/src/routes/roadmap-suggestions.js.map +1 -0
  150. package/dist/plugins/fusion-plugin-roadmap/src/routes/roadmap-suggestions.ts +381 -0
  151. package/dist/plugins/fusion-plugin-roadmap/src/server/index.d.ts +3 -0
  152. package/dist/plugins/fusion-plugin-roadmap/src/server/index.ts +1 -0
  153. package/dist/plugins/fusion-plugin-roadmap/src/store/__tests__/roadmap-handoff.test.ts +445 -0
  154. package/dist/plugins/fusion-plugin-roadmap/src/store/__tests__/roadmap-ordering.test.ts +334 -0
  155. package/dist/plugins/fusion-plugin-roadmap/src/store/__tests__/roadmap-store.test.ts +1318 -0
  156. package/dist/plugins/fusion-plugin-roadmap/src/store/roadmap-handoff.ts +163 -0
  157. package/dist/plugins/fusion-plugin-roadmap/src/store/roadmap-ordering.d.ts +37 -0
  158. package/dist/plugins/fusion-plugin-roadmap/src/store/roadmap-ordering.d.ts.map +1 -0
  159. package/dist/plugins/fusion-plugin-roadmap/src/store/roadmap-ordering.js +188 -0
  160. package/dist/plugins/fusion-plugin-roadmap/src/store/roadmap-ordering.js.map +1 -0
  161. package/dist/plugins/fusion-plugin-roadmap/src/store/roadmap-ordering.ts +311 -0
  162. package/dist/plugins/fusion-plugin-roadmap/src/store/roadmap-store.d.ts +299 -0
  163. package/dist/plugins/fusion-plugin-roadmap/src/store/roadmap-store.d.ts.map +1 -0
  164. package/dist/plugins/fusion-plugin-roadmap/src/store/roadmap-store.js +765 -0
  165. package/dist/plugins/fusion-plugin-roadmap/src/store/roadmap-store.js.map +1 -0
  166. package/dist/plugins/fusion-plugin-roadmap/src/store/roadmap-store.ts +1001 -0
  167. package/dist/plugins/fusion-plugin-whatsapp-chat/manifest.json +8 -0
  168. package/dist/plugins/fusion-plugin-whatsapp-chat/package.json +34 -0
  169. package/dist/plugins/fusion-plugin-whatsapp-chat/src/__tests__/auth-state.test.ts +99 -0
  170. package/dist/plugins/fusion-plugin-whatsapp-chat/src/__tests__/connection.test.ts +145 -0
  171. package/dist/plugins/fusion-plugin-whatsapp-chat/src/__tests__/index.test.ts +216 -0
  172. package/dist/plugins/fusion-plugin-whatsapp-chat/src/__tests__/reply.test.ts +52 -0
  173. package/dist/plugins/fusion-plugin-whatsapp-chat/src/auth-state.ts +89 -0
  174. package/dist/plugins/fusion-plugin-whatsapp-chat/src/connection.ts +253 -0
  175. package/dist/plugins/fusion-plugin-whatsapp-chat/src/index.ts +262 -0
  176. package/dist/plugins/fusion-plugin-whatsapp-chat/src/qrcode.d.ts +1 -0
  177. package/dist/plugins/fusion-plugin-whatsapp-chat/src/reply.ts +37 -0
  178. package/package.json +2 -2
  179. package/skill/fusion/SKILL.md +2 -2
  180. package/skill/fusion/references/engine-tools.md +8 -2
  181. package/skill/fusion/references/extension-tools.md +39 -0
  182. package/skill/fusion/references/fusion-capabilities.md +3 -0
  183. package/dist/client/assets/AgentDetailView-BKKpbp1S.js +0 -18
  184. package/dist/client/assets/AgentDetailView-CeO_1MK7.css +0 -1
  185. package/dist/client/assets/AgentsView-BRXFmrcJ.js +0 -527
  186. package/dist/client/assets/AgentsView-Bs03ptrd.css +0 -1
  187. package/dist/client/assets/ChatView-D7L2e_qu.js +0 -1
  188. package/dist/client/assets/InsightsView-AWo5o_81.css +0 -1
  189. package/dist/client/assets/InsightsView-DvXpMKmH.js +0 -11
  190. package/dist/client/assets/NodesView-BLlfUfsy.js +0 -14
  191. package/dist/client/assets/NodesView-fXqDk9ur.css +0 -1
  192. package/dist/client/assets/PluginManager-DA_T0GHn.css +0 -1
  193. package/dist/client/assets/PluginManager-pW6RMz5z.js +0 -1
  194. package/dist/client/assets/RoadmapsView-Djc_X35v.js +0 -6
  195. package/dist/client/assets/SettingsModal-BWe0KrGY.css +0 -1
  196. package/dist/client/assets/SettingsModal-WGCF_pk8.js +0 -31
  197. package/dist/client/assets/SetupWizardModal-tG_MF_nA.js +0 -1
  198. package/dist/client/assets/agentSkills-EwIwBlG8.js +0 -1
  199. package/dist/client/assets/index-D6ebxTPF.css +0 -1
  200. package/dist/client/assets/index-DYDLmOcK.js +0 -694
  201. package/dist/plugins/fusion-plugin-dependency-graph/src/DependencyGraphView.css +0 -132
  202. package/dist/plugins/fusion-plugin-dependency-graph/src/DependencyGraphView.tsx +0 -428
  203. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/DependencyGraphView.test.tsx +0 -261
  204. package/dist/plugins/fusion-plugin-dependency-graph/src/__tests__/storage.test.ts +0 -31
  205. package/dist/plugins/fusion-plugin-dependency-graph/src/storage.ts +0 -23
  206. /package/dist/client/assets/{RoadmapsView-DdGlfuu-.css → dashboard-view-DdGlfuu-.css} +0 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusion/pi-claude-cli",
3
- "version": "0.22.0",
3
+ "version": "0.24.0",
4
4
  "description": "Fusion vendored fork: pi coding-agent extension that routes LLM calls through the Claude Code CLI. Forked from rchern/pi-claude-cli (MIT). See UPSTREAM.md.",
5
5
  "license": "MIT",
6
6
  "private": true,
@@ -0,0 +1,218 @@
1
+ // ../plugin-sdk/dist/index.js
2
+ function definePlugin(plugin2) {
3
+ return plugin2;
4
+ }
5
+
6
+ // ../../plugins/fusion-plugin-cursor-runtime/dist/cli-spawn.js
7
+ import { spawn } from "node:child_process";
8
+ async function runCursorCommand(binary, args, timeoutMs) {
9
+ return new Promise((resolve) => {
10
+ const child = spawn(binary, args, { stdio: ["ignore", "pipe", "pipe"] });
11
+ let stdout = "";
12
+ let stderr = "";
13
+ const timer = setTimeout(() => {
14
+ try {
15
+ child.kill("SIGKILL");
16
+ } catch {
17
+ }
18
+ resolve({ code: 124, stdout, stderr });
19
+ }, timeoutMs);
20
+ child.stdout?.on("data", (c) => {
21
+ stdout += c.toString("utf-8");
22
+ });
23
+ child.stderr?.on("data", (c) => {
24
+ stderr += c.toString("utf-8");
25
+ });
26
+ child.once("error", () => {
27
+ clearTimeout(timer);
28
+ resolve({ code: 127, stdout, stderr });
29
+ });
30
+ child.once("close", (code) => {
31
+ clearTimeout(timer);
32
+ resolve({ code, stdout, stderr });
33
+ });
34
+ });
35
+ }
36
+
37
+ // ../../plugins/fusion-plugin-cursor-runtime/dist/probe.js
38
+ var CANDIDATES = ["cursor-agent", "cursor"];
39
+ async function probeCursorBinary(options) {
40
+ const startedAt = Date.now();
41
+ const timeoutMs = options?.timeoutMs ?? 3e3;
42
+ const candidates = options?.binaryPath ? [options.binaryPath] : [...CANDIDATES];
43
+ for (const binary of candidates) {
44
+ const version = await runCursorCommand(binary, ["--version"], timeoutMs);
45
+ if (version.code === 0) {
46
+ return {
47
+ available: true,
48
+ authenticated: true,
49
+ binaryName: binary,
50
+ binaryPath: binary,
51
+ version: version.stdout.trim() || void 0,
52
+ probeDurationMs: Date.now() - startedAt
53
+ };
54
+ }
55
+ const combined = `${version.stdout}
56
+ ${version.stderr}`.toLowerCase();
57
+ if (combined.includes("keychain is locked")) {
58
+ return {
59
+ available: true,
60
+ authenticated: false,
61
+ binaryName: binary,
62
+ binaryPath: binary,
63
+ reason: "macOS login keychain is locked",
64
+ probeDurationMs: Date.now() - startedAt
65
+ };
66
+ }
67
+ if (combined.includes("no cursor ide installation found")) {
68
+ return {
69
+ available: true,
70
+ authenticated: false,
71
+ binaryName: binary,
72
+ binaryPath: binary,
73
+ reason: "Cursor IDE installation not found",
74
+ probeDurationMs: Date.now() - startedAt
75
+ };
76
+ }
77
+ }
78
+ return {
79
+ available: false,
80
+ authenticated: false,
81
+ reason: "cursor-agent/cursor not found on PATH",
82
+ probeDurationMs: Date.now() - startedAt
83
+ };
84
+ }
85
+
86
+ // ../../plugins/fusion-plugin-cursor-runtime/dist/process-manager.js
87
+ function parseModelLines(raw) {
88
+ return raw.split(/\r?\n/).map((line) => line.trim()).filter(Boolean).filter((line) => !line.toLowerCase().startsWith("usage"));
89
+ }
90
+ async function discoverCursorModels(binary, timeoutMs = 5e3) {
91
+ const attempts = [
92
+ { args: ["models", "--json"], source: "models-json", structured: true },
93
+ { args: ["model", "list", "--json"], source: "model-list-json", structured: true },
94
+ { args: ["models"], source: "models-text", structured: false }
95
+ ];
96
+ for (const attempt of attempts) {
97
+ const res = await runCursorCommand(binary, attempt.args, timeoutMs);
98
+ if (res.code !== 0)
99
+ continue;
100
+ const output = (res.stdout || "").trim();
101
+ if (!output)
102
+ continue;
103
+ try {
104
+ const parsed = JSON.parse(output);
105
+ if (Array.isArray(parsed)) {
106
+ const ids2 = parsed.map((entry) => typeof entry === "string" ? entry : typeof entry?.id === "string" ? entry.id : void 0).filter((id) => Boolean(id));
107
+ if (ids2.length > 0) {
108
+ return { models: Array.from(new Set(ids2)), source: attempt.source, fallbackUsed: !attempt.structured };
109
+ }
110
+ }
111
+ } catch {
112
+ }
113
+ const ids = Array.from(new Set(parseModelLines(output)));
114
+ if (ids.length > 0) {
115
+ return { models: ids, source: attempt.source, fallbackUsed: !attempt.structured };
116
+ }
117
+ }
118
+ return { models: [], source: "none", fallbackUsed: true, reason: "model discovery command unavailable" };
119
+ }
120
+
121
+ // ../../plugins/fusion-plugin-cursor-runtime/dist/provider.js
122
+ async function discoverCursorProviderModels() {
123
+ const probe = await probeCursorBinary();
124
+ if (!probe.available || !probe.binaryName) {
125
+ return { models: [], source: "probe", fallbackUsed: true, reason: probe.reason ?? "binary unavailable" };
126
+ }
127
+ const result = await discoverCursorModels(probe.binaryName);
128
+ return {
129
+ models: result.models.map((id) => ({ id, label: id })),
130
+ source: result.source,
131
+ fallbackUsed: result.fallbackUsed,
132
+ reason: result.reason
133
+ };
134
+ }
135
+
136
+ // ../../plugins/fusion-plugin-cursor-runtime/dist/runtime-adapter.js
137
+ var CursorRuntimeAdapter = class {
138
+ id = "cursor";
139
+ name = "Cursor Runtime";
140
+ async createSession(options) {
141
+ return {
142
+ session: {
143
+ model: options.defaultModelId ?? "cursor/default",
144
+ systemPrompt: options.systemPrompt,
145
+ messages: []
146
+ },
147
+ sessionFile: void 0
148
+ };
149
+ }
150
+ async promptWithFallback() {
151
+ return;
152
+ }
153
+ describeModel(session) {
154
+ return `cursor/${session.model ?? "default"}`;
155
+ }
156
+ };
157
+
158
+ // ../../plugins/fusion-plugin-cursor-runtime/dist/index.js
159
+ var plugin = definePlugin({
160
+ manifest: {
161
+ id: "fusion-plugin-cursor-runtime",
162
+ name: "Cursor Runtime Plugin",
163
+ version: "0.1.0",
164
+ description: "Cursor CLI runtime support for Fusion",
165
+ runtime: {
166
+ runtimeId: "cursor",
167
+ name: "Cursor Runtime",
168
+ version: "0.1.0"
169
+ }
170
+ },
171
+ state: "installed",
172
+ hooks: {},
173
+ runtime: {
174
+ metadata: {
175
+ runtimeId: "cursor",
176
+ name: "Cursor Runtime",
177
+ version: "0.1.0"
178
+ },
179
+ factory: async () => new CursorRuntimeAdapter()
180
+ },
181
+ cliProviders: [
182
+ {
183
+ providerId: "cursor-cli",
184
+ displayName: "Cursor CLI",
185
+ binaryName: "cursor-agent",
186
+ providerType: "cli",
187
+ statusRoute: "/providers/cursor-cli/status",
188
+ authRoute: "/auth/cursor-cli",
189
+ actions: [
190
+ { actionId: "enable", label: "Enable", actionType: "enable", method: "POST", route: "/auth/cursor-cli" },
191
+ { actionId: "disable", label: "Disable", actionType: "disable", method: "POST", route: "/auth/cursor-cli" },
192
+ { actionId: "test", label: "Test", actionType: "test", method: "GET", route: "/providers/cursor-cli/status" }
193
+ ],
194
+ probe: async () => {
195
+ const status = await probeCursorBinary();
196
+ return {
197
+ available: status.available,
198
+ authenticated: status.authenticated,
199
+ binaryPath: status.binaryPath,
200
+ binaryName: status.binaryName,
201
+ version: status.version,
202
+ reason: status.reason
203
+ };
204
+ },
205
+ discoverModels: discoverCursorProviderModels,
206
+ runtime: {
207
+ runtimeId: "cursor",
208
+ createAdapter: async () => new CursorRuntimeAdapter()
209
+ }
210
+ }
211
+ ]
212
+ });
213
+ var index_default = plugin;
214
+ export {
215
+ index_default as default,
216
+ discoverCursorProviderModels,
217
+ probeCursorBinary
218
+ };
@@ -0,0 +1,6 @@
1
+ {
2
+ "id": "fusion-plugin-cursor-runtime",
3
+ "name": "Cursor Runtime Plugin",
4
+ "version": "0.1.0",
5
+ "description": "Provides Cursor CLI-backed model provider and runtime integration"
6
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@fusion-plugin-examples/cursor-runtime",
3
+ "version": "0.1.1",
4
+ "type": "module",
5
+ "exports": {
6
+ ".": {
7
+ "import": "./bundled.js"
8
+ }
9
+ },
10
+ "private": true
11
+ }
@@ -7,7 +7,7 @@
7
7
  {
8
8
  "viewId": "graph",
9
9
  "label": "Graph",
10
- "componentPath": "./src/DependencyGraphView.tsx",
10
+ "componentPath": "./dashboard-view",
11
11
  "icon": "Network",
12
12
  "placement": "more",
13
13
  "order": 40
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusion-plugin-examples/dependency-graph",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "type": "module",
5
5
  "description": "Dependency graph dashboard view plugin for Fusion",
6
6
  "private": true,
@@ -10,8 +10,8 @@
10
10
  "import": "./src/index.ts"
11
11
  },
12
12
  "./dashboard-view": {
13
- "types": "./src/DependencyGraphView.tsx",
14
- "import": "./src/DependencyGraphView.tsx"
13
+ "types": "./src/dashboard-view.tsx",
14
+ "import": "./src/dashboard-view.tsx"
15
15
  }
16
16
  },
17
17
  "scripts": {
@@ -20,7 +20,9 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@fusion/core": "workspace:*",
23
- "@fusion/plugin-sdk": "workspace:*"
23
+ "@fusion/dashboard": "workspace:*",
24
+ "@fusion/plugin-sdk": "workspace:*",
25
+ "lucide-react": "^0.542.0"
24
26
  },
25
27
  "devDependencies": {
26
28
  "@testing-library/react": "^16.3.2",
@@ -0,0 +1,58 @@
1
+ .dependency-graph {
2
+ position: relative;
3
+ height: 100%;
4
+ padding: var(--space-md);
5
+ }
6
+
7
+ .dependency-graph__viewport {
8
+ position: relative;
9
+ overflow: hidden;
10
+ height: 100%;
11
+ min-height: calc(var(--space-2xl) * 10);
12
+ border: var(--btn-border-width) solid var(--border);
13
+ border-radius: var(--radius-md);
14
+ background: var(--surface);
15
+ touch-action: none;
16
+ }
17
+
18
+ .graph-canvas-transform {
19
+ position: relative;
20
+ transform-origin: top left;
21
+ }
22
+
23
+ .graph-canvas-transform--animate {
24
+ transition: transform var(--transition-normal);
25
+ }
26
+
27
+ .dependency-graph__nodes-layer {
28
+ position: relative;
29
+ z-index: 1;
30
+ }
31
+
32
+ .dependency-graph__nodes-layer .graph-task-node {
33
+ max-width: min(100%, calc(var(--space-2xl) * 9));
34
+ }
35
+
36
+ .dependency-graph-edges {
37
+ position: absolute;
38
+ inset: 0;
39
+ width: 100%;
40
+ height: 100%;
41
+ pointer-events: none;
42
+ overflow: visible;
43
+ }
44
+
45
+
46
+ .dependency-graph__empty {
47
+ color: var(--text-muted);
48
+ display: flex;
49
+ align-items: center;
50
+ justify-content: center;
51
+ height: 100%;
52
+ }
53
+
54
+ @media (max-width: 768px) {
55
+ .dependency-graph {
56
+ padding: var(--space-sm);
57
+ }
58
+ }
@@ -0,0 +1,301 @@
1
+ import { useCallback, useEffect, useMemo, useRef, useState } from "react";
2
+ import type { Task } from "@fusion/core";
3
+ import { GraphTaskNode } from "./GraphTaskNode";
4
+ import { GraphToolbar } from "./GraphToolbar";
5
+ import { GraphEdges } from "./edges";
6
+ import { filterGraphTasks } from "./filters";
7
+ import { computeAutoLayout } from "./layout";
8
+ import { useGraphData } from "./useGraphData";
9
+ import { useGraphInteraction } from "./useGraphInteraction";
10
+ import { useDependencyChain } from "./hooks/useDependencyChain";
11
+ import { useGraphPositions } from "./hooks/useGraphPositions";
12
+ import { mergePositions, type NodePositions } from "./utils/graphPositionStorage";
13
+ import "./DependencyGraph.css";
14
+
15
+ const NODE_WIDTH = 280;
16
+ const NODE_HEIGHT = 100;
17
+
18
+ export interface DependencyGraphProps {
19
+ tasks: Task[];
20
+ projectId?: string;
21
+ onOpenTaskDetail?: (taskId: string) => void;
22
+ onOpenDetail?: (task: Task) => void;
23
+ addToast?: (message: string, type?: "success" | "error" | "info" | "warning") => void;
24
+ globalPaused?: boolean;
25
+ onUpdateTask?: (id: string, updates: { title?: string; description?: string; dependencies?: string[] }) => Promise<Task>;
26
+ onArchiveTask?: (id: string) => Promise<Task>;
27
+ onUnarchiveTask?: (id: string) => Promise<Task>;
28
+ onDeleteTask?: (id: string, options?: { removeDependencyReferences?: boolean }) => Promise<Task>;
29
+ onRetryTask?: (id: string) => Promise<Task>;
30
+ onOpenDetailWithTab?: (task: Task, initialTab: "changes") => void;
31
+ taskStuckTimeoutMs?: number;
32
+ onOpenMission?: (missionId: string) => void;
33
+ onMoveTask?: (id: string, column: Task["column"], optionsOrPosition?: { preserveProgress?: boolean } | number) => Promise<Task>;
34
+ lastFetchTimeMs?: number;
35
+ workflowStepNameLookup?: ReadonlyMap<string, string>;
36
+ }
37
+
38
+ const POINTER_MOVE_THRESHOLD = 4;
39
+
40
+ export function DependencyGraph({
41
+ tasks,
42
+ projectId,
43
+ onOpenTaskDetail,
44
+ onOpenDetail,
45
+ addToast,
46
+ globalPaused,
47
+ onUpdateTask,
48
+ onArchiveTask,
49
+ onUnarchiveTask,
50
+ onDeleteTask,
51
+ onRetryTask,
52
+ onOpenDetailWithTab,
53
+ taskStuckTimeoutMs,
54
+ onOpenMission,
55
+ onMoveTask,
56
+ lastFetchTimeMs,
57
+ workflowStepNameLookup,
58
+ }: DependencyGraphProps) {
59
+ const viewportRef = useRef<HTMLDivElement | null>(null);
60
+ const initialFitDoneRef = useRef(false);
61
+ const pointerDownRef = useRef<{ x: number; y: number } | null>(null);
62
+ const pointerDraggedRef = useRef(false);
63
+ const [hoveredTaskId, setHoveredTaskId] = useState<string | null>(null);
64
+ const [selectedTaskId, setSelectedTaskId] = useState<string | null>(null);
65
+ const filteredTasks = useMemo(() => filterGraphTasks(tasks), [tasks]);
66
+ const graphData = useGraphData(filteredTasks);
67
+ const { getChain } = useDependencyChain(filteredTasks);
68
+ const activeTaskId = hoveredTaskId ?? selectedTaskId;
69
+ const highlightedTaskIds = useMemo(() => (activeTaskId ? getChain(activeTaskId) : new Set<string>()), [activeTaskId, getChain]);
70
+
71
+ const autoLayoutPositions = useMemo(
72
+ () => computeAutoLayout(graphData, { nodeWidth: NODE_WIDTH, nodeHeight: NODE_HEIGHT, horizontalGap: 40, verticalGap: 80 }),
73
+ [graphData],
74
+ );
75
+ const visibleTaskIds = useMemo(() => new Set(filteredTasks.map((task) => task.id)), [filteredTasks]);
76
+ const { savedPositions, persistPositions, clearSavedPositions } = useGraphPositions({ projectId, visibleTaskIds });
77
+ const [positions, setPositions] = useState<Map<string, { x: number; y: number }>>(autoLayoutPositions);
78
+ const [isNodeDragging, setIsNodeDragging] = useState(false);
79
+
80
+ useEffect(() => {
81
+ const autoLayoutRecord: NodePositions = {};
82
+ for (const [taskId, position] of autoLayoutPositions.entries()) {
83
+ autoLayoutRecord[taskId] = position;
84
+ }
85
+
86
+ const merged = savedPositions ? mergePositions(autoLayoutRecord, savedPositions, visibleTaskIds) : autoLayoutRecord;
87
+ setPositions(new Map(Object.entries(merged)));
88
+ }, [autoLayoutPositions, savedPositions, visibleTaskIds]);
89
+
90
+ const {
91
+ transform,
92
+ zoom,
93
+ transitioning,
94
+ zoomIn,
95
+ zoomOut,
96
+ resetView,
97
+ fitToGraph,
98
+ onPointerDown,
99
+ onPointerMove,
100
+ onPointerUp,
101
+ onWheelZoom,
102
+ handleKeyDown,
103
+ } = useGraphInteraction();
104
+
105
+ useEffect(() => {
106
+ if (initialFitDoneRef.current) return;
107
+ if (filteredTasks.length === 0) return;
108
+
109
+ const hasSavedPositions = Boolean(savedPositions && Object.keys(savedPositions).length > 0);
110
+ if (hasSavedPositions) {
111
+ initialFitDoneRef.current = true;
112
+ return;
113
+ }
114
+
115
+ const viewport = viewportRef.current;
116
+ if (!viewport) return;
117
+
118
+ fitToGraph(positions, viewport.clientWidth, viewport.clientHeight, { nodeWidth: NODE_WIDTH, nodeHeight: NODE_HEIGHT });
119
+ initialFitDoneRef.current = true;
120
+ }, [filteredTasks.length, fitToGraph, positions, savedPositions]);
121
+
122
+ const bounds = useMemo(() => {
123
+ const values = Array.from(positions.values());
124
+ if (values.length === 0) return { width: 0, height: 0 };
125
+ const maxX = Math.max(...values.map((pos) => pos.x + NODE_WIDTH));
126
+ const maxY = Math.max(...values.map((pos) => pos.y + NODE_HEIGHT));
127
+ return { width: maxX, height: maxY };
128
+ }, [positions]);
129
+
130
+ const handleResetLayout = useCallback(() => {
131
+ clearSavedPositions();
132
+ const freshLayout = computeAutoLayout(graphData, { nodeWidth: NODE_WIDTH, nodeHeight: NODE_HEIGHT, horizontalGap: 40, verticalGap: 80 });
133
+ setPositions(freshLayout);
134
+ }, [clearSavedPositions, graphData]);
135
+
136
+ const handleNodeDragEnd = useCallback(() => {
137
+ const positionRecord: NodePositions = {};
138
+ for (const [taskId, position] of positions.entries()) {
139
+ positionRecord[taskId] = position;
140
+ }
141
+ persistPositions(positionRecord);
142
+ }, [persistPositions, positions]);
143
+
144
+ return (
145
+ <section className="dependency-graph" data-testid="dependency-graph">
146
+ <div
147
+ ref={viewportRef}
148
+ className="dependency-graph__viewport"
149
+ onPointerDown={(event) => {
150
+ if (isNodeDragging) return;
151
+ pointerDownRef.current = { x: event.clientX, y: event.clientY };
152
+ pointerDraggedRef.current = false;
153
+ onPointerDown(event.pointerId, { x: event.clientX, y: event.clientY });
154
+ }}
155
+ onPointerMove={(event) => {
156
+ if (isNodeDragging) return;
157
+ const viewport = viewportRef.current;
158
+ if (!viewport) return;
159
+ const pointerDown = pointerDownRef.current;
160
+ if (pointerDown) {
161
+ const deltaX = Math.abs(event.clientX - pointerDown.x);
162
+ const deltaY = Math.abs(event.clientY - pointerDown.y);
163
+ if (deltaX > POINTER_MOVE_THRESHOLD || deltaY > POINTER_MOVE_THRESHOLD) {
164
+ pointerDraggedRef.current = true;
165
+ }
166
+ }
167
+ onPointerMove(event.pointerId, { x: event.clientX, y: event.clientY }, viewport.clientWidth, viewport.clientHeight);
168
+ }}
169
+ onPointerUp={(event) => {
170
+ if (!isNodeDragging) {
171
+ onPointerUp(event.pointerId);
172
+ }
173
+ pointerDownRef.current = null;
174
+ }}
175
+ onPointerCancel={(event) => {
176
+ if (!isNodeDragging) {
177
+ onPointerUp(event.pointerId);
178
+ }
179
+ pointerDownRef.current = null;
180
+ pointerDraggedRef.current = false;
181
+ }}
182
+ onWheel={(event) => {
183
+ event.preventDefault();
184
+ const viewport = viewportRef.current;
185
+ if (!viewport) return;
186
+ const rect = viewport.getBoundingClientRect();
187
+ onWheelZoom(event.deltaY, { x: event.clientX - rect.left, y: event.clientY - rect.top }, viewport.clientWidth, viewport.clientHeight);
188
+ }}
189
+ onKeyDown={(event) => {
190
+ const viewport = viewportRef.current;
191
+ if (!viewport) return;
192
+ handleKeyDown(event, viewport.clientWidth, viewport.clientHeight, positions, { nodeWidth: NODE_WIDTH, nodeHeight: NODE_HEIGHT });
193
+ }}
194
+ tabIndex={0}
195
+ style={{ outline: "none" }}
196
+ onClick={() => {
197
+ if (pointerDraggedRef.current || isNodeDragging) return;
198
+ setSelectedTaskId(null);
199
+ }}
200
+ >
201
+ {filteredTasks.length === 0 ? (
202
+ <div className="dependency-graph__empty">No active tasks to display in graph view.</div>
203
+ ) : (
204
+ <div className={`graph-canvas-transform${transitioning ? " graph-canvas-transform--animate" : ""}`} style={{ transform, width: `${bounds.width}px`, height: `${bounds.height}px` }}>
205
+ <GraphEdges
206
+ edges={graphData.edges}
207
+ positions={positions}
208
+ nodeWidth={NODE_WIDTH}
209
+ nodeHeight={NODE_HEIGHT}
210
+ highlightedEdgeIds={
211
+ highlightedTaskIds.size > 0
212
+ ? new Set(
213
+ graphData.edges
214
+ .filter((edge) => highlightedTaskIds.has(edge.source) && highlightedTaskIds.has(edge.target))
215
+ .map((edge) => `${edge.source}->${edge.target}`),
216
+ )
217
+ : undefined
218
+ }
219
+ />
220
+ <div className="dependency-graph__nodes-layer">
221
+ {graphData.nodes.map((node) => {
222
+ const position = positions.get(node.task.id);
223
+ if (!position) return null;
224
+
225
+ return (
226
+ <GraphTaskNode
227
+ key={node.task.id}
228
+ task={node.task}
229
+ projectId={projectId}
230
+ style={{ minHeight: `${NODE_HEIGHT}px`, left: `${position.x}px`, top: `${position.y}px` }}
231
+ position={position}
232
+ scale={zoom}
233
+ onNodePositionChange={(taskId, nextPosition) => {
234
+ setPositions((current) => {
235
+ const existing = current.get(taskId);
236
+ if (existing && existing.x === nextPosition.x && existing.y === nextPosition.y) return current;
237
+ const next = new Map(current);
238
+ next.set(taskId, nextPosition);
239
+ return next;
240
+ });
241
+ }}
242
+ onNodeDragStateChange={setIsNodeDragging}
243
+ onNodeDragEnd={handleNodeDragEnd}
244
+ isHighlighted={highlightedTaskIds.size > 0 && highlightedTaskIds.has(node.task.id)}
245
+ isDimmed={highlightedTaskIds.size > 0 && !highlightedTaskIds.has(node.task.id)}
246
+ onOpenDetail={onOpenDetail ?? ((task) => onOpenTaskDetail?.(task.id))}
247
+ addToast={addToast ?? (() => {})}
248
+ globalPaused={globalPaused}
249
+ onUpdateTask={onUpdateTask}
250
+ onArchiveTask={onArchiveTask}
251
+ onUnarchiveTask={onUnarchiveTask}
252
+ onDeleteTask={onDeleteTask}
253
+ onRetryTask={onRetryTask}
254
+ onOpenDetailWithTab={onOpenDetailWithTab}
255
+ taskStuckTimeoutMs={taskStuckTimeoutMs}
256
+ onOpenMission={onOpenMission}
257
+ onMoveTask={onMoveTask}
258
+ lastFetchTimeMs={lastFetchTimeMs}
259
+ workflowStepNameLookup={workflowStepNameLookup}
260
+ onMouseEnter={() => setHoveredTaskId(node.task.id)}
261
+ onMouseLeave={() => setHoveredTaskId(null)}
262
+ onClick={(event) => {
263
+ event.stopPropagation();
264
+ pointerDraggedRef.current = false;
265
+ setSelectedTaskId((current) => (current === node.task.id ? null : node.task.id));
266
+ }}
267
+ />
268
+ );
269
+ })}
270
+ </div>
271
+ </div>
272
+ )}
273
+ </div>
274
+
275
+ <GraphToolbar
276
+ zoom={zoom}
277
+ onZoomIn={() => {
278
+ const viewport = viewportRef.current;
279
+ if (!viewport) return;
280
+ zoomIn(viewport.clientWidth, viewport.clientHeight);
281
+ }}
282
+ onZoomOut={() => {
283
+ const viewport = viewportRef.current;
284
+ if (!viewport) return;
285
+ zoomOut(viewport.clientWidth, viewport.clientHeight);
286
+ }}
287
+ onFitToGraph={() => {
288
+ handleResetLayout();
289
+ const viewport = viewportRef.current;
290
+ if (!viewport) return;
291
+ const freshLayout = computeAutoLayout(graphData, { nodeWidth: NODE_WIDTH, nodeHeight: NODE_HEIGHT, horizontalGap: 40, verticalGap: 80 });
292
+ fitToGraph(freshLayout, viewport.clientWidth, viewport.clientHeight, { nodeWidth: NODE_WIDTH, nodeHeight: NODE_HEIGHT });
293
+ }}
294
+ onResetView={() => {
295
+ handleResetLayout();
296
+ resetView();
297
+ }}
298
+ />
299
+ </section>
300
+ );
301
+ }
@@ -0,0 +1,27 @@
1
+ .graph-node--highlighted {
2
+ opacity: 1;
3
+ box-shadow: var(--shadow-glow);
4
+ }
5
+
6
+ .graph-node--dimmed {
7
+ opacity: 0.25;
8
+ transition: opacity var(--transition-fast);
9
+ }
10
+
11
+ .graph-edge--highlighted {
12
+ opacity: 1;
13
+ stroke: var(--todo);
14
+ stroke-width: var(--space-xs);
15
+ }
16
+
17
+ .graph-edge--dimmed {
18
+ opacity: 0.15;
19
+ transition: opacity var(--transition-fast);
20
+ }
21
+
22
+ @media (max-width: 768px) {
23
+ .graph-node--dimmed,
24
+ .graph-edge--dimmed {
25
+ transition: opacity var(--transition-fast);
26
+ }
27
+ }