@mastra/playground-ui 7.0.0-beta.20 → 7.0.0-beta.21

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,20 @@
1
1
  # @mastra/playground-ui
2
2
 
3
+ ## 7.0.0-beta.21
4
+
5
+ ### Patch Changes
6
+
7
+ - Replace deprecated client.getTraces with a client.listTraces ([#11711](https://github.com/mastra-ai/mastra/pull/11711))
8
+
9
+ - Make initialState optional in studio ([#11744](https://github.com/mastra-ai/mastra/pull/11744))
10
+
11
+ - Updated dependencies [[`08766f1`](https://github.com/mastra-ai/mastra/commit/08766f15e13ac0692fde2a8bd366c2e16e4321df), [`ae8baf7`](https://github.com/mastra-ai/mastra/commit/ae8baf7d8adcb0ff9dac11880400452bc49b33ff), [`cfabdd4`](https://github.com/mastra-ai/mastra/commit/cfabdd4aae7a726b706942d6836eeca110fb6267), [`3bf08bf`](https://github.com/mastra-ai/mastra/commit/3bf08bf9c7c73818ac937b5a69d90e205653115f), [`a0e437f`](https://github.com/mastra-ai/mastra/commit/a0e437fac561b28ee719e0302d72b2f9b4c138f0), [`bec5efd`](https://github.com/mastra-ai/mastra/commit/bec5efde96653ccae6604e68c696d1bc6c1a0bf5), [`9eedf7d`](https://github.com/mastra-ai/mastra/commit/9eedf7de1d6e0022a2f4e5e9e6fe1ec468f9b43c)]:
12
+ - @mastra/core@1.0.0-beta.21
13
+ - @mastra/schema-compat@1.0.0-beta.6
14
+ - @mastra/ai-sdk@1.0.0-beta.14
15
+ - @mastra/client-js@1.0.0-beta.21
16
+ - @mastra/react@0.1.0-beta.21
17
+
3
18
  ## 7.0.0-beta.20
4
19
 
5
20
  ### Patch Changes
package/dist/index.cjs.js CHANGED
@@ -8855,7 +8855,7 @@ function WorkflowTrigger({
8855
8855
  const zodStateSchema = stateSchema ? resolveSerializedZodOutput(jsonToZod.jsonSchemaToZod(superjson.parse(stateSchema))) : null;
8856
8856
  const zodSchemaToUse = zodStateSchema ? z.z.object({
8857
8857
  inputData: zodInputSchema,
8858
- initialState: zodStateSchema
8858
+ initialState: zodStateSchema.optional()
8859
8859
  }) : zodInputSchema;
8860
8860
  const workflowActivePaths = streamResultToUse?.steps ?? {};
8861
8861
  const hasWorkflowActivePaths = Object.values(workflowActivePaths).length > 0;