@mastra/playground-ui 16.0.0-alpha.2 → 16.0.1-alpha.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 (69) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/dist/index.cjs.js +658 -708
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.es.js +659 -707
  5. package/dist/index.es.js.map +1 -1
  6. package/dist/{spacings-BX4L_XzV.cjs → spacings-C1HSb4JB.cjs} +11 -3
  7. package/dist/spacings-C1HSb4JB.cjs.map +1 -0
  8. package/dist/{spacings-BcklbBjE.js → spacings-DEKdCt8K.js} +11 -3
  9. package/dist/spacings-DEKdCt8K.js.map +1 -0
  10. package/dist/src/domains/agents/components/agent-combobox.d.ts +2 -1
  11. package/dist/src/domains/agents/components/agent-version-combobox.d.ts +2 -1
  12. package/dist/src/domains/datasets/components/dataset-combobox.d.ts +2 -1
  13. package/dist/src/domains/llm/components/llm-models.d.ts +4 -2
  14. package/dist/src/domains/llm/components/llm-providers.d.ts +4 -2
  15. package/dist/src/domains/mcps/components/mcp-server-combobox.d.ts +2 -1
  16. package/dist/src/domains/observability/components/shared.d.ts +1 -1
  17. package/dist/src/domains/processors/components/processor-combobox.d.ts +2 -1
  18. package/dist/src/domains/prompt-blocks/components/prompt-block-version-combobox.d.ts +2 -1
  19. package/dist/src/domains/scores/components/scorer-combobox.d.ts +2 -1
  20. package/dist/src/domains/scores/components/scorer-version-combobox.d.ts +2 -1
  21. package/dist/src/domains/tools/components/tool-combobox.d.ts +2 -1
  22. package/dist/src/domains/workflows/components/workflow-combobox.d.ts +2 -1
  23. package/dist/src/ds/components/Button/Button.d.ts +3 -2
  24. package/dist/src/ds/components/Button/button.stories.d.ts +2 -8
  25. package/dist/src/ds/components/Combobox/combobox.d.ts +3 -2
  26. package/dist/src/ds/components/Combobox/combobox.stories.d.ts +2 -2
  27. package/dist/src/ds/components/CopyButton/copy-button.d.ts +1 -3
  28. package/dist/src/ds/components/CopyButton/copy-button.stories.d.ts +1 -2
  29. package/dist/src/ds/components/FormFieldBlocks/block/field-block-column.d.ts +5 -0
  30. package/dist/src/ds/components/FormFieldBlocks/block/field-block-error-msg.d.ts +4 -0
  31. package/dist/src/ds/components/FormFieldBlocks/block/field-block-help-text.d.ts +4 -0
  32. package/dist/src/ds/components/FormFieldBlocks/block/field-block-label.d.ts +8 -0
  33. package/dist/src/ds/components/FormFieldBlocks/block/field-block-layout.d.ts +7 -0
  34. package/dist/src/ds/components/FormFieldBlocks/block/field-block.d.ts +12 -0
  35. package/dist/src/ds/components/FormFieldBlocks/block/field-block.stories.d.ts +8 -0
  36. package/dist/src/ds/components/FormFieldBlocks/fields/search-field-block.d.ts +18 -0
  37. package/dist/src/ds/components/FormFieldBlocks/fields/search-field-block.stories.d.ts +13 -0
  38. package/dist/src/ds/components/FormFieldBlocks/fields/select-field-block.d.ts +25 -0
  39. package/dist/src/ds/components/FormFieldBlocks/fields/select-field-block.stories.d.ts +15 -0
  40. package/dist/src/ds/components/FormFieldBlocks/fields/text-field-block.d.ts +15 -0
  41. package/dist/src/ds/components/FormFieldBlocks/fields/text-field-block.stories.d.ts +16 -0
  42. package/dist/src/ds/components/FormFieldBlocks/layout/field-blocks-layout-column.d.ts +5 -0
  43. package/dist/src/ds/components/FormFieldBlocks/layout/field-blocks-layout-root.d.ts +7 -0
  44. package/dist/src/ds/components/FormFieldBlocks/layout/field-blocks-layout.d.ts +5 -0
  45. package/dist/src/ds/components/FormFieldBlocks/layout/field-blocks-layout.stories.d.ts +6 -0
  46. package/dist/src/ds/components/FormFields/index.d.ts +0 -2
  47. package/dist/src/ds/components/FormFields/select-field.d.ts +2 -4
  48. package/dist/src/ds/components/Input/input.d.ts +4 -4
  49. package/dist/src/ds/components/Input/input.stories.d.ts +3 -6
  50. package/dist/src/ds/components/JSONSchemaForm/json-schema-form-field-description.d.ts +2 -2
  51. package/dist/src/ds/components/JSONSchemaForm/json-schema-form-field-name.d.ts +2 -2
  52. package/dist/src/ds/components/JSONSchemaForm/json-schema-form-field-type.d.ts +2 -2
  53. package/dist/src/ds/components/Select/select.d.ts +5 -4
  54. package/dist/src/ds/components/Textarea/textarea.d.ts +4 -4
  55. package/dist/src/ds/components/Textarea/textarea.stories.d.ts +10 -0
  56. package/dist/src/ds/primitives/form-element.d.ts +4 -1
  57. package/dist/src/ds/tokens/fonts.d.ts +4 -0
  58. package/dist/src/lib/form/zod-provider/__tests__/zod-provider.test.d.ts +1 -0
  59. package/dist/tailwind.preset.cjs.js +1 -1
  60. package/dist/tailwind.preset.es.js +1 -1
  61. package/dist/tokens.cjs.js +1 -1
  62. package/dist/tokens.es.js +1 -1
  63. package/package.json +10 -10
  64. package/dist/spacings-BX4L_XzV.cjs.map +0 -1
  65. package/dist/spacings-BcklbBjE.js.map +0 -1
  66. package/dist/src/ds/components/FormFields/input-field.d.ts +0 -17
  67. package/dist/src/ds/components/FormFields/input-field.stories.d.ts +0 -16
  68. package/dist/src/ds/components/FormFields/search-field.d.ts +0 -5
  69. package/dist/src/ds/components/FormFields/search-field.stories.d.ts +0 -11
package/CHANGELOG.md CHANGED
@@ -1,5 +1,68 @@
1
1
  # @mastra/playground-ui
2
2
 
3
+ ## 16.0.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated form field components in Studio to use the new FieldBlock design system pattern. Replaced legacy SelectField, InputField, and SearchField with SelectFieldBlock, TextFieldBlock, and SearchFieldBlock across all domain components (observability, scores, datasets, templates). Refined button styles and layout improvements. ([#14138](https://github.com/mastra-ai/mastra/pull/14138))
8
+
9
+ - Fixed Studio form crash when workflow input schemas contain `z.array()` fields with Zod v4. Array, union, and intersection fields now render and accept input correctly in the workflow run form. ([#14131](https://github.com/mastra-ai/mastra/pull/14131))
10
+
11
+ - Added MCP-specific icon and color in trace timeline for `mcp_tool_call` spans. ([#13274](https://github.com/mastra-ai/mastra/pull/13274))
12
+
13
+ - Updated dependencies [[`cddf895`](https://github.com/mastra-ai/mastra/commit/cddf895532b8ee7f9fa814136ec672f53d37a9ba), [`aede3cc`](https://github.com/mastra-ai/mastra/commit/aede3cc2a83b54bbd9e9a54c8aedcd1708b2ef87), [`c4c7dad`](https://github.com/mastra-ai/mastra/commit/c4c7dadfe2e4584f079f6c24bfabdb8c4981827f), [`787f3ac`](https://github.com/mastra-ai/mastra/commit/787f3ac08b3bb77413645a7ab5c447fa851708fd), [`45c3112`](https://github.com/mastra-ai/mastra/commit/45c31122666a0cc56b94727099fcb1871ed1b3f6), [`5e7c287`](https://github.com/mastra-ai/mastra/commit/5e7c28701f2bce795dd5c811e4c3060bf2ea2242), [`7e17d3f`](https://github.com/mastra-ai/mastra/commit/7e17d3f656fdda2aad47c4beb8c491636d70820c)]:
14
+ - @mastra/core@1.12.0-alpha.0
15
+ - @mastra/schema-compat@1.2.1-alpha.0
16
+ - @mastra/client-js@1.8.1-alpha.0
17
+ - @mastra/react@0.2.11-alpha.0
18
+ - @mastra/ai-sdk@1.1.3
19
+
20
+ ## 16.0.0
21
+
22
+ ### Minor Changes
23
+
24
+ - Added **Playground** and **Traces** tabs to the agent detail page. ([#13938](https://github.com/mastra-ai/mastra/pull/13938))
25
+
26
+ **Agent Playground tab** provides a side-by-side environment for iterating on agent configuration (instructions, tools, model settings) and testing changes in a live chat — without modifying the deployed agent. Includes version comparison, request context configuration, and the ability to trigger dataset experiments directly from the playground.
27
+
28
+ **Agent Traces tab** shows a compact table of all agent traces with columns for status, timestamp, input preview, output preview, and duration. Supports date range filtering, infinite scroll pagination, and clicking rows to inspect full trace details. Includes checkbox selection and bulk "Add to dataset" for quickly building evaluation datasets from production traces.
29
+
30
+ **Tools edit page** now shows configured (enabled) tools in a dedicated section at the top, making it easier to find and edit tools that are already in use.
31
+
32
+ **Dataset save actions** on the test chat: per-message save button on user messages and a "Save full conversation" action at the bottom of the thread.
33
+
34
+ - Added input message preview column to the observability trace list. You can now see a truncated preview of user input messages directly in the trace table, making it easier to find specific traces without clicking into each one. ([#14025](https://github.com/mastra-ai/mastra/pull/14025))
35
+
36
+ ### Patch Changes
37
+
38
+ - dependencies updates: ([#13864](https://github.com/mastra-ai/mastra/pull/13864))
39
+ - Updated dependency [`@uiw/codemirror-theme-dracula@^4.25.7` ↗︎](https://www.npmjs.com/package/@uiw/codemirror-theme-dracula/v/4.25.7) (from `^4.25.5`, in `dependencies`)
40
+
41
+ - dependencies updates: ([#14057](https://github.com/mastra-ai/mastra/pull/14057))
42
+ - Updated dependency [`@uiw/codemirror-theme-dracula@^4.25.8` ↗︎](https://www.npmjs.com/package/@uiw/codemirror-theme-dracula/v/4.25.8) (from `^4.25.7`, in `dependencies`)
43
+
44
+ - dependencies updates: ([#14062](https://github.com/mastra-ai/mastra/pull/14062))
45
+ - Updated dependency [`prettier@^3.8.1` ↗︎](https://www.npmjs.com/package/prettier/v/3.8.1) (from `^3.6.2`, in `dependencies`)
46
+
47
+ - The "Run Experiment" button is now disabled when a dataset has no items, with a tooltip explaining that items must be added first. ([#14031](https://github.com/mastra-ai/mastra/pull/14031))
48
+
49
+ - fix: maxTokens from Studio Advanced Settings now correctly limits model output ([#13912](https://github.com/mastra-ai/mastra/pull/13912))
50
+
51
+ The `modelSettingsArgs` object was prematurely renaming `maxTokens` to `maxOutputTokens`. The React hook (`useChat`) destructures `maxTokens` from this object, so the rename caused it to receive `undefined`, and the value was silently dropped from the API request body.
52
+
53
+ - Added permission denied handling for dataset pages. Datasets now show a "Permission Denied" screen when the user lacks access, matching the behavior of agents, workflows, and other resources. ([#13876](https://github.com/mastra-ai/mastra/pull/13876))
54
+
55
+ - Fixed sandbox execution badge to show full streaming output during live sessions instead of snapping to the truncated tool result. The truncated view now only appears after page refresh when streaming data is no longer available. ([#13869](https://github.com/mastra-ai/mastra/pull/13869))
56
+
57
+ - Fix the observational memory sidebar so the observation token label uses the live observation window token count shown by the progress UI. ([#13953](https://github.com/mastra-ai/mastra/pull/13953))
58
+
59
+ - Updated dependencies [[`4f71b43`](https://github.com/mastra-ai/mastra/commit/4f71b436a4a6b8839842d8da47b57b84509af56c), [`a070277`](https://github.com/mastra-ai/mastra/commit/a07027766ce195ba74d0783116d894cbab25d44c), [`b423a4d`](https://github.com/mastra-ai/mastra/commit/b423a4d0c92b39963c536ae2a21408d3bee8eebc), [`b628b91`](https://github.com/mastra-ai/mastra/commit/b628b9128b372c0f54214d902b07279f03443900), [`332c014`](https://github.com/mastra-ai/mastra/commit/332c014e076b81edf7fe45b58205882726415e90), [`6b63153`](https://github.com/mastra-ai/mastra/commit/6b63153878ea841c0f4ce632ba66bb33e57e9c1b), [`4246e34`](https://github.com/mastra-ai/mastra/commit/4246e34cec9c26636d0965942268e6d07c346671), [`b8837ee`](https://github.com/mastra-ai/mastra/commit/b8837ee77e2e84197609762bfabd8b3da326d30c), [`866cc2c`](https://github.com/mastra-ai/mastra/commit/866cc2cb1f0e3b314afab5194f69477fada745d1), [`fb58ce1`](https://github.com/mastra-ai/mastra/commit/fb58ce1de85d57f142005c4b3b7559f909167a3f), [`be60b73`](https://github.com/mastra-ai/mastra/commit/be60b731adad9f2cf3c0732d685561bc140aa827), [`5d950f7`](https://github.com/mastra-ai/mastra/commit/5d950f7bf426a215a1808f0abef7de5c8336ba1c), [`28c85b1`](https://github.com/mastra-ai/mastra/commit/28c85b184fc32b40f7f160483c982da6d388ecbd), [`e9a08fb`](https://github.com/mastra-ai/mastra/commit/e9a08fbef1ada7e50e961e2f54f55e8c10b4a45c), [`1d0a8a8`](https://github.com/mastra-ai/mastra/commit/1d0a8a8acf33203d5744fc429b090ad8598aa8ed), [`631ffd8`](https://github.com/mastra-ai/mastra/commit/631ffd82fed108648b448b28e6a90e38c5f53bf5), [`6bcbf8a`](https://github.com/mastra-ai/mastra/commit/6bcbf8a6774d5a53b21d61db8a45ce2593ca1616), [`aae2295`](https://github.com/mastra-ai/mastra/commit/aae2295838a2d329ad6640829e87934790ffe5b8), [`aa61f29`](https://github.com/mastra-ai/mastra/commit/aa61f29ff8095ce46a4ae16e46c4d8c79b2b685b), [`7ff3714`](https://github.com/mastra-ai/mastra/commit/7ff37148515439bb3be009a60e02c3e363299760), [`18c3a90`](https://github.com/mastra-ai/mastra/commit/18c3a90c9e48cf69500e308affeb8eba5860b2af), [`41d79a1`](https://github.com/mastra-ai/mastra/commit/41d79a14bd8cb6de1e2565fd0a04786bae2f211b), [`f35487b`](https://github.com/mastra-ai/mastra/commit/f35487bb2d46c636e22aa71d90025613ae38235a), [`6dc2192`](https://github.com/mastra-ai/mastra/commit/6dc21921aef0f0efab15cd0805fa3d18f277a76f), [`0c57b8b`](https://github.com/mastra-ai/mastra/commit/0c57b8b0a69a97b5a4ae3f79be6c610f29f3cf7b), [`eeb3a3f`](https://github.com/mastra-ai/mastra/commit/eeb3a3f43aca10cf49479eed2a84b7d9ecea02ba), [`e673376`](https://github.com/mastra-ai/mastra/commit/e6733763ad1321aa7e5ae15096b9c2104f93b1f3), [`f8c1bdd`](https://github.com/mastra-ai/mastra/commit/f8c1bdd9d89297db75bdd5288d9ed9457369609d), [`be60b73`](https://github.com/mastra-ai/mastra/commit/be60b731adad9f2cf3c0732d685561bc140aa827), [`05f8d90`](https://github.com/mastra-ai/mastra/commit/05f8d9009290ce6aa03428b3add635268615db85), [`b2204c9`](https://github.com/mastra-ai/mastra/commit/b2204c98a42848bbfb6f0440f005dc2b6354f1cd), [`a1bf1e3`](https://github.com/mastra-ai/mastra/commit/a1bf1e385ed4c0ef6f11b56c5887442970d127f2), [`b6f647a`](https://github.com/mastra-ai/mastra/commit/b6f647ae2388e091f366581595feb957e37d5b40), [`0c57b8b`](https://github.com/mastra-ai/mastra/commit/0c57b8b0a69a97b5a4ae3f79be6c610f29f3cf7b), [`b081f27`](https://github.com/mastra-ai/mastra/commit/b081f272cf411716e1d6bd72ceac4bcee2657b19), [`4b8da97`](https://github.com/mastra-ai/mastra/commit/4b8da97a5ce306e97869df6c39535d9069e563db), [`0c09eac`](https://github.com/mastra-ai/mastra/commit/0c09eacb1926f64cfdc9ae5c6d63385cf8c9f72c), [`6b9b93d`](https://github.com/mastra-ai/mastra/commit/6b9b93d6f459d1ba6e36f163abf62a085ddb3d64), [`31b6067`](https://github.com/mastra-ai/mastra/commit/31b6067d0cc3ab10e1b29c36147f3b5266bc714a), [`797ac42`](https://github.com/mastra-ai/mastra/commit/797ac4276de231ad2d694d9aeca75980f6cd0419), [`aae2295`](https://github.com/mastra-ai/mastra/commit/aae2295838a2d329ad6640829e87934790ffe5b8), [`0bc289e`](https://github.com/mastra-ai/mastra/commit/0bc289e2d476bf46c5b91c21969e8d0c6864691c), [`9b75a06`](https://github.com/mastra-ai/mastra/commit/9b75a06e53ebb0b950ba7c1e83a0142047185f46), [`4c3a1b1`](https://github.com/mastra-ai/mastra/commit/4c3a1b122ea083e003d71092f30f3b31680b01c0), [`256df35`](https://github.com/mastra-ai/mastra/commit/256df3571d62beb3ad4971faa432927cc140e603), [`85cc3b3`](https://github.com/mastra-ai/mastra/commit/85cc3b3b6f32ae4b083c26498f50d5b250ba944b), [`97ea28c`](https://github.com/mastra-ai/mastra/commit/97ea28c746e9e4147d56047bbb1c4a92417a3fec), [`d567299`](https://github.com/mastra-ai/mastra/commit/d567299cf81e02bd9d5221d4bc05967d6c224161), [`716ffe6`](https://github.com/mastra-ai/mastra/commit/716ffe68bed81f7c2690bc8581b9e140f7bf1c3d), [`8296332`](https://github.com/mastra-ai/mastra/commit/8296332de21c16e3dfc3d0b2d615720a6dc88f2f), [`4df2116`](https://github.com/mastra-ai/mastra/commit/4df211619dd922c047d396ca41cd7027c8c4c8e7), [`2219c1a`](https://github.com/mastra-ai/mastra/commit/2219c1acbd21da116da877f0036ffb985a9dd5a3), [`17c4145`](https://github.com/mastra-ai/mastra/commit/17c4145166099354545582335b5252bdfdfd908b)]:
60
+ - @mastra/core@1.11.0
61
+ - @mastra/react@0.2.10
62
+ - @mastra/schema-compat@1.2.0
63
+ - @mastra/client-js@1.8.0
64
+ - @mastra/ai-sdk@1.1.3
65
+
3
66
  ## 16.0.0-alpha.2
4
67
 
5
68
  ### Patch Changes