@ag-ui/langgraph 0.0.38 → 0.0.39
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.mts +2 -2
- package/dist/index.d.ts +4 -4
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -180,12 +180,12 @@ declare class LangGraphAgent extends AbstractAgent {
|
|
|
180
180
|
run(input: RunAgentInput): Observable<ProcessedEvents>;
|
|
181
181
|
runAgentStream(input: RunAgentExtendedInput, subscriber: Subscriber<ProcessedEvents>): Promise<void>;
|
|
182
182
|
prepareRegenerateStream(input: RegenerateInput, streamMode: StreamMode | StreamMode[]): Promise<void | {
|
|
183
|
-
streamResponse: _langchain_langgraph_sdk_dist_types_stream0.TypedAsyncGenerator<"
|
|
183
|
+
streamResponse: _langchain_langgraph_sdk_dist_types_stream0.TypedAsyncGenerator<"messages" | "tools" | "values" | "updates" | "events" | "debug" | "tasks" | "checkpoints" | "custom" | "messages-tuple" | StreamMode[], false, _langchain_langgraph_sdk0.DefaultValues, _langchain_langgraph_sdk0.DefaultValues, unknown>;
|
|
184
184
|
state: ThreadState<State>;
|
|
185
185
|
streamMode: StreamMode | StreamMode[];
|
|
186
186
|
}>;
|
|
187
187
|
prepareStream(input: RunAgentExtendedInput, streamMode: StreamMode | StreamMode[]): Promise<void | {
|
|
188
|
-
streamResponse: _langchain_langgraph_sdk_dist_types_stream0.TypedAsyncGenerator<"
|
|
188
|
+
streamResponse: _langchain_langgraph_sdk_dist_types_stream0.TypedAsyncGenerator<"messages" | "tools" | "values" | "updates" | "events" | "debug" | "tasks" | "checkpoints" | "custom" | "messages-tuple" | StreamMode[], false, _langchain_langgraph_sdk0.DefaultValues, _langchain_langgraph_sdk0.DefaultValues, unknown>;
|
|
189
189
|
state: ThreadState<State>;
|
|
190
190
|
streamMode: StreamMode | StreamMode[];
|
|
191
191
|
} | {
|
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { Observable, Subscriber } from "rxjs";
|
|
|
6
6
|
import { MessageType } from "@langchain/core/messages";
|
|
7
7
|
import { RunAgentInput as RunAgentInput$1 } from "@ag-ui/core";
|
|
8
8
|
import { RunsStreamPayload } from "@langchain/langgraph-sdk/dist/types";
|
|
9
|
-
import * as
|
|
9
|
+
import * as _langchain_core_tools1 from "@langchain/core/tools";
|
|
10
10
|
import { A2UIAttemptRecord, A2UIRecoveryConfig, A2UIValidationCatalog, A2UI_OPERATIONS_KEY, BASIC_CATALOG_ID } from "@ag-ui/a2ui-toolkit";
|
|
11
11
|
|
|
12
12
|
//#region src/types.d.ts
|
|
@@ -180,12 +180,12 @@ declare class LangGraphAgent extends AbstractAgent {
|
|
|
180
180
|
run(input: RunAgentInput): Observable<ProcessedEvents>;
|
|
181
181
|
runAgentStream(input: RunAgentExtendedInput, subscriber: Subscriber<ProcessedEvents>): Promise<void>;
|
|
182
182
|
prepareRegenerateStream(input: RegenerateInput, streamMode: StreamMode | StreamMode[]): Promise<void | {
|
|
183
|
-
streamResponse: _langchain_langgraph_sdk_dist_types_stream0.TypedAsyncGenerator<"
|
|
183
|
+
streamResponse: _langchain_langgraph_sdk_dist_types_stream0.TypedAsyncGenerator<"messages" | "tools" | "values" | "updates" | "events" | "debug" | "tasks" | "checkpoints" | "custom" | "messages-tuple" | StreamMode[], false, _langchain_langgraph_sdk0.DefaultValues, _langchain_langgraph_sdk0.DefaultValues, unknown>;
|
|
184
184
|
state: ThreadState<State>;
|
|
185
185
|
streamMode: StreamMode | StreamMode[];
|
|
186
186
|
}>;
|
|
187
187
|
prepareStream(input: RunAgentExtendedInput, streamMode: StreamMode | StreamMode[]): Promise<void | {
|
|
188
|
-
streamResponse: _langchain_langgraph_sdk_dist_types_stream0.TypedAsyncGenerator<"
|
|
188
|
+
streamResponse: _langchain_langgraph_sdk_dist_types_stream0.TypedAsyncGenerator<"messages" | "tools" | "values" | "updates" | "events" | "debug" | "tasks" | "checkpoints" | "custom" | "messages-tuple" | StreamMode[], false, _langchain_langgraph_sdk0.DefaultValues, _langchain_langgraph_sdk0.DefaultValues, unknown>;
|
|
189
189
|
state: ThreadState<State>;
|
|
190
190
|
streamMode: StreamMode | StreamMode[];
|
|
191
191
|
} | {
|
|
@@ -294,7 +294,7 @@ interface GenerateA2UIArgs {
|
|
|
294
294
|
* Using the same provider/model as the main agent is fine.
|
|
295
295
|
* @param options Optional behavior overrides.
|
|
296
296
|
*/
|
|
297
|
-
declare function getA2UITools(model: A2UISubagentModel, options?: A2UISubagentToolOptions):
|
|
297
|
+
declare function getA2UITools(model: A2UISubagentModel, options?: A2UISubagentToolOptions): _langchain_core_tools1.DynamicStructuredTool<any, GenerateA2UIArgs, unknown, string, unknown, string>;
|
|
298
298
|
//#endregion
|
|
299
299
|
//#region src/index.d.ts
|
|
300
300
|
declare class LangGraphHttpAgent extends HttpAgent {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ag-ui/langgraph",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.39",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/ag-ui-protocol/ag-ui.git"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"langchain": ">=1.2.0",
|
|
24
24
|
"partial-json": "^0.1.7",
|
|
25
25
|
"rxjs": "7.8.1",
|
|
26
|
-
"@ag-ui/a2ui-toolkit": "0.0.
|
|
26
|
+
"@ag-ui/a2ui-toolkit": "0.0.2"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"@ag-ui/core": ">=0.0.42",
|