@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.es.js CHANGED
@@ -9743,7 +9743,7 @@ function WorkflowTrigger({
9743
9743
  const { sanitizedOutput, ...restResult } = result || {};
9744
9744
  return /* @__PURE__ */ jsxs("div", { className: "h-full pt-3 pb-12", children: [
9745
9745
  /* @__PURE__ */ jsxs("div", { className: "space-y-4 px-5 pb-5 border-b-sm border-border1", children: [
9746
- isResumingWorkflow && /* @__PURE__ */ jsxs("div", { className: "py-2 px-5 flex items-center gap-2 bg-surface5 -mx-5 -mt-5 border-b-sm border-border1", children: [
9746
+ (isResumingWorkflow || isSuspendedSteps && isWatchingWorkflow) && /* @__PURE__ */ jsxs("div", { className: "py-2 px-5 flex items-center gap-2 bg-surface5 -mx-5 -mt-5 border-b-sm border-border1", children: [
9747
9747
  /* @__PURE__ */ jsx(Icon, { children: /* @__PURE__ */ jsx(Loader2, { className: "animate-spin text-icon6" }) }),
9748
9748
  /* @__PURE__ */ jsx(Txt, { children: "Resuming workflow" })
9749
9749
  ] }),
@@ -9842,7 +9842,15 @@ const WorkflowResultFinishedStep = ({ stepResult, stepDefinition }) => {
9842
9842
  /* @__PURE__ */ jsx(Icon, { children: /* @__PURE__ */ jsx(Footprints, { className: "text-icon3" }) }),
9843
9843
  /* @__PURE__ */ jsx(Txt, { variant: "ui-sm", className: "text-icon3", children: stepDefinition.description || stepDefinition.id })
9844
9844
  ] }),
9845
- /* @__PURE__ */ jsx(DynamicForm, { schema: zodObjectSchema, defaultValues: stepResult, readOnly: true })
9845
+ /* @__PURE__ */ jsx(
9846
+ DynamicForm,
9847
+ {
9848
+ schema: zodObjectSchema,
9849
+ defaultValues: stepResult,
9850
+ readOnly: true
9851
+ },
9852
+ JSON.stringify(stepResult)
9853
+ )
9846
9854
  ] });
9847
9855
  } catch (err) {
9848
9856
  console.error("Error parsing output schema", err);