@genesislcap/ai-assistant 15.28.0 → 15.28.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/custom-elements.json +61 -61
- package/dist/dts/react.d.ts +9 -9
- package/dist/react.cjs +6 -6
- package/dist/react.mjs +5 -5
- package/package.json +16 -16
|
@@ -11712,6 +11712,67 @@
|
|
|
11712
11712
|
}
|
|
11713
11713
|
]
|
|
11714
11714
|
},
|
|
11715
|
+
{
|
|
11716
|
+
"kind": "javascript-module",
|
|
11717
|
+
"path": "src/components/chat-markdown/chat-markdown.ts",
|
|
11718
|
+
"declarations": [
|
|
11719
|
+
{
|
|
11720
|
+
"kind": "class",
|
|
11721
|
+
"description": "",
|
|
11722
|
+
"name": "AiChatMarkdown",
|
|
11723
|
+
"members": [
|
|
11724
|
+
{
|
|
11725
|
+
"kind": "field",
|
|
11726
|
+
"name": "content",
|
|
11727
|
+
"type": {
|
|
11728
|
+
"text": "string"
|
|
11729
|
+
},
|
|
11730
|
+
"default": "''",
|
|
11731
|
+
"description": "The markdown string to render."
|
|
11732
|
+
}
|
|
11733
|
+
],
|
|
11734
|
+
"superclass": {
|
|
11735
|
+
"name": "GenesisElement",
|
|
11736
|
+
"package": "@genesislcap/web-core"
|
|
11737
|
+
},
|
|
11738
|
+
"tagName": "ai-chat-markdown",
|
|
11739
|
+
"customElement": true
|
|
11740
|
+
}
|
|
11741
|
+
],
|
|
11742
|
+
"exports": [
|
|
11743
|
+
{
|
|
11744
|
+
"kind": "js",
|
|
11745
|
+
"name": "AiChatMarkdown",
|
|
11746
|
+
"declaration": {
|
|
11747
|
+
"name": "AiChatMarkdown",
|
|
11748
|
+
"module": "src/components/chat-markdown/chat-markdown.ts"
|
|
11749
|
+
}
|
|
11750
|
+
},
|
|
11751
|
+
{
|
|
11752
|
+
"kind": "custom-element-definition",
|
|
11753
|
+
"name": "ai-chat-markdown",
|
|
11754
|
+
"declaration": {
|
|
11755
|
+
"name": "AiChatMarkdown",
|
|
11756
|
+
"module": "src/components/chat-markdown/chat-markdown.ts"
|
|
11757
|
+
}
|
|
11758
|
+
}
|
|
11759
|
+
]
|
|
11760
|
+
},
|
|
11761
|
+
{
|
|
11762
|
+
"kind": "javascript-module",
|
|
11763
|
+
"path": "src/components/chat-markdown/index.ts",
|
|
11764
|
+
"declarations": [],
|
|
11765
|
+
"exports": [
|
|
11766
|
+
{
|
|
11767
|
+
"kind": "js",
|
|
11768
|
+
"name": "*",
|
|
11769
|
+
"declaration": {
|
|
11770
|
+
"name": "*",
|
|
11771
|
+
"package": "./chat-markdown"
|
|
11772
|
+
}
|
|
11773
|
+
}
|
|
11774
|
+
]
|
|
11775
|
+
},
|
|
11715
11776
|
{
|
|
11716
11777
|
"kind": "javascript-module",
|
|
11717
11778
|
"path": "src/components/chat-interaction-wrapper/chat-interaction-wrapper.styles.ts",
|
|
@@ -11907,67 +11968,6 @@
|
|
|
11907
11968
|
}
|
|
11908
11969
|
]
|
|
11909
11970
|
},
|
|
11910
|
-
{
|
|
11911
|
-
"kind": "javascript-module",
|
|
11912
|
-
"path": "src/components/chat-markdown/chat-markdown.ts",
|
|
11913
|
-
"declarations": [
|
|
11914
|
-
{
|
|
11915
|
-
"kind": "class",
|
|
11916
|
-
"description": "",
|
|
11917
|
-
"name": "AiChatMarkdown",
|
|
11918
|
-
"members": [
|
|
11919
|
-
{
|
|
11920
|
-
"kind": "field",
|
|
11921
|
-
"name": "content",
|
|
11922
|
-
"type": {
|
|
11923
|
-
"text": "string"
|
|
11924
|
-
},
|
|
11925
|
-
"default": "''",
|
|
11926
|
-
"description": "The markdown string to render."
|
|
11927
|
-
}
|
|
11928
|
-
],
|
|
11929
|
-
"superclass": {
|
|
11930
|
-
"name": "GenesisElement",
|
|
11931
|
-
"package": "@genesislcap/web-core"
|
|
11932
|
-
},
|
|
11933
|
-
"tagName": "ai-chat-markdown",
|
|
11934
|
-
"customElement": true
|
|
11935
|
-
}
|
|
11936
|
-
],
|
|
11937
|
-
"exports": [
|
|
11938
|
-
{
|
|
11939
|
-
"kind": "js",
|
|
11940
|
-
"name": "AiChatMarkdown",
|
|
11941
|
-
"declaration": {
|
|
11942
|
-
"name": "AiChatMarkdown",
|
|
11943
|
-
"module": "src/components/chat-markdown/chat-markdown.ts"
|
|
11944
|
-
}
|
|
11945
|
-
},
|
|
11946
|
-
{
|
|
11947
|
-
"kind": "custom-element-definition",
|
|
11948
|
-
"name": "ai-chat-markdown",
|
|
11949
|
-
"declaration": {
|
|
11950
|
-
"name": "AiChatMarkdown",
|
|
11951
|
-
"module": "src/components/chat-markdown/chat-markdown.ts"
|
|
11952
|
-
}
|
|
11953
|
-
}
|
|
11954
|
-
]
|
|
11955
|
-
},
|
|
11956
|
-
{
|
|
11957
|
-
"kind": "javascript-module",
|
|
11958
|
-
"path": "src/components/chat-markdown/index.ts",
|
|
11959
|
-
"declarations": [],
|
|
11960
|
-
"exports": [
|
|
11961
|
-
{
|
|
11962
|
-
"kind": "js",
|
|
11963
|
-
"name": "*",
|
|
11964
|
-
"declaration": {
|
|
11965
|
-
"name": "*",
|
|
11966
|
-
"package": "./chat-markdown"
|
|
11967
|
-
}
|
|
11968
|
-
}
|
|
11969
|
-
]
|
|
11970
|
-
},
|
|
11971
11971
|
{
|
|
11972
11972
|
"kind": "javascript-module",
|
|
11973
11973
|
"path": "src/components/orchestrating-driver/index.ts",
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -132,6 +132,15 @@ export declare const AiChatBubble: React.ForwardRefExoticComponent<
|
|
|
132
132
|
>;
|
|
133
133
|
export type AiChatBubbleRef = AiChatBubbleWC;
|
|
134
134
|
|
|
135
|
+
export declare const AiChatMarkdown: React.ForwardRefExoticComponent<
|
|
136
|
+
React.PropsWithChildren<
|
|
137
|
+
Omit<PublicOf<AiChatMarkdownWC>, 'children' | 'style'> &
|
|
138
|
+
HTMLWCProps & {
|
|
139
|
+
}
|
|
140
|
+
> & React.RefAttributes<AiChatMarkdownWC>
|
|
141
|
+
>;
|
|
142
|
+
export type AiChatMarkdownRef = AiChatMarkdownWC;
|
|
143
|
+
|
|
135
144
|
export declare const AiChatInteractionWrapper: React.ForwardRefExoticComponent<
|
|
136
145
|
React.PropsWithChildren<
|
|
137
146
|
Omit<PublicOf<AiChatInteractionWrapperWC>, 'children' | 'style'> &
|
|
@@ -144,15 +153,6 @@ export declare const AiChatInteractionWrapper: React.ForwardRefExoticComponent<
|
|
|
144
153
|
>;
|
|
145
154
|
export type AiChatInteractionWrapperRef = AiChatInteractionWrapperWC;
|
|
146
155
|
|
|
147
|
-
export declare const AiChatMarkdown: React.ForwardRefExoticComponent<
|
|
148
|
-
React.PropsWithChildren<
|
|
149
|
-
Omit<PublicOf<AiChatMarkdownWC>, 'children' | 'style'> &
|
|
150
|
-
HTMLWCProps & {
|
|
151
|
-
}
|
|
152
|
-
> & React.RefAttributes<AiChatMarkdownWC>
|
|
153
|
-
>;
|
|
154
|
-
export type AiChatMarkdownRef = AiChatMarkdownWC;
|
|
155
|
-
|
|
156
156
|
export declare const FoundationAiPopoutManager: React.ForwardRefExoticComponent<
|
|
157
157
|
React.PropsWithChildren<
|
|
158
158
|
Omit<PublicOf<FoundationAiPopoutManagerWC>, 'children' | 'style'> &
|
package/dist/react.cjs
CHANGED
|
@@ -107,6 +107,11 @@ const AiChatBubble = React.forwardRef(function AiChatBubble(props, ref) {
|
|
|
107
107
|
return React.createElement(customElements.getName(AiChatBubbleWC) ?? 'foundation-ai-chat-bubble', { ...rest, ref }, children);
|
|
108
108
|
});
|
|
109
109
|
|
|
110
|
+
const AiChatMarkdown = React.forwardRef(function AiChatMarkdown(props, ref) {
|
|
111
|
+
const { children, ...rest } = props;
|
|
112
|
+
return React.createElement(customElements.getName(AiChatMarkdownWC) ?? 'ai-chat-markdown', { ...rest, ref }, children);
|
|
113
|
+
});
|
|
114
|
+
|
|
110
115
|
const AiChatInteractionWrapper = React.forwardRef(function AiChatInteractionWrapper(props, ref) {
|
|
111
116
|
const { onRequestScrollToBottom, onInteractionCompleted, onInteractionCost, children, ...rest } = props;
|
|
112
117
|
const _innerRef = React.useRef(null);
|
|
@@ -134,11 +139,6 @@ const AiChatInteractionWrapper = React.forwardRef(function AiChatInteractionWrap
|
|
|
134
139
|
return React.createElement(customElements.getName(AiChatInteractionWrapperWC) ?? 'ai-chat-interaction-wrapper', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
135
140
|
});
|
|
136
141
|
|
|
137
|
-
const AiChatMarkdown = React.forwardRef(function AiChatMarkdown(props, ref) {
|
|
138
|
-
const { children, ...rest } = props;
|
|
139
|
-
return React.createElement(customElements.getName(AiChatMarkdownWC) ?? 'ai-chat-markdown', { ...rest, ref }, children);
|
|
140
|
-
});
|
|
141
|
-
|
|
142
142
|
const FoundationAiPopoutManager = React.forwardRef(function FoundationAiPopoutManager(props, ref) {
|
|
143
143
|
const { children, ...rest } = props;
|
|
144
144
|
return React.createElement(customElements.getName(FoundationAiPopoutManagerWC) ?? 'foundation-ai-popout-manager', { ...rest, ref }, children);
|
|
@@ -154,7 +154,7 @@ module.exports = {
|
|
|
154
154
|
AiActivityHalo,
|
|
155
155
|
AgentPicker,
|
|
156
156
|
AiChatBubble,
|
|
157
|
-
AiChatInteractionWrapper,
|
|
158
157
|
AiChatMarkdown,
|
|
158
|
+
AiChatInteractionWrapper,
|
|
159
159
|
FoundationAiPopoutManager,
|
|
160
160
|
};
|
package/dist/react.mjs
CHANGED
|
@@ -105,6 +105,11 @@ export const AiChatBubble = React.forwardRef(function AiChatBubble(props, ref) {
|
|
|
105
105
|
return React.createElement(customElements.getName(AiChatBubbleWC) ?? 'foundation-ai-chat-bubble', { ...rest, ref }, children);
|
|
106
106
|
});
|
|
107
107
|
|
|
108
|
+
export const AiChatMarkdown = React.forwardRef(function AiChatMarkdown(props, ref) {
|
|
109
|
+
const { children, ...rest } = props;
|
|
110
|
+
return React.createElement(customElements.getName(AiChatMarkdownWC) ?? 'ai-chat-markdown', { ...rest, ref }, children);
|
|
111
|
+
});
|
|
112
|
+
|
|
108
113
|
export const AiChatInteractionWrapper = React.forwardRef(function AiChatInteractionWrapper(props, ref) {
|
|
109
114
|
const { onRequestScrollToBottom, onInteractionCompleted, onInteractionCost, children, ...rest } = props;
|
|
110
115
|
const _innerRef = React.useRef(null);
|
|
@@ -132,11 +137,6 @@ export const AiChatInteractionWrapper = React.forwardRef(function AiChatInteract
|
|
|
132
137
|
return React.createElement(customElements.getName(AiChatInteractionWrapperWC) ?? 'ai-chat-interaction-wrapper', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
133
138
|
});
|
|
134
139
|
|
|
135
|
-
export const AiChatMarkdown = React.forwardRef(function AiChatMarkdown(props, ref) {
|
|
136
|
-
const { children, ...rest } = props;
|
|
137
|
-
return React.createElement(customElements.getName(AiChatMarkdownWC) ?? 'ai-chat-markdown', { ...rest, ref }, children);
|
|
138
|
-
});
|
|
139
|
-
|
|
140
140
|
export const FoundationAiPopoutManager = React.forwardRef(function FoundationAiPopoutManager(props, ref) {
|
|
141
141
|
const { children, ...rest } = props;
|
|
142
142
|
return React.createElement(customElements.getName(FoundationAiPopoutManagerWC) ?? 'foundation-ai-popout-manager', { ...rest, ref }, children);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/ai-assistant",
|
|
3
3
|
"description": "Genesis AI Assistant micro-frontend",
|
|
4
|
-
"version": "15.28.
|
|
4
|
+
"version": "15.28.1",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/ai-assistant.d.ts",
|
|
@@ -74,26 +74,26 @@
|
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@genesislcap/foundation-testing": "15.28.
|
|
78
|
-
"@genesislcap/genx": "15.28.
|
|
79
|
-
"@genesislcap/rollup-builder": "15.28.
|
|
80
|
-
"@genesislcap/ts-builder": "15.28.
|
|
81
|
-
"@genesislcap/uvu-playwright-builder": "15.28.
|
|
82
|
-
"@genesislcap/vite-builder": "15.28.
|
|
83
|
-
"@genesislcap/webpack-builder": "15.28.
|
|
77
|
+
"@genesislcap/foundation-testing": "15.28.1",
|
|
78
|
+
"@genesislcap/genx": "15.28.1",
|
|
79
|
+
"@genesislcap/rollup-builder": "15.28.1",
|
|
80
|
+
"@genesislcap/ts-builder": "15.28.1",
|
|
81
|
+
"@genesislcap/uvu-playwright-builder": "15.28.1",
|
|
82
|
+
"@genesislcap/vite-builder": "15.28.1",
|
|
83
|
+
"@genesislcap/webpack-builder": "15.28.1",
|
|
84
84
|
"@types/dompurify": "^3.0.5",
|
|
85
85
|
"@types/marked": "^5.0.2",
|
|
86
86
|
"esbuild": "0.25.12"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@genesislcap/foundation-ai": "15.28.
|
|
90
|
-
"@genesislcap/foundation-logger": "15.28.
|
|
91
|
-
"@genesislcap/foundation-notifications": "15.28.
|
|
92
|
-
"@genesislcap/foundation-redux": "15.28.
|
|
93
|
-
"@genesislcap/foundation-ui": "15.28.
|
|
94
|
-
"@genesislcap/foundation-utils": "15.28.
|
|
95
|
-
"@genesislcap/rapid-design-system": "15.28.
|
|
96
|
-
"@genesislcap/web-core": "15.28.
|
|
89
|
+
"@genesislcap/foundation-ai": "15.28.1",
|
|
90
|
+
"@genesislcap/foundation-logger": "15.28.1",
|
|
91
|
+
"@genesislcap/foundation-notifications": "15.28.1",
|
|
92
|
+
"@genesislcap/foundation-redux": "15.28.1",
|
|
93
|
+
"@genesislcap/foundation-ui": "15.28.1",
|
|
94
|
+
"@genesislcap/foundation-utils": "15.28.1",
|
|
95
|
+
"@genesislcap/rapid-design-system": "15.28.1",
|
|
96
|
+
"@genesislcap/web-core": "15.28.1",
|
|
97
97
|
"dompurify": "^3.3.1",
|
|
98
98
|
"marked": "^17.0.3"
|
|
99
99
|
},
|