@motiadev/workbench 0.2.1-beta.76 → 0.2.2-build.20250618141055
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.html +9 -9
- package/dist/index.js +1 -1
- package/dist/src/components/app-sidebar.js +2 -2
- package/dist/src/components/endpoints/endpoint-call.js +2 -2
- package/dist/src/components/header/header.js +1 -1
- package/dist/src/components/logs/log-console.js +1 -1
- package/dist/src/components/observability/events/code/function-call.d.ts +13 -0
- package/dist/src/components/observability/events/code/function-call.js +16 -0
- package/dist/src/components/observability/events/event-icon.d.ts +7 -0
- package/dist/src/components/observability/events/event-icon.js +16 -0
- package/dist/src/components/observability/events/trace-emit-event.d.ts +5 -0
- package/dist/src/components/observability/events/trace-emit-event.js +5 -0
- package/dist/src/components/observability/events/trace-event.d.ts +5 -0
- package/dist/src/components/observability/events/trace-event.js +20 -0
- package/dist/src/components/observability/events/trace-log-event.d.ts +5 -0
- package/dist/src/components/observability/events/trace-log-event.js +5 -0
- package/dist/src/components/observability/events/trace-state-event.d.ts +5 -0
- package/dist/src/components/observability/events/trace-state-event.js +5 -0
- package/dist/src/components/observability/events/trace-stream-event.d.ts +5 -0
- package/dist/src/components/observability/events/trace-stream-event.js +5 -0
- package/dist/src/components/observability/hooks/use-get-endtime.d.ts +2 -0
- package/dist/src/components/observability/hooks/use-get-endtime.js +15 -0
- package/dist/src/components/observability/observability-stats.d.ts +5 -0
- package/dist/src/components/observability/observability-stats.js +17 -0
- package/dist/src/components/observability/trace-item/trace-item-detail.d.ts +7 -0
- package/dist/src/components/observability/trace-item/trace-item-detail.js +10 -0
- package/dist/src/components/observability/trace-item/trace-item.d.ts +9 -0
- package/dist/src/components/observability/trace-item/trace-item.js +20 -0
- package/dist/src/components/observability/trace-status.d.ts +12 -0
- package/dist/src/components/observability/trace-status.js +43 -0
- package/dist/src/components/observability/trace-timeline.d.ts +6 -0
- package/dist/src/components/observability/trace-timeline.js +17 -0
- package/dist/src/components/observability/traces-groups.d.ts +9 -0
- package/dist/src/components/observability/traces-groups.js +15 -0
- package/dist/src/components/ui/card.d.ts +8 -0
- package/dist/src/components/ui/card.js +16 -0
- package/dist/src/components/ui/navigation-menu.d.ts +9 -10
- package/dist/src/components/ui/navigation-menu.js +9 -10
- package/dist/src/components/ui/scroll-area.d.ts +5 -0
- package/dist/src/components/ui/scroll-area.js +9 -0
- package/dist/src/components/ui/sheet.d.ts +1 -1
- package/dist/src/components/ui/sidebar.js +1 -1
- package/dist/src/components/ui/tabs.d.ts +7 -0
- package/dist/src/components/ui/tabs.js +12 -0
- package/dist/src/hooks/use-fetch-flows.d.ts +5 -0
- package/dist/src/hooks/use-fetch-flows.js +17 -0
- package/dist/src/hooks/use-list-flows.d.ts +3 -2
- package/dist/src/index.css +2 -155
- package/dist/src/lib/utils.d.ts +1 -0
- package/dist/src/lib/utils.js +7 -0
- package/dist/src/main.js +2 -1
- package/dist/src/routes/flow.js +2 -13
- package/dist/src/routes/index.js +2 -2
- package/dist/src/routes/traces-page.d.ts +1 -0
- package/dist/src/routes/traces-page.js +14 -0
- package/dist/src/types/observability.d.ts +78 -0
- package/dist/src/types/observability.js +1 -0
- package/dist/src/views/flow/flow-view.js +2 -17
- package/dist/src/views/flow/hooks/use-get-flow-state.d.ts +5 -2
- package/dist/src/views/flow/hooks/use-get-flow-state.js +97 -27
- package/dist/src/views/flow/hooks/use-save-workflow-config.d.ts +2 -9
- package/dist/src/views/flow/hooks/use-save-workflow-config.js +5 -6
- package/dist/src/views/flow/legend.js +1 -1
- package/dist/src/views/flow/node-organizer.js +4 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +12 -6
- package/dist/src/components/ui/button.d.ts +0 -11
- package/dist/src/components/ui/button.js +0 -33
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.2.
|
|
4
|
+
"version": "0.2.2-build.20250618141055",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@radix-ui/react-collapsible": "^1.1.10",
|
|
@@ -9,10 +9,12 @@
|
|
|
9
9
|
"@radix-ui/react-dropdown-menu": "^2.1.15",
|
|
10
10
|
"@radix-ui/react-label": "^2.1.6",
|
|
11
11
|
"@radix-ui/react-navigation-menu": "^1.2.13",
|
|
12
|
+
"@radix-ui/react-scroll-area": "^1.2.9",
|
|
12
13
|
"@radix-ui/react-select": "^2.2.4",
|
|
13
14
|
"@radix-ui/react-separator": "^1.1.6",
|
|
14
15
|
"@radix-ui/react-slot": "^1.2.2",
|
|
15
16
|
"@radix-ui/react-switch": "^1.2.4",
|
|
17
|
+
"@radix-ui/react-tabs": "^1.1.12",
|
|
16
18
|
"@radix-ui/react-tooltip": "^1.2.6",
|
|
17
19
|
"@tailwindcss/postcss": "^4.1.7",
|
|
18
20
|
"@vitejs/plugin-react": "^4.4.1",
|
|
@@ -21,12 +23,15 @@
|
|
|
21
23
|
"class-variance-authority": "^0.7.1",
|
|
22
24
|
"clsx": "^2.1.1",
|
|
23
25
|
"dagre": "^0.8.5",
|
|
26
|
+
"fast-deep-equal": "^3.1.3",
|
|
27
|
+
"date-fns": "^4.1.0",
|
|
24
28
|
"json-schema": "^0.4.0",
|
|
25
29
|
"lucide-react": "^0.510.0",
|
|
26
30
|
"postcss": "^8.5.3",
|
|
27
31
|
"react": "^19.1.0",
|
|
28
32
|
"react-dom": "^19.1.0",
|
|
29
33
|
"react-router": "^7.6.0",
|
|
34
|
+
"recharts": "^2.15.3",
|
|
30
35
|
"tailwind-merge": "^3.3.0",
|
|
31
36
|
"tailwindcss": "^4.1.7",
|
|
32
37
|
"tw-animate-css": "^1.2.9",
|
|
@@ -34,19 +39,20 @@
|
|
|
34
39
|
"typescript-eslint": "^8.32.1",
|
|
35
40
|
"vite": "^6.3.5",
|
|
36
41
|
"zod": "^3.24.4",
|
|
37
|
-
"@motiadev/
|
|
42
|
+
"@motiadev/ui": "0.2.2-build.20250618141055",
|
|
43
|
+
"@motiadev/stream-client-react": "0.2.2-build.20250618141055"
|
|
38
44
|
},
|
|
39
45
|
"devDependencies": {
|
|
46
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
47
|
+
"@testing-library/react": "^16.1.0",
|
|
48
|
+
"@testing-library/user-event": "^14.5.2",
|
|
40
49
|
"@types/dagre": "^0.7.52",
|
|
41
50
|
"@types/express": "^5.0.1",
|
|
51
|
+
"@types/jest": "^29.5.14",
|
|
42
52
|
"@types/json-schema": "^7.0.15",
|
|
43
53
|
"@types/node": "^22.15.18",
|
|
44
54
|
"@types/react": "^19.1.4",
|
|
45
55
|
"@types/react-dom": "^19.1.5",
|
|
46
|
-
"@testing-library/react": "^16.1.0",
|
|
47
|
-
"@testing-library/jest-dom": "^6.6.3",
|
|
48
|
-
"@testing-library/user-event": "^14.5.2",
|
|
49
|
-
"@types/jest": "^29.5.14",
|
|
50
56
|
"jest": "^29.7.0",
|
|
51
57
|
"jest-environment-jsdom": "^29.7.0",
|
|
52
58
|
"ts-jest": "^29.3.4"
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { type VariantProps } from 'class-variance-authority';
|
|
3
|
-
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "none" | null | undefined;
|
|
5
|
-
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
6
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
-
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
|
-
asChild?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { Slot } from '@radix-ui/react-slot';
|
|
4
|
-
import { cva } from 'class-variance-authority';
|
|
5
|
-
import { cn } from '@/lib/utils';
|
|
6
|
-
const buttonVariants = cva('inline-flex items-center cursor-pointer justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0', {
|
|
7
|
-
variants: {
|
|
8
|
-
variant: {
|
|
9
|
-
default: 'bg-primary text-primary-foreground shadow hover:bg-primary/90',
|
|
10
|
-
destructive: 'bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90',
|
|
11
|
-
outline: 'border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground',
|
|
12
|
-
secondary: 'bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80',
|
|
13
|
-
ghost: 'hover:bg-accent hover:text-accent-foreground',
|
|
14
|
-
link: 'text-primary underline-offset-4 hover:underline',
|
|
15
|
-
none: '',
|
|
16
|
-
},
|
|
17
|
-
size: {
|
|
18
|
-
default: 'h-9 px-4 py-2',
|
|
19
|
-
sm: 'h-8 rounded-md px-3 text-xs',
|
|
20
|
-
lg: 'h-10 rounded-md px-8',
|
|
21
|
-
icon: 'h-9 w-9',
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
defaultVariants: {
|
|
25
|
-
variant: 'default',
|
|
26
|
-
size: 'default',
|
|
27
|
-
},
|
|
28
|
-
});
|
|
29
|
-
export const Button = React.forwardRef(({ className, variant, size, asChild = false, ...props }, ref) => {
|
|
30
|
-
const Comp = asChild ? Slot : 'button';
|
|
31
|
-
return _jsx(Comp, { className: cn(buttonVariants({ variant, size, className })), ref: ref, ...props });
|
|
32
|
-
});
|
|
33
|
-
Button.displayName = 'Button';
|