@mastra/playground-ui 7.0.0-beta.8 → 7.0.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.
- package/CHANGELOG.md +219 -361
- package/dist/index.cjs.js +3831 -2515
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3802 -2490
- package/dist/index.es.js.map +1 -1
- package/dist/src/components/assistant-ui/memory-search.d.ts +1 -1
- package/dist/src/components/assistant-ui/messages/user-messages.d.ts +1 -0
- package/dist/src/components/assistant-ui/thread-list.d.ts +2 -0
- package/dist/src/components/assistant-ui/tools/tool-approval.d.ts +8 -0
- package/dist/src/components/assistant-ui/tooltip-icon-button.d.ts +1 -6
- package/dist/src/components/icons/agent-icon.d.ts +3 -0
- package/dist/src/components/icons/automation-icon.d.ts +3 -0
- package/dist/src/components/syntax-highlighter.d.ts +1 -2
- package/dist/src/components/ui/button.d.ts +3 -8
- package/dist/src/components/ui/copyable-content.d.ts +7 -0
- package/dist/src/components/ui/dropdown-menu.d.ts +42 -0
- package/dist/src/components/ui/elements/entry-list/entry-list-toolbar.d.ts +6 -0
- package/dist/src/components/ui/elements/form-fields/form-actions.d.ts +12 -0
- package/dist/src/components/ui/elements/form-fields/index.d.ts +4 -0
- package/dist/src/components/ui/elements/form-fields/radio-group-field.d.ts +21 -0
- package/dist/src/components/ui/elements/form-fields/slider-field.d.ts +15 -0
- package/dist/src/components/ui/elements/form-fields/textarea-field.d.ts +11 -0
- package/dist/src/components/ui/elements/headers/entity-main-header.d.ts +11 -0
- package/dist/src/components/ui/elements/headers/index.d.ts +1 -0
- package/dist/src/components/ui/elements/main-sidebar/main-sidebar.d.ts +1 -1
- package/dist/src/components/ui/elements/side-dialog/side-dialog-footer.d.ts +10 -0
- package/dist/src/components/ui/formatted-date.d.ts +3 -0
- package/dist/src/components/ui/input.d.ts +1 -1
- package/dist/src/components/ui/resizable.d.ts +23 -0
- package/dist/src/components/ui/score-indicator.d.ts +3 -0
- package/dist/src/components/ui/syntax-highlighter.d.ts +1 -1
- package/dist/src/components/ui/textarea.d.ts +1 -1
- package/dist/src/components/ui/toggle.d.ts +12 -0
- package/dist/src/domains/agents/components/agent-chat.d.ts +1 -2
- package/dist/src/domains/agents/components/agent-entity-header.d.ts +3 -1
- package/dist/src/domains/agents/components/agent-evals.d.ts +8 -0
- package/dist/src/domains/agents/components/agent-information/agent-information.d.ts +0 -25
- package/dist/src/domains/agents/components/agent-information/agent-instructions-enhancer.d.ts +4 -2
- package/dist/src/domains/agents/components/agent-information/current-instructions.d.ts +15 -0
- package/dist/src/domains/agents/components/agent-information/version-actions.d.ts +8 -0
- package/dist/src/domains/agents/components/agent-information/version-history-dialog.d.ts +9 -0
- package/dist/src/domains/agents/components/agent-information/version-history.d.ts +10 -0
- package/dist/src/domains/agents/components/agent-information/version-item.d.ts +14 -0
- package/dist/src/domains/agents/components/agent-metadata/agent-metadata-model-switcher.d.ts +2 -1
- package/dist/src/domains/agents/components/agent-metadata/agent-metadata-prompt.d.ts +4 -0
- package/dist/src/domains/agents/components/agent-metadata/agent-metadata.d.ts +13 -2
- package/dist/src/domains/agents/components/agent-metadata/connection-dot.d.ts +6 -0
- package/dist/src/domains/agents/components/agent-metadata/index.d.ts +1 -0
- package/dist/src/domains/agents/components/agent-metadata/models.d.ts +5 -0
- package/dist/src/domains/agents/components/agent-metadata/provider-status-indicator.d.ts +7 -0
- package/dist/src/domains/agents/components/agent-settings.d.ts +4 -2
- package/dist/src/domains/agents/components/{request-context.d.ts → runtime-context.d.ts} +2 -2
- package/dist/src/domains/agents/context/agent-context.d.ts +1 -2
- package/dist/src/domains/agents/context/index.d.ts +1 -1
- package/dist/src/domains/agents/context/model-reset-context.d.ts +4 -0
- package/dist/src/domains/agents/hooks/use-agent-settings-state.d.ts +1 -2
- package/dist/src/domains/agents/hooks/use-execute-agent-tool.d.ts +1 -1
- package/dist/src/domains/agents/hooks/use-prompt-enhancer.d.ts +13 -5
- package/dist/src/domains/agents/hooks/use-prompt-versions.d.ts +12 -0
- package/dist/src/domains/agents/index.d.ts +2 -4
- package/dist/src/domains/evals/hooks/index.d.ts +1 -0
- package/dist/src/domains/evals/hooks/use-evals-by-agent-id.d.ts +14 -0
- package/dist/src/domains/evals/index.d.ts +1 -0
- package/dist/src/domains/evals/types.d.ts +23 -0
- package/dist/src/domains/mcps/index.d.ts +0 -1
- package/dist/src/domains/memory/hooks/use-memory.d.ts +9 -8
- package/dist/src/domains/observability/components/helpers.d.ts +3 -3
- package/dist/src/domains/observability/components/span-details.d.ts +2 -2
- package/dist/src/domains/observability/components/span-dialog.d.ts +5 -5
- package/dist/src/domains/observability/components/span-score-list.d.ts +2 -2
- package/dist/src/domains/observability/components/span-tabs.d.ts +5 -5
- package/dist/src/domains/observability/components/trace-dialog.d.ts +3 -3
- package/dist/src/domains/observability/components/trace-span-usage.d.ts +2 -2
- package/dist/src/domains/observability/components/trace-timeline-legend.d.ts +2 -2
- package/dist/src/domains/observability/components/traces-list.d.ts +3 -3
- package/dist/src/domains/observability/index.d.ts +0 -1
- package/dist/src/domains/observability/utils/format-hierarchical-spans.d.ts +2 -2
- package/dist/src/domains/resizable-panel.d.ts +11 -0
- package/dist/src/domains/scores/components/score-dialog.d.ts +1 -1
- package/dist/src/domains/scores/components/score-table.d.ts +11 -0
- package/dist/src/domains/scores/hooks/use-scorers.d.ts +6 -3
- package/dist/src/domains/scores/hooks/use-trace-span-scores.d.ts +1 -1
- package/dist/src/domains/scores/index.d.ts +1 -2
- package/dist/src/domains/tools/components/ToolExecutor.d.ts +1 -1
- package/dist/src/domains/tools/components/index.d.ts +0 -1
- package/dist/src/domains/tools/components/tool-table/types.d.ts +2 -0
- package/dist/src/domains/tools/hooks/use-all-tools.d.ts +1 -3
- package/dist/src/domains/tools/hooks/use-execute-tool.d.ts +1 -1
- package/dist/src/domains/traces/components/traces-table.d.ts +8 -0
- package/dist/src/domains/traces/components/traces-view.d.ts +12 -0
- package/dist/src/domains/traces/context/trace-context.d.ts +20 -0
- package/dist/src/domains/traces/hooks/use-open-trace.d.ts +4 -0
- package/dist/src/domains/traces/index.d.ts +2 -0
- package/dist/src/domains/traces/mock-data.d.ts +1356 -0
- package/dist/src/domains/traces/trace-details.d.ts +1 -0
- package/dist/src/domains/traces/trace-span-details.d.ts +1 -0
- package/dist/src/domains/traces/trace-span-view.d.ts +5 -0
- package/dist/src/domains/traces/traces-sidebar.d.ts +6 -0
- package/dist/src/domains/traces/types.d.ts +55 -0
- package/dist/src/domains/traces/utils/createSpanTree.d.ts +2 -0
- package/dist/src/domains/traces/utils/getSpanVariant.d.ts +3 -0
- package/dist/src/domains/traces/utils.d.ts +12 -0
- package/dist/src/domains/workflows/context/workflow-nested-graph-context.d.ts +7 -1
- package/dist/src/domains/workflows/context/workflow-run-context.d.ts +2 -2
- package/dist/src/domains/workflows/hooks/use-workflows-actions.d.ts +21 -7
- package/dist/src/domains/workflows/index.d.ts +0 -1
- package/dist/src/domains/workflows/workflow/workflow-default-node.d.ts +8 -5
- package/dist/src/domains/workflows/workflow/workflow-graph-inner.d.ts +7 -1
- package/dist/src/domains/workflows/workflow/workflow-graph.d.ts +7 -1
- package/dist/src/domains/workflows/workflow/workflow-nested-graph.d.ts +7 -1
- package/dist/src/domains/workflows/workflow/workflow-nested-node.d.ts +8 -5
- package/dist/src/domains/workflows/workflow/workflow-result.d.ts +5 -0
- package/dist/src/domains/workflows/workflow/workflow-run-event-form.d.ts +12 -0
- package/dist/src/domains/workflows/workflow/workflow-step-action-bar.d.ts +6 -3
- package/dist/src/domains/workflows/workflow/workflow-trigger.d.ts +4 -4
- package/dist/src/ds/components/Alert/Alert.d.ts +1 -1
- package/dist/src/ds/components/Breadcrumb/Breadcrumb.d.ts +1 -2
- package/dist/src/ds/components/Button/Button.d.ts +0 -1
- package/dist/src/ds/components/Logo/MastraLogo.d.ts +1 -1
- package/dist/src/ds/components/Table/Cells.d.ts +3 -0
- package/dist/src/ds/components/TraceTree/Span.d.ts +3 -1
- package/dist/src/ds/icons/EvaluatorCoinIcon.d.ts +2 -0
- package/dist/src/ds/icons/ScoreIcon.d.ts +2 -0
- package/dist/src/ds/icons/index.d.ts +2 -0
- package/dist/src/hooks/use-agent-messages.d.ts +3 -4
- package/dist/src/hooks/use-resize-column.d.ts +12 -0
- package/dist/src/hooks/use-workflow-runs.d.ts +2 -218
- package/dist/src/index.d.ts +5 -3
- package/dist/src/lib/mastra-client.d.ts +2 -0
- package/dist/src/lib/pagination/types.d.ts +11 -0
- package/dist/src/lib/polls.d.ts +36 -0
- package/dist/src/services/mastra-runtime-provider.d.ts +1 -1
- package/dist/src/store/playground-store.d.ts +2 -2
- package/dist/src/types/memory.d.ts +7 -0
- package/dist/src/types.d.ts +3 -1
- package/package.json +25 -30
- package/dist/src/components/ui/combobox.d.ts +0 -17
- package/dist/src/domains/agents/components/agent-combobox.d.ts +0 -12
- package/dist/src/domains/agents/context/agent-prompt-experiment-context.d.ts +0 -15
- package/dist/src/domains/agents/hooks/use-agents-model-providers.d.ts +0 -1
- package/dist/src/domains/configuration/components/header-list-form.d.ts +0 -10
- package/dist/src/domains/configuration/components/studio-config-form.d.ts +0 -5
- package/dist/src/domains/configuration/context/studio-config-context.d.ts +0 -11
- package/dist/src/domains/configuration/index.d.ts +0 -3
- package/dist/src/domains/configuration/types.d.ts +0 -4
- package/dist/src/domains/mcps/components/mcp-server-combobox.d.ts +0 -12
- package/dist/src/domains/observability/components/tracing-run-options.d.ts +0 -1
- package/dist/src/domains/observability/context/tracing-settings-context.d.ts +0 -18
- package/dist/src/domains/observability/hooks/use-tracing-settings-state.d.ts +0 -10
- package/dist/src/domains/observability/utils/__tests__/span-utils.test.d.ts +0 -1
- package/dist/src/domains/observability/utils/span-utils.d.ts +0 -9
- package/dist/src/domains/scores/components/scorer-combobox.d.ts +0 -12
- package/dist/src/domains/tools/components/tool-combobox.d.ts +0 -12
- package/dist/src/domains/workflows/components/workflow-combobox.d.ts +0 -12
- package/dist/src/domains/workflows/workflow/workflow-node-badges.d.ts +0 -55
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface ToolComboboxProps {
|
|
2
|
-
value?: string;
|
|
3
|
-
onValueChange?: (value: string) => void;
|
|
4
|
-
placeholder?: string;
|
|
5
|
-
searchPlaceholder?: string;
|
|
6
|
-
emptyText?: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
buttonClassName?: string;
|
|
10
|
-
contentClassName?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare function ToolCombobox({ value, onValueChange, placeholder, searchPlaceholder, emptyText, className, disabled, buttonClassName, contentClassName, }: ToolComboboxProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface WorkflowComboboxProps {
|
|
2
|
-
value?: string;
|
|
3
|
-
onValueChange?: (value: string) => void;
|
|
4
|
-
placeholder?: string;
|
|
5
|
-
searchPlaceholder?: string;
|
|
6
|
-
emptyText?: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
buttonClassName?: string;
|
|
10
|
-
contentClassName?: string;
|
|
11
|
-
}
|
|
12
|
-
export declare function WorkflowCombobox({ value, onValueChange, placeholder, searchPlaceholder, emptyText, className, disabled, buttonClassName, contentClassName, }: WorkflowComboboxProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { LucideIcon } from 'lucide-react';
|
|
2
|
-
export declare const BADGE_COLORS: {
|
|
3
|
-
readonly sleep: "#A855F7";
|
|
4
|
-
readonly forEach: "#F97316";
|
|
5
|
-
readonly map: "#F97316";
|
|
6
|
-
readonly parallel: "#3B82F6";
|
|
7
|
-
readonly suspend: "#EC4899";
|
|
8
|
-
readonly after: "#14B8A6";
|
|
9
|
-
readonly workflow: "#8B5CF6";
|
|
10
|
-
readonly when: "#ECB047";
|
|
11
|
-
readonly dountil: "#8B5CF6";
|
|
12
|
-
readonly dowhile: "#06B6D4";
|
|
13
|
-
readonly until: "#F59E0B";
|
|
14
|
-
readonly while: "#10B981";
|
|
15
|
-
readonly if: "#3B82F6";
|
|
16
|
-
readonly else: "#6B7280";
|
|
17
|
-
};
|
|
18
|
-
export declare const BADGE_ICONS: {
|
|
19
|
-
readonly sleep: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
|
|
20
|
-
readonly sleepUntil: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
|
|
21
|
-
readonly forEach: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
|
|
22
|
-
readonly map: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
|
|
23
|
-
readonly parallel: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
|
|
24
|
-
readonly suspend: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
|
|
25
|
-
readonly after: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
|
|
26
|
-
readonly workflow: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
|
|
27
|
-
readonly when: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
|
|
28
|
-
readonly dountil: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
|
|
29
|
-
readonly dowhile: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
|
|
30
|
-
readonly until: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
|
|
31
|
-
readonly while: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
|
|
32
|
-
readonly if: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
|
|
33
|
-
readonly else: import('../../../../node_modules/@types/react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('../../../../node_modules/@types/react').RefAttributes<SVGSVGElement>>;
|
|
34
|
-
};
|
|
35
|
-
export interface ConditionIconConfig {
|
|
36
|
-
icon: LucideIcon | undefined;
|
|
37
|
-
color: string | undefined;
|
|
38
|
-
}
|
|
39
|
-
export declare const getConditionIconAndColor: (type: string) => ConditionIconConfig;
|
|
40
|
-
export interface NodeBadgeInfo {
|
|
41
|
-
isSleepNode: boolean;
|
|
42
|
-
isForEachNode: boolean;
|
|
43
|
-
isMapNode: boolean;
|
|
44
|
-
isNestedWorkflow: boolean;
|
|
45
|
-
hasSpecialBadge: boolean;
|
|
46
|
-
}
|
|
47
|
-
export declare const getNodeBadgeInfo: (data: {
|
|
48
|
-
duration?: number;
|
|
49
|
-
date?: Date;
|
|
50
|
-
isForEach?: boolean;
|
|
51
|
-
mapConfig?: string;
|
|
52
|
-
canSuspend?: boolean;
|
|
53
|
-
isParallel?: boolean;
|
|
54
|
-
stepGraph?: any;
|
|
55
|
-
}) => NodeBadgeInfo;
|