@mastra/playground-ui 20.0.0-alpha.7 → 20.0.0-alpha.9

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 (31) hide show
  1. package/CHANGELOG.md +44 -4
  2. package/dist/index.cjs.js +729 -352
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.css +9808 -6712
  5. package/dist/index.es.js +731 -355
  6. package/dist/index.es.js.map +1 -1
  7. package/dist/{spacings-ZtORQo9-.js → spacings-CKfS0_hW.js} +2 -2
  8. package/dist/{spacings-ZtORQo9-.js.map → spacings-CKfS0_hW.js.map} +1 -1
  9. package/dist/src/domains/agents/components/agent-chat.d.ts +1 -1
  10. package/dist/src/domains/agents/components/agent-playground/agent-playground-test-chat.d.ts +2 -1
  11. package/dist/src/domains/agents/components/agent-playground/agent-playground-view.d.ts +2 -1
  12. package/dist/src/domains/agents/components/agent-playground/dataset-detail-view.d.ts +2 -1
  13. package/dist/src/domains/agents/hooks/use-agent-trace-scores.d.ts +26 -3
  14. package/dist/src/domains/configuration/context/studio-config-context.d.ts +1 -3
  15. package/dist/src/domains/experiments/hooks/use-experiment-trace.d.ts +1 -1
  16. package/dist/src/domains/metrics/hooks/use-agent-runs-kpi-metrics.d.ts +2 -2
  17. package/dist/src/ds/components/Card/Card.d.ts +2 -2
  18. package/dist/src/ds/components/Combobox/combobox-styles.d.ts +3 -3
  19. package/dist/src/ds/primitives/form-element.d.ts +3 -3
  20. package/dist/src/ds/primitives/transitions.d.ts +3 -3
  21. package/dist/src/services/mastra-runtime-provider.d.ts +1 -1
  22. package/dist/src/store/playground-store.d.ts +6 -0
  23. package/dist/src/types.d.ts +1 -0
  24. package/dist/tokens.es.js +1 -1
  25. package/package.json +20 -30
  26. package/dist/tailwind.config.d.ts +0 -274
  27. package/dist/tailwind.preset.cjs.js +0 -6561
  28. package/dist/tailwind.preset.cjs.js.map +0 -1
  29. package/dist/tailwind.preset.d.ts +0 -3
  30. package/dist/tailwind.preset.es.js +0 -6559
  31. package/dist/tailwind.preset.es.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,45 @@
1
1
  # @mastra/playground-ui
2
2
 
3
+ ## 20.0.0-alpha.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Improved the default playground tabs so labels size to their content with tighter horizontal padding. ([#14857](https://github.com/mastra-ai/mastra/pull/14857))
8
+
9
+ - Updated dependencies [[`12c647c`](https://github.com/mastra-ai/mastra/commit/12c647cf3a26826eb72d40b42e3c8356ceae16ed), [`12c647c`](https://github.com/mastra-ai/mastra/commit/12c647cf3a26826eb72d40b42e3c8356ceae16ed), [`819f03c`](https://github.com/mastra-ai/mastra/commit/819f03c25823373b32476413bd76be28a5d8705a), [`819f03c`](https://github.com/mastra-ai/mastra/commit/819f03c25823373b32476413bd76be28a5d8705a)]:
10
+ - @mastra/client-js@1.11.0-alpha.8
11
+ - @mastra/react@0.2.18-alpha.8
12
+ - @mastra/core@1.18.0-alpha.5
13
+
14
+ ## 20.0.0-alpha.8
15
+
16
+ ### Minor Changes
17
+
18
+ - Finished light mode support for Mastra Studio. Theme selector is now always visible in settings — no environment variable needed. CodeMirror editors (instructions, trace view, code diff) render with proper syntax highlighting and cursor visibility in both light and dark modes. Dropdown menus now have correct hover/focus states in light mode. ([#14796](https://github.com/mastra-ai/mastra/pull/14796))
19
+
20
+ ### Patch Changes
21
+
22
+ - dependencies updates: ([#14826](https://github.com/mastra-ai/mastra/pull/14826))
23
+ - Updated dependency [`@assistant-ui/react@^0.12.21` ↗︎](https://www.npmjs.com/package/@assistant-ui/react/v/0.12.21) (from `^0.12.19`, in `dependencies`)
24
+ - Updated dependency [`@assistant-ui/react-markdown@^0.12.7` ↗︎](https://www.npmjs.com/package/@assistant-ui/react-markdown/v/0.12.7) (from `^0.12.6`, in `dependencies`)
25
+
26
+ - dependencies updates: ([#14827](https://github.com/mastra-ai/mastra/pull/14827))
27
+ - Updated dependency [`@uiw/codemirror-theme-dracula@^4.25.9` ↗︎](https://www.npmjs.com/package/@uiw/codemirror-theme-dracula/v/4.25.9) (from `^4.25.8`, in `dependencies`)
28
+ - Updated dependency [`@uiw/codemirror-theme-github@^4.25.9` ↗︎](https://www.npmjs.com/package/@uiw/codemirror-theme-github/v/4.25.9) (from `^4.25.8`, in `dependencies`)
29
+ - Updated dependency [`@uiw/react-codemirror@^4.25.9` ↗︎](https://www.npmjs.com/package/@uiw/react-codemirror/v/4.25.9) (from `^4.25.8`, in `dependencies`)
30
+
31
+ - Added a Scorers section to the dataset detail view for attaching and detaching scorers. Fixed a crash on page refresh in the evaluate tab caused by `ReviewQueueProvider` not being mounted during loading states. ([#14783](https://github.com/mastra-ai/mastra/pull/14783))
32
+
33
+ - updated `playground-ui` to send both new and legacy `feedbackSource` fields ([#14856](https://github.com/mastra-ai/mastra/pull/14856))
34
+
35
+ - Correct link to metrics ([#14854](https://github.com/mastra-ai/mastra/pull/14854))
36
+
37
+ - Updated dependencies [[`fbf22a7`](https://github.com/mastra-ai/mastra/commit/fbf22a7ad86bcb50dcf30459f0d075e51ddeb468), [`fbf22a7`](https://github.com/mastra-ai/mastra/commit/fbf22a7ad86bcb50dcf30459f0d075e51ddeb468), [`04160ee`](https://github.com/mastra-ai/mastra/commit/04160eedf3130003cf842ad08428c8ff69af4cc1), [`2c27503`](https://github.com/mastra-ai/mastra/commit/2c275032510d131d2cde47f99953abf0fe02c081), [`424a1df`](https://github.com/mastra-ai/mastra/commit/424a1df7bee59abb5c83717a54807fdd674a6224), [`12c88a6`](https://github.com/mastra-ai/mastra/commit/12c88a6e32bf982c2fe0c6af62e65a3414519a75), [`43595bf`](https://github.com/mastra-ai/mastra/commit/43595bf7b8df1a6edce7a23b445b5124d2a0b473), [`78670e9`](https://github.com/mastra-ai/mastra/commit/78670e97e76d7422cf7025faf371b2aeafed860d), [`d400e7c`](https://github.com/mastra-ai/mastra/commit/d400e7c8b8d7afa6ba2c71769eace4048e3cef8e), [`f58d1a7`](https://github.com/mastra-ai/mastra/commit/f58d1a7a457588a996c3ecb53201a68f3d28c432), [`a49a929`](https://github.com/mastra-ai/mastra/commit/a49a92904968b4fc67e01effee8c7c8d0464ba85)]:
38
+ - @mastra/core@1.18.0-alpha.4
39
+ - @mastra/client-js@1.11.0-alpha.7
40
+ - @mastra/react@0.2.18-alpha.7
41
+ - @mastra/ai-sdk@1.3.0-alpha.0
42
+
3
43
  ## 20.0.0-alpha.7
4
44
 
5
45
  ### Patch Changes
@@ -2705,7 +2745,7 @@
2705
2745
 
2706
2746
  **Other changes:**
2707
2747
  - All form elements now use `rounded-md` radius
2708
- - All form elements now use `focus:outline focus:outline-accent1` focus effect
2748
+ - All form elements now use `focus:outline-solid focus:outline-accent1` focus effect
2709
2749
  - Removed `button-md` and `button-lg` size tokens (use `form-sm`, `form-md`, `form-lg` instead)
2710
2750
 
2711
2751
  - Added platform-aware navigation filtering using `useMastraPlatform` hook. Nav links now include an `isOnMastraPlatform` property that controls visibility based on whether the app is running on Mastra Platform or locally. ([#11990](https://github.com/mastra-ai/mastra/pull/11990))
@@ -3123,7 +3163,7 @@
3123
3163
  - Rename icon color tokens to neutral for better semantic naming ([#11933](https://github.com/mastra-ai/mastra/pull/11933))
3124
3164
 
3125
3165
  - Replaced arbitrary Tailwind CSS values with standard utility classes for better consistency and maintainability. ([#11965](https://github.com/mastra-ai/mastra/pull/11965))
3126
- - Changed arbitrary spacing values like `gap-[1rem]`, `p-[1.5rem]`, `px-[2rem]` to standard classes (`gap-4`, `p-6`, `px-8`)
3166
+ - Changed arbitrary spacing values like `gap-[16px]`, `p-[24px]`, `px-[32px]` to standard classes (`gap-4`, `p-6`, `px-8`)
3127
3167
  - Updated z-index values from `z-[1]` and `z-[100]` to standard `z-10` and `z-50`
3128
3168
  - Replaced arbitrary gap values like `gap-[6px]` with `gap-1.5`
3129
3169
  - Updated duration values from `duration-[1s]` to `duration-1000`
@@ -3537,7 +3577,7 @@
3537
3577
 
3538
3578
  **Other changes:**
3539
3579
  - All form elements now use `rounded-md` radius
3540
- - All form elements now use `focus:outline focus:outline-accent1` focus effect
3580
+ - All form elements now use `focus:outline-solid focus:outline-accent1` focus effect
3541
3581
  - Removed `button-md` and `button-lg` size tokens (use `form-sm`, `form-md`, `form-lg` instead)
3542
3582
 
3543
3583
  - Added platform-aware navigation filtering using `useMastraPlatform` hook. Nav links now include an `isOnMastraPlatform` property that controls visibility based on whether the app is running on Mastra Platform or locally. ([#11990](https://github.com/mastra-ai/mastra/pull/11990))
@@ -3582,7 +3622,7 @@
3582
3622
  - Rename icon color tokens to neutral for better semantic naming ([#11933](https://github.com/mastra-ai/mastra/pull/11933))
3583
3623
 
3584
3624
  - Replaced arbitrary Tailwind CSS values with standard utility classes for better consistency and maintainability. ([#11965](https://github.com/mastra-ai/mastra/pull/11965))
3585
- - Changed arbitrary spacing values like `gap-[1rem]`, `p-[1.5rem]`, `px-[2rem]` to standard classes (`gap-4`, `p-6`, `px-8`)
3625
+ - Changed arbitrary spacing values like `gap-[16px]`, `p-[24px]`, `px-[32px]` to standard classes (`gap-4`, `p-6`, `px-8`)
3586
3626
  - Updated z-index values from `z-[1]` and `z-[100]` to standard `z-10` and `z-50`
3587
3627
  - Replaced arbitrary gap values like `gap-[6px]` with `gap-1.5`
3588
3628
  - Updated duration values from `duration-[1s]` to `duration-1000`