@mastra/playground-ui 5.1.16-alpha.1 → 5.1.16

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 (174) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/src/components/assistant-ui/attachments/pdfs-adapter.d.ts +0 -1
  3. package/dist/src/components/assistant-ui/attachments/voice-adapter.d.ts +0 -1
  4. package/dist/src/components/assistant-ui/hooks/use-adapters.d.ts +0 -1
  5. package/dist/src/components/assistant-ui/memory-search.d.ts +0 -1
  6. package/dist/src/components/assistant-ui/messages/assistant-message.d.ts +0 -1
  7. package/dist/src/components/assistant-ui/messages/markdown-text.d.ts +0 -1
  8. package/dist/src/components/assistant-ui/messages/reasoning.d.ts +0 -1
  9. package/dist/src/components/assistant-ui/network-threads.d.ts +0 -1
  10. package/dist/src/components/assistant-ui/thread-list.d.ts +0 -1
  11. package/dist/src/components/assistant-ui/thread.d.ts +0 -1
  12. package/dist/src/components/assistant-ui/tools/tool-fallback.d.ts +0 -1
  13. package/dist/src/components/assistant-ui/tooltip-icon-button.d.ts +0 -1
  14. package/dist/src/components/dynamic-form/index.d.ts +0 -1
  15. package/dist/src/components/scrollable-container.d.ts +0 -1
  16. package/dist/src/components/syntax-highlighter.d.ts +4 -0
  17. package/dist/src/components/threads.d.ts +0 -1
  18. package/dist/src/components/ui/autoform/AutoForm.d.ts +0 -1
  19. package/dist/src/components/ui/autoform/components/ArrayElementWrapper.d.ts +0 -1
  20. package/dist/src/components/ui/autoform/components/ArrayWrapper.d.ts +0 -1
  21. package/dist/src/components/ui/autoform/components/BooleanField.d.ts +0 -1
  22. package/dist/src/components/ui/autoform/components/DateField.d.ts +0 -1
  23. package/dist/src/components/ui/autoform/components/ErrorMessage.d.ts +0 -1
  24. package/dist/src/components/ui/autoform/components/FieldWrapper.d.ts +0 -1
  25. package/dist/src/components/ui/autoform/components/Form.d.ts +0 -1
  26. package/dist/src/components/ui/autoform/components/NumberField.d.ts +0 -1
  27. package/dist/src/components/ui/autoform/components/ObjectWrapper.d.ts +0 -1
  28. package/dist/src/components/ui/autoform/components/RecordField.d.ts +0 -1
  29. package/dist/src/components/ui/autoform/components/SelectField.d.ts +0 -1
  30. package/dist/src/components/ui/autoform/components/StringField.d.ts +0 -1
  31. package/dist/src/components/ui/autoform/components/SubmitButton.d.ts +0 -1
  32. package/dist/src/components/ui/autoform/types.d.ts +0 -1
  33. package/dist/src/components/ui/autoform/zodProvider/field-type-inference.d.ts +0 -1
  34. package/dist/src/components/ui/autoform/zodProvider/index.d.ts +0 -1
  35. package/dist/src/components/ui/badge.d.ts +0 -1
  36. package/dist/src/components/ui/button.d.ts +0 -1
  37. package/dist/src/components/ui/data-table.d.ts +0 -1
  38. package/dist/src/components/ui/entry.d.ts +0 -1
  39. package/dist/src/components/ui/input.d.ts +0 -1
  40. package/dist/src/components/ui/syntax-highlighter.d.ts +6 -0
  41. package/dist/src/components/ui/text.d.ts +0 -1
  42. package/dist/src/contexts/mastra-client-context.d.ts +0 -1
  43. package/dist/src/domains/agents/components/agent-chat.d.ts +0 -1
  44. package/dist/src/domains/agents/components/agent-evals.d.ts +0 -1
  45. package/dist/src/domains/agents/components/agent-metadata/agent-metadata.d.ts +0 -1
  46. package/dist/src/domains/agents/components/agent-table/agent-table.d.ts +0 -1
  47. package/dist/src/domains/agents/components/agent-table/columns.d.ts +0 -1
  48. package/dist/src/domains/agents/components/agent-table/types.d.ts +0 -1
  49. package/dist/src/domains/agents/components/chat-threads.d.ts +0 -1
  50. package/dist/src/domains/agents/components/runtime-context.d.ts +0 -1
  51. package/dist/src/domains/agents/context/agent-context.d.ts +0 -1
  52. package/dist/src/domains/agents/context/agent-working-memory-context.d.ts +0 -1
  53. package/dist/src/domains/agents/hooks/use-agent-settings-state.d.ts +0 -1
  54. package/dist/src/domains/evals/types.d.ts +0 -1
  55. package/dist/src/domains/networks/components/network-table/columns.d.ts +0 -1
  56. package/dist/src/domains/networks/components/network-table/network-table.d.ts +0 -1
  57. package/dist/src/domains/networks/network-chat.d.ts +0 -1
  58. package/dist/src/domains/networks/network-context.d.ts +0 -1
  59. package/dist/src/domains/networks/tool-fallback.d.ts +0 -1
  60. package/dist/src/domains/networks/v-next/network-chat.d.ts +0 -1
  61. package/dist/src/domains/networks/v-next/wrapped-assistant-message.d.ts +0 -1
  62. package/dist/src/domains/resizable-panel.d.ts +0 -1
  63. package/dist/src/domains/scores/components/scorer-list.d.ts +0 -1
  64. package/dist/src/domains/scores/hooks/use-scorers.d.ts +0 -1
  65. package/dist/src/domains/tools/components/tool-list.d.ts +0 -1
  66. package/dist/src/domains/traces/components/traces-table.d.ts +0 -1
  67. package/dist/src/domains/traces/components/traces-view.d.ts +0 -1
  68. package/dist/src/domains/traces/context/trace-context.d.ts +0 -1
  69. package/dist/src/domains/traces/hooks/use-open-trace.d.ts +0 -1
  70. package/dist/src/domains/traces/trace-span-view.d.ts +0 -1
  71. package/dist/src/domains/traces/utils/createSpanTree.d.ts +0 -1
  72. package/dist/src/domains/traces/utils/getSpanVariant.d.ts +0 -1
  73. package/dist/src/domains/workflows/components/workflow-table/columns.d.ts +0 -1
  74. package/dist/src/domains/workflows/components/workflow-table/workflow-table.d.ts +0 -1
  75. package/dist/src/domains/workflows/context/workflow-nested-graph-context.d.ts +0 -1
  76. package/dist/src/domains/workflows/context/workflow-run-context.d.ts +0 -1
  77. package/dist/src/domains/workflows/runs/workflow-runs.d.ts +0 -1
  78. package/dist/src/domains/workflows/utils.d.ts +0 -1
  79. package/dist/src/domains/workflows/workflow/legacy-workflow-graph-inner.d.ts +0 -1
  80. package/dist/src/domains/workflows/workflow/legacy-workflow-graph.d.ts +0 -1
  81. package/dist/src/domains/workflows/workflow/legacy-workflow-nested-graph.d.ts +0 -1
  82. package/dist/src/domains/workflows/workflow/legacy-workflow-nested-node.d.ts +0 -1
  83. package/dist/src/domains/workflows/workflow/utils.d.ts +0 -1
  84. package/dist/src/domains/workflows/workflow/workflow-after-node.d.ts +0 -1
  85. package/dist/src/domains/workflows/workflow/workflow-condition-node.d.ts +0 -1
  86. package/dist/src/domains/workflows/workflow/workflow-default-node.d.ts +0 -1
  87. package/dist/src/domains/workflows/workflow/workflow-graph-inner.d.ts +0 -1
  88. package/dist/src/domains/workflows/workflow/workflow-graph.d.ts +0 -1
  89. package/dist/src/domains/workflows/workflow/workflow-input-data.d.ts +0 -1
  90. package/dist/src/domains/workflows/workflow/workflow-loop-result-node.d.ts +0 -1
  91. package/dist/src/domains/workflows/workflow/workflow-nested-graph.d.ts +0 -1
  92. package/dist/src/domains/workflows/workflow/workflow-nested-node.d.ts +0 -1
  93. package/dist/src/domains/workflows/workflow/workflow-step-action-bar.d.ts +0 -1
  94. package/dist/src/domains/workflows/workflow/workflow-trigger.d.ts +0 -1
  95. package/dist/src/domains/workflows/workflow/zoom-slider.d.ts +0 -1
  96. package/dist/src/ds/components/Badge/Badge.d.ts +0 -1
  97. package/dist/src/ds/components/Breadcrumb/Breadcrumb.d.ts +0 -1
  98. package/dist/src/ds/components/Button/Button.d.ts +0 -1
  99. package/dist/src/ds/components/EmptyState/EmptyState.d.ts +0 -1
  100. package/dist/src/ds/components/Header/Header.d.ts +0 -1
  101. package/dist/src/ds/components/Logo/MastraLogo.d.ts +0 -1
  102. package/dist/src/ds/components/Table/Cells.d.ts +0 -1
  103. package/dist/src/ds/components/Table/Table.d.ts +0 -1
  104. package/dist/src/ds/components/TraceTree/Span.d.ts +0 -1
  105. package/dist/src/ds/components/TraceTree/Spans.d.ts +0 -1
  106. package/dist/src/ds/components/TraceTree/Trace.d.ts +0 -1
  107. package/dist/src/ds/components/TraceTree/TraceTree.d.ts +0 -1
  108. package/dist/src/ds/components/Txt/Txt.d.ts +0 -1
  109. package/dist/src/ds/icons/AgentCoinIcon.d.ts +0 -1
  110. package/dist/src/ds/icons/AgentIcon.d.ts +0 -1
  111. package/dist/src/ds/icons/AiIcon.d.ts +0 -1
  112. package/dist/src/ds/icons/AmazonIcon.d.ts +0 -1
  113. package/dist/src/ds/icons/AnthropicChatIcon.d.ts +0 -1
  114. package/dist/src/ds/icons/AnthropicMessagesIcon.d.ts +0 -1
  115. package/dist/src/ds/icons/ApiIcon.d.ts +0 -1
  116. package/dist/src/ds/icons/AzureIcon.d.ts +0 -1
  117. package/dist/src/ds/icons/BranchIcon.d.ts +0 -1
  118. package/dist/src/ds/icons/CheckIcon.d.ts +0 -1
  119. package/dist/src/ds/icons/ChevronIcon.d.ts +0 -1
  120. package/dist/src/ds/icons/CohereIcon.d.ts +0 -1
  121. package/dist/src/ds/icons/CommitIcon.d.ts +0 -1
  122. package/dist/src/ds/icons/CrossIcon.d.ts +0 -1
  123. package/dist/src/ds/icons/DbIcon.d.ts +0 -1
  124. package/dist/src/ds/icons/DebugIcon.d.ts +0 -1
  125. package/dist/src/ds/icons/DeploymentIcon.d.ts +0 -1
  126. package/dist/src/ds/icons/DividerIcon.d.ts +0 -1
  127. package/dist/src/ds/icons/DocsIcon.d.ts +0 -1
  128. package/dist/src/ds/icons/EnvIcon.d.ts +0 -1
  129. package/dist/src/ds/icons/EvaluatorCoinIcon.d.ts +0 -1
  130. package/dist/src/ds/icons/FiltersIcon.d.ts +0 -1
  131. package/dist/src/ds/icons/FolderIcon.d.ts +0 -1
  132. package/dist/src/ds/icons/GithubCoinIcon.d.ts +0 -1
  133. package/dist/src/ds/icons/GithubIcon.d.ts +0 -1
  134. package/dist/src/ds/icons/GoogleIcon.d.ts +0 -1
  135. package/dist/src/ds/icons/GroqIcon.d.ts +0 -1
  136. package/dist/src/ds/icons/HomeIcon.d.ts +0 -1
  137. package/dist/src/ds/icons/Icon.d.ts +0 -1
  138. package/dist/src/ds/icons/InfoIcon.d.ts +0 -1
  139. package/dist/src/ds/icons/JudgeIcon.d.ts +0 -1
  140. package/dist/src/ds/icons/LatencyIcon.d.ts +0 -1
  141. package/dist/src/ds/icons/LogsIcon.d.ts +0 -1
  142. package/dist/src/ds/icons/McpCoinIcon.d.ts +0 -1
  143. package/dist/src/ds/icons/McpServerIcon.d.ts +0 -1
  144. package/dist/src/ds/icons/MemoryIcon.d.ts +0 -1
  145. package/dist/src/ds/icons/MistralIcon.d.ts +0 -1
  146. package/dist/src/ds/icons/OpenAIIcon.d.ts +0 -1
  147. package/dist/src/ds/icons/OpenaiChatIcon.d.ts +0 -1
  148. package/dist/src/ds/icons/PromptIcon.d.ts +0 -1
  149. package/dist/src/ds/icons/RepoIcon.d.ts +0 -1
  150. package/dist/src/ds/icons/ScoreIcon.d.ts +0 -1
  151. package/dist/src/ds/icons/SettingsIcon.d.ts +0 -1
  152. package/dist/src/ds/icons/SlashIcon.d.ts +0 -1
  153. package/dist/src/ds/icons/ToolCoinIcon.d.ts +0 -1
  154. package/dist/src/ds/icons/ToolsIcon.d.ts +0 -1
  155. package/dist/src/ds/icons/TraceIcon.d.ts +0 -1
  156. package/dist/src/ds/icons/TsIcon.d.ts +0 -1
  157. package/dist/src/ds/icons/VariablesIcon.d.ts +0 -1
  158. package/dist/src/ds/icons/WorkflowCoinIcon.d.ts +0 -1
  159. package/dist/src/ds/icons/WorkflowIcon.d.ts +0 -1
  160. package/dist/src/ds/icons/XGroqIcon.d.ts +0 -1
  161. package/dist/src/hooks/use-autoscroll.d.ts +0 -1
  162. package/dist/src/hooks/use-resize-column.d.ts +0 -1
  163. package/dist/src/hooks/use-workflows.d.ts +0 -1
  164. package/dist/src/index.d.ts +0 -1
  165. package/dist/src/lib/framework.d.ts +0 -1
  166. package/dist/src/lib/mastra-client.d.ts +0 -1
  167. package/dist/src/lib/utils.d.ts +0 -1
  168. package/dist/src/services/mastra-runtime-provider.d.ts +0 -1
  169. package/dist/src/services/network-runtime-provider.d.ts +0 -1
  170. package/dist/src/services/vnext-message-provider.d.ts +0 -1
  171. package/dist/src/services/vnext-network-chat-provider.d.ts +0 -1
  172. package/dist/src/services/vnext-network-runtime-provider.d.ts +0 -1
  173. package/dist/tokens.d.ts +1 -0
  174. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from './src/index'
2
+ export {}
@@ -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 }: {
@@ -1,6 +1,5 @@
1
1
  import { SpeechSynthesisAdapter } from '@assistant-ui/react';
2
2
  import { Agent } from '@mastra/core';
3
-
4
3
  export declare class VoiceAttachmentAdapter implements SpeechSynthesisAdapter {
5
4
  private readonly agent;
6
5
  constructor(agent: Agent);
@@ -1,5 +1,4 @@
1
1
  import { CompositeAttachmentAdapter, SpeechSynthesisAdapter } from '@assistant-ui/react';
2
-
3
2
  export declare const useAdapters: (agentId: string) => {
4
3
  isReady: boolean;
5
4
  adapters: {
@@ -1,5 +1,4 @@
1
1
  import { MemorySearchResponse } from '../../types/memory';
2
-
3
2
  interface MemorySearchProps {
4
3
  searchMemory: (query: string) => Promise<MemorySearchResponse>;
5
4
  onResultClick?: (messageId: string, threadId?: string) => void;
@@ -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,5 +1,4 @@
1
1
  import { ToolCallContentPartComponent } from '@assistant-ui/react';
2
-
3
2
  export interface ThreadProps {
4
3
  ToolFallback?: ToolCallContentPartComponent;
5
4
  agentName?: string;
@@ -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
  }
@@ -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,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,4 +1,3 @@
1
1
  import { FieldConfig } from '@autoform/core';
2
2
  import { z } from 'zod';
3
-
4
3
  export declare function inferFieldType(schema: z.ZodTypeAny, fieldConfig?: FieldConfig): string;
@@ -1,6 +1,5 @@
1
1
  import { ParsedSchema } from '@autoform/core';
2
2
  import { ZodObjectOrWrapped, ZodProvider } from '@autoform/zod';
3
-
4
3
  export declare function parseSchema(schema: ZodObjectOrWrapped): ParsedSchema;
5
4
  export declare class CustomZodProvider<T extends ZodObjectOrWrapped> extends ZodProvider<T> {
6
5
  private _schema;
@@ -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
@@ -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,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
2
  export declare const AgentChat: ({ agentId, agentName, threadId, initialMessages, memory, refreshThreadList, onInputChange, }: ChatProps) => 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>;
@@ -1,6 +1,5 @@
1
1
  import { GetAgentResponse, GetToolResponse, GetWorkflowResponse } from '@mastra/client-js';
2
2
  import { ReactNode } from '../../../../../node_modules/@types/react';
3
-
4
3
  export interface AgentMetadataProps {
5
4
  agent: GetAgentResponse;
6
5
  promptSlot: ReactNode;
@@ -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;
@@ -1,5 +1,4 @@
1
1
  import { StorageThreadType } from '@mastra/core';
2
-
3
2
  export interface ChatThreadsProps {
4
3
  computeNewThreadLink: () => string;
5
4
  computeThreadLink: (threadId: string) => string;
@@ -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,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;
@@ -1,5 +1,4 @@
1
1
  import { ScoringEntityType } from '@mastra/core/scores';
2
-
3
2
  export interface ScorerListProps {
4
3
  entityId: string;
5
4
  entityType: ScoringEntityType;
@@ -1,5 +1,4 @@
1
1
  import { GetScorerResponse, GetScoresResponse } from '@mastra/client-js';
2
-
3
2
  export declare const useScoresByEntityId: (entityId: string, entityType: string, page?: number) => {
4
3
  scores: GetScoresResponse | null;
5
4
  isLoading: boolean;
@@ -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
1
  import { RefinedTrace } from '../types';
2
-
3
2
  export interface TracesTableProps {
4
3
  traces: RefinedTrace[];
5
4
  error: {
@@ -1,5 +1,4 @@
1
1
  import { RefinedTrace } from '../types';
2
-
3
2
  export interface TracesViewProps {
4
3
  isLoading: boolean;
5
4
  error: Error | null;
@@ -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
  };
@@ -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"];
@@ -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,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'];