@uptiqai/widgets-sdk 1.152.0 → 1.154.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.
package/dist/index.d.ts CHANGED
@@ -378,6 +378,7 @@ export declare type SdkTool = {
378
378
  inputs: Record<string, any>;
379
379
  intent?: string;
380
380
  name: string;
381
+ displayName?: string;
381
382
  startTime: Date;
382
383
  endTime?: Date;
383
384
  result?: any;
@@ -403,6 +404,7 @@ declare type ToolCallElement = ConversationElement & {
403
404
  type: ConversationElementType.TOOL_CALL;
404
405
  skillId: string;
405
406
  toolName: string;
407
+ displayName?: string;
406
408
  intent?: string;
407
409
  inputs: Record<string, any>;
408
410
  status: 'pending' | 'executing' | 'completed' | 'failed';
@@ -417,6 +419,7 @@ declare type ToolResultElement = ConversationElement & {
417
419
  success: boolean;
418
420
  error?: string;
419
421
  duration?: number;
422
+ metadata?: Record<string, unknown>;
420
423
  widget?: ToolWidgetMetaData;
421
424
  };
422
425