@stack-spot/ai-chat-widget 1.14.0-beta.8 → 1.14.0
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
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.14.0](https://github.com/stack-spot/portal-ai-chat-widget/compare/ai-chat-widget@v1.13.2...ai-chat-widget@v1.14.0) (2025-04-16)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Feat 1388 fav workspace ai ([#96](https://github.com/stack-spot/portal-ai-chat-widget/issues/96)) ([ef7cc88](https://github.com/stack-spot/portal-ai-chat-widget/commit/ef7cc883a7dfe5b64d49639fcadde19f3c66ff7b))
|
|
9
|
+
* Feat 1388 favorites ([#70](https://github.com/stack-spot/portal-ai-chat-widget/issues/70)) ([c301c7b](https://github.com/stack-spot/portal-ai-chat-widget/commit/c301c7b01bffe6258a4931ffc5e054371eb6d838))
|
|
10
|
+
* remove hardcoded agent ([#88](https://github.com/stack-spot/portal-ai-chat-widget/issues/88)) ([95bfd43](https://github.com/stack-spot/portal-ai-chat-widget/commit/95bfd43307a13144c7b4b32dade05fb7ab8cb127))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* Change to workspace ai ([#94](https://github.com/stack-spot/portal-ai-chat-widget/issues/94)) ([264c8be](https://github.com/stack-spot/portal-ai-chat-widget/commit/264c8bed92ab12876327b5cb536125bb51a6ea19))
|
|
16
|
+
* Undo change to workspace ai ([#97](https://github.com/stack-spot/portal-ai-chat-widget/issues/97)) ([e65fe12](https://github.com/stack-spot/portal-ai-chat-widget/commit/e65fe1214c5e6cbbd8a288dd03d03111f340eac8))
|
|
17
|
+
|
|
3
18
|
## [1.13.2](https://github.com/stack-spot/portal-ai-chat-widget/compare/ai-chat-widget@v1.13.1...ai-chat-widget@v1.13.2) (2025-04-11)
|
|
4
19
|
|
|
5
20
|
|
package/dist/app-metadata.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stack-spot/ai-chat-widget",
|
|
3
|
-
"version": "1.14.0
|
|
4
|
-
"date": "
|
|
3
|
+
"version": "1.14.0",
|
|
4
|
+
"date": "Wed Apr 16 2025 12:54:01 GMT+0000 (Coordinated Universal Time)",
|
|
5
5
|
"dependencies": [
|
|
6
6
|
{
|
|
7
7
|
"name": "@stack-spot/app-metadata",
|
|
@@ -30,8 +30,8 @@ export const AgentSelector = ({ inputRef, isTrial }) => {
|
|
|
30
30
|
return uniqBy([...personalAgents, ...accountAgents, ...sharedAgents, ...builtIns], 'id');
|
|
31
31
|
};
|
|
32
32
|
const AgentItem = ({ avatar, name }) => {
|
|
33
|
-
const
|
|
34
|
-
return _jsxs(Flex, { flexWrap: "nowrap", alignItems: "center", sx: { gap: '8px' }, children: [
|
|
33
|
+
const avatarComponent = avatar ? _jsx(Image, { width: "32", height: "32", radius: "full", src: avatar }) : _jsx(IconBox, { size: "md", children: _jsx(Agent, {}) });
|
|
34
|
+
return _jsxs(Flex, { flexWrap: "nowrap", alignItems: "center", sx: { gap: '8px' }, children: [avatarComponent, _jsx("p", { className: "selector-title", children: name })] });
|
|
35
35
|
};
|
|
36
36
|
return _jsx(Selector, { inputRef: inputRef, favorite: { listFavorites, onAddFavorite, onRemoveFavorite, pendingAddFav, pendingRemoveFav }, selectorConfig: {
|
|
37
37
|
resourceName: 'Agent',
|
package/package.json
CHANGED
package/src/app-metadata.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stack-spot/ai-chat-widget",
|
|
3
|
-
"version": "1.14.0
|
|
4
|
-
"date": "
|
|
3
|
+
"version": "1.14.0",
|
|
4
|
+
"date": "Wed Apr 16 2025 12:54:01 GMT+0000 (Coordinated Universal Time)",
|
|
5
5
|
"dependencies": [
|
|
6
6
|
{
|
|
7
7
|
"name": "@stack-spot/app-metadata",
|
|
@@ -40,10 +40,10 @@ export const AgentSelector = ({ inputRef, isTrial }: { isTrial: boolean,
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
const AgentItem = ({ avatar, name }: AgentResponse) => {
|
|
43
|
-
const
|
|
43
|
+
const avatarComponent = avatar ? <Image width="32" height="32" radius="full" src={avatar} /> : <IconBox size="md"><Agent /></IconBox>
|
|
44
44
|
|
|
45
45
|
return <Flex flexWrap="nowrap" alignItems="center" sx={{ gap: '8px' }}>
|
|
46
|
-
{
|
|
46
|
+
{avatarComponent}
|
|
47
47
|
<p className="selector-title">{name}</p>
|
|
48
48
|
</Flex>
|
|
49
49
|
}
|