@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
@@ -1,5 +1,4 @@
1
1
  import { AttachmentAdapter, PendingAttachment, CompleteAttachment } from '@assistant-ui/react';
2
-
3
2
  export declare class PDFAttachmentAdapter implements AttachmentAdapter {
4
3
  accept: string;
5
4
  add({ file }: {
@@ -0,0 +1,7 @@
1
+ import { SpeechSynthesisAdapter } from '@assistant-ui/react';
2
+ import { Agent } from '@mastra/core';
3
+ export declare class VoiceAttachmentAdapter implements SpeechSynthesisAdapter {
4
+ private readonly agent;
5
+ constructor(agent: Agent);
6
+ speak(text: string): SpeechSynthesisAdapter.Utterance;
7
+ }
@@ -0,0 +1,8 @@
1
+ import { CompositeAttachmentAdapter, SpeechSynthesisAdapter } from '@assistant-ui/react';
2
+ export declare const useAdapters: (agentId: string) => {
3
+ isReady: boolean;
4
+ adapters: {
5
+ attachments: CompositeAttachmentAdapter;
6
+ speech: SpeechSynthesisAdapter | undefined;
7
+ };
8
+ };
@@ -0,0 +1,10 @@
1
+ import { MemorySearchResponse } from '../../types/memory';
2
+ interface MemorySearchProps {
3
+ searchMemory: (query: string) => Promise<MemorySearchResponse>;
4
+ onResultClick?: (messageId: string, threadId?: string) => void;
5
+ className?: string;
6
+ currentThreadId?: string;
7
+ chatInputValue?: string;
8
+ }
9
+ export declare const MemorySearch: ({ searchMemory, onResultClick, className, currentThreadId, chatInputValue, }: MemorySearchProps) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -1,5 +1,4 @@
1
1
  import { ToolCallContentPartComponent } from '@assistant-ui/react';
2
-
3
2
  export interface AssistantMessageProps {
4
3
  ToolFallback?: ToolCallContentPartComponent;
5
4
  }
@@ -1,2 +1 @@
1
-
2
1
  export declare const MarkdownText: import('../../../../node_modules/@types/react').MemoExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
@@ -1,3 +1,2 @@
1
1
  import { ReasoningContentPart } from '@assistant-ui/react';
2
-
3
2
  export declare const Reasoning: ({ text }: ReasoningContentPart) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { ToolCallContentPartComponent } from '@assistant-ui/react';
2
-
3
2
  export interface ThreadProps {
4
3
  ToolFallback?: ToolCallContentPartComponent;
5
4
  networkName?: string;
@@ -1,3 +1,2 @@
1
1
  import { FC } from '../../../node_modules/@types/react';
2
-
3
2
  export declare const ThreadList: FC;
@@ -1,11 +1,12 @@
1
1
  import { ToolCallContentPartComponent } from '@assistant-ui/react';
2
-
3
2
  export interface ThreadProps {
4
3
  ToolFallback?: ToolCallContentPartComponent;
5
4
  agentName?: string;
5
+ agentId?: string;
6
6
  hasMemory?: boolean;
7
+ onInputChange?: (value: string) => void;
7
8
  }
8
- export declare const Thread: ({ ToolFallback, agentName, hasMemory }: ThreadProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const Thread: ({ ToolFallback, agentName, agentId, hasMemory, onInputChange }: ThreadProps) => import("react/jsx-runtime").JSX.Element;
9
10
  export interface ThreadWelcomeProps {
10
11
  agentName?: string;
11
12
  }
@@ -1,3 +1,2 @@
1
1
  import { ToolCallContentPartComponent } from '@assistant-ui/react';
2
-
3
2
  export declare const ToolFallback: ToolCallContentPartComponent;
@@ -1,5 +1,4 @@
1
1
  import { ButtonProps } from '../ui/button';
2
-
3
2
  export type TooltipIconButtonProps = ButtonProps & {
4
3
  tooltip: string;
5
4
  side?: 'top' | 'bottom' | 'left' | 'right';
@@ -1,5 +1,4 @@
1
1
  import { default as z } from 'zod';
2
-
3
2
  interface DynamicFormProps<T extends z.ZodSchema> {
4
3
  schema: T;
5
4
  onSubmit?: (values: z.infer<T>) => void | Promise<void>;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from '../../node_modules/@types/react';
2
-
3
2
  export type ScrollableContainerProps = {
4
3
  className?: string;
5
4
  children: React.ReactNode;
@@ -0,0 +1,4 @@
1
+ export declare const useCodemirrorTheme: () => import('@uiw/react-codemirror').Extension;
2
+ export declare const SyntaxHighlighter: ({ data }: {
3
+ data: Record<string, unknown>;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { ElementType } from '../../node_modules/@types/react';
2
-
3
2
  export interface ThreadsProps {
4
3
  children: React.ReactNode;
5
4
  }
@@ -0,0 +1,26 @@
1
+ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
2
+ import * as React from 'react';
3
+ declare function AlertDialog({ open, onOpenChange, children, }: {
4
+ open?: boolean;
5
+ onOpenChange?: (open: boolean) => void;
6
+ children: React.ReactNode;
7
+ }): import("react/jsx-runtime").JSX.Element;
8
+ declare namespace AlertDialog {
9
+ var Trigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
10
+ var Portal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
11
+ var Overlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
+ var Content: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
+ var Header: {
14
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
15
+ displayName: string;
16
+ };
17
+ var Footer: {
18
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
19
+ displayName: string;
20
+ };
21
+ var Title: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
22
+ var Description: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
23
+ var Action: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
24
+ var Cancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
25
+ }
26
+ export { AlertDialog };
@@ -1,6 +1,5 @@
1
1
  import { default as React } from '../../../../node_modules/@types/react';
2
2
  import { AutoFormProps } from './types';
3
-
4
3
  export declare const ShadcnAutoFormFieldComponents: {
5
4
  string: React.FC<import('@autoform/react').AutoFormFieldProps>;
6
5
  number: React.FC<import('@autoform/react').AutoFormFieldProps>;
@@ -1,4 +1,3 @@
1
1
  import { default as React } from '../../../../../node_modules/@types/react';
2
2
  import { ArrayElementWrapperProps } from '@autoform/react';
3
-
4
3
  export declare const ArrayElementWrapper: React.FC<ArrayElementWrapperProps>;
@@ -1,4 +1,3 @@
1
1
  import { default as React } from '../../../../../node_modules/@types/react';
2
2
  import { ArrayWrapperProps } from '@autoform/react';
3
-
4
3
  export declare const ArrayWrapper: React.FC<ArrayWrapperProps>;
@@ -1,4 +1,3 @@
1
1
  import { default as React } from '../../../../../node_modules/@types/react';
2
2
  import { AutoFormFieldProps } from '@autoform/react';
3
-
4
3
  export declare const BooleanField: React.FC<AutoFormFieldProps>;
@@ -1,4 +1,3 @@
1
1
  import { AutoFormFieldProps } from '@autoform/react';
2
2
  import { default as React } from '../../../../../node_modules/@types/react';
3
-
4
3
  export declare const DateField: React.FC<AutoFormFieldProps>;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from '../../../../../node_modules/@types/react';
2
-
3
2
  export declare const ErrorMessage: React.FC<{
4
3
  error: string;
5
4
  }>;
@@ -1,4 +1,3 @@
1
1
  import { default as React } from '../../../../../node_modules/@types/react';
2
2
  import { FieldWrapperProps } from '@autoform/react';
3
-
4
3
  export declare const FieldWrapper: React.FC<FieldWrapperProps>;
@@ -1,3 +1,2 @@
1
1
  import { default as React } from '../../../../../node_modules/@types/react';
2
-
3
2
  export declare const Form: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & React.RefAttributes<HTMLFormElement>>;
@@ -1,4 +1,3 @@
1
1
  import { AutoFormFieldProps } from '@autoform/react';
2
2
  import { default as React } from '../../../../../node_modules/@types/react';
3
-
4
3
  export declare const NumberField: React.FC<AutoFormFieldProps>;
@@ -1,4 +1,3 @@
1
1
  import { default as React } from '../../../../../node_modules/@types/react';
2
2
  import { ObjectWrapperProps } from '@autoform/react';
3
-
4
3
  export declare const ObjectWrapper: React.FC<ObjectWrapperProps>;
@@ -1,4 +1,3 @@
1
1
  import { AutoFormFieldProps } from '@autoform/react';
2
-
3
2
  import * as React from 'react';
4
3
  export declare const RecordField: React.FC<AutoFormFieldProps>;
@@ -1,4 +1,3 @@
1
1
  import { AutoFormFieldProps } from '@autoform/react';
2
2
  import { default as React } from '../../../../../node_modules/@types/react';
3
-
4
3
  export declare const SelectField: React.FC<AutoFormFieldProps>;
@@ -1,4 +1,3 @@
1
1
  import { AutoFormFieldProps } from '@autoform/react';
2
2
  import { default as React } from '../../../../../node_modules/@types/react';
3
-
4
3
  export declare const StringField: React.FC<AutoFormFieldProps>;
@@ -1,5 +1,4 @@
1
1
  import { default as React } from '../../../../../node_modules/@types/react';
2
-
3
2
  export declare const SubmitButton: React.FC<{
4
3
  children: React.ReactNode;
5
4
  }>;
@@ -1,4 +1,3 @@
1
1
  export * from './AutoForm';
2
2
  export * from './types';
3
3
  export * from './utils';
4
- export * from './zodProvider';
@@ -1,5 +1,4 @@
1
1
  import { ExtendableAutoFormProps } from '@autoform/react';
2
2
  import { FieldValues } from 'react-hook-form';
3
-
4
3
  export interface AutoFormProps<T extends FieldValues> extends ExtendableAutoFormProps<T> {
5
4
  }
@@ -1 +1,2 @@
1
- export declare const fieldConfig: (config: import('@autoform/core').FieldConfig<import('../../../../node_modules/@types/react').ReactNode, "string" | "number" | "boolean" | "select" | "date" | "record", import('../../../../node_modules/@types/react').ComponentType<import('@autoform/react').FieldWrapperProps>, {}>) => import('@autoform/zod').SuperRefineFunction;
1
+ import { FieldConfig } from '@autoform/core';
2
+ export declare const fieldConfig: FieldConfig;
@@ -1,5 +1,4 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
-
3
2
  import * as React from 'react';
4
3
  declare const badgeVariants: (props?: ({
5
4
  variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
@@ -1,5 +1,4 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
-
3
2
  import * as React from 'react';
4
3
  declare const buttonVariants: (props?: ({
5
4
  variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
@@ -1,6 +1,5 @@
1
1
  import { ColumnDef as ReactTableColumnDef } from '@tanstack/react-table';
2
2
  import { PaginationResult } from '../../lib/pagination/types';
3
-
4
3
  export interface DataTableProps<TData, TValue> {
5
4
  /**
6
5
  * table columns
@@ -0,0 +1,7 @@
1
+ export interface EntityHeaderProps {
2
+ icon: React.ReactNode;
3
+ title: string;
4
+ isLoading?: boolean;
5
+ children?: React.ReactNode;
6
+ }
7
+ export declare const EntityHeader: ({ icon, title, isLoading, children }: EntityHeaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from '../../../node_modules/@types/react';
2
-
3
2
  export interface EntryProps {
4
3
  label: ReactNode;
5
4
  children: ReactNode;
@@ -1,5 +1,4 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
-
3
2
  import * as React from 'react';
4
3
  declare const inputVariants: (props?: ({
5
4
  variant?: "default" | "filled" | "unstyled" | null | undefined;
@@ -0,0 +1,24 @@
1
+ export interface PlaygroundTabsProps<T extends string> {
2
+ children: React.ReactNode;
3
+ defaultTab: T;
4
+ value?: T;
5
+ onValueChange?: (value: T) => void;
6
+ className?: string;
7
+ }
8
+ export declare const PlaygroundTabs: <T extends string>({ children, defaultTab, value, onValueChange, className, }: PlaygroundTabsProps<T>) => import("react/jsx-runtime").JSX.Element;
9
+ export interface TabListProps {
10
+ children: React.ReactNode;
11
+ className?: string;
12
+ }
13
+ export declare const TabList: ({ children, className }: TabListProps) => import("react/jsx-runtime").JSX.Element;
14
+ export interface TabProps {
15
+ children: React.ReactNode;
16
+ value: string;
17
+ onClick?: () => void;
18
+ }
19
+ export declare const Tab: ({ children, value, onClick }: TabProps) => import("react/jsx-runtime").JSX.Element;
20
+ export interface TabContentProps {
21
+ children: React.ReactNode;
22
+ value: string;
23
+ }
24
+ export declare const TabContent: ({ children, value }: TabContentProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ export declare const useCodemirrorTheme: () => import('@uiw/react-codemirror').Extension;
2
+ export declare const SyntaxHighlighter: ({ data, className }: {
3
+ data: Record<string, unknown>;
4
+ className?: string;
5
+ }) => import("react/jsx-runtime").JSX.Element;
6
+ export declare function highlight(code: string, language: string): Promise<import('shiki').ThemedToken[][] | null>;
@@ -1,6 +1,5 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import { default as React } from '../../../node_modules/@types/react';
3
-
4
3
  declare const textVariants: (props?: ({
5
4
  variant?: "secondary" | "primary" | null | undefined;
6
5
  size?: "default" | "sm" | "lg" | "md" | "xs" | "xl" | "2xl" | null | undefined;
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from '../../node_modules/@types/react';
2
2
  import { MastraClient } from '@mastra/client-js';
3
-
4
3
  export declare const MastraClientProvider: ({ children, baseUrl, headers, }: {
5
4
  children: ReactNode;
6
5
  baseUrl?: string;
@@ -1,3 +1,2 @@
1
1
  import { ChatProps } from '../../../types';
2
-
3
- export declare const AgentChat: ({ agentId, agentName, threadId, initialMessages, memory, refreshThreadList }: ChatProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const AgentChat: ({ agentId, agentName, threadId, initialMessages, memory, refreshThreadList, onInputChange, }: ChatProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ export interface AgentEntityHeaderProps {
2
+ agentId: string;
3
+ isLoading: boolean;
4
+ agentName: string;
5
+ }
6
+ export declare const AgentEntityHeader: ({ agentId, isLoading, agentName }: AgentEntityHeaderProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { Evals } from '../../evals/types';
2
-
3
2
  export interface AgentEvalsProps {
4
3
  liveEvals: Array<Evals>;
5
4
  ciEvals: Array<Evals>;
@@ -0,0 +1,12 @@
1
+ export interface AgentMetadataListProps {
2
+ children: React.ReactNode;
3
+ }
4
+ export declare const AgentMetadataList: ({ children }: AgentMetadataListProps) => import("react/jsx-runtime").JSX.Element;
5
+ export interface AgentMetadataListItemProps {
6
+ children: React.ReactNode;
7
+ }
8
+ export declare const AgentMetadataListItem: ({ children }: AgentMetadataListItemProps) => import("react/jsx-runtime").JSX.Element;
9
+ export interface AgentMetadataListEmptyProps {
10
+ children: React.ReactNode;
11
+ }
12
+ export declare const AgentMetadataListEmpty: ({ children }: AgentMetadataListEmptyProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export interface AgentMetadataPromptProps {
2
+ prompt: string;
3
+ }
4
+ export declare const AgentMetadataPrompt: ({ prompt }: AgentMetadataPromptProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ export interface AgentMetadataSectionProps {
2
+ title: string;
3
+ children: React.ReactNode;
4
+ hint?: {
5
+ link: string;
6
+ title: string;
7
+ };
8
+ }
9
+ export declare const AgentMetadataSection: ({ title, children, hint }: AgentMetadataSectionProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export interface AgentMetadataWrapperProps {
2
+ children: React.ReactNode;
3
+ }
4
+ export declare const AgentMetadataWrapper: ({ children }: AgentMetadataWrapperProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,23 @@
1
+ import { GetAgentResponse, GetToolResponse, GetWorkflowResponse } from '@mastra/client-js';
2
+ import { ReactNode } from '../../../../../node_modules/@types/react';
3
+ export interface AgentMetadataProps {
4
+ agent: GetAgentResponse;
5
+ promptSlot: ReactNode;
6
+ hasMemoryEnabled: boolean;
7
+ computeToolLink: (tool: GetToolResponse) => string;
8
+ computeWorkflowLink: (workflow: GetWorkflowResponse) => string;
9
+ }
10
+ export declare const AgentMetadata: ({ agent, promptSlot, hasMemoryEnabled, computeToolLink, computeWorkflowLink, }: AgentMetadataProps) => import("react/jsx-runtime").JSX.Element;
11
+ export interface AgentMetadataToolListProps {
12
+ tools: GetToolResponse[];
13
+ computeToolLink: (tool: GetToolResponse) => string;
14
+ }
15
+ export declare const AgentMetadataToolList: ({ tools, computeToolLink }: AgentMetadataToolListProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const AgentMetadataScorerList: ({ entityId }: {
17
+ entityId: string;
18
+ }) => import("react/jsx-runtime").JSX.Element;
19
+ export interface AgentMetadataWorkflowListProps {
20
+ workflows: GetWorkflowResponse[];
21
+ computeWorkflowLink: (workflow: GetWorkflowResponse) => string;
22
+ }
23
+ export declare const AgentMetadataWorkflowList: ({ workflows, computeWorkflowLink }: AgentMetadataWorkflowListProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export * from './agent-metadata';
2
+ export * from './agent-metadata-section';
3
+ export * from './agent-metadata-list';
4
+ export * from './agent-metadata-wrapper';
5
+ export * from './agent-metadata-prompt';
@@ -1,5 +1,4 @@
1
1
  import { GetAgentResponse } from '@mastra/client-js';
2
-
3
2
  export interface AgentsTableProps {
4
3
  agents: Record<string, GetAgentResponse>;
5
4
  isLoading: boolean;
@@ -1,6 +1,5 @@
1
1
  import { ColumnDef } from '@tanstack/react-table';
2
2
  import { AgentTableData } from './types';
3
-
4
3
  export type AgentTableColumn = {
5
4
  repoUrl: string;
6
5
  executedAt: Date | null;
@@ -1,5 +1,4 @@
1
1
  import { GetToolResponse } from '@mastra/client-js';
2
-
3
2
  export type AgentTableData = {
4
3
  branch?: string;
5
4
  executedAt?: Date;
@@ -0,0 +1,10 @@
1
+ import { StorageThreadType } from '@mastra/core';
2
+ export interface ChatThreadsProps {
3
+ computeNewThreadLink: () => string;
4
+ computeThreadLink: (threadId: string) => string;
5
+ threads: StorageThreadType[];
6
+ isLoading: boolean;
7
+ threadId: string;
8
+ onDelete: (threadId: string) => void;
9
+ }
10
+ export declare const ChatThreads: ({ computeNewThreadLink, computeThreadLink, threads, isLoading, threadId, onDelete, }: ChatThreadsProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from '../../../../node_modules/@types/react';
2
-
3
2
  export declare const RuntimeContext: () => import("react/jsx-runtime").JSX.Element;
4
3
  export declare const RuntimeContextWrapper: ({ children }: {
5
4
  children: ReactNode;
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from '../../../../node_modules/@types/react';
2
2
  import { AgentSettingsType as AgentSettings } from '../../../types';
3
-
4
3
  type AgentContextType = {
5
4
  settings?: AgentSettings;
6
5
  setSettings: (settings: AgentSettings) => void;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from '../../../../node_modules/@types/react';
2
-
3
2
  type AgentWorkingMemoryContextType = {
4
3
  threadExists: boolean;
5
4
  workingMemoryData: string | null;
@@ -1,5 +1,4 @@
1
1
  import { AgentSettingsType as AgentSettings } from '../../../types';
2
-
3
2
  export interface AgentSettingsStateProps {
4
3
  agentId: string;
5
4
  }
@@ -1,8 +1,10 @@
1
1
  export * from './components/agent-chat';
2
2
  export * from './components/agent-evals';
3
- export * from './components/agent-traces';
4
3
  export * from './context';
5
4
  export * from './components/agent-settings';
6
5
  export * from './components/agent-table/agent-table';
7
6
  export * from './components/runtime-context';
8
7
  export * from './components/provider-map-icon';
8
+ export * from './components/agent-metadata';
9
+ export * from './components/agent-entity-header';
10
+ export * from './components/chat-threads';
@@ -1,5 +1,4 @@
1
1
  import { TestInfo, MetricResult } from '@mastra/core/eval';
2
-
3
2
  export type Evals = {
4
3
  input: string;
5
4
  output: string;
@@ -1,4 +1,3 @@
1
1
  import { ColumnDef } from '@tanstack/react-table';
2
2
  import { NetworkTableColumn } from './types';
3
-
4
3
  export declare const columns: ColumnDef<NetworkTableColumn>[];
@@ -1,5 +1,4 @@
1
1
  import { GetNetworkResponse, GetVNextNetworkResponse } from '@mastra/client-js';
2
-
3
2
  export interface NetworkTableProps {
4
3
  legacyNetworks: GetNetworkResponse[];
5
4
  networks: GetVNextNetworkResponse[];
@@ -1,3 +1,2 @@
1
1
  import { ChatProps } from '../../types';
2
-
3
2
  export declare const NetworkChat: ({ agentId, memory }: ChatProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import { ReactNode } from '../../../node_modules/@types/react';
2
2
  import { ModelSettings } from '../../types';
3
-
4
3
  type NetworkContextType = {
5
4
  modelSettings: ModelSettings;
6
5
  setModelSettings: React.Dispatch<React.SetStateAction<ModelSettings>>;
@@ -1,3 +1,2 @@
1
1
  import { ToolCallContentPartComponent } from '@assistant-ui/react';
2
-
3
2
  export declare const ToolFallback: ToolCallContentPartComponent;
@@ -1,5 +1,4 @@
1
1
  import { Message } from '../../../types';
2
-
3
2
  export declare const VNextNetworkChat: ({ networkId, networkName, threadId, initialMessages, memory, refreshThreadList, }: {
4
3
  networkId: string;
5
4
  networkName: string;
@@ -1,6 +1,5 @@
1
1
  import { ToolCallContentPartComponent } from '@assistant-ui/react';
2
2
  import { FC } from '../../../../node_modules/@types/react';
3
-
4
3
  export declare const NextAssistantMessage: FC<{
5
4
  ToolFallback?: ToolCallContentPartComponent;
6
5
  }>;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from '../../node_modules/@types/react';
2
-
3
2
  export declare const MastraResizablePanel: ({ children, defaultWidth, minimumWidth, maximumWidth, className, disabled, setCurrentWidth, dividerPosition, }: {
4
3
  children: ReactNode;
5
4
  defaultWidth: number;
@@ -0,0 +1,8 @@
1
+ import { ScoringEntityType } from '@mastra/core/scores';
2
+ export interface ScorerListProps {
3
+ entityId: string;
4
+ entityType: ScoringEntityType;
5
+ }
6
+ export declare const ScorerList: ({ entityId, entityType }: ScorerListProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const EmptyScorerList: () => import("react/jsx-runtime").JSX.Element;
8
+ export declare const ScorerSkeleton: () => import("react/jsx-runtime").JSX.Element;