@mastra/playground-ui 6.4.1 → 6.5.0-alpha.1

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 (92) hide show
  1. package/CHANGELOG.md +57 -0
  2. package/dist/index.cjs.js +1869 -1918
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.es.js +1844 -1902
  5. package/dist/index.es.js.map +1 -1
  6. package/dist/src/components/assistant-ui/messages/assistant-message.d.ts +1 -3
  7. package/dist/src/components/assistant-ui/thread.d.ts +1 -3
  8. package/dist/src/components/assistant-ui/tools/badges/agent-badge.d.ts +5 -8
  9. package/dist/src/components/assistant-ui/tools/badges/badge-wrapper.d.ts +2 -1
  10. package/dist/src/components/assistant-ui/tools/badges/tool-badge.d.ts +3 -5
  11. package/dist/src/components/assistant-ui/tools/badges/workflow-badge.d.ts +3 -5
  12. package/dist/src/components/assistant-ui/tools/tool-fallback.d.ts +6 -2
  13. package/dist/src/components/ui/containers/buttons-group.d.ts +6 -0
  14. package/dist/src/components/ui/containers/index.d.ts +2 -0
  15. package/dist/src/components/ui/containers/sections.d.ts +6 -0
  16. package/dist/src/components/ui/elements/entry-list/entry-list-entries-skeleton.d.ts +6 -0
  17. package/dist/src/components/ui/elements/entry-list/entry-list-entries.d.ts +6 -0
  18. package/dist/src/components/ui/elements/entry-list/entry-list-entry-col.d.ts +7 -0
  19. package/dist/src/components/ui/elements/entry-list/entry-list-entry.d.ts +11 -0
  20. package/dist/src/components/ui/elements/entry-list/entry-list-header.d.ts +6 -0
  21. package/dist/src/components/ui/elements/entry-list/entry-list-message.d.ts +8 -0
  22. package/dist/src/components/ui/elements/entry-list/entry-list-next-page-loading.d.ts +9 -0
  23. package/dist/src/components/ui/elements/entry-list/entry-list-pagination.d.ts +8 -0
  24. package/dist/src/components/ui/elements/entry-list/entry-list-root.d.ts +6 -0
  25. package/dist/src/components/ui/elements/entry-list/entry-list-skeleton.d.ts +2 -0
  26. package/dist/src/components/ui/elements/entry-list/entry-list-trim.d.ts +6 -0
  27. package/dist/src/components/ui/elements/entry-list/entry-list.d.ts +20 -18
  28. package/dist/src/components/ui/elements/entry-list/helpers.d.ts +10 -0
  29. package/dist/src/components/ui/elements/entry-list/index.d.ts +3 -4
  30. package/dist/src/components/ui/elements/entry-list/shared.d.ts +1 -5
  31. package/dist/src/components/ui/elements/entry-list/types.d.ts +5 -0
  32. package/dist/src/components/ui/elements/headers/page-header.d.ts +2 -2
  33. package/dist/src/components/ui/elements/index.d.ts +3 -0
  34. package/dist/src/components/ui/elements/main-sidebar/index.d.ts +1 -0
  35. package/dist/src/components/ui/elements/main-sidebar/main-sidebar-bottom.d.ts +6 -0
  36. package/dist/src/components/ui/elements/main-sidebar/main-sidebar-context.d.ts +12 -0
  37. package/dist/src/components/ui/elements/main-sidebar/main-sidebar-nav-header.d.ts +8 -0
  38. package/dist/src/components/ui/elements/main-sidebar/main-sidebar-nav-link.d.ts +17 -0
  39. package/dist/src/components/ui/elements/main-sidebar/main-sidebar-nav-list.d.ts +12 -0
  40. package/dist/src/components/ui/elements/main-sidebar/main-sidebar-nav-section.d.ts +13 -0
  41. package/dist/src/components/ui/elements/main-sidebar/main-sidebar-nav-separator.d.ts +5 -0
  42. package/dist/src/components/ui/elements/main-sidebar/main-sidebar-nav.d.ts +6 -0
  43. package/dist/src/components/ui/elements/main-sidebar/main-sidebar-root.d.ts +6 -0
  44. package/dist/src/components/ui/elements/main-sidebar/main-sidebar.d.ts +21 -0
  45. package/dist/src/components/ui/elements/notification/index.d.ts +1 -0
  46. package/dist/src/components/ui/elements/notification/notification.d.ts +9 -0
  47. package/dist/src/components/ui/elements/section/index.d.ts +1 -0
  48. package/dist/src/components/ui/elements/section/section-header.d.ts +7 -0
  49. package/dist/src/components/ui/elements/section/section-heading.d.ts +8 -0
  50. package/dist/src/components/ui/elements/section/section-root.d.ts +5 -0
  51. package/dist/src/components/ui/elements/section/section.d.ts +8 -0
  52. package/dist/src/components/ui/elements/side-dialog/index.d.ts +0 -6
  53. package/dist/src/components/ui/elements/side-dialog/side-dialog-code-section.d.ts +3 -1
  54. package/dist/src/components/ui/elements/side-dialog/side-dialog-content.d.ts +1 -14
  55. package/dist/src/components/ui/elements/side-dialog/side-dialog-nav.d.ts +6 -0
  56. package/dist/src/components/ui/elements/side-dialog/side-dialog-root.d.ts +11 -0
  57. package/dist/src/components/ui/elements/side-dialog/side-dialog-top.d.ts +2 -4
  58. package/dist/src/components/ui/elements/side-dialog/side-dialog.d.ts +16 -12
  59. package/dist/src/components/ui/elements/tabs/tabs-content.d.ts +7 -0
  60. package/dist/src/components/ui/elements/tabs/tabs-list.d.ts +7 -0
  61. package/dist/src/components/ui/elements/tabs/tabs-root.d.ts +9 -0
  62. package/dist/src/components/ui/elements/tabs/tabs-tab.d.ts +8 -0
  63. package/dist/src/components/ui/elements/tabs/tabs.d.ts +20 -36
  64. package/dist/src/domains/agents/components/agent-chat.d.ts +1 -1
  65. package/dist/src/domains/agents/index.d.ts +1 -0
  66. package/dist/src/domains/agents/utils/__tests__/extractPrompt.test.d.ts +1 -0
  67. package/dist/src/domains/agents/utils/extractPrompt.d.ts +2 -0
  68. package/dist/src/domains/observability/components/index.d.ts +4 -0
  69. package/dist/src/domains/observability/components/span-details.d.ts +1 -2
  70. package/dist/src/domains/observability/components/span-dialog.d.ts +8 -2
  71. package/dist/src/domains/observability/components/span-score-list.d.ts +17 -0
  72. package/dist/src/domains/observability/components/span-scoring.d.ts +6 -0
  73. package/dist/src/domains/observability/components/span-tabs.d.ts +16 -0
  74. package/dist/src/domains/observability/components/trace-dialog.d.ts +4 -2
  75. package/dist/src/domains/observability/components/trace-timeline.d.ts +1 -4
  76. package/dist/src/domains/observability/components/traces-list.d.ts +22 -0
  77. package/dist/src/domains/scores/components/score-dialog.d.ts +5 -3
  78. package/dist/src/domains/scores/components/scores-list.d.ts +21 -0
  79. package/dist/src/domains/scores/hooks/use-trace-span-scores.d.ts +7 -0
  80. package/dist/src/domains/scores/hooks/use-trigger-scorer.d.ts +1 -1
  81. package/dist/src/domains/scores/index.d.ts +2 -0
  82. package/dist/src/index.d.ts +1 -0
  83. package/dist/src/services/mastra-runtime-provider.d.ts +1 -1
  84. package/dist/src/types.d.ts +3 -1
  85. package/package.json +12 -10
  86. package/dist/src/components/ui/elements/entry-list/entry-list-cell.d.ts +0 -7
  87. package/dist/src/components/ui/elements/entry-list/entry-list-item.d.ts +0 -9
  88. package/dist/src/components/ui/elements/entry-list/entry-list-page-header.d.ts +0 -8
  89. package/dist/src/domains/scores/components/scorers-dropdown.d.ts +0 -8
  90. package/dist/src/services/agent-network-message.d.ts +0 -2
  91. package/dist/src/services/stream-chunk-message.d.ts +0 -32
  92. package/dist/src/services/vnext-message-provider.d.ts +0 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,62 @@
1
1
  # @mastra/playground-ui
2
2
 
3
+ ## 6.5.0-alpha.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Improve the surface API of the react sdk ([#8715](https://github.com/mastra-ai/mastra/pull/8715))
8
+
9
+ - Fix auto tab for model picker in playground-ui, the UI no longer auto tabs to the next selector when selecting a model/provider. ([#8680](https://github.com/mastra-ai/mastra/pull/8680))
10
+
11
+ - Create unified Sidebar component to use on Playground and Cloud ([#8655](https://github.com/mastra-ai/mastra/pull/8655))
12
+
13
+ - Use only zod validation in dynamic form ([#8802](https://github.com/mastra-ai/mastra/pull/8802))
14
+
15
+ - Add div wrapper around entity tables to fix table vertical position ([#8758](https://github.com/mastra-ai/mastra/pull/8758))
16
+
17
+ - Customize AITraces type to seamlessly work on Cloud too ([#8759](https://github.com/mastra-ai/mastra/pull/8759))
18
+
19
+ - Updated dependencies [[`421f019`](https://github.com/mastra-ai/mastra/commit/421f01949651d2766046ca1961e32a2dc2fd712b), [`1ed9670`](https://github.com/mastra-ai/mastra/commit/1ed9670d3ca50cb60dc2e517738c5eef3968ed27), [`158381d`](https://github.com/mastra-ai/mastra/commit/158381d39335be934b81ef8a1947bccace492c25), [`288c2ec`](https://github.com/mastra-ai/mastra/commit/288c2ec873ff9f296cebfdb4654d1b9ba498ad9b), [`fb703b9`](https://github.com/mastra-ai/mastra/commit/fb703b9634eeaff1a6eb2b5531ce0f9e8fb04727), [`37a2314`](https://github.com/mastra-ai/mastra/commit/37a23148e0e5a3b40d4f9f098b194671a8a49faf), [`05a9dee`](https://github.com/mastra-ai/mastra/commit/05a9dee3d355694d28847bfffb6289657fcf7dfa), [`e3c1077`](https://github.com/mastra-ai/mastra/commit/e3c107763aedd1643d3def5df450c235da9ff76c), [`1bccdb3`](https://github.com/mastra-ai/mastra/commit/1bccdb33eb90cbeba2dc5ece1c2561fb774b26b6), [`5ef944a`](https://github.com/mastra-ai/mastra/commit/5ef944a3721d93105675cac2b2311432ff8cc393), [`d6b186f`](https://github.com/mastra-ai/mastra/commit/d6b186fb08f1caf1b86f73d3a5ee88fb999ca3be), [`65493b3`](https://github.com/mastra-ai/mastra/commit/65493b31c36f6fdb78f9679f7e1ecf0c250aa5ee), [`a998b8f`](https://github.com/mastra-ai/mastra/commit/a998b8f858091c2ec47683e60766cf12d03001e4), [`8a37bdd`](https://github.com/mastra-ai/mastra/commit/8a37bddb6d8614a32c5b70303d583d80c620ea61)]:
20
+ - @mastra/react@0.0.6-alpha.1
21
+ - @mastra/core@0.21.0-alpha.1
22
+ - @mastra/client-js@0.16.0-alpha.1
23
+
24
+ ## 6.5.0-alpha.0
25
+
26
+ ### Minor Changes
27
+
28
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
29
+
30
+ ### Patch Changes
31
+
32
+ - dependencies updates: ([#8685](https://github.com/mastra-ai/mastra/pull/8685))
33
+ - Updated dependency [`zod@^4.1.12` ↗︎](https://www.npmjs.com/package/zod/v/4.1.12) (from `^4.1.9`, in `dependencies`)
34
+
35
+ - Prepares some basic set of homemade components ([#8619](https://github.com/mastra-ai/mastra/pull/8619))
36
+
37
+ - Adds reset button to model picker to reset to original model set on the agent. ([#8633](https://github.com/mastra-ai/mastra/pull/8633))
38
+
39
+ - Fix back the tripwire verification inside the new react system ([#8674](https://github.com/mastra-ai/mastra/pull/8674))
40
+
41
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8557](https://github.com/mastra-ai/mastra/pull/8557))
42
+
43
+ - handle error case in react sdk ([#8676](https://github.com/mastra-ai/mastra/pull/8676))
44
+
45
+ - Make sure to convert the agent instructions when showing them ([#8702](https://github.com/mastra-ai/mastra/pull/8702))
46
+
47
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8626](https://github.com/mastra-ai/mastra/pull/8626))
48
+
49
+ - Refactor EntryList component and Scorer and Observability pages ([#8652](https://github.com/mastra-ai/mastra/pull/8652))
50
+
51
+ - fix maxSteps model settings not being passed to generate and stream endpoints ([#8627](https://github.com/mastra-ai/mastra/pull/8627))
52
+
53
+ - Update peer dependencies to match core package version bump (0.21.0) ([#8686](https://github.com/mastra-ai/mastra/pull/8686))
54
+
55
+ - Updated dependencies [[`f920afd`](https://github.com/mastra-ai/mastra/commit/f920afdf8725d14d73f895f51a24bb7c79bb4fba), [`2ddb851`](https://github.com/mastra-ai/mastra/commit/2ddb8519c4b6f1d31be10ffd33b41d2b649a04ff), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`2a90197`](https://github.com/mastra-ai/mastra/commit/2a90197276e8439a1ee8371c10cde4d6a23bddef), [`7b1ef57`](https://github.com/mastra-ai/mastra/commit/7b1ef57fc071c2aa2a2e32905b18cd88719c5a39), [`c3ef11f`](https://github.com/mastra-ai/mastra/commit/c3ef11f76e1931cf8f041e9eccf3b382260da022), [`78cfb6b`](https://github.com/mastra-ai/mastra/commit/78cfb6b66fe88bc848105fccb6459fd75413ec87), [`ee68e82`](https://github.com/mastra-ai/mastra/commit/ee68e8289ea4408d29849e899bc6e78b3bd4e843), [`228228b`](https://github.com/mastra-ai/mastra/commit/228228b0b1de9291cb8887587f5cea1a8757ebad), [`ea33930`](https://github.com/mastra-ai/mastra/commit/ea339301e82d6318257720d811b043014ee44064), [`5f7c6a9`](https://github.com/mastra-ai/mastra/commit/5f7c6a986cd9469279820961f8da0a0321fbbd71), [`b5a66b7`](https://github.com/mastra-ai/mastra/commit/b5a66b748a14fc8b3f63b04642ddb9621fbcc9e0), [`135d6f2`](https://github.com/mastra-ai/mastra/commit/135d6f22a326ed1dffff858700669dff09d2c9eb), [`59d036d`](https://github.com/mastra-ai/mastra/commit/59d036d4c2706b430b0e3f1f1e0ee853ce16ca04)]:
56
+ - @mastra/react@0.0.6-alpha.0
57
+ - @mastra/core@0.21.0-alpha.0
58
+ - @mastra/client-js@0.16.0-alpha.0
59
+
3
60
  ## 6.4.1
4
61
 
5
62
  ### Patch Changes