@runtypelabs/persona 3.15.1 → 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.
package/dist/index.d.cts CHANGED
@@ -818,6 +818,17 @@ type AgentMessageMetadata = {
818
818
  iteration?: number;
819
819
  turnId?: string;
820
820
  agentName?: string;
821
+ /**
822
+ * When this message was produced by a step inside a nested flow executed
823
+ * as a tool, identifies the parent tool call id. Enables renderers to
824
+ * visually group or indent nested-flow output under its parent tool.
825
+ */
826
+ parentToolId?: string;
827
+ /**
828
+ * Nested flow step id that produced this message (e.g. a `send-stream`
829
+ * or `prompt` step inside the nested flow). Stable key for that step.
830
+ */
831
+ parentStepId?: string;
821
832
  };
822
833
  type AgentWidgetRequestMiddlewareContext = {
823
834
  payload: AgentWidgetRequestPayload;
package/dist/index.d.ts CHANGED
@@ -818,6 +818,17 @@ type AgentMessageMetadata = {
818
818
  iteration?: number;
819
819
  turnId?: string;
820
820
  agentName?: string;
821
+ /**
822
+ * When this message was produced by a step inside a nested flow executed
823
+ * as a tool, identifies the parent tool call id. Enables renderers to
824
+ * visually group or indent nested-flow output under its parent tool.
825
+ */
826
+ parentToolId?: string;
827
+ /**
828
+ * Nested flow step id that produced this message (e.g. a `send-stream`
829
+ * or `prompt` step inside the nested flow). Stable key for that step.
830
+ */
831
+ parentStepId?: string;
821
832
  };
822
833
  type AgentWidgetRequestMiddlewareContext = {
823
834
  payload: AgentWidgetRequestPayload;