teodor-new-chat-ui 3.0.85 → 3.0.87

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.
@@ -38,6 +38,7 @@ export interface ChatMessage {
38
38
  model?: string;
39
39
  createdAt?: string;
40
40
  checkpointId?: string;
41
+ checkpointNs?: string;
41
42
  }
42
43
  export interface ChatRequest {
43
44
  threadId: string;
@@ -77,12 +78,14 @@ export type StreamEvent = {
77
78
  } | {
78
79
  type: "checkpoint";
79
80
  checkpointId: string;
81
+ checkpointNs?: string | null;
80
82
  } | {
81
83
  type: "branch";
82
84
  threadId: string;
83
85
  parentThreadId?: string | null;
84
86
  parentCheckpointId?: string | null;
85
87
  checkpointId?: string | null;
88
+ checkpointNs?: string | null;
86
89
  editedMessageId?: string | null;
87
90
  branchLabel?: string | null;
88
91
  } | {
@@ -113,6 +116,8 @@ export interface CheckpointSummary {
113
116
  parentId?: string | null;
114
117
  editedMessageId?: string | null;
115
118
  branchLabel?: string | null;
119
+ lastMessageId?: string | null;
120
+ hasMessages?: boolean;
116
121
  }
117
122
  export interface CheckpointList {
118
123
  threadId: string;
@@ -121,6 +126,7 @@ export interface CheckpointList {
121
126
  export interface MessagesPayload {
122
127
  threadId: string;
123
128
  checkpointId?: string;
129
+ checkpointNs?: string;
124
130
  messages: ChatMessage[];
125
131
  hasMore?: boolean;
126
132
  nextCursor?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teodor-new-chat-ui",
3
- "version": "3.0.85",
3
+ "version": "3.0.87",
4
4
  "description": "React chat UI components with streaming support, tool calls, and modern design",
5
5
  "main": "dist/index.umd.js",
6
6
  "module": "dist/index.esm.js",