@adminforth/agent 3.5.3 → 3.5.4

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.
@@ -17,7 +17,7 @@ export type AgentRuntimeOptions = {
17
17
  export declare class AgentRuntime {
18
18
  private readonly options;
19
19
  constructor(options: AgentRuntimeOptions);
20
- stream(input: AgentRuntimeRunInput): Promise<AsyncGenerator<["messages", [import("langchain").BaseMessage<import("@langchain/core/messages").MessageStructure<import("@langchain/core/messages").MessageToolSet>, import("@langchain/core/messages").MessageType>, Record<string, any>]] | ["updates", Record<string, Omit<import("langchain").BuiltInState<import("@langchain/core/messages").MessageStructure<import("langchain").ToolsToMessageToolSet<readonly (import("@langchain/core/tools").ClientTool | import("@langchain/core/tools").ServerTool)[] | readonly (import("@langchain/core/tools").ClientTool | import("@langchain/core/tools").ServerTool | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
20
+ stream(input: AgentRuntimeRunInput): Promise<AsyncGenerator<["updates", Record<string, Omit<import("langchain").BuiltInState<import("@langchain/core/messages").MessageStructure<import("langchain").ToolsToMessageToolSet<readonly (import("@langchain/core/tools").ClientTool | import("@langchain/core/tools").ServerTool)[] | readonly (import("@langchain/core/tools").ClientTool | import("@langchain/core/tools").ServerTool | import("langchain").DynamicStructuredTool<import("zod").ZodObject<{
21
21
  imageIds: import("zod").ZodArray<import("zod").ZodString>;
22
22
  keepImageIds: import("zod").ZodArray<import("zod").ZodString>;
23
23
  }, import("zod/v4/core").$strip>, {
@@ -26,7 +26,7 @@ export declare class AgentRuntime {
26
26
  }, {
27
27
  imageIds: string[];
28
28
  keepImageIds: string[];
29
- }, [string, import("../domain/imageAttachments.js").ViewImageArtifact], unknown, "view_image">)[]>>>, "jumpTo">>], void, any>>;
29
+ }, [string, import("../domain/imageAttachments.js").ViewImageArtifact], unknown, "view_image">)[]>>>, "jumpTo">>] | ["messages", [import("langchain").BaseMessage<import("@langchain/core/messages").MessageStructure<import("@langchain/core/messages").MessageToolSet>, import("@langchain/core/messages").MessageType>, Record<string, any>]], void, any>>;
30
30
  private getThreadState;
31
31
  /**
32
32
  * Read the pending human-in-the-loop interrupts persisted for a thread from the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/agent",
3
- "version": "3.5.3",
3
+ "version": "3.5.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -46,8 +46,8 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@langchain/core": "1.2.20",
49
- "@langchain/langgraph": "1.2.8",
50
- "@langchain/langgraph-checkpoint": "1.0.1",
49
+ "@langchain/langgraph": "1.3.3",
50
+ "@langchain/langgraph-checkpoint": "1.0.4",
51
51
  "@modelcontextprotocol/client": "2.3.1",
52
52
  "langchain": "1.3.3",
53
53
  "multer": "^2.1.1",