@smart-cloud/ai-kit-ui 1.5.35 → 1.5.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.
@@ -10,6 +10,7 @@ export type ChatActivity = {
10
10
  categoryCount?: number;
11
11
  subcategoryCount?: number;
12
12
  tagCount?: number;
13
+ documentCount?: number;
13
14
  resultCount?: number;
14
15
  urls?: string[];
15
16
  status: "running" | "completed" | "failed";
@@ -83,6 +84,8 @@ export declare function isToolActivity(activity: ChatActivity): boolean;
83
84
  * The full activity list stays intact for persistence, diagnostics and replay.
84
85
  */
85
86
  export declare function visibleProgressActivities(activities: readonly ChatActivity[]): ChatActivity[];
87
+ /** Completed history must not leave a busy turn without a current status caption. */
88
+ export declare function needsProgressFallback(activities: readonly ChatActivity[], busy: boolean): boolean;
86
89
  /** An unnamed successful internal operation is not useful visitor-facing history. */
87
90
  export declare function isSummaryActivity(activity: ChatActivity): boolean;
88
91
  export declare function summarizeChatActivities(activities: ChatActivity[]): {