@runtypelabs/persona 3.15.0 → 3.16.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.
@@ -767,6 +767,17 @@ type AgentMessageMetadata = {
767
767
  iteration?: number;
768
768
  turnId?: string;
769
769
  agentName?: string;
770
+ /**
771
+ * When this message was produced by a step inside a nested flow executed
772
+ * as a tool, identifies the parent tool call id. Enables renderers to
773
+ * visually group or indent nested-flow output under its parent tool.
774
+ */
775
+ parentToolId?: string;
776
+ /**
777
+ * Nested flow step id that produced this message (e.g. a `send-stream`
778
+ * or `prompt` step inside the nested flow). Stable key for that step.
779
+ */
780
+ parentStepId?: string;
770
781
  };
771
782
  type AgentWidgetRequestMiddlewareContext = {
772
783
  payload: AgentWidgetRequestPayload;
@@ -767,6 +767,17 @@ type AgentMessageMetadata = {
767
767
  iteration?: number;
768
768
  turnId?: string;
769
769
  agentName?: string;
770
+ /**
771
+ * When this message was produced by a step inside a nested flow executed
772
+ * as a tool, identifies the parent tool call id. Enables renderers to
773
+ * visually group or indent nested-flow output under its parent tool.
774
+ */
775
+ parentToolId?: string;
776
+ /**
777
+ * Nested flow step id that produced this message (e.g. a `send-stream`
778
+ * or `prompt` step inside the nested flow). Stable key for that step.
779
+ */
780
+ parentStepId?: string;
770
781
  };
771
782
  type AgentWidgetRequestMiddlewareContext = {
772
783
  payload: AgentWidgetRequestPayload;