@mastra/playground-ui 6.1.3-alpha.0 → 6.1.3-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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @mastra/playground-ui
2
2
 
3
+ ## 6.1.3-alpha.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Client SDK Agents, Mastra server - support runtimeContext with GET requests ([#7734](https://github.com/mastra-ai/mastra/pull/7734))
8
+
9
+ - 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)]:
10
+ - @mastra/client-js@0.12.3-alpha.1
11
+ - @mastra/core@0.16.3-alpha.1
12
+
3
13
  ## 6.1.3-alpha.0
4
14
 
5
15
  ### 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 {