@motiadev/workbench 0.8.4-beta.141 → 0.8.4-beta.142-001319

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 (2) hide show
  1. package/dist/index.html +15 -12
  2. package/package.json +4 -4
package/dist/index.html CHANGED
@@ -14,25 +14,28 @@
14
14
  href="https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap"
15
15
  rel="stylesheet"
16
16
  />
17
- <script src="https://cdn.amplitude.com/libs/analytics-browser-2.11.1-min.js.gz"></script>
18
17
  <script>
19
- window.amplitude.init('ab2408031a38aa5cb85587a27ecfc69c', {
20
- autocapture: {
21
- fileDownloads: false,
22
- formInteractions: false,
23
- },
24
- fetchRemoteConfig: true,
25
- recording: false,
26
- optOut: true,
27
- })
18
+ function initAmplitude() {
19
+ window.amplitude.init('ab2408031a38aa5cb85587a27ecfc69c', {
20
+ autocapture: {
21
+ fileDownloads: false,
22
+ formInteractions: false,
23
+ },
24
+ fetchRemoteConfig: true,
25
+ recording: false,
26
+ optOut: true,
27
+ })
28
+ }
28
29
  </script>
29
30
 
31
+ <script src="https://cdn.amplitude.com/libs/analytics-browser-2.11.1-min.js.gz" onload="initAmplitude()"></script>
32
+
30
33
  <script>
31
34
  const importFile = async (path) => {
32
35
  // Normalize the path for cross-platform compatibility
33
36
  const normalizedPath = path.replace(/\\/g, '/')
34
37
  const fullPath = `${processCwd}/${normalizedPath}`.replace(/\\/g, '/')
35
-
38
+
36
39
  // Handle Windows drive letters properly
37
40
  let importPath = fullPath
38
41
  if (navigator.platform.includes('Win')) {
@@ -45,7 +48,7 @@
45
48
  } else {
46
49
  importPath = `/@fs/${fullPath}`
47
50
  }
48
-
51
+
49
52
  try {
50
53
  return await import(/* @vite-ignore */ importPath)
51
54
  } catch (error) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@motiadev/workbench",
3
3
  "description": "A web-based interface for building and managing Motia workflows.",
4
- "version": "0.8.4-beta.141",
4
+ "version": "0.8.4-beta.142-001319",
5
5
  "main": "dist/index.js",
6
6
  "dependencies": {
7
7
  "@monaco-editor/react": "^4.6.1",
@@ -43,9 +43,9 @@
43
43
  "vite": "^6.3.5",
44
44
  "zod": "^3.24.1",
45
45
  "zustand": "^5.0.6",
46
- "@motiadev/core": "0.8.4-beta.141",
47
- "@motiadev/stream-client-react": "0.8.4-beta.141",
48
- "@motiadev/ui": "0.8.4-beta.141"
46
+ "@motiadev/ui": "0.8.4-beta.142-001319",
47
+ "@motiadev/stream-client-react": "0.8.4-beta.142-001319",
48
+ "@motiadev/core": "0.8.4-beta.142-001319"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@testing-library/jest-dom": "^6.6.3",