@mastra/playground-ui 20.0.0-alpha.6 → 20.0.0-alpha.8
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 +39 -4
- package/dist/index.cjs.js +701 -346
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +9799 -6712
- package/dist/index.es.js +703 -349
- package/dist/index.es.js.map +1 -1
- package/dist/{spacings-ZtORQo9-.js → spacings-CKfS0_hW.js} +2 -2
- package/dist/{spacings-ZtORQo9-.js.map → spacings-CKfS0_hW.js.map} +1 -1
- package/dist/src/domains/agents/components/agent-playground/dataset-detail-view.d.ts +2 -1
- package/dist/src/domains/agents/hooks/use-agent-trace-scores.d.ts +26 -3
- package/dist/src/domains/configuration/context/studio-config-context.d.ts +1 -3
- package/dist/src/domains/experiments/hooks/use-experiment-trace.d.ts +1 -1
- package/dist/src/ds/components/Card/Card.d.ts +2 -2
- package/dist/src/ds/components/Combobox/combobox-styles.d.ts +3 -3
- package/dist/src/ds/primitives/form-element.d.ts +3 -3
- package/dist/src/ds/primitives/transitions.d.ts +3 -3
- package/dist/src/store/playground-store.d.ts +6 -0
- package/dist/tokens.es.js +1 -1
- package/package.json +19 -29
- package/dist/tailwind.config.d.ts +0 -274
- package/dist/tailwind.preset.cjs.js +0 -6561
- package/dist/tailwind.preset.cjs.js.map +0 -1
- package/dist/tailwind.preset.d.ts +0 -3
- package/dist/tailwind.preset.es.js +0 -6559
- package/dist/tailwind.preset.es.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 20.0.0-alpha.8
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 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))
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- dependencies updates: ([#14826](https://github.com/mastra-ai/mastra/pull/14826))
|
|
12
|
+
- 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`)
|
|
13
|
+
- 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`)
|
|
14
|
+
|
|
15
|
+
- dependencies updates: ([#14827](https://github.com/mastra-ai/mastra/pull/14827))
|
|
16
|
+
- 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`)
|
|
17
|
+
- 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`)
|
|
18
|
+
- 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`)
|
|
19
|
+
|
|
20
|
+
- 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))
|
|
21
|
+
|
|
22
|
+
- updated `playground-ui` to send both new and legacy `feedbackSource` fields ([#14856](https://github.com/mastra-ai/mastra/pull/14856))
|
|
23
|
+
|
|
24
|
+
- Correct link to metrics ([#14854](https://github.com/mastra-ai/mastra/pull/14854))
|
|
25
|
+
|
|
26
|
+
- 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)]:
|
|
27
|
+
- @mastra/core@1.18.0-alpha.4
|
|
28
|
+
- @mastra/client-js@1.11.0-alpha.7
|
|
29
|
+
- @mastra/react@0.2.18-alpha.7
|
|
30
|
+
- @mastra/ai-sdk@1.3.0-alpha.0
|
|
31
|
+
|
|
32
|
+
## 20.0.0-alpha.7
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- Changed the Editor tab URL from /agents/:agentId/playground to /agents/:agentId/editor in Mastra Studio ([#14795](https://github.com/mastra-ai/mastra/pull/14795))
|
|
37
|
+
|
|
3
38
|
## 20.0.0-alpha.6
|
|
4
39
|
|
|
5
40
|
### Patch Changes
|
|
@@ -2699,7 +2734,7 @@
|
|
|
2699
2734
|
|
|
2700
2735
|
**Other changes:**
|
|
2701
2736
|
- All form elements now use `rounded-md` radius
|
|
2702
|
-
- All form elements now use `focus:outline focus:outline-accent1` focus effect
|
|
2737
|
+
- All form elements now use `focus:outline-solid focus:outline-accent1` focus effect
|
|
2703
2738
|
- Removed `button-md` and `button-lg` size tokens (use `form-sm`, `form-md`, `form-lg` instead)
|
|
2704
2739
|
|
|
2705
2740
|
- 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))
|
|
@@ -3117,7 +3152,7 @@
|
|
|
3117
3152
|
- Rename icon color tokens to neutral for better semantic naming ([#11933](https://github.com/mastra-ai/mastra/pull/11933))
|
|
3118
3153
|
|
|
3119
3154
|
- Replaced arbitrary Tailwind CSS values with standard utility classes for better consistency and maintainability. ([#11965](https://github.com/mastra-ai/mastra/pull/11965))
|
|
3120
|
-
- Changed arbitrary spacing values like `gap-[
|
|
3155
|
+
- Changed arbitrary spacing values like `gap-[16px]`, `p-[24px]`, `px-[32px]` to standard classes (`gap-4`, `p-6`, `px-8`)
|
|
3121
3156
|
- Updated z-index values from `z-[1]` and `z-[100]` to standard `z-10` and `z-50`
|
|
3122
3157
|
- Replaced arbitrary gap values like `gap-[6px]` with `gap-1.5`
|
|
3123
3158
|
- Updated duration values from `duration-[1s]` to `duration-1000`
|
|
@@ -3531,7 +3566,7 @@
|
|
|
3531
3566
|
|
|
3532
3567
|
**Other changes:**
|
|
3533
3568
|
- All form elements now use `rounded-md` radius
|
|
3534
|
-
- All form elements now use `focus:outline focus:outline-accent1` focus effect
|
|
3569
|
+
- All form elements now use `focus:outline-solid focus:outline-accent1` focus effect
|
|
3535
3570
|
- Removed `button-md` and `button-lg` size tokens (use `form-sm`, `form-md`, `form-lg` instead)
|
|
3536
3571
|
|
|
3537
3572
|
- 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))
|
|
@@ -3576,7 +3611,7 @@
|
|
|
3576
3611
|
- Rename icon color tokens to neutral for better semantic naming ([#11933](https://github.com/mastra-ai/mastra/pull/11933))
|
|
3577
3612
|
|
|
3578
3613
|
- Replaced arbitrary Tailwind CSS values with standard utility classes for better consistency and maintainability. ([#11965](https://github.com/mastra-ai/mastra/pull/11965))
|
|
3579
|
-
- Changed arbitrary spacing values like `gap-[
|
|
3614
|
+
- Changed arbitrary spacing values like `gap-[16px]`, `p-[24px]`, `px-[32px]` to standard classes (`gap-4`, `p-6`, `px-8`)
|
|
3580
3615
|
- Updated z-index values from `z-[1]` and `z-[100]` to standard `z-10` and `z-50`
|
|
3581
3616
|
- Replaced arbitrary gap values like `gap-[6px]` with `gap-1.5`
|
|
3582
3617
|
- Updated duration values from `duration-[1s]` to `duration-1000`
|