@dudousxd/nestjs-agent 1.4.0 → 1.6.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.
@@ -83,6 +83,13 @@ interface DispatchedLlmInput extends LlmStepEnvelope {
83
83
  interface DispatchedToolInput extends ToolStepEnvelope {
84
84
  toolCallId: string;
85
85
  toolType: 'read' | 'action';
86
+ /**
87
+ * Where a component the tool pushes (`ctx.emitUi`) streams live — the same routing as
88
+ * {@link DispatchedLlmInput}. Absent on a task enqueued by a workflow that predates it: the
89
+ * components are then still collected and persisted, just not streamed.
90
+ */
91
+ sinkRunId?: string;
92
+ childSink?: boolean;
86
93
  }
87
94
  /**
88
95
  * The two long steps every turn dispatches as routed remote steps (`AgentRunSteps.llm` /
@@ -83,6 +83,13 @@ interface DispatchedLlmInput extends LlmStepEnvelope {
83
83
  interface DispatchedToolInput extends ToolStepEnvelope {
84
84
  toolCallId: string;
85
85
  toolType: 'read' | 'action';
86
+ /**
87
+ * Where a component the tool pushes (`ctx.emitUi`) streams live — the same routing as
88
+ * {@link DispatchedLlmInput}. Absent on a task enqueued by a workflow that predates it: the
89
+ * components are then still collected and persisted, just not streamed.
90
+ */
91
+ sinkRunId?: string;
92
+ childSink?: boolean;
86
93
  }
87
94
  /**
88
95
  * The two long steps every turn dispatches as routed remote steps (`AgentRunSteps.llm` /