teodor-new-chat-ui 4.3.254 → 4.3.256

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.
@@ -50,6 +50,8 @@ export interface MessageListProps {
50
50
  activeCheckpointId?: string | null;
51
51
  onSelectCheckpoint?: (checkpointId: string | null) => Promise<void> | void;
52
52
  timelineCheckpoints?: TimelineCheckpoint[];
53
+ /** If true, creates a synthetic thinking message when isStreaming=true and no assistant message exists */
54
+ createSyntheticThinkingMessage?: boolean;
53
55
  }
54
56
  export interface MessageListHandle {
55
57
  scrollToLatest: () => void;
@@ -27,7 +27,7 @@
27
27
  *
28
28
  * RESULT: Much easier to debug, faster development, no stale cache issues
29
29
  */
30
- import type { ChatMessage, HydratedCheckpointSnapshot, PendingInterrupt, StreamContextValue, ThreadSummary } from '@/types/api';
30
+ import type { ChatMessage, HydratedCheckpointSnapshot, PendingInterrupt, StreamContextValue, ThreadSummary, TimelineCheckpoint } from '@/types/api';
31
31
  import { type ReactNode } from 'react';
32
32
  import { CheckpointMetadataCache } from '../hooks/useCheckpointMetadataCache';
33
33
  interface ThreadsContextValue {
@@ -52,6 +52,7 @@ interface ThreadStateContextValue {
52
52
  namespace: string | null;
53
53
  };
54
54
  checkpoints: HydratedCheckpointSnapshot[];
55
+ timelineCheckpoints: TimelineCheckpoint[];
55
56
  metadata: any;
56
57
  isLoading: boolean;
57
58
  isHistoryLoading: boolean;