@mastra/playground-ui 6.2.4 → 6.3.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.
Files changed (27) hide show
  1. package/CHANGELOG.md +102 -0
  2. package/dist/index.cjs.js +312 -1364
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.es.js +313 -1362
  5. package/dist/index.es.js.map +1 -1
  6. package/dist/src/domains/agents/components/agent-metadata/agent-metadata-model-switcher.d.ts +1 -1
  7. package/dist/src/domains/workflows/runs/workflow-runs.d.ts +4 -2
  8. package/dist/src/domains/workflows/workflow/workflow-input-data.d.ts +2 -1
  9. package/dist/src/domains/workflows/workflow/workflow-trigger.d.ts +8 -7
  10. package/dist/src/ds/components/Alert/Alert.d.ts +17 -0
  11. package/dist/src/ds/components/Alert/index.d.ts +1 -0
  12. package/dist/src/index.d.ts +1 -1
  13. package/dist/src/types.d.ts +1 -2
  14. package/package.json +7 -7
  15. package/dist/src/components/assistant-ui/network-threads.d.ts +0 -10
  16. package/dist/src/domains/networks/components/network-table/columns.d.ts +0 -3
  17. package/dist/src/domains/networks/components/network-table/network-table.d.ts +0 -8
  18. package/dist/src/domains/networks/components/network-table/types.d.ts +0 -9
  19. package/dist/src/domains/networks/index.d.ts +0 -3
  20. package/dist/src/domains/networks/network-context.d.ts +0 -16
  21. package/dist/src/domains/networks/tool-fallback.d.ts +0 -2
  22. package/dist/src/domains/networks/v-next/network-chat.d.ts +0 -9
  23. package/dist/src/domains/networks/v-next/step-dropdown.d.ts +0 -1
  24. package/dist/src/domains/networks/v-next/tool-fallback.d.ts +0 -0
  25. package/dist/src/domains/networks/v-next/wrapped-assistant-message.d.ts +0 -5
  26. package/dist/src/services/vnext-network-chat-provider.d.ts +0 -17
  27. package/dist/src/services/vnext-network-runtime-provider.d.ts +0 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,107 @@
1
1
  # @mastra/playground-ui
2
2
 
3
+ ## 6.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Breaking change to move the agent.streamVNext/generateVNext implementation to the default stream/generate. The old stream/generate have now been moved to streamLegacy and generateLegacy ([#8097](https://github.com/mastra-ai/mastra/pull/8097))
8
+
9
+ ### Patch Changes
10
+
11
+ - dependencies updates: ([#8298](https://github.com/mastra-ai/mastra/pull/8298))
12
+ - Updated dependency [`@xyflow/react@^12.8.6` ↗︎](https://www.npmjs.com/package/@xyflow/react/v/12.8.6) (from `^12.8.5`, in `dependencies`)
13
+
14
+ - dependencies updates: ([#8333](https://github.com/mastra-ai/mastra/pull/8333))
15
+ - Updated dependency [`motion@^12.23.22` ↗︎](https://www.npmjs.com/package/motion/v/12.23.22) (from `^12.23.13`, in `dependencies`)
16
+
17
+ - better memory message ([#8382](https://github.com/mastra-ai/mastra/pull/8382))
18
+
19
+ - generateVNext into react SDK + to asistant ui message ([#8345](https://github.com/mastra-ai/mastra/pull/8345))
20
+
21
+ - Add doc url to netlify gateway ([#8356](https://github.com/mastra-ai/mastra/pull/8356))
22
+
23
+ - fix codeblock line number color contrast for legacy traces ([#8385](https://github.com/mastra-ai/mastra/pull/8385))
24
+
25
+ - distinguish between legacy and regular messages in agent chat for useChat usage ([#8409](https://github.com/mastra-ai/mastra/pull/8409))
26
+
27
+ - Model router documentation and playground UI improvements ([#8372](https://github.com/mastra-ai/mastra/pull/8372))
28
+
29
+ **Documentation generation (`@mastra/core`):**
30
+ - Fixed inverted dynamic model selection logic in provider examples
31
+ - Improved copy: replaced marketing language with action-oriented descriptions
32
+ - Added generated file comments with timestamps to all MDX outputs so maintainers know not to directly edit generated files
33
+
34
+ **Playground UI model picker (`@mastra/playground-ui`):**
35
+ - Fixed provider field clearing when typing in model input
36
+ - Added responsive layout (stacks on mobile, side-by-side on desktop)
37
+ - Improved general styling of provider/model pickers
38
+
39
+ **Environment variables (`@mastra/deployer`):**
40
+ - Properly handle array of env vars (e.g., NETLIFY_TOKEN, NETLIFY_SITE_ID)
41
+ - Added correct singular/plural handling for "environment variable(s)"
42
+
43
+ - fix playground message history initial state for v1 models ([#8427](https://github.com/mastra-ai/mastra/pull/8427))
44
+
45
+ - show thread list in desc order ([#8381](https://github.com/mastra-ai/mastra/pull/8381))
46
+
47
+ - Add observe strean to get streans after workflow has been interrupted ([#8318](https://github.com/mastra-ai/mastra/pull/8318))
48
+
49
+ - Updated dependencies [[`00cb6bd`](https://github.com/mastra-ai/mastra/commit/00cb6bdf78737c0fac14a5a0c7b532a11e38558a), [`869ba22`](https://github.com/mastra-ai/mastra/commit/869ba222e1d6b58fc1b65e7c9fd55ca4e01b8c2f), [`1b73665`](https://github.com/mastra-ai/mastra/commit/1b73665e8e23f5c09d49fcf3e7d709c75259259e), [`b537cce`](https://github.com/mastra-ai/mastra/commit/b537cce9f83d801f73b3328a17eb61b7701a11ea), [`f7d7475`](https://github.com/mastra-ai/mastra/commit/f7d747507341aef60ed39e4b49318db1f86034a6), [`084b77b`](https://github.com/mastra-ai/mastra/commit/084b77b2955960e0190af8db3f77138aa83ed65c), [`a93ff84`](https://github.com/mastra-ai/mastra/commit/a93ff84b5e1af07ee236ac8873dac9b49aa5d501), [`96d4600`](https://github.com/mastra-ai/mastra/commit/96d4600723d5c26cd4cb67ea3c02f76ad78a6887), [`bc5aacb`](https://github.com/mastra-ai/mastra/commit/bc5aacb646d468d325327e36117129f28cd13bf6), [`6b5af12`](https://github.com/mastra-ai/mastra/commit/6b5af12ce9e09066e0c32e821c203a6954498bea), [`bf60e4a`](https://github.com/mastra-ai/mastra/commit/bf60e4a89c515afd9570b7b79f33b95e7d07c397), [`d41aee5`](https://github.com/mastra-ai/mastra/commit/d41aee526d124e35f42720a08e64043229193679), [`e8fe13c`](https://github.com/mastra-ai/mastra/commit/e8fe13c4b4c255a42520127797ec394310f7c919), [`3ca833d`](https://github.com/mastra-ai/mastra/commit/3ca833dc994c38e3c9b4f9b4478a61cd8e07b32a), [`1edb8d1`](https://github.com/mastra-ai/mastra/commit/1edb8d1cfb963e72a12412990fb9170936c9904c), [`fbf6e32`](https://github.com/mastra-ai/mastra/commit/fbf6e324946332d0f5ed8930bf9d4d4479cefd7a), [`4753027`](https://github.com/mastra-ai/mastra/commit/4753027ee889288775c6958bdfeda03ff909af67)]:
50
+ - @mastra/core@0.20.0
51
+ - @mastra/react@0.0.3
52
+ - @mastra/client-js@0.15.0
53
+
54
+ ## 6.3.0-alpha.0
55
+
56
+ ### Minor Changes
57
+
58
+ - Breaking change to move the agent.streamVNext/generateVNext implementation to the default stream/generate. The old stream/generate have now been moved to streamLegacy and generateLegacy ([#8097](https://github.com/mastra-ai/mastra/pull/8097))
59
+
60
+ ### Patch Changes
61
+
62
+ - dependencies updates: ([#8298](https://github.com/mastra-ai/mastra/pull/8298))
63
+ - Updated dependency [`@xyflow/react@^12.8.6` ↗︎](https://www.npmjs.com/package/@xyflow/react/v/12.8.6) (from `^12.8.5`, in `dependencies`)
64
+
65
+ - dependencies updates: ([#8333](https://github.com/mastra-ai/mastra/pull/8333))
66
+ - Updated dependency [`motion@^12.23.22` ↗︎](https://www.npmjs.com/package/motion/v/12.23.22) (from `^12.23.13`, in `dependencies`)
67
+
68
+ - better memory message ([#8382](https://github.com/mastra-ai/mastra/pull/8382))
69
+
70
+ - generateVNext into react SDK + to asistant ui message ([#8345](https://github.com/mastra-ai/mastra/pull/8345))
71
+
72
+ - Add doc url to netlify gateway ([#8356](https://github.com/mastra-ai/mastra/pull/8356))
73
+
74
+ - fix codeblock line number color contrast for legacy traces ([#8385](https://github.com/mastra-ai/mastra/pull/8385))
75
+
76
+ - distinguish between legacy and regular messages in agent chat for useChat usage ([#8409](https://github.com/mastra-ai/mastra/pull/8409))
77
+
78
+ - Model router documentation and playground UI improvements ([#8372](https://github.com/mastra-ai/mastra/pull/8372))
79
+
80
+ **Documentation generation (`@mastra/core`):**
81
+ - Fixed inverted dynamic model selection logic in provider examples
82
+ - Improved copy: replaced marketing language with action-oriented descriptions
83
+ - Added generated file comments with timestamps to all MDX outputs so maintainers know not to directly edit generated files
84
+
85
+ **Playground UI model picker (`@mastra/playground-ui`):**
86
+ - Fixed provider field clearing when typing in model input
87
+ - Added responsive layout (stacks on mobile, side-by-side on desktop)
88
+ - Improved general styling of provider/model pickers
89
+
90
+ **Environment variables (`@mastra/deployer`):**
91
+ - Properly handle array of env vars (e.g., NETLIFY_TOKEN, NETLIFY_SITE_ID)
92
+ - Added correct singular/plural handling for "environment variable(s)"
93
+
94
+ - fix playground message history initial state for v1 models ([#8427](https://github.com/mastra-ai/mastra/pull/8427))
95
+
96
+ - show thread list in desc order ([#8381](https://github.com/mastra-ai/mastra/pull/8381))
97
+
98
+ - Add observe strean to get streans after workflow has been interrupted ([#8318](https://github.com/mastra-ai/mastra/pull/8318))
99
+
100
+ - Updated dependencies [[`00cb6bd`](https://github.com/mastra-ai/mastra/commit/00cb6bdf78737c0fac14a5a0c7b532a11e38558a), [`869ba22`](https://github.com/mastra-ai/mastra/commit/869ba222e1d6b58fc1b65e7c9fd55ca4e01b8c2f), [`1b73665`](https://github.com/mastra-ai/mastra/commit/1b73665e8e23f5c09d49fcf3e7d709c75259259e), [`b537cce`](https://github.com/mastra-ai/mastra/commit/b537cce9f83d801f73b3328a17eb61b7701a11ea), [`f7d7475`](https://github.com/mastra-ai/mastra/commit/f7d747507341aef60ed39e4b49318db1f86034a6), [`084b77b`](https://github.com/mastra-ai/mastra/commit/084b77b2955960e0190af8db3f77138aa83ed65c), [`a93ff84`](https://github.com/mastra-ai/mastra/commit/a93ff84b5e1af07ee236ac8873dac9b49aa5d501), [`96d4600`](https://github.com/mastra-ai/mastra/commit/96d4600723d5c26cd4cb67ea3c02f76ad78a6887), [`bc5aacb`](https://github.com/mastra-ai/mastra/commit/bc5aacb646d468d325327e36117129f28cd13bf6), [`6b5af12`](https://github.com/mastra-ai/mastra/commit/6b5af12ce9e09066e0c32e821c203a6954498bea), [`bf60e4a`](https://github.com/mastra-ai/mastra/commit/bf60e4a89c515afd9570b7b79f33b95e7d07c397), [`d41aee5`](https://github.com/mastra-ai/mastra/commit/d41aee526d124e35f42720a08e64043229193679), [`e8fe13c`](https://github.com/mastra-ai/mastra/commit/e8fe13c4b4c255a42520127797ec394310f7c919), [`3ca833d`](https://github.com/mastra-ai/mastra/commit/3ca833dc994c38e3c9b4f9b4478a61cd8e07b32a), [`1edb8d1`](https://github.com/mastra-ai/mastra/commit/1edb8d1cfb963e72a12412990fb9170936c9904c), [`fbf6e32`](https://github.com/mastra-ai/mastra/commit/fbf6e324946332d0f5ed8930bf9d4d4479cefd7a), [`4753027`](https://github.com/mastra-ai/mastra/commit/4753027ee889288775c6958bdfeda03ff909af67)]:
101
+ - @mastra/core@0.20.0-alpha.0
102
+ - @mastra/react@0.0.3-alpha.0
103
+ - @mastra/client-js@0.15.0-alpha.0
104
+
3
105
  ## 6.2.4
4
106
 
5
107
  ### Patch Changes