@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.
@@ -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: FileRefs;
343
+ files?: FileRefs;
339
344
  /** Timestamp of last update */
340
345
  lastUpdated: number;
341
346
  };