@aleph-alpha/chat-kit 1.5.0 → 1.5.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/index.d.ts +1 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -5
- package/package.json +1 -1
- package/src/index.ts +1 -17
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export { type ChatConfig, type ChatMessage, type ChatResponse, type ConversationSummary, type HttpClient, type RawConversation, type RawConversationList, type StreamEvent, } from './services';
|
|
2
2
|
export { useMessageHandler, useMarkdownParser, provideChatKitLabels, useChatKitLabels, defaultChatKitLabels, CHAT_KIT_LABELS, } from './handlers';
|
|
3
3
|
export type { ChatKitLabels } from './handlers';
|
|
4
|
-
export
|
|
5
|
-
export type { ChatActions, ChatState, ConversationSession, CreateConversationInput, MessageHandler, MutationOptions, UseChatReturn, UseConversationSessionsReturn, UseConversationsOptions, UseConversationsReturn, } from './composables';
|
|
4
|
+
export * from './composables';
|
|
6
5
|
export { CkAgentMessage, CkConversation, CkConversationLayout, CkCopyMessageActionButton, CkFeedbackButton, CkHistory, CkHistoryItem, CkHistoryWrapper, CkInput, CkMarkdownRenderer, CkMessageActionButton, CkPromptActionButton, CkPromptStopButton, CkPromptInput, CkPromptInputDisclaimer, CkSendIcon, CkStopIcon, CkUserMessage, } from './components';
|
|
7
6
|
export type { CkConversationLayoutProps, CkConversationProps, CkFeedbackButtonProps, CkFeedbackValue, CkHistoryEmits, CkHistoryItemEmits, CkHistoryItemProps, CkHistoryProps, CkHistoryWrapperProps, CkMarkdownElementClasses, CkMarkdownRendererProps, CkUserMessageProps, } from './components';
|
|
8
7
|
export type { BaseMessage, Conversation, ConversationTree, MessageContent, MessageContentStatus, MessageReasoningContent, MessageRole, MessageStatus, MessageTextContent, MessageToolContent, TreeMessage, } from './types';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,WAAW,GACjB,MAAM,YAAY,CAAC;AASpB,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,EACpB,eAAe,GAChB,MAAM,YAAY,CAAC;AACpB,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,KAAK,mBAAmB,EACxB,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,WAAW,GACjB,MAAM,YAAY,CAAC;AASpB,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,EACpB,eAAe,GAChB,MAAM,YAAY,CAAC;AACpB,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,cAAc,eAAe,CAAC;AAG9B,OAAO,EACL,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,yBAAyB,EACzB,gBAAgB,EAChB,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,OAAO,EACP,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,EAClB,aAAa,EACb,uBAAuB,EACvB,UAAU,EACV,UAAU,EACV,aAAa,GACd,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,yBAAyB,EACzB,mBAAmB,EACnB,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,EACd,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,cAAc,CAAC;AAGtB,YAAY,EACV,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,uBAAuB,EACvB,WAAW,EACX,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,WAAW,GACZ,MAAM,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { u } from "./useMessageHandler-ZRC-gIOJ.js";
|
|
2
2
|
import { C, d, p, u as u2, a } from "./useChatKitLabels-ftC52m7f.js";
|
|
3
|
-
import { u as u3, a as a2, b } from "./index-BbTgIoYa.js";
|
|
4
|
-
import { _, a as a3, b as b2, C as C2, c, d as
|
|
3
|
+
import { c, d as d2, u as u3, a as a2, b, e } from "./index-BbTgIoYa.js";
|
|
4
|
+
import { _, a as a3, b as b2, C as C2, c as c2, d as d3, e as e2, f, g, h, i, j, k, l, m, n, o, p as p2 } from "./CkInput.vue_vue_type_script_setup_true_lang-C5C09u0z.js";
|
|
5
5
|
export {
|
|
6
6
|
C as CHAT_KIT_LABELS,
|
|
7
7
|
_ as CkAgentMessage,
|
|
8
8
|
a3 as CkConversation,
|
|
9
9
|
b2 as CkConversationLayout,
|
|
10
10
|
C2 as CkCopyMessageActionButton,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
c2 as CkFeedbackButton,
|
|
12
|
+
d3 as CkHistory,
|
|
13
|
+
e2 as CkHistoryItem,
|
|
14
14
|
f as CkHistoryWrapper,
|
|
15
15
|
g as CkInput,
|
|
16
16
|
h as CkMarkdownRenderer,
|
|
@@ -22,12 +22,15 @@ export {
|
|
|
22
22
|
n as CkSendIcon,
|
|
23
23
|
o as CkStopIcon,
|
|
24
24
|
p2 as CkUserMessage,
|
|
25
|
+
c as createDocumentUploadProvider,
|
|
25
26
|
d as defaultChatKitLabels,
|
|
27
|
+
d2 as defaultDocumentUploadConfig,
|
|
26
28
|
p as provideChatKitLabels,
|
|
27
29
|
u3 as useChat,
|
|
28
30
|
u2 as useChatKitLabels,
|
|
29
31
|
a2 as useConversationSessions,
|
|
30
32
|
b as useConversations,
|
|
33
|
+
e as useDocumentUploadWithDefaultConfig,
|
|
31
34
|
a as useMarkdownParser,
|
|
32
35
|
u as useMessageHandler
|
|
33
36
|
};
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -28,23 +28,7 @@ export {
|
|
|
28
28
|
export type { ChatKitLabels } from './handlers';
|
|
29
29
|
|
|
30
30
|
// Composables
|
|
31
|
-
export
|
|
32
|
-
useChat,
|
|
33
|
-
useConversationSessions,
|
|
34
|
-
useConversations,
|
|
35
|
-
} from './composables';
|
|
36
|
-
export type {
|
|
37
|
-
ChatActions,
|
|
38
|
-
ChatState,
|
|
39
|
-
ConversationSession,
|
|
40
|
-
CreateConversationInput,
|
|
41
|
-
MessageHandler,
|
|
42
|
-
MutationOptions,
|
|
43
|
-
UseChatReturn,
|
|
44
|
-
UseConversationSessionsReturn,
|
|
45
|
-
UseConversationsOptions,
|
|
46
|
-
UseConversationsReturn,
|
|
47
|
-
} from './composables';
|
|
31
|
+
export * from './composables';
|
|
48
32
|
|
|
49
33
|
// Components
|
|
50
34
|
export {
|