@mastra/playground-ui 6.1.3-alpha.0 → 6.1.3
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 +24 -0
- package/dist/index.cjs.js +4 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 6.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- AN packages ([#7711](https://github.com/mastra-ai/mastra/pull/7711))
|
|
8
|
+
|
|
9
|
+
- Client SDK Agents, Mastra server - support runtimeContext with GET requests ([#7734](https://github.com/mastra-ai/mastra/pull/7734))
|
|
10
|
+
|
|
11
|
+
- fix playground UI issue about dynmic workflow exec in agent thread ([#7665](https://github.com/mastra-ai/mastra/pull/7665))
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`b4379f7`](https://github.com/mastra-ai/mastra/commit/b4379f703fd74474f253420e8c3a684f2c4b2f8e), [`2a6585f`](https://github.com/mastra-ai/mastra/commit/2a6585f7cb71f023f805d521d1c3c95fb9a3aa59), [`3d26e83`](https://github.com/mastra-ai/mastra/commit/3d26e8353a945719028f087cc6ac4b06f0ce27d2), [`dd9119b`](https://github.com/mastra-ai/mastra/commit/dd9119b175a8f389082f75c12750e51f96d65dca), [`d34aaa1`](https://github.com/mastra-ai/mastra/commit/d34aaa1da5d3c5f991740f59e2fe6d28d3e2dd91), [`56e55d1`](https://github.com/mastra-ai/mastra/commit/56e55d1e9eb63e7d9e41aa46e012aae471256812), [`ce1e580`](https://github.com/mastra-ai/mastra/commit/ce1e580f6391e94a0c6816a9c5db0a21566a262f), [`b2babfa`](https://github.com/mastra-ai/mastra/commit/b2babfa9e75b22f2759179e71d8473f6dc5421ed), [`d8c3ba5`](https://github.com/mastra-ai/mastra/commit/d8c3ba516f4173282d293f7e64769cfc8738d360), [`a566c4e`](https://github.com/mastra-ai/mastra/commit/a566c4e92d86c1671707c54359b1d33934f7cc13), [`0666082`](https://github.com/mastra-ai/mastra/commit/06660820230dcb1fa7c1d51c8254107afd68cd67), [`af333aa`](https://github.com/mastra-ai/mastra/commit/af333aa30fe6d1b127024b03a64736c46eddeca2), [`4c81b65`](https://github.com/mastra-ai/mastra/commit/4c81b65a28d128560bdf63bc9b8a1bddd4884812), [`3863c52`](https://github.com/mastra-ai/mastra/commit/3863c52d44b4e5779968b802d977e87adf939d8e), [`6424c7e`](https://github.com/mastra-ai/mastra/commit/6424c7ec38b6921d66212431db1e0958f441b2a7), [`db94750`](https://github.com/mastra-ai/mastra/commit/db94750a41fd29b43eb1f7ce8e97ba8b9978c91b), [`a66a371`](https://github.com/mastra-ai/mastra/commit/a66a3716b00553d7f01842be9deb34f720b10fab), [`779d469`](https://github.com/mastra-ai/mastra/commit/779d469366bb9f7fcb6d1638fdabb9f3acc49218), [`69fc3cd`](https://github.com/mastra-ai/mastra/commit/69fc3cd0fd814901785bdcf49bf536ab1e7fd975)]:
|
|
14
|
+
- @mastra/core@0.16.3
|
|
15
|
+
- @mastra/client-js@0.12.3
|
|
16
|
+
|
|
17
|
+
## 6.1.3-alpha.1
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Client SDK Agents, Mastra server - support runtimeContext with GET requests ([#7734](https://github.com/mastra-ai/mastra/pull/7734))
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [[`2a6585f`](https://github.com/mastra-ai/mastra/commit/2a6585f7cb71f023f805d521d1c3c95fb9a3aa59), [`3d26e83`](https://github.com/mastra-ai/mastra/commit/3d26e8353a945719028f087cc6ac4b06f0ce27d2), [`56e55d1`](https://github.com/mastra-ai/mastra/commit/56e55d1e9eb63e7d9e41aa46e012aae471256812), [`4c81b65`](https://github.com/mastra-ai/mastra/commit/4c81b65a28d128560bdf63bc9b8a1bddd4884812)]:
|
|
24
|
+
- @mastra/client-js@0.12.3-alpha.1
|
|
25
|
+
- @mastra/core@0.16.3-alpha.1
|
|
26
|
+
|
|
3
27
|
## 6.1.3-alpha.0
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/dist/index.cjs.js
CHANGED
|
@@ -8999,12 +8999,13 @@ const useSpeechRecognition = ({
|
|
|
8999
8999
|
}) => {
|
|
9000
9000
|
const client = useMastraClient();
|
|
9001
9001
|
const [agent, setAgent] = React.useState(null);
|
|
9002
|
+
const { runtimeContext } = usePlaygroundStore();
|
|
9002
9003
|
React.useEffect(() => {
|
|
9003
9004
|
if (!agentId) return;
|
|
9004
9005
|
const agent2 = client.getAgent(agentId);
|
|
9005
9006
|
const check = async () => {
|
|
9006
9007
|
try {
|
|
9007
|
-
await agent2.voice.getSpeakers();
|
|
9008
|
+
await agent2.voice.getSpeakers(runtimeContext);
|
|
9008
9009
|
setAgent(agent2);
|
|
9009
9010
|
} catch (error) {
|
|
9010
9011
|
setAgent(null);
|
|
@@ -9718,11 +9719,12 @@ const useAdapters = (agentId) => {
|
|
|
9718
9719
|
const [isReady, setIsReady] = React.useState(false);
|
|
9719
9720
|
const [speechAdapter, setSpeechAdapter] = React.useState(void 0);
|
|
9720
9721
|
const baseClient = useMastraClient();
|
|
9722
|
+
const { runtimeContext } = usePlaygroundStore();
|
|
9721
9723
|
React.useEffect(() => {
|
|
9722
9724
|
const check = async () => {
|
|
9723
9725
|
const agent = baseClient.getAgent(agentId);
|
|
9724
9726
|
try {
|
|
9725
|
-
await agent.voice.getSpeakers();
|
|
9727
|
+
await agent.voice.getSpeakers(runtimeContext);
|
|
9726
9728
|
setSpeechAdapter(new VoiceAttachmentAdapter(agent));
|
|
9727
9729
|
setIsReady(true);
|
|
9728
9730
|
} catch {
|