@deep-eye/core 1.3.2 → 1.3.4
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/CHANGELOG.md +26 -0
- package/dist/components/chat/ChatBot.vue.d.ts +1 -12
- package/dist/components/chat/ChatBot.vue.d.ts.map +1 -1
- package/dist/components/chat/attachments.d.ts +1 -3
- package/dist/components/chat/attachments.d.ts.map +1 -1
- package/dist/components/chat/chatContext.d.ts +2 -3
- package/dist/components/chat/chatContext.d.ts.map +1 -1
- package/dist/components/chat/components/ChatProvider.vue.d.ts +7 -10
- package/dist/components/chat/components/ChatProvider.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatSender.vue.d.ts +3 -15
- package/dist/components/chat/components/ChatSender.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatSkillPanel.vue.d.ts +2 -2
- package/dist/components/chat/components/ChatSkillPanel.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ConversationList.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/html/HtmlRenderer.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/screenshotCapture.d.ts +2 -3
- package/dist/components/chat/components/document-viewer/screenshotCapture.d.ts.map +1 -1
- package/dist/components/chat/components/index.d.ts +0 -3
- package/dist/components/chat/components/index.d.ts.map +1 -1
- package/dist/components/chat/harness/Tooltip.vue.d.ts +1 -1
- package/dist/components/chat/harness/Tooltip.vue.d.ts.map +1 -1
- package/dist/components/chat/htmlPreview.d.ts +0 -9
- package/dist/components/chat/htmlPreview.d.ts.map +1 -1
- package/dist/components/chat/icons/ChatTipMenuExpertIcon.vue.d.ts +3 -1
- package/dist/components/chat/icons/ChatTipMenuExpertIcon.vue.d.ts.map +1 -1
- package/dist/components/chat/icons/{ChatTipMenuAssetIcon.vue.d.ts → ChatTipMenuLucideIcon.vue.d.ts} +3 -2
- package/dist/components/chat/icons/ChatTipMenuLucideIcon.vue.d.ts.map +1 -0
- package/dist/components/chat/icons/index.d.ts +0 -1
- package/dist/components/chat/icons/index.d.ts.map +1 -1
- package/dist/components/chat/icons/tipMenuItemIcons.d.ts +3 -1
- package/dist/components/chat/icons/tipMenuItemIcons.d.ts.map +1 -1
- package/dist/components/chat/index.d.ts +2 -14
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/mdoc/ArtifactBlock.vue.d.ts +1 -4
- package/dist/components/chat/mdoc/ArtifactBlock.vue.d.ts.map +1 -1
- package/dist/components/chat/mdoc/ContentNodes.vue.d.ts.map +1 -1
- package/dist/components/chat/mdoc/artifactOpenStrategy.d.ts +1 -1
- package/dist/components/chat/mdoc/artifactOpenStrategy.d.ts.map +1 -1
- package/dist/components/chat/mdoc/index.d.ts +0 -2
- package/dist/components/chat/mdoc/index.d.ts.map +1 -1
- package/dist/components/chat/mentionEditor.d.ts +2 -7
- package/dist/components/chat/mentionEditor.d.ts.map +1 -1
- package/dist/components/chat/sidebarMotion.d.ts +0 -5
- package/dist/components/chat/sidebarMotion.d.ts.map +1 -1
- package/dist/components/chat/types.d.ts +9 -118
- package/dist/components/chat/types.d.ts.map +1 -1
- package/dist/components/skill/api/skillCloudUrl.d.ts.map +1 -1
- package/dist/components/skill/components/ChatSkillCard.vue.d.ts.map +1 -1
- package/dist/components/skill/components/ChatSkillCardSkeleton.vue.d.ts.map +1 -1
- package/dist/components/skill/components/ChatSkillDetailDialog.vue.d.ts.map +1 -1
- package/dist/components/skill/skillCardModel.d.ts.map +1 -1
- package/dist/components/skill/types.d.ts +0 -2
- package/dist/components/skill/types.d.ts.map +1 -1
- package/dist/components/ui/components/UiDialog.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiDropdown.vue.d.ts +4 -6
- package/dist/components/ui/components/UiDropdown.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiMenu.vue.d.ts +3 -7
- package/dist/components/ui/components/UiMenu.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiMenuColumn.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiMenuNestedSubmenu.vue.d.ts +0 -6
- package/dist/components/ui/components/UiMenuNestedSubmenu.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiMenuSubmenuList.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiSearchInput.vue.d.ts +1 -5
- package/dist/components/ui/components/UiSearchInput.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiTabs.vue.d.ts.map +1 -1
- package/dist/components/ui/composables/floatingPosition.d.ts +1 -3
- package/dist/components/ui/composables/floatingPosition.d.ts.map +1 -1
- package/dist/components/ui/composables/index.d.ts +1 -1
- package/dist/components/ui/composables/index.d.ts.map +1 -1
- package/dist/components/ui/composables/useUiDropdown.d.ts +2 -11
- package/dist/components/ui/composables/useUiDropdown.d.ts.map +1 -1
- package/dist/components/ui/composables/useUiMenuFloating.d.ts +2 -4
- package/dist/components/ui/composables/useUiMenuFloating.d.ts.map +1 -1
- package/dist/components/ui/types.d.ts +6 -34
- package/dist/components/ui/types.d.ts.map +1 -1
- package/dist/components/ui/utils/index.d.ts +1 -1
- package/dist/components/ui/utils/index.d.ts.map +1 -1
- package/dist/components/ui/utils/mapDropdownMenuItems.d.ts +1 -6
- package/dist/components/ui/utils/mapDropdownMenuItems.d.ts.map +1 -1
- package/dist/components/ui/utils/menuSubmenu.d.ts +1 -3
- package/dist/components/ui/utils/menuSubmenu.d.ts.map +1 -1
- package/dist/{index-CsRsThr2.js → index-B1l7WLyd.js} +29016 -32193
- package/dist/{index-Q0cTvKh-.cjs → index-B9m5lEtT.cjs} +224 -223
- package/dist/{index-BIox_qiB.js → index-DZFa6Oqy.js} +1 -1
- package/dist/{index-3wz4qeyb.cjs → index-GDdWx_nR.cjs} +1 -1
- package/dist/{index-CjA2XNLg.js → index-oK2gNaio.js} +1 -1
- package/dist/{index-DY7BybEW.cjs → index-zKQpqRx4.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +274 -322
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/chat-token.css +0 -226
- package/dist/components/chat/ChatApp.vue.d.ts +0 -150
- package/dist/components/chat/ChatApp.vue.d.ts.map +0 -1
- package/dist/components/chat/chatSessionSidebarAssets.d.ts +0 -21
- package/dist/components/chat/chatSessionSidebarAssets.d.ts.map +0 -1
- package/dist/components/chat/chatSessionSidebarTypes.d.ts +0 -59
- package/dist/components/chat/chatSessionSidebarTypes.d.ts.map +0 -1
- package/dist/components/chat/cloudConfig.d.ts +0 -84
- package/dist/components/chat/cloudConfig.d.ts.map +0 -1
- package/dist/components/chat/components/ArtifactList.vue.d.ts +0 -14
- package/dist/components/chat/components/ArtifactList.vue.d.ts.map +0 -1
- package/dist/components/chat/components/ChatHistorySearchDialog.vue.d.ts +0 -33
- package/dist/components/chat/components/ChatHistorySearchDialog.vue.d.ts.map +0 -1
- package/dist/components/chat/components/ChatSessionExpandHistoryCard.vue.d.ts +0 -30
- package/dist/components/chat/components/ChatSessionExpandHistoryCard.vue.d.ts.map +0 -1
- package/dist/components/chat/components/ChatSessionLoadingDots.vue.d.ts +0 -11
- package/dist/components/chat/components/ChatSessionLoadingDots.vue.d.ts.map +0 -1
- package/dist/components/chat/components/ChatSessionOverflowTooltip.vue.d.ts +0 -22
- package/dist/components/chat/components/ChatSessionOverflowTooltip.vue.d.ts.map +0 -1
- package/dist/components/chat/components/ChatSessionSidebar.vue.d.ts +0 -76
- package/dist/components/chat/components/ChatSessionSidebar.vue.d.ts.map +0 -1
- package/dist/components/chat/components/ChatSessionSkeleton.vue.d.ts +0 -6
- package/dist/components/chat/components/ChatSessionSkeleton.vue.d.ts.map +0 -1
- package/dist/components/chat/components/ChatSessionStatusMark.vue.d.ts +0 -15
- package/dist/components/chat/components/ChatSessionStatusMark.vue.d.ts.map +0 -1
- package/dist/components/chat/composables/chatApiRequest.d.ts +0 -39
- package/dist/components/chat/composables/chatApiRequest.d.ts.map +0 -1
- package/dist/components/chat/composables/chatHistoryApi.d.ts +0 -41
- package/dist/components/chat/composables/chatHistoryApi.d.ts.map +0 -1
- package/dist/components/chat/composables/chatSessionId.d.ts +0 -8
- package/dist/components/chat/composables/chatSessionId.d.ts.map +0 -1
- package/dist/components/chat/composables/useChatNewSessionEpoch.d.ts +0 -3
- package/dist/components/chat/composables/useChatNewSessionEpoch.d.ts.map +0 -1
- package/dist/components/chat/composables/useChatSessionHistory.d.ts +0 -56
- package/dist/components/chat/composables/useChatSessionHistory.d.ts.map +0 -1
- package/dist/components/chat/composables/useChatSessionSwitch.d.ts +0 -22
- package/dist/components/chat/composables/useChatSessionSwitch.d.ts.map +0 -1
- package/dist/components/chat/composables/useHistoryGroupExpand.d.ts +0 -14
- package/dist/components/chat/composables/useHistoryGroupExpand.d.ts.map +0 -1
- package/dist/components/chat/icons/ChatArtifactFilesIcon.vue.d.ts +0 -9
- package/dist/components/chat/icons/ChatArtifactFilesIcon.vue.d.ts.map +0 -1
- package/dist/components/chat/icons/ChatTipMenuAssetIcon.vue.d.ts.map +0 -1
- package/dist/components/chat/mdoc/ArtifactStack.vue.d.ts +0 -13
- package/dist/components/chat/mdoc/ArtifactStack.vue.d.ts.map +0 -1
- package/dist/components/chat/mdoc/artifactStack.d.ts +0 -17
- package/dist/components/chat/mdoc/artifactStack.d.ts.map +0 -1
- package/dist/components/chat/mdoc/sessionArtifacts.d.ts +0 -20
- package/dist/components/chat/mdoc/sessionArtifacts.d.ts.map +0 -1
- package/dist/components/skill/formatSkillUsageCount.d.ts +0 -3
- package/dist/components/skill/formatSkillUsageCount.d.ts.map +0 -1
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { type ChatSessionListItem, type ChatSidebarTexts } from '../chatSessionSidebarTypes';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
activeSessionId?: string;
|
|
4
|
-
sessions?: ChatSessionListItem[];
|
|
5
|
-
loading?: boolean;
|
|
6
|
-
hasMore?: boolean;
|
|
7
|
-
total?: number;
|
|
8
|
-
texts?: Partial<ChatSidebarTexts>;
|
|
9
|
-
};
|
|
10
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
-
"load-more": () => any;
|
|
12
|
-
"select-session": (sessionId: string) => any;
|
|
13
|
-
"new-session": () => any;
|
|
14
|
-
"go-home": () => any;
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
-
"onLoad-more"?: (() => any) | undefined;
|
|
17
|
-
"onSelect-session"?: ((sessionId: string) => any) | undefined;
|
|
18
|
-
"onNew-session"?: (() => any) | undefined;
|
|
19
|
-
"onGo-home"?: (() => any) | undefined;
|
|
20
|
-
}>, {
|
|
21
|
-
loading: boolean;
|
|
22
|
-
hasMore: boolean;
|
|
23
|
-
total: number;
|
|
24
|
-
sessions: ChatSessionListItem[];
|
|
25
|
-
activeSessionId: string;
|
|
26
|
-
texts: Partial<ChatSidebarTexts>;
|
|
27
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
-
declare const _default: typeof __VLS_export;
|
|
29
|
-
export default _default;
|
|
30
|
-
//# sourceMappingURL=ChatSessionExpandHistoryCard.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatSessionExpandHistoryCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionExpandHistoryCard.vue"],"names":[],"mappings":"AAmVA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACtB,MAAM,4BAA4B,CAAA;AAUnC,KAAK,WAAW,GAAG;IACf,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,EAAE,mBAAmB,EAAE,CAAA;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAA;CAClC,CAAC;AA6YJ,QAAA,MAAM,YAAY;;;;;;;;;;;aAjZJ,OAAO;aACP,OAAO;WACT,MAAM;cAHH,mBAAmB,EAAE;qBADd,MAAM;WAKhB,OAAO,CAAC,gBAAgB,CAAC;6EAkZnC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
size?: number;
|
|
3
|
-
color?: string;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
-
color: string;
|
|
7
|
-
size: number;
|
|
8
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
-
declare const _default: typeof __VLS_export;
|
|
10
|
-
export default _default;
|
|
11
|
-
//# sourceMappingURL=ChatSessionLoadingDots.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatSessionLoadingDots.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionLoadingDots.vue"],"names":[],"mappings":"AAwIA,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC;AAgEJ,QAAA,MAAM,YAAY;WAjEN,MAAM;UADP,MAAM;6EAqEf,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
content: string;
|
|
3
|
-
placement?: 'top' | 'bottom' | 'right' | 'left';
|
|
4
|
-
showAfter?: number;
|
|
5
|
-
};
|
|
6
|
-
declare var __VLS_8: {};
|
|
7
|
-
type __VLS_Slots = {} & {
|
|
8
|
-
default?: (props: typeof __VLS_8) => any;
|
|
9
|
-
};
|
|
10
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
-
placement: "top" | "bottom" | "right" | "left";
|
|
12
|
-
showAfter: number;
|
|
13
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
|
-
declare const _default: typeof __VLS_export;
|
|
16
|
-
export default _default;
|
|
17
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
18
|
-
new (): {
|
|
19
|
-
$slots: S;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=ChatSessionOverflowTooltip.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatSessionOverflowTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionOverflowTooltip.vue"],"names":[],"mappings":"AAyDA,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAA;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC;AAuEJ,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/C,QAAA,MAAM,UAAU;eAlFA,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM;eACnC,MAAM;6EAoFpB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import type { ChatCloudConfig } from '../cloudConfig';
|
|
2
|
-
import { type ChatSessionListItem, type ChatSessionNavItem, type ChatSidebarTexts } from '../chatSessionSidebarTypes';
|
|
3
|
-
import type { ChatSessionSidebarExpose } from '../types';
|
|
4
|
-
type __VLS_Props = {
|
|
5
|
-
navItems?: ChatSessionNavItem[];
|
|
6
|
-
activeNavKey?: string;
|
|
7
|
-
activeSessionId?: string;
|
|
8
|
-
sessions?: ChatSessionListItem[];
|
|
9
|
-
loading?: boolean;
|
|
10
|
-
hasMore?: boolean;
|
|
11
|
-
total?: number;
|
|
12
|
-
brand?: {
|
|
13
|
-
title?: string;
|
|
14
|
-
logo?: string;
|
|
15
|
-
logoAlt?: string;
|
|
16
|
-
};
|
|
17
|
-
texts?: Partial<ChatSidebarTexts>;
|
|
18
|
-
cloud?: ChatCloudConfig;
|
|
19
|
-
persistCollapsed?: boolean;
|
|
20
|
-
persistKey?: string;
|
|
21
|
-
};
|
|
22
|
-
type __VLS_ModelProps = {
|
|
23
|
-
'collapsed'?: boolean | undefined;
|
|
24
|
-
};
|
|
25
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
26
|
-
declare var __VLS_13: {};
|
|
27
|
-
type __VLS_Slots = {} & {
|
|
28
|
-
nav?: (props: typeof __VLS_13) => any;
|
|
29
|
-
};
|
|
30
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, ChatSessionSidebarExpose, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
-
"load-more": () => any;
|
|
32
|
-
"select-session": (id: string) => any;
|
|
33
|
-
"new-session": () => any;
|
|
34
|
-
"nav-select": (key: string) => any;
|
|
35
|
-
"toggle-collapse": (collapsed: boolean) => any;
|
|
36
|
-
"go-home": () => any;
|
|
37
|
-
"collapsed-trigger-hover": (hovered: boolean) => any;
|
|
38
|
-
"collapsed-trigger-focus": (focused: boolean) => any;
|
|
39
|
-
"update:collapsed": (value: boolean | undefined) => any;
|
|
40
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
41
|
-
"onLoad-more"?: (() => any) | undefined;
|
|
42
|
-
"onSelect-session"?: ((id: string) => any) | undefined;
|
|
43
|
-
"onNew-session"?: (() => any) | undefined;
|
|
44
|
-
"onNav-select"?: ((key: string) => any) | undefined;
|
|
45
|
-
"onToggle-collapse"?: ((collapsed: boolean) => any) | undefined;
|
|
46
|
-
"onGo-home"?: (() => any) | undefined;
|
|
47
|
-
"onCollapsed-trigger-hover"?: ((hovered: boolean) => any) | undefined;
|
|
48
|
-
"onCollapsed-trigger-focus"?: ((focused: boolean) => any) | undefined;
|
|
49
|
-
"onUpdate:collapsed"?: ((value: boolean | undefined) => any) | undefined;
|
|
50
|
-
}>, {
|
|
51
|
-
loading: boolean;
|
|
52
|
-
hasMore: boolean;
|
|
53
|
-
total: number;
|
|
54
|
-
cloud: ChatCloudConfig;
|
|
55
|
-
sessions: ChatSessionListItem[];
|
|
56
|
-
activeSessionId: string;
|
|
57
|
-
texts: Partial<ChatSidebarTexts>;
|
|
58
|
-
navItems: ChatSessionNavItem[];
|
|
59
|
-
activeNavKey: string;
|
|
60
|
-
brand: {
|
|
61
|
-
title?: string;
|
|
62
|
-
logo?: string;
|
|
63
|
-
logoAlt?: string;
|
|
64
|
-
};
|
|
65
|
-
persistCollapsed: boolean;
|
|
66
|
-
persistKey: string;
|
|
67
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
68
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
69
|
-
declare const _default: typeof __VLS_export;
|
|
70
|
-
export default _default;
|
|
71
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
72
|
-
new (): {
|
|
73
|
-
$slots: S;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
//# sourceMappingURL=ChatSessionSidebar.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatSessionSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionSidebar.vue"],"names":[],"mappings":"AAwxBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AACrD,OAAO,EAIL,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACtB,MAAM,4BAA4B,CAAA;AAcnC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAA;AAOxD,KAAK,WAAW,GAAG;IACf,QAAQ,CAAC,EAAE,kBAAkB,EAAE,CAAA;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,EAAE,mBAAmB,EAAE,CAAA;IAChC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IAC3D,KAAK,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAA;IACjC,KAAK,CAAC,EAAE,eAAe,CAAA;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAC;AAyMJ,KAAK,gBAAgB,GAAG;IACxB,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACjC,CAAC;AAmBF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA+hBxD,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,GAAG,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAS5C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;aAhxBF,OAAO;aACP,OAAO;WACT,MAAM;WAGN,eAAe;cANZ,mBAAmB,EAAE;qBADd,MAAM;WAMhB,OAAO,CAAC,gBAAgB,CAAC;cARtB,kBAAkB,EAAE;kBAChB,MAAM;WAMb;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE;sBAGxC,OAAO;gBACb,MAAM;6EA8wBrB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {
|
|
2
|
-
el: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
3
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
|
-
declare const _default: typeof __VLS_export;
|
|
5
|
-
export default _default;
|
|
6
|
-
//# sourceMappingURL=ChatSessionSkeleton.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatSessionSkeleton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionSkeleton.vue"],"names":[],"mappings":"AAyPA,QAAA,MAAM,YAAY;;0OAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ChatSessionRunStatus } from '../chatSessionSidebarTypes';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
status?: ChatSessionRunStatus;
|
|
4
|
-
viewed?: boolean;
|
|
5
|
-
/** spinner: running indicator; unread: blue dot for finished-but-unviewed */
|
|
6
|
-
kind?: 'unread' | 'spinner';
|
|
7
|
-
};
|
|
8
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
|
-
kind: "unread" | "spinner";
|
|
10
|
-
status: ChatSessionRunStatus;
|
|
11
|
-
viewed: boolean;
|
|
12
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
-
declare const _default: typeof __VLS_export;
|
|
14
|
-
export default _default;
|
|
15
|
-
//# sourceMappingURL=ChatSessionStatusMark.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatSessionStatusMark.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionStatusMark.vue"],"names":[],"mappings":"AA+EA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AAQtE,KAAK,WAAW,GAAG;IACf,MAAM,CAAC,EAAE,oBAAoB,CAAA;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,6EAA6E;IAC7E,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAC5B,CAAC;AAqGJ,QAAA,MAAM,YAAY;UAtGP,QAAQ,GAAG,SAAS;YAHlB,oBAAoB;YACpB,OAAO;6EA2GlB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { type ChatApiRequestContext, type ChatCloudConfig } from '../cloudConfig';
|
|
2
|
-
export type { ChatApiRequestContext, ChatApiRequestParams } from '../cloudConfig';
|
|
3
|
-
/** Query for `checkLastSession` — either by client `session_id` (`ga_session_id`) or by host project/module context. */
|
|
4
|
-
export interface LastSessionQuery {
|
|
5
|
-
lessonProjectId?: string;
|
|
6
|
-
project_id?: string[];
|
|
7
|
-
module_id?: string[];
|
|
8
|
-
objectType?: string;
|
|
9
|
-
ga_session_id?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface LastSessionResponse {
|
|
12
|
-
hasSession: boolean;
|
|
13
|
-
sessionId?: string;
|
|
14
|
-
resumeSessionId?: string;
|
|
15
|
-
gaSessionId?: string;
|
|
16
|
-
gaSessionPending?: boolean;
|
|
17
|
-
lastIndex?: number;
|
|
18
|
-
status?: 'RUNNING' | 'DISCONNECTED' | 'DONE' | 'ERROR' | string;
|
|
19
|
-
input?: string;
|
|
20
|
-
createTime?: string;
|
|
21
|
-
answers?: string[];
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Sends the built-in `agentChatKeep` request. Returns the raw `Response` — callers
|
|
25
|
-
* should hand the returned Promise straight to `ChatBot.consume()` rather than
|
|
26
|
-
* awaiting it first, so streaming starts as soon as headers land (no extra gap).
|
|
27
|
-
*/
|
|
28
|
-
export declare function fetchChatApi(cloud: ChatCloudConfig, ctx: ChatApiRequestContext, signal?: AbortSignal): Promise<Response>;
|
|
29
|
-
/**
|
|
30
|
-
* Looks up a resumable session (client `session_id` via `ga_session_id`, or a host
|
|
31
|
-
* project/module context) so a disconnect/timeout can be continued via `fetchResume`.
|
|
32
|
-
* `objectType` defaults to `cloud.history?.objectType` when the query omits it.
|
|
33
|
-
*/
|
|
34
|
-
export declare function checkLastSession(cloud: ChatCloudConfig, query: LastSessionQuery): Promise<LastSessionResponse>;
|
|
35
|
-
/** Resumes an SSE stream from `lastIndex` (`-1` = from the start). Hand the returned Promise straight to `consume()`. */
|
|
36
|
-
export declare function fetchResume(cloud: ChatCloudConfig, sessionId: string, lastIndex?: number, signal?: AbortSignal): Promise<Response>;
|
|
37
|
-
/** Notifies the server to stop generation for `sessionId`. Fire-and-forget from the caller's perspective. */
|
|
38
|
-
export declare function fetchAbortSession(cloud: ChatCloudConfig, sessionId: string): Promise<Response>;
|
|
39
|
-
//# sourceMappingURL=chatApiRequest.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chatApiRequest.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/composables/chatApiRequest.ts"],"names":[],"mappings":"AACA,OAAO,EAML,KAAK,qBAAqB,EAE1B,KAAK,eAAe,EACrB,MAAM,gBAAgB,CAAA;AAEvB,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAEjF,wHAAwH;AACxH,MAAM,WAAW,gBAAgB;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,SAAS,GAAG,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;CACnB;AAwCD;;;;GAIG;AACH,wBAAsB,YAAY,CAChC,KAAK,EAAE,eAAe,EACtB,GAAG,EAAE,qBAAqB,EAC1B,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,QAAQ,CAAC,CAGnB;AAwBD;;;;GAIG;AACH,wBAAsB,gBAAgB,CACpC,KAAK,EAAE,eAAe,EACtB,KAAK,EAAE,gBAAgB,GACtB,OAAO,CAAC,mBAAmB,CAAC,CAO9B;AAOD,yHAAyH;AACzH,wBAAsB,WAAW,CAC/B,KAAK,EAAE,eAAe,EACtB,SAAS,EAAE,MAAM,EACjB,SAAS,GAAE,MAAW,EACtB,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,QAAQ,CAAC,CAOnB;AAOD,6GAA6G;AAC7G,wBAAsB,iBAAiB,CACrC,KAAK,EAAE,eAAe,EACtB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,QAAQ,CAAC,CAEnB"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { type ChatCloudConfig } from '../cloudConfig';
|
|
2
|
-
/** Aligned with basic-agent-web's `GenericAgentHistoryType.AgentHistoryItem` list shape. */
|
|
3
|
-
export interface ChatHistoryItem {
|
|
4
|
-
id: string;
|
|
5
|
-
name?: string;
|
|
6
|
-
status?: 'RUNNING' | 'DISCONNECTED' | 'DONE' | 'ERROR' | string;
|
|
7
|
-
viewed?: boolean;
|
|
8
|
-
createDate?: string;
|
|
9
|
-
updateDate?: string;
|
|
10
|
-
session_id?: string;
|
|
11
|
-
}
|
|
12
|
-
export interface ChatHistoryDetail extends ChatHistoryItem {
|
|
13
|
-
/** Raw `agent_history` messages — hand to `normalizeAgentHistoryMessages` / `ChatBot.hydrateHistory`. */
|
|
14
|
-
messages: unknown[];
|
|
15
|
-
}
|
|
16
|
-
export interface ChatHistoryPageResult<T> {
|
|
17
|
-
pageNum: number;
|
|
18
|
-
pageSize: number;
|
|
19
|
-
total: number;
|
|
20
|
-
list: T[];
|
|
21
|
-
}
|
|
22
|
-
/** Aligned with basic-agent-web's `useAgentHomeSessions` `PAGE_SIZE`. */
|
|
23
|
-
export declare const DEFAULT_HISTORY_PAGE_SIZE = 50;
|
|
24
|
-
/**
|
|
25
|
-
* Normalizes a raw history list/detail item — tolerates both the camelCase shape
|
|
26
|
-
* (`isViewed`, `createDate`, …) and the snake_case detail-document shape
|
|
27
|
-
* (`is_viewed` / `create_date`, …) documented on basic-agent-web's
|
|
28
|
-
* `GenericAgentHistoryType.AgentHistoryItem`. `viewed` defaults to `true` when
|
|
29
|
-
* absent so older records without the field don't all show as unread.
|
|
30
|
-
*/
|
|
31
|
-
export declare function normalizeHistoryItem(raw: Record<string, unknown>): ChatHistoryItem;
|
|
32
|
-
/** GET `cloud.history.findByUserIdUrl` (or the default), `objectType` always from `cloud.history.objectType`. */
|
|
33
|
-
export declare function findByUserId(cloud: ChatCloudConfig, params: {
|
|
34
|
-
pageNum: number;
|
|
35
|
-
pageSize?: number;
|
|
36
|
-
}): Promise<ChatHistoryPageResult<ChatHistoryItem>>;
|
|
37
|
-
/** GET `cloud.history.findBySessionIdUrl` (or the default). Returns `null` when the session isn't found. */
|
|
38
|
-
export declare function findBySessionId(cloud: ChatCloudConfig, sessionId: string): Promise<ChatHistoryDetail | null>;
|
|
39
|
-
/** GET `cloud.history.viewedUrl` (or the default) to mark a session read/unread. */
|
|
40
|
-
export declare function updateViewed(cloud: ChatCloudConfig, sessionId: string, viewed?: boolean): Promise<void>;
|
|
41
|
-
//# sourceMappingURL=chatHistoryApi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chatHistoryApi.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/composables/chatHistoryApi.ts"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,eAAe,EACrB,MAAM,gBAAgB,CAAA;AAEvB,4FAA4F;AAC5F,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,SAAS,GAAG,cAAc,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAA;IAC/D,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,iBAAkB,SAAQ,eAAe;IACxD,yGAAyG;IACzG,QAAQ,EAAE,OAAO,EAAE,CAAA;CACpB;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC;IACtC,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,CAAC,EAAE,CAAA;CACV;AAED,yEAAyE;AACzE,eAAO,MAAM,yBAAyB,KAAK,CAAA;AAwC3C;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,eAAe,CAWlF;AAED,iHAAiH;AACjH,wBAAsB,YAAY,CAChC,KAAK,EAAE,eAAe,EACtB,MAAM,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,GAC7C,OAAO,CAAC,qBAAqB,CAAC,eAAe,CAAC,CAAC,CA2BjD;AAED,4GAA4G;AAC5G,wBAAsB,eAAe,CACnC,KAAK,EAAE,eAAe,EACtB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAcnC;AAED,oFAAoF;AACpF,wBAAsB,YAAY,CAChC,KAAK,EAAE,eAAe,EACtB,SAAS,EAAE,MAAM,EACjB,MAAM,UAAO,GACZ,OAAO,CAAC,IAAI,CAAC,CAGf"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 24-hex id aligned with basic-agent-web's client-side mongoId generator:
|
|
3
|
-
* 8-hex Unix timestamp (seconds) + 16 random hex chars. Not a real Mongo
|
|
4
|
-
* ObjectId (no machine/pid/counter component) — good enough for a client-
|
|
5
|
-
* generated `session_id` the server treats as an opaque key.
|
|
6
|
-
*/
|
|
7
|
-
export declare function generateObjectId(): string;
|
|
8
|
-
//# sourceMappingURL=chatSessionId.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chatSessionId.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/composables/chatSessionId.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAgB,gBAAgB,IAAI,MAAM,CASzC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useChatNewSessionEpoch.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/composables/useChatNewSessionEpoch.ts"],"names":[],"mappings":"AASA,wBAAgB,kBAAkB,IAAI,IAAI,CAEzC;AAED,wBAAgB,sBAAsB,sCAErC"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { type ComputedRef, type MaybeRefOrGetter, type Ref } from 'vue';
|
|
2
|
-
import type { ChatCloudConfig } from '../cloudConfig';
|
|
3
|
-
import { type ChatSessionListItem, type ChatSessionRunStatus } from '../chatSessionSidebarTypes';
|
|
4
|
-
export interface UseChatSessionHistoryOptions {
|
|
5
|
-
cloud: Ref<ChatCloudConfig | undefined> | ComputedRef<ChatCloudConfig | undefined>;
|
|
6
|
-
pageSize?: number;
|
|
7
|
-
/** Fallback title for items with no `name` from the backend. */
|
|
8
|
-
defaultTitle?: string;
|
|
9
|
-
/** Poll interval while any session is `running`. Default `4000`. */
|
|
10
|
-
runningPollMs?: number;
|
|
11
|
-
/**
|
|
12
|
-
* Currently open session. When this id leaves `running` (stream end or poll),
|
|
13
|
-
* it is auto-marked viewed so the unread blue dot clears without re-clicking.
|
|
14
|
-
*/
|
|
15
|
-
activeSessionId?: MaybeRefOrGetter<string | undefined>;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* `cloud`-driven history for `ChatSessionSidebar`: initial `findByUserId` fetch,
|
|
19
|
-
* `loadMore()` pagination, a silent 4s poll of page 1 while any session is
|
|
20
|
-
* `running` (diff-updates status/viewed only, no loading flicker), and an
|
|
21
|
-
* `upsertOptimisticSession` escape hatch for hosts to reflect a just-sent message
|
|
22
|
-
* before the backend has written a history row yet.
|
|
23
|
-
*
|
|
24
|
-
* When `activeSessionId` is provided, a session that leaves `running` while it is
|
|
25
|
-
* the open session is auto-`markViewed` so the unread blue dot clears in place.
|
|
26
|
-
*/
|
|
27
|
-
export declare function useChatSessionHistory(options: UseChatSessionHistoryOptions): {
|
|
28
|
-
sessions: Ref<{
|
|
29
|
-
id: string;
|
|
30
|
-
title: string;
|
|
31
|
-
time: number;
|
|
32
|
-
status: ChatSessionRunStatus;
|
|
33
|
-
viewed: boolean;
|
|
34
|
-
animateIn?: boolean | undefined;
|
|
35
|
-
}[], ChatSessionListItem[] | {
|
|
36
|
-
id: string;
|
|
37
|
-
title: string;
|
|
38
|
-
time: number;
|
|
39
|
-
status: ChatSessionRunStatus;
|
|
40
|
-
viewed: boolean;
|
|
41
|
-
animateIn?: boolean | undefined;
|
|
42
|
-
}[]>;
|
|
43
|
-
loading: Ref<boolean, boolean>;
|
|
44
|
-
hasMore: Ref<boolean, boolean>;
|
|
45
|
-
total: Ref<number, number>;
|
|
46
|
-
refresh: () => Promise<void>;
|
|
47
|
-
loadMore: () => Promise<void>;
|
|
48
|
-
upsertOptimisticSession: (item: {
|
|
49
|
-
id: string;
|
|
50
|
-
title: string;
|
|
51
|
-
}) => void;
|
|
52
|
-
patchSessionStatus: (id: string, status: ChatSessionRunStatus) => void;
|
|
53
|
-
markViewed: (sessionId: string) => Promise<void>;
|
|
54
|
-
};
|
|
55
|
-
export type UseChatSessionHistoryReturn = ReturnType<typeof useChatSessionHistory>;
|
|
56
|
-
//# sourceMappingURL=useChatSessionHistory.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useChatSessionHistory.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/composables/useChatSessionHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,GAAG,EACT,MAAM,KAAK,CAAA;AACZ,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAOrD,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EAC1B,MAAM,4BAA4B,CAAA;AAEnC,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,GAAG,CAAC,eAAe,GAAG,SAAS,CAAC,GAAG,WAAW,CAAC,eAAe,GAAG,SAAS,CAAC,CAAA;IAClF,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,gEAAgE;IAChE,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,oEAAoE;IACpE,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;OAGG;IACH,eAAe,CAAC,EAAE,gBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;CACvD;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,4BAA4B;;;;;;;;;;;;;;;;;;;mBAsD/C,OAAO,CAAC,IAAI,CAAC;oBAIZ,OAAO,CAAC,IAAI,CAAC;oCA+BD;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAG,IAAI;6BAwB3C,MAAM,UAAU,oBAAoB,KAAG,IAAI;4BAatC,MAAM,KAAG,OAAO,CAAC,IAAI,CAAC;EA8D5D;AAED,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { type Ref } from 'vue';
|
|
2
|
-
import type { ChatCloudConfig } from '../cloudConfig';
|
|
3
|
-
import type { ChatBotExpose } from '../types';
|
|
4
|
-
export interface UseChatSessionSwitchOptions {
|
|
5
|
-
cloud: Ref<ChatCloudConfig>;
|
|
6
|
-
chatBotRef: Ref<ChatBotExpose | null>;
|
|
7
|
-
sessionIdModel: Ref<string | null>;
|
|
8
|
-
mainRef: Ref<HTMLElement | null>;
|
|
9
|
-
detachCurrentStream: () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare function useChatSessionSwitch(options: UseChatSessionSwitchOptions): {
|
|
12
|
-
boundGaSessionId: Ref<string, string>;
|
|
13
|
-
isLoadingSession: Ref<boolean, boolean>;
|
|
14
|
-
skeletonHostRef: Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
15
|
-
skeletonBottomPx: Ref<number, number>;
|
|
16
|
-
isAlreadyBoundSession: (id: string) => boolean;
|
|
17
|
-
loadSessionById: (sessionId: string) => Promise<void>;
|
|
18
|
-
clearForNewSession: () => void;
|
|
19
|
-
syncChatToSession: (sessionId: string | null, prev?: string | null) => Promise<void>;
|
|
20
|
-
updateSkeletonBottom: () => void;
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=useChatSessionSwitch.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useChatSessionSwitch.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/composables/useChatSessionSwitch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAE7C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAErD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAE7C,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,GAAG,CAAC,eAAe,CAAC,CAAA;IAC3B,UAAU,EAAE,GAAG,CAAC,aAAa,GAAG,IAAI,CAAC,CAAA;IACrC,cAAc,EAAE,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;IAClC,OAAO,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;IAChC,mBAAmB,EAAE,MAAM,IAAI,CAAA;CAChC;AAUD,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,2BAA2B;;;;;gCAcpC,MAAM,KAAG,OAAO;iCAmFT,MAAM,KAAG,OAAO,CAAC,IAAI,CAAC;8BAZjC,IAAI;mCAsFS,MAAM,GAAG,IAAI,SAAS,MAAM,GAAG,IAAI,KAAG,OAAO,CAAC,IAAI,CAAC;gCAtJ9D,IAAI;EAiLtC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { ChatSessionHistoryGroup } from '../chatSessionSidebarTypes';
|
|
2
|
-
/**
|
|
3
|
-
* Session group expand: new groups default expanded; user collapse persists across list refreshes.
|
|
4
|
-
* When collapsed, the active session remains visible.
|
|
5
|
-
*/
|
|
6
|
-
export declare function useHistoryGroupExpand(getGroups: () => ChatSessionHistoryGroup[], getActiveSessionId?: () => string): {
|
|
7
|
-
expandedGroupIds: import("vue").Ref<string[], string[]>;
|
|
8
|
-
isGroupExpanded: (groupId: string) => boolean;
|
|
9
|
-
toggleGroup: (groupId: string) => void;
|
|
10
|
-
expandAll: () => void;
|
|
11
|
-
hasExpandedGroup: import("vue").ComputedRef<boolean>;
|
|
12
|
-
visibleSessionsOf: (group: ChatSessionHistoryGroup) => import("..").ChatSessionListItem[];
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=useHistoryGroupExpand.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useHistoryGroupExpand.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/composables/useHistoryGroupExpand.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAA;AAEzE;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,MAAM,uBAAuB,EAAE,EAC1C,kBAAkB,GAAE,MAAM,MAAiB;;+BAuBT,MAAM;2BAEV,MAAM;;;+BAgBF,uBAAuB;EAe1D"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
size?: number | string;
|
|
3
|
-
};
|
|
4
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
5
|
-
size: number | string;
|
|
6
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
//# sourceMappingURL=ChatArtifactFilesIcon.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatArtifactFilesIcon.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/icons/ChatArtifactFilesIcon.vue"],"names":[],"mappings":"AAuCA,KAAK,WAAW,GAAG;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACvB,CAAC;AA+DJ,QAAA,MAAM,YAAY;UAhEP,MAAM,GAAG,MAAM;6EAmExB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatTipMenuAssetIcon.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/icons/ChatTipMenuAssetIcon.vue"],"names":[],"mappings":"AAyBA,KAAK,WAAW,GAAG;IACf,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACvB,CAAC;AAqCJ,QAAA,MAAM,YAAY;UAtCP,MAAM,GAAG,MAAM;6EAyCxB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { ConversationUiAction } from '../types';
|
|
2
|
-
import type { MdocComponentNode } from './parser';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
nodes: readonly MdocComponentNode[];
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
-
action: (payload: ConversationUiAction) => any;
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
-
onAction?: ((payload: ConversationUiAction) => any) | undefined;
|
|
10
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
-
declare const _default: typeof __VLS_export;
|
|
12
|
-
export default _default;
|
|
13
|
-
//# sourceMappingURL=ArtifactStack.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArtifactStack.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/mdoc/ArtifactStack.vue"],"names":[],"mappings":"AAgXA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAEpD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAIjD,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,SAAS,iBAAiB,EAAE,CAAA;CACpC,CAAC;AAoPF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { MdocComponentNode, MdocNode } from './parser';
|
|
2
|
-
export type ArtifactStackGroup = {
|
|
3
|
-
type: 'artifact-stack';
|
|
4
|
-
/** Stable key = first artifact id (survives 1 → N while streaming). */
|
|
5
|
-
id: string;
|
|
6
|
-
nodes: MdocComponentNode[];
|
|
7
|
-
};
|
|
8
|
-
export type ArtifactStackPassItem = {
|
|
9
|
-
type: 'node';
|
|
10
|
-
node: MdocNode;
|
|
11
|
-
} | ArtifactStackGroup;
|
|
12
|
-
/**
|
|
13
|
-
* Collapse consecutive `{% artifact %}` nodes into stack groups.
|
|
14
|
-
* Whitespace-only text between cards is absorbed into the group (dropped).
|
|
15
|
-
*/
|
|
16
|
-
export declare function groupConsecutiveArtifacts(nodes: readonly MdocNode[]): ArtifactStackPassItem[];
|
|
17
|
-
//# sourceMappingURL=artifactStack.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"artifactStack.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/mdoc/artifactStack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AAE3D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,gBAAgB,CAAA;IACtB,uEAAuE;IACvE,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,iBAAiB,EAAE,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,QAAQ,CAAA;CAAE,GAAG,kBAAkB,CAAA;AAWzF;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE,SAAS,QAAQ,EAAE,GAAG,qBAAqB,EAAE,CAiC7F"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { ConversationMessage, ConversationUiAction } from '../types';
|
|
2
|
-
import { type MdocComponentNode } from './parser';
|
|
3
|
-
export interface SessionArtifact {
|
|
4
|
-
artifactId: string;
|
|
5
|
-
title: string;
|
|
6
|
-
artifactType: string;
|
|
7
|
-
language?: string;
|
|
8
|
-
content?: string;
|
|
9
|
-
src?: string;
|
|
10
|
-
size?: string;
|
|
11
|
-
createdAt?: string;
|
|
12
|
-
previewSrc?: string;
|
|
13
|
-
}
|
|
14
|
-
export declare function sessionArtifactToAction(item: SessionArtifact): ConversationUiAction;
|
|
15
|
-
/** Rebuild an mdoc node so list cards can reuse `ArtifactBlock`. */
|
|
16
|
-
export declare function sessionArtifactToNode(item: SessionArtifact): MdocComponentNode;
|
|
17
|
-
export declare function artifactNodeToSessionArtifact(node: MdocComponentNode): SessionArtifact;
|
|
18
|
-
/** Collect every `{% artifact %}` card in the conversation, in appearance order. */
|
|
19
|
-
export declare function collectSessionArtifacts(messages: readonly ConversationMessage[]): SessionArtifact[];
|
|
20
|
-
//# sourceMappingURL=sessionArtifacts.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sessionArtifacts.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/mdoc/sessionArtifacts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,mBAAmB,EACnB,oBAAoB,EACrB,MAAM,UAAU,CAAA;AAGjB,OAAO,EAAmB,KAAK,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAElE,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,eAAe,GAAG,oBAAoB,CAWnF;AAED,oEAAoE;AACpE,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,eAAe,GAAG,iBAAiB,CAmB9E;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,iBAAiB,GAAG,eAAe,CAoBtF;AAkCD,oFAAoF;AACpF,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,SAAS,mBAAmB,EAAE,GACvC,eAAe,EAAE,CAanB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"formatSkillUsageCount.d.ts","sourceRoot":"","sources":["../../../src/components/skill/formatSkillUsageCount.ts"],"names":[],"mappings":"AAAA,wFAAwF;AACxF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAO3D"}
|