@mastra/playground-ui 7.0.0-beta.11 → 7.0.0-beta.13

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 CHANGED
@@ -1,5 +1,79 @@
1
1
  # @mastra/playground-ui
2
2
 
3
+ ## 7.0.0-beta.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`919a22b`](https://github.com/mastra-ai/mastra/commit/919a22b25876f9ed5891efe5facbe682c30ff497)]:
8
+ - @mastra/core@1.0.0-beta.13
9
+ - @mastra/client-js@1.0.0-beta.13
10
+ - @mastra/react@0.1.0-beta.13
11
+
12
+ ## 7.0.0-beta.12
13
+
14
+ ### Patch Changes
15
+
16
+ - Adds tool/workflow error being surfaced to the side panel in the playground ([#11099](https://github.com/mastra-ai/mastra/pull/11099))
17
+
18
+ - Auto resume suspended tools if `autoResumeSuspendedTools: true` ([#11157](https://github.com/mastra-ai/mastra/pull/11157))
19
+
20
+ The flag can be added to `defaultAgentOptions` when creating the agent or to options in `agent.stream` or `agent.generate`
21
+
22
+ ```typescript
23
+ const agent = new Agent({
24
+ //...agent information,
25
+ defaultAgentOptions: {
26
+ autoResumeSuspendedTools: true,
27
+ },
28
+ });
29
+ ```
30
+
31
+ - Fix trace-span-usage component to handle object values in token usage data. Usage objects can contain nested `inputDetails` and `outputDetails` properties which are objects, not numbers. The component now properly type-checks values and renders object properties as nested key-value pairs. ([#11141](https://github.com/mastra-ai/mastra/pull/11141))
32
+
33
+ - Add `Run` instance to client-js. `workflow.createRun` returns the `Run` instance which can be used for the different run methods. ([#11207](https://github.com/mastra-ai/mastra/pull/11207))
34
+ With this change, run methods cannot be called directly on workflow instance anymore
35
+
36
+ ```diff
37
+ - const result = await workflow.stream({ runId: '123', inputData: { ... } });
38
+ + const run = await workflow.createRun({ runId: '123' });
39
+ + const stream = await run.stream({ inputData: { ... } });
40
+ ```
41
+
42
+ - Remove deprecated playground-only prompt generation handler (functionality moved to @mastra/server) ([#11074](https://github.com/mastra-ai/mastra/pull/11074))
43
+
44
+ Improve prompt enhancement UX: show toast errors when enhancement fails, disable button when no model has a configured API key, and prevent users from disabling all models in the model list
45
+
46
+ Add missing `/api/agents/:agentId/instructions/enhance` endpoint that was referenced by `@mastra/client-js` and `@mastra/playground-ui`
47
+
48
+ - Focus the textarea when clicking anywhere in the entire chat prompt input box ([#11160](https://github.com/mastra-ai/mastra/pull/11160))
49
+
50
+ - Removes redundant "Working Memory" section from memory config panel (already displayed in dedicated working memory component) ([#11104](https://github.com/mastra-ai/mastra/pull/11104))
51
+ Fixes badge rendering for falsy values by using ?? instead of || (e.g., false was incorrectly displayed as empty string)
52
+ Adds tooltip on disabled "Edit Working Memory" button explaining that working memory becomes available after the agent calls updateWorkingMemory
53
+
54
+ - Workflow step detail panel improvements ([#11134](https://github.com/mastra-ai/mastra/pull/11134))
55
+ - Add step detail panel to view map configs and nested workflows from the workflow graph
56
+ - Enable line wrapping for code display in map config panel and WHEN condition nodes
57
+ - Auto-switch to "Current Run" tab when opening step details
58
+ - Add colored icons matching workflow graph (orange for map, purple for workflow)
59
+ - Simplify step detail context by removing unused parent stack navigation
60
+
61
+ - Fix agent default settings not being applied in playground ([#11107](https://github.com/mastra-ai/mastra/pull/11107))
62
+ - Fix settings hook to properly merge agent default options with localStorage values
63
+ - Map `maxOutputTokens` (AI SDK v5) to `maxTokens` for UI compatibility
64
+ - Add `seed` parameter support to model settings
65
+ - Add frequency/presence penalty inputs with sliders
66
+ - Extract and apply agent's `defaultOptions.modelSettings` on load
67
+
68
+ - fix isTopLevelSpan value definition on SpanScoring to properly recognize lack of span?.parentSpanId value (null or empty string) ([#11083](https://github.com/mastra-ai/mastra/pull/11083))
69
+
70
+ - Updated dependencies [[`d5ed981`](https://github.com/mastra-ai/mastra/commit/d5ed981c8701c1b8a27a5f35a9a2f7d9244e695f), [`9650cce`](https://github.com/mastra-ai/mastra/commit/9650cce52a1d917ff9114653398e2a0f5c3ba808), [`932d63d`](https://github.com/mastra-ai/mastra/commit/932d63dd51be9c8bf1e00e3671fe65606c6fb9cd), [`b760b73`](https://github.com/mastra-ai/mastra/commit/b760b731aca7c8a3f041f61d57a7f125ae9cb215), [`695a621`](https://github.com/mastra-ai/mastra/commit/695a621528bdabeb87f83c2277cf2bb084c7f2b4), [`2b459f4`](https://github.com/mastra-ai/mastra/commit/2b459f466fd91688eeb2a44801dc23f7f8a887ab), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`09e4bae`](https://github.com/mastra-ai/mastra/commit/09e4bae18dd5357d2ae078a4a95a2af32168ab08), [`24b76d8`](https://github.com/mastra-ai/mastra/commit/24b76d8e17656269c8ed09a0c038adb9cc2ae95a), [`243a823`](https://github.com/mastra-ai/mastra/commit/243a8239c5906f5c94e4f78b54676793f7510ae3), [`1b85674`](https://github.com/mastra-ai/mastra/commit/1b85674123708d9b85834dccc9eae601a9d0891c), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`c61fac3`](https://github.com/mastra-ai/mastra/commit/c61fac3add96f0dcce0208c07415279e2537eb62), [`6f14f70`](https://github.com/mastra-ai/mastra/commit/6f14f706ccaaf81b69544b6c1b75ab66a41e5317), [`09e4bae`](https://github.com/mastra-ai/mastra/commit/09e4bae18dd5357d2ae078a4a95a2af32168ab08), [`4524734`](https://github.com/mastra-ai/mastra/commit/45247343e384717a7c8404296275c56201d6470f), [`2a53598`](https://github.com/mastra-ai/mastra/commit/2a53598c6d8cfeb904a7fc74e57e526d751c8fa6), [`486352b`](https://github.com/mastra-ai/mastra/commit/486352b66c746602b68a95839f830de14c7fb8c0), [`c7cd3c7`](https://github.com/mastra-ai/mastra/commit/c7cd3c7a187d7aaf79e2ca139de328bf609a14b4), [`847c212`](https://github.com/mastra-ai/mastra/commit/847c212caba7df0d6f2fc756b494ac3c75c3720d), [`439eaf7`](https://github.com/mastra-ai/mastra/commit/439eaf75447809b05e326666675a4dcbf9c334ce), [`b98d9a0`](https://github.com/mastra-ai/mastra/commit/b98d9a02e1a4381a4faf65b7371fe76978a42d2e), [`6f941c4`](https://github.com/mastra-ai/mastra/commit/6f941c438ca5f578619788acc7608fc2e23bd176), [`55ae5af`](https://github.com/mastra-ai/mastra/commit/55ae5afa0a59d777e519825171cef9d73f02992e)]:
71
+ - @mastra/core@1.0.0-beta.12
72
+ - @mastra/react@0.1.0-beta.12
73
+ - @mastra/schema-compat@1.0.0-beta.3
74
+ - @mastra/client-js@1.0.0-beta.12
75
+ - @mastra/ai-sdk@1.0.0-beta.9
76
+
3
77
  ## 7.0.0-beta.11
4
78
 
5
79
  ### Patch Changes