@librechat/agents-types 1.5.8 → 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.
Files changed (3) hide show
  1. package/graph.ts +1 -1
  2. package/package.json +1 -1
  3. package/stream.ts +1 -0
package/graph.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  import type { StateGraphArgs, StateGraph, CompiledStateGraph } from '@langchain/langgraph';
3
3
  import type { BaseMessage, AIMessageChunk } from '@langchain/core/messages';
4
4
  import type { ChatGenerationChunk } from '@langchain/core/outputs';
5
+ import type { RunnableConfig } from '@langchain/core/runnables';
5
6
  import type { Graph } from '@/graphs';
6
- import { RunnableConfig } from '@langchain/core/runnables';
7
7
  // import type { RunnableConfig } from '@langchain/core/runnables';
8
8
 
9
9
  export type BaseGraphState = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@librechat/agents-types",
3
- "version": "1.5.8",
3
+ "version": "1.6.0",
4
4
  "description": "Type definitions for @librechat/agents",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {
package/stream.ts CHANGED
@@ -91,6 +91,7 @@ export type MessageCreationDetails = {
91
91
  };
92
92
 
93
93
  export type ToolEndData = { input: string | Record<string, unknown>, output: ToolMessage };
94
+ export type ToolEndCallback = (data: ToolEndData) => void;
94
95
 
95
96
  export type ProcessedToolCall = {
96
97
  name: string;