@deepdesk/deepdesk-sdk 14.3.0 → 14.3.1-beta.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/dialogs.css +1 -1
- package/dist/index.cjs.js +8 -8
- package/dist/index.d.mts +57 -52
- package/dist/index.d.ts +57 -52
- package/dist/index.esm.js +8 -8
- package/dist/index.iife.js +16 -16
- package/input.css +1 -1
- package/package.json +1 -1
- package/styles/index.js +1 -1
- package/styles.css +1 -1
- package/widget.css +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -942,6 +942,10 @@ type SendEventV2ArgumentMap = {
|
|
|
942
942
|
isAgent: boolean;
|
|
943
943
|
answer: Server$1.KnowledgeResponse['answer'];
|
|
944
944
|
}>;
|
|
945
|
+
'knowledge assist source viewed': EventV2<{
|
|
946
|
+
question: string;
|
|
947
|
+
sourceViewed: string;
|
|
948
|
+
}>;
|
|
945
949
|
};
|
|
946
950
|
/**
|
|
947
951
|
* Request retry options
|
|
@@ -1390,19 +1394,20 @@ declare class DeepdeskBrokerAPI {
|
|
|
1390
1394
|
}
|
|
1391
1395
|
|
|
1392
1396
|
type EvaluationOutput<T extends Server$1.ResponseFormat> = CamelCaseKeys<Server$1.EvaluationOutput<T>>;
|
|
1393
|
-
type
|
|
1397
|
+
type AssistantAnswerSource = {
|
|
1398
|
+
url?: string;
|
|
1399
|
+
name: string;
|
|
1400
|
+
};
|
|
1401
|
+
type AssistantInteraction = {
|
|
1394
1402
|
question: string;
|
|
1395
1403
|
answer: {
|
|
1396
1404
|
answer: string;
|
|
1397
|
-
sources?:
|
|
1398
|
-
url?: string;
|
|
1399
|
-
name: string;
|
|
1400
|
-
}[];
|
|
1405
|
+
sources?: AssistantAnswerSource[];
|
|
1401
1406
|
};
|
|
1402
1407
|
};
|
|
1403
1408
|
type State$d = {
|
|
1404
1409
|
cues: EvaluationOutput<'json-schema:cues'>;
|
|
1405
|
-
threads: Record<number,
|
|
1410
|
+
threads: Record<number, AssistantInteraction[]>;
|
|
1406
1411
|
fetchState: FetchState;
|
|
1407
1412
|
};
|
|
1408
1413
|
type Transcript = Array<{
|
|
@@ -1728,52 +1733,52 @@ declare const styles$i: {
|
|
|
1728
1733
|
type AutoflowStyles = typeof styles$i;
|
|
1729
1734
|
|
|
1730
1735
|
declare const styles$h: {
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1736
|
+
readonly "root": string;
|
|
1737
|
+
readonly "list": string;
|
|
1738
|
+
readonly "listWrapper": string;
|
|
1739
|
+
readonly "listHorizontal": string;
|
|
1740
|
+
readonly "page": string;
|
|
1741
|
+
readonly "search": string;
|
|
1742
|
+
readonly "pageNav": string;
|
|
1743
|
+
readonly "pageTitle": string;
|
|
1744
|
+
readonly "pageBackButton": string;
|
|
1745
|
+
readonly "listHeader": string;
|
|
1746
|
+
readonly "listHeading": string;
|
|
1747
|
+
readonly "listMoreButton": string;
|
|
1748
|
+
readonly "listItem": string;
|
|
1749
|
+
readonly "listItemContent": string;
|
|
1750
|
+
readonly "listItemText": string;
|
|
1751
|
+
readonly "listItemDescription": string;
|
|
1752
|
+
readonly "listItemActions": string;
|
|
1753
|
+
readonly "truncate": string;
|
|
1754
|
+
readonly "lineClamp": string;
|
|
1755
|
+
readonly "listItemTitle": string;
|
|
1756
|
+
readonly "listItemAction": string;
|
|
1757
|
+
readonly "listItemSelected": string;
|
|
1758
|
+
readonly "sources": string;
|
|
1759
|
+
readonly "sourcesTitle": string;
|
|
1760
|
+
readonly "source": string;
|
|
1761
|
+
readonly "sourceShowMore": string;
|
|
1762
|
+
readonly "icon": string;
|
|
1763
|
+
readonly "searchIcon": string;
|
|
1764
|
+
readonly "searchInputWrapper": string;
|
|
1765
|
+
readonly "searchInput": string;
|
|
1766
|
+
readonly "select": string;
|
|
1767
|
+
readonly "selectType": string;
|
|
1768
|
+
readonly "selectWrapper": string;
|
|
1769
|
+
readonly "image": string;
|
|
1770
|
+
readonly "imageSrc": string;
|
|
1771
|
+
readonly "imageSrcHidden": string;
|
|
1772
|
+
readonly "imageSrcStatus": string;
|
|
1773
|
+
readonly "imageTitle": string;
|
|
1774
|
+
readonly "actions": string;
|
|
1775
|
+
readonly "actionsWrapper": string;
|
|
1776
|
+
readonly "actionsBar": string;
|
|
1777
|
+
readonly "actionButton": string;
|
|
1778
|
+
readonly "hasShortKeys": string;
|
|
1779
|
+
readonly "actionShortcut": string;
|
|
1780
|
+
readonly "actionShortcutFixKerning": string;
|
|
1781
|
+
};
|
|
1777
1782
|
|
|
1778
1783
|
type CommandPaletteStyles = typeof styles$h;
|
|
1779
1784
|
|
package/dist/index.d.ts
CHANGED
|
@@ -942,6 +942,10 @@ type SendEventV2ArgumentMap = {
|
|
|
942
942
|
isAgent: boolean;
|
|
943
943
|
answer: Server$1.KnowledgeResponse['answer'];
|
|
944
944
|
}>;
|
|
945
|
+
'knowledge assist source viewed': EventV2<{
|
|
946
|
+
question: string;
|
|
947
|
+
sourceViewed: string;
|
|
948
|
+
}>;
|
|
945
949
|
};
|
|
946
950
|
/**
|
|
947
951
|
* Request retry options
|
|
@@ -1390,19 +1394,20 @@ declare class DeepdeskBrokerAPI {
|
|
|
1390
1394
|
}
|
|
1391
1395
|
|
|
1392
1396
|
type EvaluationOutput<T extends Server$1.ResponseFormat> = CamelCaseKeys<Server$1.EvaluationOutput<T>>;
|
|
1393
|
-
type
|
|
1397
|
+
type AssistantAnswerSource = {
|
|
1398
|
+
url?: string;
|
|
1399
|
+
name: string;
|
|
1400
|
+
};
|
|
1401
|
+
type AssistantInteraction = {
|
|
1394
1402
|
question: string;
|
|
1395
1403
|
answer: {
|
|
1396
1404
|
answer: string;
|
|
1397
|
-
sources?:
|
|
1398
|
-
url?: string;
|
|
1399
|
-
name: string;
|
|
1400
|
-
}[];
|
|
1405
|
+
sources?: AssistantAnswerSource[];
|
|
1401
1406
|
};
|
|
1402
1407
|
};
|
|
1403
1408
|
type State$d = {
|
|
1404
1409
|
cues: EvaluationOutput<'json-schema:cues'>;
|
|
1405
|
-
threads: Record<number,
|
|
1410
|
+
threads: Record<number, AssistantInteraction[]>;
|
|
1406
1411
|
fetchState: FetchState;
|
|
1407
1412
|
};
|
|
1408
1413
|
type Transcript = Array<{
|
|
@@ -1728,52 +1733,52 @@ declare const styles$i: {
|
|
|
1728
1733
|
type AutoflowStyles = typeof styles$i;
|
|
1729
1734
|
|
|
1730
1735
|
declare const styles$h: {
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1736
|
+
readonly "root": string;
|
|
1737
|
+
readonly "list": string;
|
|
1738
|
+
readonly "listWrapper": string;
|
|
1739
|
+
readonly "listHorizontal": string;
|
|
1740
|
+
readonly "page": string;
|
|
1741
|
+
readonly "search": string;
|
|
1742
|
+
readonly "pageNav": string;
|
|
1743
|
+
readonly "pageTitle": string;
|
|
1744
|
+
readonly "pageBackButton": string;
|
|
1745
|
+
readonly "listHeader": string;
|
|
1746
|
+
readonly "listHeading": string;
|
|
1747
|
+
readonly "listMoreButton": string;
|
|
1748
|
+
readonly "listItem": string;
|
|
1749
|
+
readonly "listItemContent": string;
|
|
1750
|
+
readonly "listItemText": string;
|
|
1751
|
+
readonly "listItemDescription": string;
|
|
1752
|
+
readonly "listItemActions": string;
|
|
1753
|
+
readonly "truncate": string;
|
|
1754
|
+
readonly "lineClamp": string;
|
|
1755
|
+
readonly "listItemTitle": string;
|
|
1756
|
+
readonly "listItemAction": string;
|
|
1757
|
+
readonly "listItemSelected": string;
|
|
1758
|
+
readonly "sources": string;
|
|
1759
|
+
readonly "sourcesTitle": string;
|
|
1760
|
+
readonly "source": string;
|
|
1761
|
+
readonly "sourceShowMore": string;
|
|
1762
|
+
readonly "icon": string;
|
|
1763
|
+
readonly "searchIcon": string;
|
|
1764
|
+
readonly "searchInputWrapper": string;
|
|
1765
|
+
readonly "searchInput": string;
|
|
1766
|
+
readonly "select": string;
|
|
1767
|
+
readonly "selectType": string;
|
|
1768
|
+
readonly "selectWrapper": string;
|
|
1769
|
+
readonly "image": string;
|
|
1770
|
+
readonly "imageSrc": string;
|
|
1771
|
+
readonly "imageSrcHidden": string;
|
|
1772
|
+
readonly "imageSrcStatus": string;
|
|
1773
|
+
readonly "imageTitle": string;
|
|
1774
|
+
readonly "actions": string;
|
|
1775
|
+
readonly "actionsWrapper": string;
|
|
1776
|
+
readonly "actionsBar": string;
|
|
1777
|
+
readonly "actionButton": string;
|
|
1778
|
+
readonly "hasShortKeys": string;
|
|
1779
|
+
readonly "actionShortcut": string;
|
|
1780
|
+
readonly "actionShortcutFixKerning": string;
|
|
1781
|
+
};
|
|
1777
1782
|
|
|
1778
1783
|
type CommandPaletteStyles = typeof styles$h;
|
|
1779
1784
|
|