@librechat/agents-types 3.0.16 → 3.0.18

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 (2) hide show
  1. package/package.json +1 -1
  2. package/stream.ts +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@librechat/agents-types",
3
- "version": "3.0.16",
3
+ "version": "3.0.18",
4
4
  "description": "Type definitions for @librechat/agents",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {
package/stream.ts CHANGED
@@ -65,6 +65,7 @@ export type RunStep = {
65
65
  // last_error: string | null;
66
66
  id: string; // #new
67
67
  runId?: string; // #new
68
+ agentId?: string; // #new - tracks which agent this step belongs to
68
69
  index: number; // #new
69
70
  stepIndex?: number; // #new
70
71
  stepDetails: StepDetails;
@@ -281,7 +282,7 @@ export type ToolCallPart = {
281
282
  /** Type ("tool_call") according to Assistants Tool Call Structure */
282
283
  type: ContentTypes.TOOL_CALL;
283
284
  /** The name of the tool to be called */
284
- name: string;
285
+ name?: string;
285
286
  /** The arguments to the tool call */
286
287
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
287
288
  args?: string | Record<string, any>;