@mastra/playground-ui 16.0.1 → 16.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +46 -0
- package/dist/index.cjs.js +4364 -4486
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4355 -4479
- package/dist/index.es.js.map +1 -1
- package/dist/src/domains/agents/components/{agent-table/agent-table.d.ts → agent-list/agent-list.d.ts} +2 -2
- package/dist/src/domains/agents/components/agent-list/no-agents-info.d.ts +4 -0
- package/dist/src/domains/agents/components/provider-map-icon.d.ts +1 -0
- package/dist/src/domains/agents/hooks/use-agents.d.ts +3 -1
- package/dist/src/domains/agents/index.d.ts +1 -1
- package/dist/src/domains/datasets/components/datasets-list/datasets-list.d.ts +8 -0
- package/dist/src/domains/datasets/components/datasets-list/no-datasets-info.d.ts +4 -0
- package/dist/src/domains/datasets/index.d.ts +2 -2
- package/dist/src/domains/experiments/hooks/use-experiment-trace.d.ts +10 -3
- package/dist/src/domains/mcps/components/mcp-server-list/mcp-server-list.d.ts +7 -0
- package/dist/src/domains/mcps/components/mcp-server-list/no-mcp-servers-info.d.ts +1 -0
- package/dist/src/domains/mcps/index.d.ts +1 -1
- package/dist/src/domains/observability/components/traces-list.d.ts +10 -3
- package/dist/src/domains/observability/components/traces-tools.d.ts +3 -1
- package/dist/src/domains/observability/index.d.ts +1 -0
- package/dist/src/domains/observability/utils/__tests__/group-traces-by-thread.test.d.ts +1 -0
- package/dist/src/domains/observability/utils/group-traces-by-thread.d.ts +20 -0
- package/dist/src/domains/processors/components/index.d.ts +1 -1
- package/dist/src/domains/processors/components/processor-list/no-processors-info.d.ts +1 -0
- package/dist/src/domains/processors/components/processor-list/processor-list.d.ts +7 -0
- package/dist/src/domains/prompt-blocks/components/prompt-block-list/no-prompt-blocks-info.d.ts +1 -0
- package/dist/src/domains/prompt-blocks/components/prompt-block-list/prompt-blocks-list.d.ts +6 -0
- package/dist/src/domains/prompt-blocks/index.d.ts +1 -1
- package/dist/src/domains/scores/components/scorers-list/no-scorers-info.d.ts +1 -0
- package/dist/src/domains/scores/components/scorers-list/scorers-list.d.ts +7 -0
- package/dist/src/domains/scores/index.d.ts +1 -1
- package/dist/src/domains/templates/index.d.ts +0 -1
- package/dist/src/domains/templates/templates-list.d.ts +4 -4
- package/dist/src/domains/tool-providers/components/index.d.ts +1 -1
- package/dist/src/domains/tool-providers/components/{tool-list.d.ts → provider-tool-list.d.ts} +1 -1
- package/dist/src/domains/tools/components/tool-list/no-tools-info.d.ts +1 -0
- package/dist/src/domains/tools/components/{tool-table/tool-table.d.ts → tool-list/tool-list.d.ts} +2 -2
- package/dist/src/domains/tools/index.d.ts +1 -1
- package/dist/src/domains/workflows/components/workflow-list/no-workflow-info.d.ts +1 -0
- package/dist/src/domains/workflows/components/workflow-list/workflow-list.d.ts +7 -0
- package/dist/src/domains/workflows/index.d.ts +1 -1
- package/dist/src/ds/components/EmptyState/EmptyState.d.ts +1 -1
- package/dist/src/ds/components/ErrorState/ErrorState.d.ts +5 -0
- package/dist/src/ds/components/ErrorState/error-state.stories.d.ts +8 -0
- package/dist/src/ds/components/ErrorState/index.d.ts +2 -0
- package/dist/src/ds/components/FormFieldBlocks/fields/search-field-block.d.ts +2 -1
- package/dist/src/ds/components/ItemList/item-list-cell.d.ts +3 -2
- package/dist/src/ds/components/ItemList/item-list-row.d.ts +2 -1
- package/dist/src/ds/components/ItemList/item-list-text-cell.d.ts +1 -2
- package/dist/src/ds/components/ListSearch/index.d.ts +1 -0
- package/dist/src/ds/components/ListSearch/list-search.d.ts +7 -0
- package/dist/src/ds/components/PageContent/index.d.ts +1 -0
- package/dist/src/ds/components/PageContent/page-content-main.d.ts +5 -0
- package/dist/src/ds/components/PageContent/page-content-root.d.ts +4 -0
- package/dist/src/ds/components/PageContent/page-content-top-bar.d.ts +4 -0
- package/dist/src/ds/components/PageContent/page-content.d.ts +7 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/tailwind.preset.cjs.js.map +1 -1
- package/dist/tailwind.preset.es.js.map +1 -1
- package/package.json +9 -9
- package/dist/src/domains/agents/components/agent-table/columns.d.ts +0 -6
- package/dist/src/domains/agents/components/agent-table/types.d.ts +0 -4
- package/dist/src/domains/datasets/components/datasets-table/columns.d.ts +0 -6
- package/dist/src/domains/datasets/components/datasets-table/datasets-table.d.ts +0 -8
- package/dist/src/domains/mcps/components/mcp-table/columns.d.ts +0 -3
- package/dist/src/domains/mcps/components/mcp-table/mcp-table.d.ts +0 -7
- package/dist/src/domains/mcps/components/mcp-table/types.d.ts +0 -2
- package/dist/src/domains/processors/components/processor-table/columns.d.ts +0 -12
- package/dist/src/domains/processors/components/processor-table/index.d.ts +0 -2
- package/dist/src/domains/processors/components/processor-table/processor-table.d.ts +0 -8
- package/dist/src/domains/prompt-blocks/components/prompt-blocks-table/columns.d.ts +0 -3
- package/dist/src/domains/prompt-blocks/components/prompt-blocks-table/prompt-blocks-table.d.ts +0 -6
- package/dist/src/domains/prompt-blocks/components/prompt-blocks-table/types.d.ts +0 -2
- package/dist/src/domains/scores/components/scorers-table/columns.d.ts +0 -3
- package/dist/src/domains/scores/components/scorers-table/scorers-table.d.ts +0 -7
- package/dist/src/domains/scores/components/scorers-table/types.d.ts +0 -4
- package/dist/src/domains/tools/components/tool-table/columns.d.ts +0 -3
- package/dist/src/domains/workflows/components/workflow-table/columns.d.ts +0 -3
- package/dist/src/domains/workflows/components/workflow-table/types.d.ts +0 -4
- package/dist/src/domains/workflows/components/workflow-table/workflow-table.d.ts +0 -7
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/playground-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "16.0
|
|
4
|
+
"version": "16.1.0",
|
|
5
5
|
"description": "Mastra Playground components",
|
|
6
6
|
"main": "dist/index.umd.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"@codemirror/merge": "^6.12.0",
|
|
72
72
|
"@codemirror/lang-markdown": "^6.5.0",
|
|
73
73
|
"@codemirror/language-data": "^6.5.2",
|
|
74
|
-
"@codemirror/state": "^6.
|
|
74
|
+
"@codemirror/state": "^6.6.0",
|
|
75
75
|
"@codemirror/view": "^6.39.16",
|
|
76
76
|
"@dagrejs/dagre": "^1.1.8",
|
|
77
77
|
"@hello-pangea/dnd": "^18.0.1",
|
|
@@ -129,9 +129,9 @@
|
|
|
129
129
|
"tailwindcss": "^3.0.0",
|
|
130
130
|
"zod": "^3.25.0 || ^4.0.0",
|
|
131
131
|
"@mastra/ai-sdk": "^1.1.3",
|
|
132
|
-
"@mastra/
|
|
133
|
-
"@mastra/
|
|
134
|
-
"@mastra/
|
|
132
|
+
"@mastra/client-js": "^1.8.2",
|
|
133
|
+
"@mastra/react": "0.2.12",
|
|
134
|
+
"@mastra/schema-compat": "1.2.2"
|
|
135
135
|
},
|
|
136
136
|
"devDependencies": {
|
|
137
137
|
"@storybook/addon-docs": "^9.1.16",
|
|
@@ -162,10 +162,10 @@
|
|
|
162
162
|
"vitest": "4.0.18",
|
|
163
163
|
"zod": "^4.3.6",
|
|
164
164
|
"@mastra/ai-sdk": "^1.1.3",
|
|
165
|
-
"@mastra/
|
|
166
|
-
"@mastra/
|
|
167
|
-
"@mastra/
|
|
168
|
-
"@mastra/schema-compat": "1.2.
|
|
165
|
+
"@mastra/core": "1.13.0",
|
|
166
|
+
"@mastra/react": "0.2.12",
|
|
167
|
+
"@mastra/client-js": "^1.8.2",
|
|
168
|
+
"@mastra/schema-compat": "1.2.2"
|
|
169
169
|
},
|
|
170
170
|
"homepage": "https://mastra.ai",
|
|
171
171
|
"repository": {
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ColumnDef } from '@tanstack/react-table';
|
|
2
|
-
import { AgentTableData } from './types';
|
|
3
|
-
export type AgentTableColumn = {
|
|
4
|
-
id: string;
|
|
5
|
-
} & AgentTableData;
|
|
6
|
-
export declare const getColumns: (experimentalFeaturesEnabled: boolean) => ColumnDef<AgentTableColumn>[];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DatasetRecord } from '@mastra/client-js';
|
|
2
|
-
export interface DatasetsTableProps {
|
|
3
|
-
datasets: DatasetRecord[];
|
|
4
|
-
isLoading: boolean;
|
|
5
|
-
error?: Error | null;
|
|
6
|
-
onCreateClick?: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare function DatasetsTable({ datasets, isLoading, error, onCreateClick }: DatasetsTableProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { McpServerListResponse } from '@mastra/client-js';
|
|
2
|
-
export interface MCPTableProps {
|
|
3
|
-
mcpServers: McpServerListResponse['servers'];
|
|
4
|
-
isLoading: boolean;
|
|
5
|
-
error?: Error | null;
|
|
6
|
-
}
|
|
7
|
-
export declare function MCPTable({ mcpServers, isLoading, error }: MCPTableProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ColumnDef, Row } from '@tanstack/react-table';
|
|
2
|
-
import { ProcessorRow } from './processor-table';
|
|
3
|
-
export type NameCellProps = {
|
|
4
|
-
row: Row<ProcessorRow>;
|
|
5
|
-
};
|
|
6
|
-
export type PhasesCellProps = {
|
|
7
|
-
row: Row<ProcessorRow>;
|
|
8
|
-
};
|
|
9
|
-
export type AgentsCellProps = {
|
|
10
|
-
row: Row<ProcessorRow>;
|
|
11
|
-
};
|
|
12
|
-
export declare const columns: ColumnDef<ProcessorRow>[];
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ProcessorInfo } from '../../hooks/use-processors';
|
|
2
|
-
export interface ProcessorTableProps {
|
|
3
|
-
processors: Record<string, ProcessorInfo>;
|
|
4
|
-
isLoading: boolean;
|
|
5
|
-
error?: Error | null;
|
|
6
|
-
}
|
|
7
|
-
export type ProcessorRow = ProcessorInfo;
|
|
8
|
-
export declare function ProcessorTable({ processors, isLoading, error }: ProcessorTableProps): import("react/jsx-runtime").JSX.Element;
|
package/dist/src/domains/prompt-blocks/components/prompt-blocks-table/prompt-blocks-table.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { PromptBlockTableData } from './types';
|
|
2
|
-
export interface PromptBlocksTableProps {
|
|
3
|
-
promptBlocks: PromptBlockTableData[];
|
|
4
|
-
isLoading: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare function PromptBlocksTable({ promptBlocks, isLoading }: PromptBlocksTableProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { GetScorerResponse } from '@mastra/client-js';
|
|
2
|
-
export interface ScorersTableProps {
|
|
3
|
-
scorers: Record<string, GetScorerResponse>;
|
|
4
|
-
isLoading: boolean;
|
|
5
|
-
error?: Error | null;
|
|
6
|
-
}
|
|
7
|
-
export declare function ScorersTable({ scorers, isLoading, error }: ScorersTableProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { GetWorkflowResponse } from '@mastra/client-js';
|
|
2
|
-
export interface WorkflowTableProps {
|
|
3
|
-
workflows: Record<string, GetWorkflowResponse>;
|
|
4
|
-
isLoading: boolean;
|
|
5
|
-
error?: Error | null;
|
|
6
|
-
}
|
|
7
|
-
export declare function WorkflowTable({ workflows, isLoading, error }: WorkflowTableProps): import("react/jsx-runtime").JSX.Element;
|