@librechat/agents 3.1.36 → 3.1.37
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/cjs/graphs/Graph.cjs +37 -28
- package/dist/cjs/graphs/Graph.cjs.map +1 -1
- package/dist/cjs/tools/ToolNode.cjs +90 -14
- package/dist/cjs/tools/ToolNode.cjs.map +1 -1
- package/dist/esm/graphs/Graph.mjs +37 -28
- package/dist/esm/graphs/Graph.mjs.map +1 -1
- package/dist/esm/tools/ToolNode.mjs +90 -14
- package/dist/esm/tools/ToolNode.mjs.map +1 -1
- package/dist/types/tools/ToolNode.d.ts +10 -0
- package/dist/types/types/tools.d.ts +6 -1
- package/package.json +1 -1
- package/src/graphs/Graph.ts +40 -35
- package/src/tools/ToolNode.ts +120 -14
- package/src/types/tools.ts +6 -1
package/src/types/tools.ts
CHANGED
|
@@ -153,6 +153,11 @@ export type ToolCallRequest = {
|
|
|
153
153
|
stepId?: string;
|
|
154
154
|
/** Usage turn count for this tool */
|
|
155
155
|
turn?: number;
|
|
156
|
+
/** Code execution session context for session continuity in event-driven mode */
|
|
157
|
+
codeSessionContext?: {
|
|
158
|
+
session_id: string;
|
|
159
|
+
files?: CodeEnvFile[];
|
|
160
|
+
};
|
|
156
161
|
};
|
|
157
162
|
|
|
158
163
|
/** Batch request containing ALL tool calls for a graph step */
|
|
@@ -335,7 +340,7 @@ export type CodeSessionContext = {
|
|
|
335
340
|
/** Session ID from the code execution environment */
|
|
336
341
|
session_id: string;
|
|
337
342
|
/** Files generated in this session (for context/tracking) */
|
|
338
|
-
files
|
|
343
|
+
files?: FileRefs;
|
|
339
344
|
/** Timestamp of last update */
|
|
340
345
|
lastUpdated: number;
|
|
341
346
|
};
|