@librechat/agents 1.6.9 → 1.7.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.
@@ -36,10 +36,16 @@ export type ToolCallContent = {
36
36
  type: ContentTypes.TOOL_CALL;
37
37
  tool_call: ToolCall;
38
38
  };
39
+ export type CodeEnvFile = {
40
+ id: string;
41
+ name: string;
42
+ session_id: string;
43
+ };
39
44
  export type CodeExecutionToolParams = undefined | {
40
45
  session_id?: string;
41
46
  user_id?: string;
42
47
  apiKey?: string;
48
+ files?: CodeEnvFile[];
43
49
  [EnvVar.CODE_API_KEY]?: string;
44
50
  };
45
51
  export type FileRef = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@librechat/agents",
3
- "version": "1.6.9",
3
+ "version": "1.7.0",
4
4
  "main": "./dist/cjs/main.cjs",
5
5
  "module": "./dist/esm/main.mjs",
6
6
  "types": "./dist/types/index.d.ts",
@@ -46,10 +46,17 @@ export type ToolCallContent = {
46
46
  tool_call: ToolCall;
47
47
  };
48
48
 
49
+ export type CodeEnvFile = {
50
+ id: string;
51
+ name: string;
52
+ session_id: string;
53
+ };
54
+
49
55
  export type CodeExecutionToolParams = undefined | {
50
56
  session_id?: string;
51
57
  user_id?: string;
52
58
  apiKey?: string;
59
+ files?: CodeEnvFile[];
53
60
  [EnvVar.CODE_API_KEY]?: string;
54
61
  }
55
62