@mastra/playground-ui 5.2.5-alpha.1 → 6.0.0-alpha.3
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 +2989 -0
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +6 -6
- package/dist/index.es.js.map +1 -1
- package/dist/src/components/assistant-ui/messages/assistant-message.d.ts +2 -2
- package/dist/src/components/assistant-ui/messages/reasoning.d.ts +2 -2
- package/dist/src/components/assistant-ui/network-threads.d.ts +2 -2
- package/dist/src/components/assistant-ui/thread.d.ts +2 -2
- package/dist/src/components/assistant-ui/tools/tool-fallback.d.ts +2 -2
- package/dist/src/domains/networks/tool-fallback.d.ts +2 -2
- package/dist/src/domains/networks/v-next/wrapped-assistant-message.d.ts +2 -2
- package/package.json +20 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ToolCallMessagePartComponent } from '@assistant-ui/react';
|
|
2
2
|
export interface AssistantMessageProps {
|
|
3
|
-
ToolFallback?:
|
|
3
|
+
ToolFallback?: ToolCallMessagePartComponent;
|
|
4
4
|
}
|
|
5
5
|
export declare const AssistantMessage: ({ ToolFallback: ToolFallbackCustom }: AssistantMessageProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const Reasoning: ({ text }:
|
|
1
|
+
import { ReasoningMessagePart } from '@assistant-ui/react';
|
|
2
|
+
export declare const Reasoning: ({ text }: ReasoningMessagePart) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ToolCallMessagePartComponent } from '@assistant-ui/react';
|
|
2
2
|
export interface ThreadProps {
|
|
3
|
-
ToolFallback?:
|
|
3
|
+
ToolFallback?: ToolCallMessagePartComponent;
|
|
4
4
|
networkName?: string;
|
|
5
5
|
hasMemory?: boolean;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ToolCallMessagePartComponent } from '@assistant-ui/react';
|
|
2
2
|
export interface ThreadProps {
|
|
3
|
-
ToolFallback?:
|
|
3
|
+
ToolFallback?: ToolCallMessagePartComponent;
|
|
4
4
|
agentName?: string;
|
|
5
5
|
agentId?: string;
|
|
6
6
|
hasMemory?: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const ToolFallback:
|
|
1
|
+
import { ToolCallMessagePartComponent } from '@assistant-ui/react';
|
|
2
|
+
export declare const ToolFallback: ToolCallMessagePartComponent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const ToolFallback:
|
|
1
|
+
import { ToolCallMessagePartComponent } from '@assistant-ui/react';
|
|
2
|
+
export declare const ToolFallback: ToolCallMessagePartComponent;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ToolCallMessagePartComponent } from '@assistant-ui/react';
|
|
2
2
|
import { FC } from '../../../../node_modules/@types/react';
|
|
3
3
|
export declare const NextAssistantMessage: FC<{
|
|
4
|
-
ToolFallback?:
|
|
4
|
+
ToolFallback?: ToolCallMessagePartComponent;
|
|
5
5
|
}>;
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/playground-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "6.0.0-alpha.3",
|
|
5
5
|
"description": "Mastra Playground components",
|
|
6
6
|
"main": "dist/index.umd.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
9
|
"files": [
|
|
10
|
-
"dist"
|
|
10
|
+
"dist",
|
|
11
|
+
"CHANGELOG.md"
|
|
11
12
|
],
|
|
12
13
|
"exports": {
|
|
13
14
|
".": {
|
|
@@ -37,9 +38,10 @@
|
|
|
37
38
|
"license": "Apache-2.0",
|
|
38
39
|
"dependencies": {
|
|
39
40
|
"@ai-sdk/ui-utils": "^1.2.11",
|
|
40
|
-
"@assistant-ui/react": "^0.
|
|
41
|
-
"@assistant-ui/react-markdown": "^0.
|
|
42
|
-
"@assistant-ui/react-syntax-highlighter": "^0.
|
|
41
|
+
"@assistant-ui/react": "^0.10.44",
|
|
42
|
+
"@assistant-ui/react-markdown": "^0.10.9",
|
|
43
|
+
"@assistant-ui/react-syntax-highlighter": "^0.10.10",
|
|
44
|
+
"@assistant-ui/react-ui": "^0.1.8",
|
|
43
45
|
"@autoform/core": "^3.0.0",
|
|
44
46
|
"@autoform/react": "^4.0.0",
|
|
45
47
|
"@autoform/zod": "^4.0.0",
|
|
@@ -71,7 +73,7 @@
|
|
|
71
73
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
72
74
|
"@uiw/codemirror-theme-dracula": "^4.23.14",
|
|
73
75
|
"@uiw/react-codemirror": "^4.23.14",
|
|
74
|
-
"@xyflow/react": "^12.8.
|
|
76
|
+
"@xyflow/react": "^12.8.4",
|
|
75
77
|
"cmdk": "^1.1.1",
|
|
76
78
|
"date-fns": "^4.1.0",
|
|
77
79
|
"json-schema-to-zod": "^2.6.1",
|
|
@@ -95,9 +97,9 @@
|
|
|
95
97
|
"tailwindcss-animate": "^1.0.7",
|
|
96
98
|
"unified": "^11.0.5",
|
|
97
99
|
"use-debounce": "^10.0.5",
|
|
98
|
-
"zod": "^4.
|
|
100
|
+
"zod": "^4.1.5",
|
|
99
101
|
"zustand": "^5.0.7",
|
|
100
|
-
"@mastra/client-js": "^0.11.3-alpha.
|
|
102
|
+
"@mastra/client-js": "^0.11.3-alpha.5"
|
|
101
103
|
},
|
|
102
104
|
"peerDependencies": {
|
|
103
105
|
"@mastra/core": ">=0.14.0-0 <0.16.0-0",
|
|
@@ -125,7 +127,16 @@
|
|
|
125
127
|
"vite": "^6.3.5",
|
|
126
128
|
"vite-plugin-dts": "^4.5.4",
|
|
127
129
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
128
|
-
"@mastra/core": "0.15.3-alpha.
|
|
130
|
+
"@mastra/core": "0.15.3-alpha.5"
|
|
131
|
+
},
|
|
132
|
+
"homepage": "https://mastra.ai",
|
|
133
|
+
"repository": {
|
|
134
|
+
"type": "git",
|
|
135
|
+
"url": "git+https://github.com/mastra-ai/mastra.git",
|
|
136
|
+
"directory": "packages/playground-ui"
|
|
137
|
+
},
|
|
138
|
+
"bugs": {
|
|
139
|
+
"url": "https://github.com/mastra-ai/mastra/issues"
|
|
129
140
|
},
|
|
130
141
|
"scripts": {
|
|
131
142
|
"build": "tsc && vite build",
|