teodor-new-chat-ui 4.2.7 → 4.3.1
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/context/reducers/MessageReducer.d.ts +9 -1
- package/dist/index.esm.js +4634 -4510
- package/dist/index.umd.js +47 -47
- package/dist/lib/historyUtils.d.ts +1 -0
- package/dist/types/api.d.ts +8 -0
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import type { CheckpointSummary, HistoryPayload, MessagesPayload } from "@/types
|
|
|
2
2
|
export type HistoryHydrationResult = {
|
|
3
3
|
payload: MessagesPayload & {
|
|
4
4
|
nextCursorNs?: string | null;
|
|
5
|
+
pendingInterrupt?: PendingInterrupt;
|
|
5
6
|
};
|
|
6
7
|
checkpoints: CheckpointSummary[];
|
|
7
8
|
interrupt: PendingInterrupt;
|
package/dist/types/api.d.ts
CHANGED
|
@@ -84,6 +84,10 @@ export interface MessagesPayload {
|
|
|
84
84
|
hasMore?: boolean;
|
|
85
85
|
nextCursor?: string | null;
|
|
86
86
|
nextCursorNs?: string | null;
|
|
87
|
+
pendingInterrupt?: {
|
|
88
|
+
id: string;
|
|
89
|
+
value: any;
|
|
90
|
+
} | null;
|
|
87
91
|
}
|
|
88
92
|
export interface StatePayload {
|
|
89
93
|
threadId: string;
|
|
@@ -304,6 +308,10 @@ export interface ThreadSnapshot {
|
|
|
304
308
|
hasMore?: boolean;
|
|
305
309
|
nextCursor?: string | null;
|
|
306
310
|
nextCursorNs?: string | null;
|
|
311
|
+
pendingInterrupt?: {
|
|
312
|
+
id: string;
|
|
313
|
+
value: any;
|
|
314
|
+
} | null;
|
|
307
315
|
}
|
|
308
316
|
export interface ThreadStateMetadata {
|
|
309
317
|
branchLabel?: string | null;
|
package/package.json
CHANGED