@mastra/playground-ui 5.1.6-alpha.5 → 5.1.7-alpha.0

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/dist/index.cjs.js CHANGED
@@ -9775,7 +9775,7 @@ function WorkflowTrigger({
9775
9775
  const { sanitizedOutput, ...restResult } = result || {};
9776
9776
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "h-full pt-3 pb-12", children: [
9777
9777
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4 px-5 pb-5 border-b-sm border-border1", children: [
9778
- isResumingWorkflow && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "py-2 px-5 flex items-center gap-2 bg-surface5 -mx-5 -mt-5 border-b-sm border-border1", children: [
9778
+ (isResumingWorkflow || isSuspendedSteps && isWatchingWorkflow) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "py-2 px-5 flex items-center gap-2 bg-surface5 -mx-5 -mt-5 border-b-sm border-border1", children: [
9779
9779
  /* @__PURE__ */ jsxRuntime.jsx(Icon, { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "animate-spin text-icon6" }) }),
9780
9780
  /* @__PURE__ */ jsxRuntime.jsx(Txt, { children: "Resuming workflow" })
9781
9781
  ] }),
@@ -9874,7 +9874,15 @@ const WorkflowResultFinishedStep = ({ stepResult, stepDefinition }) => {
9874
9874
  /* @__PURE__ */ jsxRuntime.jsx(Icon, { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Footprints, { className: "text-icon3" }) }),
9875
9875
  /* @__PURE__ */ jsxRuntime.jsx(Txt, { variant: "ui-sm", className: "text-icon3", children: stepDefinition.description || stepDefinition.id })
9876
9876
  ] }),
9877
- /* @__PURE__ */ jsxRuntime.jsx(DynamicForm, { schema: zodObjectSchema, defaultValues: stepResult, readOnly: true })
9877
+ /* @__PURE__ */ jsxRuntime.jsx(
9878
+ DynamicForm,
9879
+ {
9880
+ schema: zodObjectSchema,
9881
+ defaultValues: stepResult,
9882
+ readOnly: true
9883
+ },
9884
+ JSON.stringify(stepResult)
9885
+ )
9878
9886
  ] });
9879
9887
  } catch (err) {
9880
9888
  console.error("Error parsing output schema", err);