@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.
- package/README.md +14 -0
- package/dist/durable/index.cjs +477 -316
- package/dist/durable/index.cjs.map +1 -1
- package/dist/durable/index.d.cts +7 -0
- package/dist/durable/index.d.ts +7 -0
- package/dist/durable/index.js +386 -225
- package/dist/durable/index.js.map +1 -1
- package/dist/index.cjs +468 -317
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +34 -2
- package/dist/index.d.ts +34 -2
- package/dist/index.js +367 -217
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/durable/index.d.cts
CHANGED
|
@@ -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` /
|
package/dist/durable/index.d.ts
CHANGED
|
@@ -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` /
|