teodor-new-chat-ui 4.0.12 → 4.0.13
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/ChatProviders.d.ts +4 -4
- package/dist/index.esm.js +2544 -2543
- package/dist/index.umd.js +30 -30
- package/dist/types/api.d.ts +2 -2
- package/package.json +1 -1
- package/dist/context/ApiProvider.d.ts +0 -2
- package/dist/context/MessagesProvider.d.ts +0 -2
- package/dist/context/StreamProvider.d.ts +0 -2
- package/dist/context/ThreadProvider.d.ts +0 -2
package/dist/types/api.d.ts
CHANGED
|
@@ -264,6 +264,7 @@ export interface MessagesContextValue {
|
|
|
264
264
|
limit?: number;
|
|
265
265
|
}) => Promise<void>;
|
|
266
266
|
clearMessages: () => void;
|
|
267
|
+
handleInterrupt: (interruptId: string, approved: boolean, value?: unknown) => Promise<void>;
|
|
267
268
|
}
|
|
268
269
|
export interface ThreadContextValue {
|
|
269
270
|
threads: ThreadSummary[];
|
|
@@ -280,7 +281,6 @@ export interface ThreadContextValue {
|
|
|
280
281
|
listCheckpoints: (threadId: string) => Promise<CheckpointList>;
|
|
281
282
|
navigateToCheckpoint: (checkpointId: string, checkpointNs?: string | null) => Promise<void>;
|
|
282
283
|
returnToLatest: () => Promise<void>;
|
|
283
|
-
handleInterrupt: (interruptId: string, approved: boolean, value?: unknown) => Promise<void>;
|
|
284
284
|
}
|
|
285
285
|
export interface SendOptions {
|
|
286
286
|
checkpointId?: string;
|
|
@@ -314,6 +314,7 @@ export interface MessagesContextValue {
|
|
|
314
314
|
limit?: number;
|
|
315
315
|
}) => Promise<void>;
|
|
316
316
|
clearMessages: () => void;
|
|
317
|
+
handleInterrupt: (interruptId: string, approved: boolean, value?: unknown) => Promise<void>;
|
|
317
318
|
}
|
|
318
319
|
export interface ThreadContextValue {
|
|
319
320
|
threads: ThreadSummary[];
|
|
@@ -330,7 +331,6 @@ export interface ThreadContextValue {
|
|
|
330
331
|
listCheckpoints: (threadId: string) => Promise<CheckpointList>;
|
|
331
332
|
navigateToCheckpoint: (checkpointId: string, checkpointNs?: string | null) => Promise<void>;
|
|
332
333
|
returnToLatest: () => Promise<void>;
|
|
333
|
-
handleInterrupt: (interruptId: string, approved: boolean, value?: unknown) => Promise<void>;
|
|
334
334
|
}
|
|
335
335
|
export type StreamAction = {
|
|
336
336
|
type: 'STREAM_START';
|
package/package.json
CHANGED