@mastra/playground-ui 0.0.0-wrapping-tooltip-provider-runtime-context-20250716134707 → 0.0.0-zod-v4-compat-part-2-20250820135355

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 (212) hide show
  1. package/dist/{colors-BjoU9dWU.cjs → colors-DLwJ7rFA.cjs} +13 -2
  2. package/dist/colors-DLwJ7rFA.cjs.map +1 -0
  3. package/dist/{colors-BauMYA7t.js → colors-DrbbnW3f.js} +13 -2
  4. package/dist/colors-DrbbnW3f.js.map +1 -0
  5. package/dist/index.cjs.js +4144 -3107
  6. package/dist/index.cjs.js.map +1 -1
  7. package/dist/index.d.ts +1 -0
  8. package/dist/index.es.js +3986 -2989
  9. package/dist/index.es.js.map +1 -1
  10. package/dist/src/components/assistant-ui/attachments/pdfs-adapter.d.ts +0 -1
  11. package/dist/src/components/assistant-ui/attachments/voice-adapter.d.ts +7 -0
  12. package/dist/src/components/assistant-ui/hooks/use-adapters.d.ts +8 -0
  13. package/dist/src/components/assistant-ui/memory-search.d.ts +10 -0
  14. package/dist/src/components/assistant-ui/messages/assistant-message.d.ts +0 -1
  15. package/dist/src/components/assistant-ui/messages/markdown-text.d.ts +0 -1
  16. package/dist/src/components/assistant-ui/messages/reasoning.d.ts +0 -1
  17. package/dist/src/components/assistant-ui/network-threads.d.ts +0 -1
  18. package/dist/src/components/assistant-ui/thread-list.d.ts +0 -1
  19. package/dist/src/components/assistant-ui/thread.d.ts +3 -2
  20. package/dist/src/components/assistant-ui/tools/tool-fallback.d.ts +0 -1
  21. package/dist/src/components/assistant-ui/tooltip-icon-button.d.ts +0 -1
  22. package/dist/src/components/dynamic-form/index.d.ts +0 -1
  23. package/dist/src/components/scrollable-container.d.ts +0 -1
  24. package/dist/src/components/syntax-highlighter.d.ts +4 -0
  25. package/dist/src/components/threads.d.ts +0 -1
  26. package/dist/src/components/ui/alert-dialog.d.ts +26 -0
  27. package/dist/src/components/ui/autoform/AutoForm.d.ts +0 -1
  28. package/dist/src/components/ui/autoform/components/ArrayElementWrapper.d.ts +0 -1
  29. package/dist/src/components/ui/autoform/components/ArrayWrapper.d.ts +0 -1
  30. package/dist/src/components/ui/autoform/components/BooleanField.d.ts +0 -1
  31. package/dist/src/components/ui/autoform/components/DateField.d.ts +0 -1
  32. package/dist/src/components/ui/autoform/components/ErrorMessage.d.ts +0 -1
  33. package/dist/src/components/ui/autoform/components/FieldWrapper.d.ts +0 -1
  34. package/dist/src/components/ui/autoform/components/Form.d.ts +0 -1
  35. package/dist/src/components/ui/autoform/components/NumberField.d.ts +0 -1
  36. package/dist/src/components/ui/autoform/components/ObjectWrapper.d.ts +0 -1
  37. package/dist/src/components/ui/autoform/components/RecordField.d.ts +0 -1
  38. package/dist/src/components/ui/autoform/components/SelectField.d.ts +0 -1
  39. package/dist/src/components/ui/autoform/components/StringField.d.ts +0 -1
  40. package/dist/src/components/ui/autoform/components/SubmitButton.d.ts +0 -1
  41. package/dist/src/components/ui/autoform/index.d.ts +0 -1
  42. package/dist/src/components/ui/autoform/types.d.ts +0 -1
  43. package/dist/src/components/ui/autoform/utils.d.ts +2 -1
  44. package/dist/src/components/ui/badge.d.ts +0 -1
  45. package/dist/src/components/ui/button.d.ts +0 -1
  46. package/dist/src/components/ui/data-table.d.ts +0 -1
  47. package/dist/src/components/ui/entity-header.d.ts +7 -0
  48. package/dist/src/components/ui/entry.d.ts +0 -1
  49. package/dist/src/components/ui/input.d.ts +0 -1
  50. package/dist/src/components/ui/playground-tabs.d.ts +24 -0
  51. package/dist/src/components/ui/syntax-highlighter.d.ts +6 -0
  52. package/dist/src/components/ui/text.d.ts +0 -1
  53. package/dist/src/contexts/mastra-client-context.d.ts +0 -1
  54. package/dist/src/domains/agents/components/agent-chat.d.ts +1 -2
  55. package/dist/src/domains/agents/components/agent-entity-header.d.ts +6 -0
  56. package/dist/src/domains/agents/components/agent-evals.d.ts +0 -1
  57. package/dist/src/domains/agents/components/agent-metadata/agent-metadata-list.d.ts +12 -0
  58. package/dist/src/domains/agents/components/agent-metadata/agent-metadata-prompt.d.ts +4 -0
  59. package/dist/src/domains/agents/components/agent-metadata/agent-metadata-section.d.ts +9 -0
  60. package/dist/src/domains/agents/components/agent-metadata/agent-metadata-wrapper.d.ts +4 -0
  61. package/dist/src/domains/agents/components/agent-metadata/agent-metadata.d.ts +23 -0
  62. package/dist/src/domains/agents/components/agent-metadata/index.d.ts +5 -0
  63. package/dist/src/domains/agents/components/agent-table/agent-table.d.ts +0 -1
  64. package/dist/src/domains/agents/components/agent-table/columns.d.ts +0 -1
  65. package/dist/src/domains/agents/components/agent-table/types.d.ts +0 -1
  66. package/dist/src/domains/agents/components/chat-threads.d.ts +10 -0
  67. package/dist/src/domains/agents/components/runtime-context.d.ts +0 -1
  68. package/dist/src/domains/agents/context/agent-context.d.ts +0 -1
  69. package/dist/src/domains/agents/context/agent-working-memory-context.d.ts +0 -1
  70. package/dist/src/domains/agents/hooks/use-agent-settings-state.d.ts +0 -1
  71. package/dist/src/domains/agents/index.d.ts +3 -1
  72. package/dist/src/domains/evals/types.d.ts +0 -1
  73. package/dist/src/domains/networks/components/network-table/columns.d.ts +0 -1
  74. package/dist/src/domains/networks/components/network-table/network-table.d.ts +0 -1
  75. package/dist/src/domains/networks/network-chat.d.ts +0 -1
  76. package/dist/src/domains/networks/network-context.d.ts +0 -1
  77. package/dist/src/domains/networks/tool-fallback.d.ts +0 -1
  78. package/dist/src/domains/networks/v-next/network-chat.d.ts +0 -1
  79. package/dist/src/domains/networks/v-next/wrapped-assistant-message.d.ts +0 -1
  80. package/dist/src/domains/resizable-panel.d.ts +0 -1
  81. package/dist/src/domains/scores/components/scorer-list.d.ts +8 -0
  82. package/dist/src/domains/scores/hooks/use-scorers.d.ts +24 -0
  83. package/dist/src/domains/scores/index.d.ts +2 -0
  84. package/dist/src/domains/tools/components/tool-list.d.ts +0 -1
  85. package/dist/src/domains/traces/{traces-table.d.ts → components/traces-table.d.ts} +1 -2
  86. package/dist/src/domains/traces/components/traces-view.d.ts +12 -0
  87. package/dist/src/domains/traces/context/trace-context.d.ts +0 -1
  88. package/dist/src/domains/traces/hooks/use-open-trace.d.ts +0 -1
  89. package/dist/src/domains/traces/index.d.ts +2 -0
  90. package/dist/src/domains/traces/trace-span-view.d.ts +0 -1
  91. package/dist/src/domains/traces/utils/createSpanTree.d.ts +0 -1
  92. package/dist/src/domains/traces/utils/getSpanVariant.d.ts +0 -1
  93. package/dist/src/{hooks → domains/voice/hooks}/use-speech-recognition.d.ts +4 -2
  94. package/dist/src/domains/voice/utils/record-mic-to-file.d.ts +1 -0
  95. package/dist/src/domains/workflows/components/workflow-table/columns.d.ts +0 -1
  96. package/dist/src/domains/workflows/components/workflow-table/workflow-table.d.ts +0 -1
  97. package/dist/src/domains/workflows/context/workflow-nested-graph-context.d.ts +0 -1
  98. package/dist/src/domains/workflows/context/workflow-run-context.d.ts +0 -1
  99. package/dist/src/domains/workflows/index.d.ts +0 -1
  100. package/dist/src/domains/workflows/runs/workflow-runs.d.ts +0 -1
  101. package/dist/src/domains/workflows/utils.d.ts +0 -1
  102. package/dist/src/domains/workflows/workflow/legacy-workflow-graph-inner.d.ts +0 -1
  103. package/dist/src/domains/workflows/workflow/legacy-workflow-graph.d.ts +0 -1
  104. package/dist/src/domains/workflows/workflow/legacy-workflow-nested-graph.d.ts +0 -1
  105. package/dist/src/domains/workflows/workflow/legacy-workflow-nested-node.d.ts +0 -1
  106. package/dist/src/domains/workflows/workflow/utils.d.ts +0 -1
  107. package/dist/src/domains/workflows/workflow/workflow-after-node.d.ts +0 -1
  108. package/dist/src/domains/workflows/workflow/workflow-condition-node.d.ts +0 -1
  109. package/dist/src/domains/workflows/workflow/workflow-default-node.d.ts +0 -1
  110. package/dist/src/domains/workflows/workflow/workflow-graph-inner.d.ts +0 -1
  111. package/dist/src/domains/workflows/workflow/workflow-graph.d.ts +0 -1
  112. package/dist/src/domains/workflows/workflow/workflow-input-data.d.ts +0 -1
  113. package/dist/src/domains/workflows/workflow/workflow-loop-result-node.d.ts +0 -1
  114. package/dist/src/domains/workflows/workflow/workflow-nested-graph.d.ts +0 -1
  115. package/dist/src/domains/workflows/workflow/workflow-nested-node.d.ts +0 -1
  116. package/dist/src/domains/workflows/workflow/workflow-step-action-bar.d.ts +2 -2
  117. package/dist/src/domains/workflows/workflow/workflow-trigger.d.ts +0 -1
  118. package/dist/src/domains/workflows/workflow/zoom-slider.d.ts +0 -1
  119. package/dist/src/ds/components/Badge/Badge.d.ts +0 -1
  120. package/dist/src/ds/components/Breadcrumb/Breadcrumb.d.ts +0 -1
  121. package/dist/src/ds/components/Button/Button.d.ts +0 -1
  122. package/dist/src/ds/components/EmptyState/EmptyState.d.ts +0 -1
  123. package/dist/src/ds/components/Header/Header.d.ts +0 -1
  124. package/dist/src/ds/components/Logo/MastraLogo.d.ts +0 -1
  125. package/dist/src/ds/components/Table/Cells.d.ts +0 -1
  126. package/dist/src/ds/components/Table/Table.d.ts +0 -1
  127. package/dist/src/ds/components/TraceTree/Span.d.ts +0 -1
  128. package/dist/src/ds/components/TraceTree/Spans.d.ts +0 -1
  129. package/dist/src/ds/components/TraceTree/Trace.d.ts +0 -1
  130. package/dist/src/ds/components/TraceTree/TraceTree.d.ts +0 -1
  131. package/dist/src/ds/components/Txt/Txt.d.ts +0 -1
  132. package/dist/src/ds/icons/AgentCoinIcon.d.ts +0 -1
  133. package/dist/src/ds/icons/AgentIcon.d.ts +0 -1
  134. package/dist/src/ds/icons/AiIcon.d.ts +0 -1
  135. package/dist/src/ds/icons/AmazonIcon.d.ts +0 -1
  136. package/dist/src/ds/icons/AnthropicChatIcon.d.ts +0 -1
  137. package/dist/src/ds/icons/AnthropicMessagesIcon.d.ts +0 -1
  138. package/dist/src/ds/icons/ApiIcon.d.ts +0 -1
  139. package/dist/src/ds/icons/AzureIcon.d.ts +0 -1
  140. package/dist/src/ds/icons/BranchIcon.d.ts +0 -1
  141. package/dist/src/ds/icons/CheckIcon.d.ts +0 -1
  142. package/dist/src/ds/icons/ChevronIcon.d.ts +0 -1
  143. package/dist/src/ds/icons/CohereIcon.d.ts +0 -1
  144. package/dist/src/ds/icons/CommitIcon.d.ts +0 -1
  145. package/dist/src/ds/icons/CrossIcon.d.ts +0 -1
  146. package/dist/src/ds/icons/DbIcon.d.ts +0 -1
  147. package/dist/src/ds/icons/DebugIcon.d.ts +0 -1
  148. package/dist/src/ds/icons/DeploymentIcon.d.ts +0 -1
  149. package/dist/src/ds/icons/DividerIcon.d.ts +0 -1
  150. package/dist/src/ds/icons/DocsIcon.d.ts +0 -1
  151. package/dist/src/ds/icons/EnvIcon.d.ts +0 -1
  152. package/dist/src/ds/icons/EvaluatorCoinIcon.d.ts +0 -1
  153. package/dist/src/ds/icons/FiltersIcon.d.ts +0 -1
  154. package/dist/src/ds/icons/FolderIcon.d.ts +0 -1
  155. package/dist/src/ds/icons/GithubCoinIcon.d.ts +0 -1
  156. package/dist/src/ds/icons/GithubIcon.d.ts +0 -1
  157. package/dist/src/ds/icons/GoogleIcon.d.ts +0 -1
  158. package/dist/src/ds/icons/GroqIcon.d.ts +0 -1
  159. package/dist/src/ds/icons/HomeIcon.d.ts +0 -1
  160. package/dist/src/ds/icons/Icon.d.ts +0 -1
  161. package/dist/src/ds/icons/InfoIcon.d.ts +0 -1
  162. package/dist/src/ds/icons/JudgeIcon.d.ts +0 -1
  163. package/dist/src/ds/icons/LatencyIcon.d.ts +0 -1
  164. package/dist/src/ds/icons/LogsIcon.d.ts +0 -1
  165. package/dist/src/ds/icons/McpCoinIcon.d.ts +0 -1
  166. package/dist/src/ds/icons/McpServerIcon.d.ts +0 -1
  167. package/dist/src/ds/icons/MemoryIcon.d.ts +0 -1
  168. package/dist/src/ds/icons/MistralIcon.d.ts +0 -1
  169. package/dist/src/ds/icons/OpenAIIcon.d.ts +0 -1
  170. package/dist/src/ds/icons/OpenaiChatIcon.d.ts +0 -1
  171. package/dist/src/ds/icons/PromptIcon.d.ts +0 -1
  172. package/dist/src/ds/icons/RepoIcon.d.ts +0 -1
  173. package/dist/src/ds/icons/ScoreIcon.d.ts +0 -1
  174. package/dist/src/ds/icons/SettingsIcon.d.ts +0 -1
  175. package/dist/src/ds/icons/SlashIcon.d.ts +0 -1
  176. package/dist/src/ds/icons/ToolCoinIcon.d.ts +0 -1
  177. package/dist/src/ds/icons/ToolsIcon.d.ts +0 -1
  178. package/dist/src/ds/icons/TraceIcon.d.ts +0 -1
  179. package/dist/src/ds/icons/TsIcon.d.ts +0 -1
  180. package/dist/src/ds/icons/VariablesIcon.d.ts +0 -1
  181. package/dist/src/ds/icons/WorkflowCoinIcon.d.ts +0 -1
  182. package/dist/src/ds/icons/WorkflowIcon.d.ts +0 -1
  183. package/dist/src/ds/icons/XGroqIcon.d.ts +0 -1
  184. package/dist/src/ds/tokens/colors.d.ts +11 -0
  185. package/dist/src/hooks/index.d.ts +1 -0
  186. package/dist/src/hooks/use-autoscroll.d.ts +0 -1
  187. package/dist/src/hooks/use-in-view.d.ts +9 -0
  188. package/dist/src/hooks/use-resize-column.d.ts +0 -1
  189. package/dist/src/hooks/use-workflows.d.ts +0 -1
  190. package/dist/src/index.d.ts +9 -2
  191. package/dist/src/lib/framework.d.ts +0 -1
  192. package/dist/src/lib/mastra-client.d.ts +0 -1
  193. package/dist/src/lib/tanstack-query.d.ts +4 -0
  194. package/dist/src/lib/utils.d.ts +0 -1
  195. package/dist/src/services/mastra-runtime-provider.d.ts +1 -2
  196. package/dist/src/services/network-runtime-provider.d.ts +0 -1
  197. package/dist/src/services/vnext-message-provider.d.ts +0 -1
  198. package/dist/src/services/vnext-network-chat-provider.d.ts +0 -1
  199. package/dist/src/services/vnext-network-runtime-provider.d.ts +0 -1
  200. package/dist/src/types/memory.d.ts +29 -0
  201. package/dist/src/types.d.ts +1 -0
  202. package/dist/tokens.cjs.js +1 -1
  203. package/dist/tokens.d.ts +1 -0
  204. package/dist/tokens.es.js +1 -1
  205. package/package.json +16 -16
  206. package/dist/colors-BauMYA7t.js.map +0 -1
  207. package/dist/colors-BjoU9dWU.cjs.map +0 -1
  208. package/dist/src/components/ui/autoform/zodProvider/field-type-inference.d.ts +0 -4
  209. package/dist/src/components/ui/autoform/zodProvider/index.d.ts +0 -9
  210. package/dist/src/domains/agents/components/agent-traces.d.ts +0 -10
  211. package/dist/src/domains/workflows/workflow/workflow-traces.d.ts +0 -11
  212. package/dist/src/main.d.ts +0 -1
@@ -0,0 +1,24 @@
1
+ import { GetScorerResponse, GetScoresResponse } from '@mastra/client-js';
2
+ export declare const useScoresByEntityId: (entityId: string, entityType: string, page?: number) => {
3
+ scores: GetScoresResponse | null;
4
+ isLoading: boolean;
5
+ };
6
+ type UseScoresByScorerIdProps = {
7
+ scorerId: string;
8
+ page?: number;
9
+ entityId?: string;
10
+ entityType?: string;
11
+ };
12
+ export declare const useScoresByScorerId: ({ scorerId, page, entityId, entityType }: UseScoresByScorerIdProps) => {
13
+ scores: GetScoresResponse | null;
14
+ isLoading: boolean;
15
+ };
16
+ export declare const useScorer: (scorerId: string) => {
17
+ scorer: GetScorerResponse | null;
18
+ isLoading: boolean;
19
+ };
20
+ export declare const useScorers: () => {
21
+ scorers: Record<string, GetScorerResponse>;
22
+ isLoading: boolean;
23
+ };
24
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './components/scorer-list';
2
+ export * from './hooks/use-scorers';
@@ -1,5 +1,4 @@
1
1
  import { GetAgentResponse, GetToolResponse } from '@mastra/client-js';
2
-
3
2
  export interface ToolListProps {
4
3
  isLoading: boolean;
5
4
  tools: Record<string, GetToolResponse>;
@@ -1,5 +1,4 @@
1
- import { RefinedTrace } from './types';
2
-
1
+ import { RefinedTrace } from '../types';
3
2
  export interface TracesTableProps {
4
3
  traces: RefinedTrace[];
5
4
  error: {
@@ -0,0 +1,12 @@
1
+ import { RefinedTrace } from '../types';
2
+ export interface TracesViewProps {
3
+ isLoading: boolean;
4
+ error: Error | null;
5
+ traces: RefinedTrace[];
6
+ runId?: string;
7
+ stepName?: string;
8
+ className?: string;
9
+ setEndOfListElement: (element: HTMLDivElement | null) => void;
10
+ }
11
+ export declare function TracesView({ isLoading, error, traces, runId, stepName, className, setEndOfListElement, }: TracesViewProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare const TracesViewSkeleton: () => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { Span, RefinedTrace } from '../types';
2
-
3
2
  export type TraceContextType = {
4
3
  isOpen: boolean;
5
4
  setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
@@ -1,5 +1,4 @@
1
1
  import { Span } from '../types';
2
-
3
2
  export declare const useOpenTrace: () => {
4
3
  openTrace: (trace: Span[], traceIndex: number) => void;
5
4
  };
@@ -0,0 +1,2 @@
1
+ export * from './components/traces-view';
2
+ export * from './utils';
@@ -1,5 +1,4 @@
1
1
  import { Span } from './types';
2
-
3
2
  export interface SpanViewProps {
4
3
  trace: Span[];
5
4
  }
@@ -1,3 +1,2 @@
1
1
  import { Span, SpanNode } from '../types';
2
-
3
2
  export declare const createSpanTree: (spans: Span[]) => SpanNode[];
@@ -1,4 +1,3 @@
1
1
  import { SpanProps } from '../../../ds/components/TraceTree/Span';
2
2
  import { Span } from '../types';
3
-
4
3
  export declare const getSpanVariant: (span: Span) => SpanProps["variant"];
@@ -5,11 +5,13 @@ export interface SpeechRecognitionState {
5
5
  }
6
6
  export interface UseSpeechRecognitionArgs {
7
7
  language?: string;
8
+ agentId?: string;
8
9
  }
9
- export declare const useSpeechRecognition: ({ language }?: UseSpeechRecognitionArgs) => {
10
+ type BrowserSpeechRecognition = {
10
11
  start: () => void;
11
12
  stop: () => void;
12
13
  isListening: boolean;
13
14
  transcript: string;
14
- error: string | null;
15
15
  };
16
+ export declare const useSpeechRecognition: ({ language, agentId, }: UseSpeechRecognitionArgs) => BrowserSpeechRecognition;
17
+ export {};
@@ -0,0 +1 @@
1
+ export declare function recordMicrophoneToFile(onFinish: (file: File) => void): Promise<MediaRecorder>;
@@ -1,4 +1,3 @@
1
1
  import { ColumnDef } from '@tanstack/react-table';
2
2
  import { WorkflowTableData } from './types';
3
-
4
3
  export declare const columns: ColumnDef<WorkflowTableData>[];
@@ -1,5 +1,4 @@
1
1
  import { GetLegacyWorkflowResponse, GetWorkflowResponse } from '@mastra/client-js';
2
-
3
2
  export interface WorkflowTableProps {
4
3
  workflows?: Record<string, GetWorkflowResponse>;
5
4
  legacyWorkflows?: Record<string, GetLegacyWorkflowResponse>;
@@ -1,6 +1,5 @@
1
1
  import { SerializedStepFlowEntry } from '@mastra/core/workflows';
2
2
  import { WorkflowSendEventFormProps } from '../workflow/workflow-run-event-form';
3
-
4
3
  type WorkflowNestedGraphContextType = {
5
4
  showNestedGraph: ({ label, stepGraph, fullStep, }: {
6
5
  label: string;
@@ -1,7 +1,6 @@
1
1
  import { ExtendedLegacyWorkflowRunResult } from '../../../hooks/use-workflows';
2
2
  import { WorkflowRunState } from '@mastra/core';
3
3
  import { WorkflowWatchResult } from '@mastra/client-js';
4
-
5
4
  type WorkflowRunContextType = {
6
5
  legacyResult: ExtendedLegacyWorkflowRunResult | null;
7
6
  setLegacyResult: React.Dispatch<React.SetStateAction<any>>;
@@ -1,4 +1,3 @@
1
- export * from './workflow/workflow-traces';
2
1
  export * from './workflow/legacy-workflow-graph';
3
2
  export * from './workflow/legacy-workflow-trigger';
4
3
  export * from './context/workflow-run-context';
@@ -1,5 +1,4 @@
1
1
  import { WorkflowRun } from '@mastra/core';
2
-
3
2
  export interface WorkflowRunsProps {
4
3
  workflowId: string;
5
4
  runId?: string;
@@ -1,4 +1,3 @@
1
1
  import { WorkflowRunState } from '@mastra/core/workflows';
2
2
  import { WorkflowWatchResult } from '@mastra/client-js';
3
-
4
3
  export declare function convertWorkflowRunStateToWatchResult(runState: WorkflowRunState): WorkflowWatchResult;
@@ -1,5 +1,4 @@
1
1
  import { LegacyWorkflow } from '@mastra/core/workflows/legacy';
2
-
3
2
  export declare function LegacyWorkflowGraphInner({ workflow }: {
4
3
  workflow: LegacyWorkflow;
5
4
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
-
2
1
  export declare function LegacyWorkflowGraph({ workflowId }: {
3
2
  workflowId: string;
4
3
  }): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,3 @@
1
-
2
1
  export declare function LegacyWorkflowNestedGraph({ stepGraph, stepSubscriberGraph, open, }: {
3
2
  stepGraph: any;
4
3
  stepSubscriberGraph: any;
@@ -1,5 +1,4 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
-
3
2
  type LegacyWorkflowNestedNode = Node<{
4
3
  label: string;
5
4
  description?: string;
@@ -1,7 +1,6 @@
1
1
  import { Workflow } from '@mastra/core/workflows';
2
2
  import { StepCondition } from '@mastra/core/workflows/legacy';
3
3
  import { Node, Edge } from '@xyflow/react';
4
-
5
4
  export type ConditionConditionType = 'if' | 'else' | 'when' | 'until' | 'while' | 'dountil' | 'dowhile';
6
5
  export type Condition = {
7
6
  type: ConditionConditionType;
@@ -1,5 +1,4 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
-
3
2
  export type AfterNode = Node<{
4
3
  steps: string[];
5
4
  }, 'after-node'>;
@@ -1,6 +1,5 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
2
  import { Condition } from './utils';
3
-
4
3
  export type ConditionNode = Node<{
5
4
  conditions: Condition[];
6
5
  previousStepId: string;
@@ -1,6 +1,5 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
2
  import { WorkflowSendEventFormProps } from './workflow-run-event-form';
3
-
4
3
  export type DefaultNode = Node<{
5
4
  label: string;
6
5
  description?: string;
@@ -1,6 +1,5 @@
1
1
  import { GetWorkflowResponse } from '@mastra/client-js';
2
2
  import { WorkflowSendEventFormProps } from './workflow-run-event-form';
3
-
4
3
  export interface WorkflowGraphInnerProps {
5
4
  workflow: {
6
5
  stepGraph: GetWorkflowResponse['stepGraph'];
@@ -1,6 +1,5 @@
1
1
  import { GetWorkflowResponse } from '@mastra/client-js';
2
2
  import { WorkflowSendEventFormProps } from './workflow-run-event-form';
3
-
4
3
  export interface WorkflowGraphProps {
5
4
  workflowId: string;
6
5
  isLoading?: boolean;
@@ -1,5 +1,4 @@
1
1
  import { ZodSchema } from 'zod';
2
-
3
2
  export interface WorkflowInputDataProps {
4
3
  schema: ZodSchema;
5
4
  defaultValues?: any;
@@ -1,5 +1,4 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
-
3
2
  export type LoopResultNode = Node<{
4
3
  result: boolean;
5
4
  }, 'loop-result-node'>;
@@ -1,6 +1,5 @@
1
1
  import { SerializedStepFlowEntry } from '@mastra/core/workflows';
2
2
  import { WorkflowSendEventFormProps } from './workflow-run-event-form';
3
-
4
3
  export interface WorkflowNestedGraphProps {
5
4
  stepGraph: SerializedStepFlowEntry[];
6
5
  open: boolean;
@@ -1,7 +1,6 @@
1
1
  import { NodeProps, Node } from '@xyflow/react';
2
2
  import { SerializedStepFlowEntry } from '@mastra/core/workflows';
3
3
  import { WorkflowSendEventFormProps } from './workflow-run-event-form';
4
-
5
4
  export type NestedNode = Node<{
6
5
  label: string;
7
6
  description?: string;
@@ -1,5 +1,4 @@
1
1
  import { WorkflowSendEventFormProps } from './workflow-run-event-form';
2
-
3
2
  export interface WorkflowStepActionBarProps {
4
3
  input?: any;
5
4
  output?: any;
@@ -12,5 +11,6 @@ export interface WorkflowStepActionBarProps {
12
11
  onShowNestedGraph?: () => void;
13
12
  onSendEvent?: WorkflowSendEventFormProps['onSendEvent'];
14
13
  runId?: string;
14
+ status?: 'running' | 'success' | 'failed' | 'suspended' | 'waiting';
15
15
  }
16
- export declare const WorkflowStepActionBar: ({ input, output, resumeData, error, mapConfig, stepName, event, onShowTrace, onShowNestedGraph, onSendEvent, runId, }: WorkflowStepActionBarProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const WorkflowStepActionBar: ({ input, output, resumeData, error, mapConfig, stepName, event, onShowTrace, onShowNestedGraph, onSendEvent, runId, status, }: WorkflowStepActionBarProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { GetWorkflowResponse, WorkflowWatchResult } from '@mastra/client-js';
2
-
3
2
  interface WorkflowTriggerProps {
4
3
  workflowId: string;
5
4
  setRunId?: (runId: string) => void;
@@ -1,4 +1,3 @@
1
1
  import { default as React } from '../../../../node_modules/@types/react';
2
2
  import { PanelProps } from '@xyflow/react';
3
-
4
3
  export declare const ZoomSlider: React.ForwardRefExoticComponent<Omit<PanelProps, "children"> & React.RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from '../../../../node_modules/@types/react';
2
-
3
2
  export interface BadgeProps {
4
3
  icon?: React.ReactNode;
5
4
  variant?: 'default' | 'success' | 'error' | 'info';
@@ -1,5 +1,4 @@
1
1
  import { default as React } from '../../../../node_modules/@types/react';
2
-
3
2
  export interface BreadcrumbProps {
4
3
  children?: React.ReactNode;
5
4
  label?: string;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from '../../../../node_modules/@types/react';
2
-
3
2
  export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
4
3
  as?: React.ElementType;
5
4
  className?: string;
@@ -1,5 +1,4 @@
1
1
  import { ElementType, ReactNode } from '../../../../node_modules/@types/react';
2
-
3
2
  export interface EmptyStateProps {
4
3
  as?: ElementType;
5
4
  iconSlot: ReactNode;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from '../../../../node_modules/@types/react';
2
-
3
2
  export interface HeaderProps {
4
3
  children?: React.ReactNode;
5
4
  border?: boolean;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../../node_modules/@types/react';
2
-
3
2
  export declare const DarkLogo: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from '../../../../node_modules/@types/react';
2
-
3
2
  export interface CellProps extends React.TdHTMLAttributes<HTMLTableCellElement> {
4
3
  className?: string;
5
4
  children: React.ReactNode;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from '../../../../node_modules/@types/react';
2
-
3
2
  export interface TableProps {
4
3
  className?: string;
5
4
  children: React.ReactNode;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from '../../../../node_modules/@types/react';
2
-
3
2
  export interface SpanProps {
4
3
  children: React.ReactNode;
5
4
  durationMs: number;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from '../../../../node_modules/@types/react';
2
-
3
2
  export interface SpansProps {
4
3
  children: React.ReactNode;
5
4
  }
@@ -1,6 +1,5 @@
1
1
  import { default as React } from '../../../../node_modules/@types/react';
2
2
  import { SpanProps } from './Span';
3
-
4
3
  export interface TraceProps {
5
4
  name: string;
6
5
  spans: React.ReactNode;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from '../../../../node_modules/@types/react';
2
-
3
2
  export interface TraceTreeProps {
4
3
  children: React.ReactNode;
5
4
  }
@@ -1,6 +1,5 @@
1
1
  import { default as React } from '../../../../node_modules/@types/react';
2
2
  import { FontSizes } from '../../tokens';
3
-
4
3
  export interface TxtProps extends React.HTMLAttributes<HTMLDivElement | HTMLLabelElement> {
5
4
  as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'label';
6
5
  variant?: keyof typeof FontSizes;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const AgentCoinIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const AgentIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const AiIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const AmazonIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const AnthropicChatIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const AnthropicMessagesIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const ApiIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const AzureIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const BranchIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const CheckIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const ChevronIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const CohereIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const CommitIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const CrossIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const DbIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const DebugIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const DeploymentIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const DividerIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const DocsIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const EnvIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const EvaluatorCoinIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const FiltersIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const FolderIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const GithubCoinIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const GithubIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const GoogleIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const GroqIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const HomeIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export interface IconProps extends React.HTMLAttributes<HTMLDivElement> {
4
3
  children: React.ReactNode;
5
4
  size?: 'default' | 'lg' | 'sm';
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const InfoIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const JudgeIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const LatencyIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const LogsIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const McpCoinIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const McpServerIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const MemoryIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const MistralIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const OpenAIIcon: (props: React.SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;