teodor-new-chat-ui 4.3.349 → 4.3.351
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/hooks/useChatStreamingService.d.ts +1 -1
- package/dist/hooks/{use-chat.d.ts → use-stream.d.ts} +2 -2
- package/dist/index.esm.js +3727 -3741
- package/dist/index.umd.js +40 -40
- package/dist/lib/attemptDetection.d.ts +0 -5
- package/dist/lib/index.d.ts +1 -1
- package/dist/types/events.d.ts +0 -4
- package/package.json +1 -1
|
@@ -16,11 +16,6 @@ import type { HydratedCheckpointSnapshot } from "@/types/models";
|
|
|
16
16
|
* Returns a map where key is the user message ID, value is array of checkpoints containing it
|
|
17
17
|
*/
|
|
18
18
|
export declare function groupCheckpointsByLastUserMessageId(checkpoints: HydratedCheckpointSnapshot[]): Map<string, HydratedCheckpointSnapshot[]>;
|
|
19
|
-
/**
|
|
20
|
-
* Detects edited user messages by finding user message IDs that appear in multiple checkpoints.
|
|
21
|
-
* Returns a Map where key is user message ID, value is array of checkpoints where it was edited.
|
|
22
|
-
*/
|
|
23
|
-
export declare function detectEditedUserMessages(checkpoints: HydratedCheckpointSnapshot[]): Map<string, HydratedCheckpointSnapshot[]>;
|
|
24
19
|
/**
|
|
25
20
|
* Builds attempt metadata for all checkpoints based on their last user message ID
|
|
26
21
|
* Groups checkpoints that share the same user message ID as "attempts/versions"
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export { ThreadManager } from '../components/chat/ThreadManager';
|
|
|
16
16
|
export { TimelineColumn } from '../components/chat/TimelineColumn';
|
|
17
17
|
export type { TimelineColumnProps } from '../components/chat/TimelineColumn';
|
|
18
18
|
export { useMessagesReducer } from '@/context/reducers/MessageReducer';
|
|
19
|
-
export { useChatStream } from '@/hooks/use-
|
|
19
|
+
export { useStream as useChatStream } from '@/hooks/use-stream';
|
|
20
20
|
export { ChatApi, chatApiClient } from '../api/chat-api';
|
|
21
21
|
export { applySettings, getCurrentSettings, getDefaultApiConfig, getDefaultChatSettings } from "@/config/env";
|
|
22
22
|
export type { ChatConfig } from "@/config/env";
|
package/dist/types/events.d.ts
CHANGED
|
@@ -32,11 +32,7 @@ export type ToolEndEvent = {
|
|
|
32
32
|
} & ToolEventIdentity;
|
|
33
33
|
export type ToolProgressEvent = {
|
|
34
34
|
type: "progress";
|
|
35
|
-
step?: string;
|
|
36
|
-
title?: string;
|
|
37
35
|
content?: string;
|
|
38
|
-
facts_found?: number;
|
|
39
|
-
is_sufficient?: boolean;
|
|
40
36
|
seq?: number;
|
|
41
37
|
};
|
|
42
38
|
export type MessageStreamEvent = {
|
package/package.json
CHANGED