@stack-spot/ai-chat-widget 1.29.1-beta.0 → 1.30.0-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/CHANGELOG.md +95 -0
- package/dist/app-metadata.json +3 -3
- package/dist/components/AdaptiveTextArea.js +1 -1
- package/dist/components/AdaptiveTextArea.js.map +1 -1
- package/dist/components/Selector/index.js +1 -1
- package/dist/components/Selector/index.js.map +1 -1
- package/dist/components/Selector/styled.d.ts +1 -1
- package/dist/components/Selector/styled.d.ts.map +1 -1
- package/dist/components/Selector/styled.js +1 -1
- package/dist/components/Selector/styled.js.map +1 -1
- package/dist/layout.css +4 -2
- package/dist/views/Agents/AgentDescription.js +1 -1
- package/dist/views/Agents/AgentDescription.js.map +1 -1
- package/dist/views/MessageInput/UploadDragNDrop.d.ts.map +1 -1
- package/dist/views/MessageInput/UploadDragNDrop.js +2 -2
- package/dist/views/MessageInput/UploadDragNDrop.js.map +1 -1
- package/dist/views/MessageInput/dictionary.d.ts +1 -1
- package/dist/views/MessageInput/dictionary.d.ts.map +1 -1
- package/dist/views/MessageInput/dictionary.js +3 -2
- package/dist/views/MessageInput/dictionary.js.map +1 -1
- package/dist/views/MessageInput/styled.d.ts +1 -0
- package/dist/views/MessageInput/styled.d.ts.map +1 -1
- package/dist/views/MessageInput/styled.js +1 -0
- package/dist/views/MessageInput/styled.js.map +1 -1
- package/package.json +2 -2
- package/src/app-metadata.json +3 -3
- package/src/components/AdaptiveTextArea.tsx +1 -1
- package/src/components/Selector/index.tsx +1 -1
- package/src/components/Selector/styled.ts +2 -2
- package/src/layout.css +4 -2
- package/src/views/Agents/AgentDescription.tsx +2 -2
- package/src/views/MessageInput/UploadDragNDrop.tsx +1 -2
- package/src/views/MessageInput/dictionary.ts +3 -2
- package/src/views/MessageInput/styled.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,100 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.30.0-beta.1](https://github.com/stack-spot/portal-ai-chat-widget/compare/ai-chat-widget-beta@v1.29.0-beta.1...ai-chat-widget-beta@v1.30.0-beta.1) (2025-07-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* 2195 ai trial ([#65](https://github.com/stack-spot/portal-ai-chat-widget/issues/65)) ([e867958](https://github.com/stack-spot/portal-ai-chat-widget/commit/e8679583a0699c869e204ae0873e04ffd2937174))
|
|
9
|
+
* add copy button user prompts ([#143](https://github.com/stack-spot/portal-ai-chat-widget/issues/143)) ([4439093](https://github.com/stack-spot/portal-ai-chat-widget/commit/4439093f972c718ea3b7bddfb0925b4268d01828))
|
|
10
|
+
* add new download feature in code snippets ([#151](https://github.com/stack-spot/portal-ai-chat-widget/issues/151)) ([3e2fac8](https://github.com/stack-spot/portal-ai-chat-widget/commit/3e2fac85f7a5d4150cae921eb57abc6b8ac92e5e))
|
|
11
|
+
* Add spots ([#130](https://github.com/stack-spot/portal-ai-chat-widget/issues/130)) ([9c641f9](https://github.com/stack-spot/portal-ai-chat-widget/commit/9c641f92019334974ec63366acae39402556ef09))
|
|
12
|
+
* add visibility prop when set agent ([#126](https://github.com/stack-spot/portal-ai-chat-widget/issues/126)) ([ff578ae](https://github.com/stack-spot/portal-ai-chat-widget/commit/ff578aef1ca81ebdff8039225014775ca85301f2))
|
|
13
|
+
* Adds drag-and-drop and paste upload functionality ([#192](https://github.com/stack-spot/portal-ai-chat-widget/issues/192)) ([a052b9e](https://github.com/stack-spot/portal-ai-chat-widget/commit/a052b9e8108b6a0971d96596f25c6be873664980))
|
|
14
|
+
* adds some new feature configs + small css fixes for file uploads ([#176](https://github.com/stack-spot/portal-ai-chat-widget/issues/176)) ([d033d65](https://github.com/stack-spot/portal-ai-chat-widget/commit/d033d65ff37003b5f7fb2e76377ea5f712af44e1))
|
|
15
|
+
* AI trial layout improves ([ba60310](https://github.com/stack-spot/portal-ai-chat-widget/commit/ba60310589fd97d5efeeef928b19a17b95a1bff7))
|
|
16
|
+
* Change to space ([#117](https://github.com/stack-spot/portal-ai-chat-widget/issues/117)) ([57d0681](https://github.com/stack-spot/portal-ai-chat-widget/commit/57d06816838b8bb24fdfddc1867e5d64d7e929fc))
|
|
17
|
+
* changes the feature "tools" ([#86](https://github.com/stack-spot/portal-ai-chat-widget/issues/86)) ([6c9b616](https://github.com/stack-spot/portal-ai-chat-widget/commit/6c9b616d8d51fd5eb6b2935a126b4f82ba2e656a))
|
|
18
|
+
* 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))
|
|
19
|
+
* 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))
|
|
20
|
+
* Feat 2463 Update input chat ([#142](https://github.com/stack-spot/portal-ai-chat-widget/issues/142)) ([64436ec](https://github.com/stack-spot/portal-ai-chat-widget/commit/64436ec1f1d1ed43af415e5e46a92167ade8a852))
|
|
21
|
+
* file upload ([#174](https://github.com/stack-spot/portal-ai-chat-widget/issues/174)) ([48e665a](https://github.com/stack-spot/portal-ai-chat-widget/commit/48e665a5cb503d6f90e6cbee3ac64bc78357dca3))
|
|
22
|
+
* freemium improves ([#187](https://github.com/stack-spot/portal-ai-chat-widget/issues/187)) ([060a1c5](https://github.com/stack-spot/portal-ai-chat-widget/commit/060a1c52272c86323458aa4c79ba3e53f09fb7f0))
|
|
23
|
+
* Get QC from v2 ([#182](https://github.com/stack-spot/portal-ai-chat-widget/issues/182)) ([0c2ce48](https://github.com/stack-spot/portal-ai-chat-widget/commit/0c2ce48b7faa480dfe431acbfe083d3b1eda5a3d))
|
|
24
|
+
* improve agent built in ([#113](https://github.com/stack-spot/portal-ai-chat-widget/issues/113)) ([9a4f0b7](https://github.com/stack-spot/portal-ai-chat-widget/commit/9a4f0b7f82fe823891ea5bee5fa1249a63a5f7fd))
|
|
25
|
+
* Init default agents ([#116](https://github.com/stack-spot/portal-ai-chat-widget/issues/116)) ([95bffb9](https://github.com/stack-spot/portal-ai-chat-widget/commit/95bffb9b38ee1377e31c2b7b1d15243eb851bf2c))
|
|
26
|
+
* layout css on content of chat ([#161](https://github.com/stack-spot/portal-ai-chat-widget/issues/161)) ([b9c90c8](https://github.com/stack-spot/portal-ai-chat-widget/commit/b9c90c87fa750d93893ca511df66f562909de2ac))
|
|
27
|
+
* pm portal features ([#136](https://github.com/stack-spot/portal-ai-chat-widget/issues/136)) ([8c43666](https://github.com/stack-spot/portal-ai-chat-widget/commit/8c4366609eabd05641881e94b42a20323efe38cf))
|
|
28
|
+
* 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))
|
|
29
|
+
* some export + initial value + keys on chat messages ([#131](https://github.com/stack-spot/portal-ai-chat-widget/issues/131)) ([aede390](https://github.com/stack-spot/portal-ai-chat-widget/commit/aede390517cae16e7bccf81070a847bcb4ce1604))
|
|
30
|
+
* support input with other option ([#73](https://github.com/stack-spot/portal-ai-chat-widget/issues/73)) ([69babf0](https://github.com/stack-spot/portal-ai-chat-widget/commit/69babf0156b42deff65d555c358bb3956760f745))
|
|
31
|
+
* tools ([#66](https://github.com/stack-spot/portal-ai-chat-widget/issues/66)) ([c1f9b93](https://github.com/stack-spot/portal-ai-chat-widget/commit/c1f9b932b7425b6d859b4c82dff517cad4a72c2d))
|
|
32
|
+
* upd layout input ([#152](https://github.com/stack-spot/portal-ai-chat-widget/issues/152)) ([c1e9574](https://github.com/stack-spot/portal-ai-chat-widget/commit/c1e95743c6d8f6f2f6b62da09c81de3c71c7ec55))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Bug Fixes
|
|
36
|
+
|
|
37
|
+
* 918 Copy button and Message MD validator ([#166](https://github.com/stack-spot/portal-ai-chat-widget/issues/166)) ([2120f4c](https://github.com/stack-spot/portal-ai-chat-widget/commit/2120f4c94a853568a0b22830972473047867af0b))
|
|
38
|
+
* add csv in array languages and fix language undefined ([5f3a0ab](https://github.com/stack-spot/portal-ai-chat-widget/commit/5f3a0ab6d9a37cf1ce775937c76d5949a3bf05a6))
|
|
39
|
+
* Add form behavior ([#78](https://github.com/stack-spot/portal-ai-chat-widget/issues/78)) ([e0f30e5](https://github.com/stack-spot/portal-ai-chat-widget/commit/e0f30e5cc2cc3a56df013b61e224060813efc968))
|
|
40
|
+
* add id on button of add for content ([#154](https://github.com/stack-spot/portal-ai-chat-widget/issues/154)) ([e4b09d5](https://github.com/stack-spot/portal-ai-chat-widget/commit/e4b09d562986bb4640e7f3de2252457daf267bd3))
|
|
41
|
+
* add new css classes ([#114](https://github.com/stack-spot/portal-ai-chat-widget/issues/114)) ([6856e56](https://github.com/stack-spot/portal-ai-chat-widget/commit/6856e5641709207cd157a71763ece85d717ac625))
|
|
42
|
+
* Adds attributes to AdaptiveTextArea and updates SelectorBox prop naming ([#194](https://github.com/stack-spot/portal-ai-chat-widget/issues/194)) ([ac34d4b](https://github.com/stack-spot/portal-ai-chat-widget/commit/ac34d4b4c11dcdca74ca1f6111a443282901fe01))
|
|
43
|
+
* agent list styling in Home page ([#123](https://github.com/stack-spot/portal-ai-chat-widget/issues/123)) ([af8b2e5](https://github.com/stack-spot/portal-ai-chat-widget/commit/af8b2e54a5b7a2505447b382ca2615d1d242e931))
|
|
44
|
+
* avatar default agent ([#124](https://github.com/stack-spot/portal-ai-chat-widget/issues/124)) ([195c15a](https://github.com/stack-spot/portal-ai-chat-widget/commit/195c15a4e8ef474f57b151917af053f84b42c148))
|
|
45
|
+
* avoid requests for shared and account agents on trial ([#102](https://github.com/stack-spot/portal-ai-chat-widget/issues/102)) ([1f33036](https://github.com/stack-spot/portal-ai-chat-widget/commit/1f330361ee6182ecdd114d1947087a11297b25fb))
|
|
46
|
+
* Back all tab in '@' and '/' ([#108](https://github.com/stack-spot/portal-ai-chat-widget/issues/108)) ([b57ea06](https://github.com/stack-spot/portal-ai-chat-widget/commit/b57ea06a634b8bbf9bba5f26a816f677d37e6707))
|
|
47
|
+
* Badge layout on Info bar ([#140](https://github.com/stack-spot/portal-ai-chat-widget/issues/140)) ([c2ae430](https://github.com/stack-spot/portal-ai-chat-widget/commit/c2ae4305b0e5944490acd4b26d8d9011c042e22c))
|
|
48
|
+
* calc max height ([#199](https://github.com/stack-spot/portal-ai-chat-widget/issues/199)) ([82d8e02](https://github.com/stack-spot/portal-ai-chat-widget/commit/82d8e0259278063204628c7aeac365777c6a94e0))
|
|
49
|
+
* 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))
|
|
50
|
+
* changes some of the text ([#89](https://github.com/stack-spot/portal-ai-chat-widget/issues/89)) ([fbfce08](https://github.com/stack-spot/portal-ai-chat-widget/commit/fbfce082f741876ef74b7183394343a00142970e))
|
|
51
|
+
* chat options title ([#145](https://github.com/stack-spot/portal-ai-chat-widget/issues/145)) ([03fed29](https://github.com/stack-spot/portal-ai-chat-widget/commit/03fed29ab6897c538f9e453c8b153e1f5ed7b0d8))
|
|
52
|
+
* checkbox "other" repeated multiple times ([#135](https://github.com/stack-spot/portal-ai-chat-widget/issues/135)) ([1e20920](https://github.com/stack-spot/portal-ai-chat-widget/commit/1e20920497dd5aa5b19a28da8e82404a9e3e577c))
|
|
53
|
+
* checkbox multiple options ([#71](https://github.com/stack-spot/portal-ai-chat-widget/issues/71)) ([fcad9a3](https://github.com/stack-spot/portal-ai-chat-widget/commit/fcad9a32f69ee6cb12d385720e4d3a44fa6387c3))
|
|
54
|
+
* copy to clipboard fallback ([#170](https://github.com/stack-spot/portal-ai-chat-widget/issues/170)) ([19b3b10](https://github.com/stack-spot/portal-ai-chat-widget/commit/19b3b1028a00358313eb260c68e65230c8866c3c))
|
|
55
|
+
* execute qc on chat ([#148](https://github.com/stack-spot/portal-ai-chat-widget/issues/148)) ([02c0e62](https://github.com/stack-spot/portal-ai-chat-widget/commit/02c0e62d942d30dd04b1f9a2755f9dfe01e2990f))
|
|
56
|
+
* favorite builtin agent selection ([#109](https://github.com/stack-spot/portal-ai-chat-widget/issues/109)) ([bc9f71c](https://github.com/stack-spot/portal-ai-chat-widget/commit/bc9f71c00264f9fa891408f92c2df99ee3d4a517))
|
|
57
|
+
* Fix 1388 favorites quick command ([#98](https://github.com/stack-spot/portal-ai-chat-widget/issues/98)) ([71d9822](https://github.com/stack-spot/portal-ai-chat-widget/commit/71d9822026c36c5e1acabeffe472bb5f5126aa7b))
|
|
58
|
+
* Fix Favorite text title ([#106](https://github.com/stack-spot/portal-ai-chat-widget/issues/106)) ([1c56984](https://github.com/stack-spot/portal-ai-chat-widget/commit/1c569846be7c9aea8527e48dd427b6391fb4b9d0))
|
|
59
|
+
* Fix input checkbox height([#84](https://github.com/stack-spot/portal-ai-chat-widget/issues/84)) ([3565817](https://github.com/stack-spot/portal-ai-chat-widget/commit/3565817ee3b15b2f9f04cb6e3448fb7df08f6d6e))
|
|
60
|
+
* Fix loading buttons ([#104](https://github.com/stack-spot/portal-ai-chat-widget/issues/104)) ([1b0ebaf](https://github.com/stack-spot/portal-ai-chat-widget/commit/1b0ebafdc1b854c4dad447d0c02bf0e87e30fbc5))
|
|
61
|
+
* Fix text ([#189](https://github.com/stack-spot/portal-ai-chat-widget/issues/189)) ([f201b57](https://github.com/stack-spot/portal-ai-chat-widget/commit/f201b57f0a38f854af3b6afd3373a53a94bf987b))
|
|
62
|
+
* forbidden suspense call ([#111](https://github.com/stack-spot/portal-ai-chat-widget/issues/111)) ([83a4460](https://github.com/stack-spot/portal-ai-chat-widget/commit/83a4460ae87440d7eb41e5751f28d39a9d3d2ef2))
|
|
63
|
+
* Improve input size ([#82](https://github.com/stack-spot/portal-ai-chat-widget/issues/82)) ([bb8ac64](https://github.com/stack-spot/portal-ai-chat-widget/commit/bb8ac64b34b7dd68f41ee29d91892b9a5489dd89))
|
|
64
|
+
* layout for messages without space ([#157](https://github.com/stack-spot/portal-ai-chat-widget/issues/157)) ([071bf1b](https://github.com/stack-spot/portal-ai-chat-widget/commit/071bf1baf4e1a43b27c520537c0d629d24bfbed8))
|
|
65
|
+
* lets pdf files be upload ([#183](https://github.com/stack-spot/portal-ai-chat-widget/issues/183)) ([d422d88](https://github.com/stack-spot/portal-ai-chat-widget/commit/d422d887d6745f2b9c1564c00b70dc6e83010209))
|
|
66
|
+
* on change handling ([#80](https://github.com/stack-spot/portal-ai-chat-widget/issues/80)) ([9e7ed5a](https://github.com/stack-spot/portal-ai-chat-widget/commit/9e7ed5a9dc0a081499d931168f7c333528ab2430))
|
|
67
|
+
* onboarding trial ([#100](https://github.com/stack-spot/portal-ai-chat-widget/issues/100)) ([202375b](https://github.com/stack-spot/portal-ai-chat-widget/commit/202375b689ac9f9067f9cc1f9b827df79cc262ca))
|
|
68
|
+
* placeholder mobile ([#128](https://github.com/stack-spot/portal-ai-chat-widget/issues/128)) ([1bdb76d](https://github.com/stack-spot/portal-ai-chat-widget/commit/1bdb76db84aadb4189fc442f867554b1b764746a))
|
|
69
|
+
* prevent useless double click in message menu ([#178](https://github.com/stack-spot/portal-ai-chat-widget/issues/178)) ([9ba7099](https://github.com/stack-spot/portal-ai-chat-widget/commit/9ba7099c8463ed07bbcaed975b499226503263d4))
|
|
70
|
+
* removes some upload types ([#180](https://github.com/stack-spot/portal-ai-chat-widget/issues/180)) ([7d31860](https://github.com/stack-spot/portal-ai-chat-widget/commit/7d318601ca7e40d855e2bd406dd7071886506cd9))
|
|
71
|
+
* rename space to spot ([#138](https://github.com/stack-spot/portal-ai-chat-widget/issues/138)) ([8205cbc](https://github.com/stack-spot/portal-ai-chat-widget/commit/8205cbc6c1358fd3427a00ebbab61f37dc537ea2))
|
|
72
|
+
* Revert "Change to space" ([#120](https://github.com/stack-spot/portal-ai-chat-widget/issues/120)) ([7229a0e](https://github.com/stack-spot/portal-ai-chat-widget/commit/7229a0eea605c62f09cd97706809b549b4066dc5))
|
|
73
|
+
* send button adjusts ([#195](https://github.com/stack-spot/portal-ai-chat-widget/issues/195)) ([a31fc1f](https://github.com/stack-spot/portal-ai-chat-widget/commit/a31fc1ff33c5ed511aa890fda856adc84e2e840b))
|
|
74
|
+
* set language to undefined if panel is closed ([#162](https://github.com/stack-spot/portal-ai-chat-widget/issues/162)) ([5ae54d5](https://github.com/stack-spot/portal-ai-chat-widget/commit/5ae54d54937b4562a03201c5943721e37ffaa21d))
|
|
75
|
+
* small styling issues ([#168](https://github.com/stack-spot/portal-ai-chat-widget/issues/168)) ([2a2ee42](https://github.com/stack-spot/portal-ai-chat-widget/commit/2a2ee428bf5d6b4fb1964ae35852dfc4d2e18f69))
|
|
76
|
+
* spacing chat messages ([#164](https://github.com/stack-spot/portal-ai-chat-widget/issues/164)) ([18c82fd](https://github.com/stack-spot/portal-ai-chat-widget/commit/18c82fd724bf16a9caaaa2c8636f6c524e324caa))
|
|
77
|
+
* Support trial on chat options ([#91](https://github.com/stack-spot/portal-ai-chat-widget/issues/91)) ([5333329](https://github.com/stack-spot/portal-ai-chat-widget/commit/5333329a57b0bd008a7d13c98e23ece1c5e39115))
|
|
78
|
+
* 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))
|
|
79
|
+
* Update release ([#203](https://github.com/stack-spot/portal-ai-chat-widget/issues/203)) ([5cb758e](https://github.com/stack-spot/portal-ai-chat-widget/commit/5cb758e1832ff41485300d08f6e306917d80e142))
|
|
80
|
+
* update text ([#185](https://github.com/stack-spot/portal-ai-chat-widget/issues/185)) ([58c03d3](https://github.com/stack-spot/portal-ai-chat-widget/commit/58c03d36e4bec75cbdb721202e8fed694499a7be))
|
|
81
|
+
* use visibility parameter to retrieve shared and personal agents ([#63](https://github.com/stack-spot/portal-ai-chat-widget/issues/63)) ([0ab4444](https://github.com/stack-spot/portal-ai-chat-widget/commit/0ab4444a805918ee7517f9f966f416fd528669fd))
|
|
82
|
+
|
|
83
|
+
## [1.29.0](https://github.com/stack-spot/portal-ai-chat-widget/compare/ai-chat-widget@v1.28.1...ai-chat-widget@v1.29.0) (2025-07-03)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
### Features
|
|
87
|
+
|
|
88
|
+
* Adds drag-and-drop and paste upload functionality ([#192](https://github.com/stack-spot/portal-ai-chat-widget/issues/192)) ([a052b9e](https://github.com/stack-spot/portal-ai-chat-widget/commit/a052b9e8108b6a0971d96596f25c6be873664980))
|
|
89
|
+
|
|
90
|
+
## [1.28.1](https://github.com/stack-spot/portal-ai-chat-widget/compare/ai-chat-widget@v1.28.0...ai-chat-widget@v1.28.1) (2025-07-03)
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
### Bug Fixes
|
|
94
|
+
|
|
95
|
+
* Adds attributes to AdaptiveTextArea and updates SelectorBox prop naming ([#194](https://github.com/stack-spot/portal-ai-chat-widget/issues/194)) ([ac34d4b](https://github.com/stack-spot/portal-ai-chat-widget/commit/ac34d4b4c11dcdca74ca1f6111a443282901fe01))
|
|
96
|
+
* send button adjusts ([#195](https://github.com/stack-spot/portal-ai-chat-widget/issues/195)) ([a31fc1f](https://github.com/stack-spot/portal-ai-chat-widget/commit/a31fc1ff33c5ed511aa890fda856adc84e2e840b))
|
|
97
|
+
|
|
3
98
|
## [1.28.0](https://github.com/stack-spot/portal-ai-chat-widget/compare/ai-chat-widget@v1.27.1...ai-chat-widget@v1.28.0) (2025-07-01)
|
|
4
99
|
|
|
5
100
|
|
package/dist/app-metadata.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stack-spot/ai-chat-widget",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"date": "
|
|
3
|
+
"version": "1.30.0-beta.1",
|
|
4
|
+
"date": "Fri Jul 04 2025 14:36:24 GMT+0000 (Coordinated Universal Time)",
|
|
5
5
|
"dependencies": [
|
|
6
6
|
{
|
|
7
7
|
"name": "@stack-spot/app-metadata",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
"name": "@stack-spot/portal-network",
|
|
116
|
-
"version": "0.
|
|
116
|
+
"version": "0.150.2-beta.1(@stack-spot/auth@5.3.2)(@stack-spot/opa@2.5.0(@stack-spot/auth@5.3.2)(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(@stack-spot/portal-translate@1.1.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(@tanstack/react-query@5.59.16(react@18.2.0))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)"
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
119
|
"name": "@stack-spot/portal-theme",
|
|
@@ -40,6 +40,6 @@ export const AdaptiveTextArea = forwardRef(({ value, onIncreaseSize, onResetSize
|
|
|
40
40
|
onResetSize?.();
|
|
41
41
|
}
|
|
42
42
|
}, [value, maxHeight]);
|
|
43
|
-
return _jsx(Textarea, { ...props, ref: ref, value: value, style: { ...style, maxHeight } });
|
|
43
|
+
return _jsx(Textarea, { id: "prompt-textarea", name: "prompt-textarea", ...props, ref: ref, value: value, style: { ...style, maxHeight } });
|
|
44
44
|
});
|
|
45
45
|
//# sourceMappingURL=AdaptiveTextArea.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdaptiveTextArea.js","sourceRoot":"","sources":["../../src/components/AdaptiveTextArea.tsx"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE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AK,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,GAAG,KAAK,EAAE,SAAS,EAAE,GAAI,CAAA;AACpI,CAAC,CAAC,CAAA"}
|
|
@@ -109,7 +109,7 @@ export const Selector = ({ inputRef, selectorConfig, favorite }) => {
|
|
|
109
109
|
document.addEventListener('click', onClickOut);
|
|
110
110
|
return () => document.removeEventListener('click', onClickOut);
|
|
111
111
|
}, [shouldRender]);
|
|
112
|
-
return (_jsx(SelectorBox, { tabsCount: selectorConfig.sections.length, children: _jsx(Fading, { visible: shouldRender, ref: selectorRef, className: "box-selector", children: _jsx(SelectorContent, { favorite: favorite, selectorConfig: selectorConfig, filter: filter, onClose: () => setClosed(true), inputRef: inputRef }) }) }));
|
|
112
|
+
return (_jsx(SelectorBox, { "$tabsCount": selectorConfig.sections.length, children: _jsx(Fading, { visible: shouldRender, ref: selectorRef, className: "box-selector", children: _jsx(SelectorContent, { favorite: favorite, selectorConfig: selectorConfig, filter: filter, onClose: () => setClosed(true), inputRef: inputRef }) }) }));
|
|
113
113
|
};
|
|
114
114
|
const dictionary = {
|
|
115
115
|
en: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/Selector/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAA;AAEnE,OAAO,EAAc,WAAW,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AACpF,OAAc,EAAM,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AACpF,OAAO,EAAE,mBAAmB,EAAE,M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,EAAE,UAAU;QACpB,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,QAAQ;QAChB,UAAU,EAAE,UAAU;QACtB,SAAS,EAAE,MAAM;QACjB,KAAK,EAAE,yBAAyB;QAChC,MAAM,EAAE,6BAA6B;QACrC,SAAS,EAAE,gCAAgC;QAC3C,IAAI,EAAE,qCAAqC;QAC3C,QAAQ,EAAE,WAAW;KACtB;IACD,EAAE,EAAE;QACF,GAAG,EAAE,OAAO;QACZ,QAAQ,EAAE,SAAS;QACnB,OAAO,EAAE,OAAO;QAChB,MAAM,EAAE,eAAe;QACvB,SAAS,EAAE,MAAM;QACjB,UAAU,EAAE,UAAU;QACtB,KAAK,EAAE,mCAAmC;QAC1C,MAAM,EAAE,4BAA4B;QACpC,SAAS,EAAE,4BAA4B;QACvC,IAAI,EAAE,iDAAiD;QACvD,QAAQ,EAAE,WAAW;KACtB;CACmB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const SelectorBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
2
|
-
tabsCount: number;
|
|
2
|
+
$tabsCount: number;
|
|
3
3
|
}>> & string;
|
|
4
4
|
//# sourceMappingURL=styled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/Selector/styled.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;
|
|
1
|
+
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/Selector/styled.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;gBAA4B,MAAM;YAsJzD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/components/Selector/styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EA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,7 +191,8 @@
|
|
|
191
191
|
|
|
192
192
|
.upload-drag-drop {
|
|
193
193
|
display: flex;
|
|
194
|
-
background: #00000090;
|
|
194
|
+
background-color: #00000090;
|
|
195
|
+
background-color: color-mix(in srgb, var(--light-300) 80%, transparent);
|
|
195
196
|
position: absolute;
|
|
196
197
|
width: 99%;
|
|
197
198
|
height: 99%;
|
|
@@ -200,7 +201,8 @@
|
|
|
200
201
|
flex-direction: column;
|
|
201
202
|
justify-content: center;
|
|
202
203
|
align-items: center;
|
|
203
|
-
border:
|
|
204
|
+
border: 1px dashed var(--secondary-500);
|
|
204
205
|
z-index: 9999;
|
|
205
206
|
pointer-events: auto;
|
|
207
|
+
color: var(--light-contrastText)
|
|
206
208
|
}
|
|
@@ -12,7 +12,7 @@ export const AgentDescription = ({ agentId }) => {
|
|
|
12
12
|
const [agent, , , { isLoading }] = agentToolsClient.agent.useStatefulQuery({ agentId: agentId }, { enabled: !!agentId });
|
|
13
13
|
const [toolKits, , , { isLoading: isLoadingToolKit }] = agentToolsClient.tools.useStatefulQuery({});
|
|
14
14
|
const numberOfKnowledgeSources = agent?.knowledge_source_config?.knowledge_sources.length ?? 0;
|
|
15
|
-
const knowledgeSources = useMemo(() => agent?.knowledge_source_config?.
|
|
15
|
+
const knowledgeSources = useMemo(() => agent?.knowledge_source_config?.knowledge_sources_details?.map((ks, index) => (_jsx("li", { children: _jsx(Badge, { palette: "teal", appearance: "square", children: ks.name }) }, index))), [agent]);
|
|
16
16
|
const skeleton = useMemo(() => {
|
|
17
17
|
const loadingKS = [];
|
|
18
18
|
for (let i = 0; i < numberOfKnowledgeSources; i++) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgentDescription.js","sourceRoot":"","sources":["../../../src/views/Agents/AgentDescription.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACnC,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;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T,CAAC,CAAC,CAAC,wBAAwB,IAAI,CAAC,CAAC,gBAAgB,EAAE,MAAM,CAAC,IAAI,8BAC7D,KAAC,IAAI,IAAC,UAAU,EAAC,YAAY,EAAC,SAAS,EAAC,OAAO,kCAAyB,EACxE,uBAAK,SAAS,IAAI,gBAAgB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,gBAAgB,GAAM,IAC9D,EACT,CAAC,CAAC,KAAK,CAAC,MAAM,IAAI,8BACjB,KAAC,IAAI,IAAC,UAAU,EAAC,YAAY,EAAC,SAAS,EAAC,OAAO,YAAE,CAAC,CAAC,KAAK,GAAQ,EAChE,uBAAK,KAAK,GAAM,IACR,EACT,KAAK,EAAE,UAAU,IAAI,8BACpB,KAAC,IAAI,IAAC,UAAU,EAAC,YAAY,EAAC,SAAS,EAAC,OAAO,oBAAW,EAC1D,KAAC,KAAK,IAAC,OAAO,EAAC,QAAQ,EAAC,UAAU,EAAC,QAAQ,YAAE,KAAK,EAAE,UAAU,GAAS,IAC/D,IACU,CACvB,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadDragNDrop.d.ts","sourceRoot":"","sources":["../../../src/views/MessageInput/UploadDragNDrop.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAoC,MAAM,OAAO,CAAA;AAInE,wBAAgB,iBAAiB,CAAC,iBAAiB,GAAE,MAA0B;;oBAI1C,SAAS;yBASJ,SAAS;EA2BlD;AAED,UAAU,oBAAoB;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI,CAAC;IAChC,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI,CAAC;CACtC;AAED,eAAO,MAAM,eAAe,wCAAyC,oBAAoB,
|
|
1
|
+
{"version":3,"file":"UploadDragNDrop.d.ts","sourceRoot":"","sources":["../../../src/views/MessageInput/UploadDragNDrop.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAoC,MAAM,OAAO,CAAA;AAInE,wBAAgB,iBAAiB,CAAC,iBAAiB,GAAE,MAA0B;;oBAI1C,SAAS;yBASJ,SAAS;EA2BlD;AAED,UAAU,oBAAoB;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI,CAAC;IAChC,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI,CAAC;CACtC;AAED,eAAO,MAAM,eAAe,wCAAyC,oBAAoB,mDA2BxF,CAAA"}
|
|
@@ -44,9 +44,9 @@ export const UploadDragNDrop = ({ isDragging, onDrop, onDragLeave }) => {
|
|
|
44
44
|
const t = useMessageInputDictionary();
|
|
45
45
|
if (!isDragging)
|
|
46
46
|
return null;
|
|
47
|
-
return (_jsxs("div", { className: "upload-drag-drop",
|
|
47
|
+
return (_jsxs("div", { className: "upload-drag-drop", role: "dialog", "aria-modal": "true", "aria-labelledby": "upload-drag-drop-title", "aria-describedby": "upload-drag-drop-description", tabIndex: -1, onDrop: onDrop, onDragLeave: onDragLeave, onDragOver: e => {
|
|
48
48
|
e.preventDefault();
|
|
49
49
|
e.stopPropagation();
|
|
50
|
-
},
|
|
50
|
+
}, children: [_jsx(IconBox, { size: "lg", "aria-hidden": true, children: _jsx(Document, {}) }), _jsx("h2", { id: "upload-drag-drop-title", children: t.uploadDragDropTitle }), _jsx("p", { id: "upload-drag-drop-description", children: t.uploadDragDropDescription })] }));
|
|
51
51
|
};
|
|
52
52
|
//# sourceMappingURL=UploadDragNDrop.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UploadDragNDrop.js","sourceRoot":"","sources":["../../../src/views/MessageInput/UploadDragNDrop.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACt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,eAAe;KAChB,CAAA;AACH,CAAC;AAQD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAwB,EAAE,EAAE;IAC3F,MAAM,CAAC,GAAG,yBAAyB,EAAE,CAAA;IAErC,IAAI,CAAC,UAAU;QAAE,OAAO,IAAI,CAAA;IAE5B,OAAO,CACL,eACE,SAAS,EAAC,kBAAkB,EAC5B,IAAI,EAAC,QAAQ,gBACF,MAAM,qBACD,wBAAwB,sBACvB,8BAA8B,EAC/C,QAAQ,EAAE,CAAC,CAAC,EACZ,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,CAAC,CAAC,EAAE;YACd,CAAC,CAAC,cAAc,EAAE,CAAA;YAClB,CAAC,CAAC,eAAe,EAAE,CAAA;QACrB,CAAC,aAED,KAAC,OAAO,IAAC,IAAI,EAAC,IAAI,iBAAc,IAAI,YAClC,KAAC,QAAQ,KAAG,GACJ,EACV,aAAI,EAAE,EAAC,wBAAwB,YAAE,CAAC,CAAC,mBAAmB,GAAM,EAC5D,YAAG,EAAE,EAAC,8BAA8B,YAAE,CAAC,CAAC,yBAAyB,GAAK,IAClE,CACP,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const useMessageInputDictionary: () => Record<"code" | "placeholder" | "selected" | "send" | "cancel" | "stack" | "knowledgeSource" | "agent" | "upload" | "remove" | "collapse" | "spot" | "typing" | "removeConfig" | "removeStack" | "removeWorkspace" | "removeKS" | "removeSelection" | "expand" | "uploadSizeError" | "uploadItemLimitError" | "uploadError" | "uploadDragging" | "uploadDragDropTitle" | "uploadDragDropDescription" | "cantSendBecauseOfUploadError" | "cantSendBecauseOfUploadProgress" | "cantSendBecauseOfEmptyContent" | "chatAgent", string>;
|
|
1
|
+
export declare const useMessageInputDictionary: () => Record<"code" | "placeholder" | "selected" | "send" | "cancel" | "stack" | "knowledgeSource" | "agent" | "upload" | "remove" | "collapse" | "spot" | "typing" | "removeConfig" | "removeStack" | "removeWorkspace" | "removeKS" | "removeSelection" | "expand" | "uploadSizeError" | "uploadItemLimitError" | "uploadError" | "uploadDragging" | "uploadDragDropTitle" | "uploadDragDropDescription" | "unknownUploadError" | "cantSendBecauseOfUploadError" | "cantSendBecauseOfUploadProgress" | "cantSendBecauseOfEmptyContent" | "chatAgent", string>;
|
|
2
2
|
//# sourceMappingURL=dictionary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.d.ts","sourceRoot":"","sources":["../../../src/views/MessageInput/dictionary.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dictionary.d.ts","sourceRoot":"","sources":["../../../src/views/MessageInput/dictionary.ts"],"names":[],"mappings":"AAqEA,eAAO,MAAM,yBAAyB,iiBAAiC,CAAA"}
|
|
@@ -24,8 +24,9 @@ const dictionary = {
|
|
|
24
24
|
uploadItemLimitError: 'The following files were not added because no more than $1 items may be uploaded at a time:',
|
|
25
25
|
uploadError: 'An error occurred while uploading the file "$0".',
|
|
26
26
|
uploadDragging: 'Drop the file here to upload',
|
|
27
|
-
uploadDragDropTitle: '
|
|
28
|
-
uploadDragDropDescription: '
|
|
27
|
+
uploadDragDropTitle: 'Drop your files here',
|
|
28
|
+
uploadDragDropDescription: 'Drag or drop files to share in the conversation',
|
|
29
|
+
unknownUploadError: 'An error occurred while uploading the files.',
|
|
29
30
|
cantSendBecauseOfUploadError: 'Can\'t send the message because one of the files in the upload list could not be uploaded. Please, retry it or remove it from the list.',
|
|
30
31
|
cantSendBecauseOfUploadProgress: 'Please wait until all files are uploaded before sending the message. You can also cancel the upload by removing it from the list of uploads.',
|
|
31
32
|
cantSendBecauseOfEmptyContent: 'You can\'t send empty messages. Please write some text or upload a file.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.js","sourceRoot":"","sources":["../../../src/views/MessageInput/dictionary.ts"],"names":[],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A4B,EAAE,4JAA4J;QAC1L,+BAA+B,EAAE,iJAAiJ;QAClL,6BAA6B,EAAE,6FAA6F;QAC5H,SAAS,EAAE,SAAS;KACrB;CACmB,CAAA;AAEtB,MAAM,CAAC,MAAM,yBAAyB,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare const MAX_INPUT_HEIGHT = 200;
|
|
1
2
|
export declare const MIN_INPUT_HEIGHT = 24;
|
|
2
3
|
export declare const SelectionBarWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
4
|
export declare const MessageInputBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/views/MessageInput/styled.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,gBAAgB,KAAK,CAAA;AAElC,eAAO,MAAM,mBAAmB,wOAyC/B,CAAA;AAED,eAAO,MAAM,eAAe;oBAA+B,OAAO;YAkPjE,CAAA"}
|
|
1
|
+
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/views/MessageInput/styled.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,gBAAgB,MAAM,CAAA;AACnC,eAAO,MAAM,gBAAgB,KAAK,CAAA;AAElC,eAAO,MAAM,mBAAmB,wOAyC/B,CAAA;AAED,eAAO,MAAM,eAAe;oBAA+B,OAAO;YAkPjE,CAAA"}
|
|
@@ -5,6 +5,7 @@ const CONTEXT_BAR_HEIGHT = 38;
|
|
|
5
5
|
const CONTEXT_BAR_DISPLACEMENT = 4;
|
|
6
6
|
const UPLOAD_BAR_HEIGHT = 60;
|
|
7
7
|
const UPLOAD_BAR_DISPLACEMENT = 4;
|
|
8
|
+
export const MAX_INPUT_HEIGHT = 200;
|
|
8
9
|
export const MIN_INPUT_HEIGHT = 24;
|
|
9
10
|
export const SelectionBarWrapper = styled.div `
|
|
10
11
|
display: inline-flex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/views/MessageInput/styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE1C,MAAM,kBAAkB,GAAG,EAAE,CAAA;AAC7B,MAAM,wBAAwB,GAAG,CAAC,CAAA;AAClC,MAAM,iBAAiB,GAAG,EAAE,CAAA;AAC5B,MAAM,uBAAuB,GAAG,CAAC,CAAA;AACjC,MAAM,CAAC,MAAM,gBAAgB,GAAG,EAAE,CAAA;AAElC,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;sBAKvB,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC;;;;;;;;;;;;;;wBAcpB,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;0BAgBpB,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC;;;0BAGtB,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC;;;CAG/C,CAAA;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,MAAM,CAAC,GAAG,CAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;0BA0B1C,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;sBA0B1B,kBAAkB,GAAG,wBAAwB;wBAC3C,kBAAkB;;;;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AAK,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC;;;;;;;oBAOlC,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,YAAY;;;;;;;;;;;;;;;;;;;8BAmBpB,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC;;;;;;;;;cAStC,gBAAgB;;;;;;;;CAQ7B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stack-spot/ai-chat-widget",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.30.0-beta.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"@citric/core": "^6.4.0",
|
|
14
14
|
"@stack-spot/portal-components": "^2.22.1",
|
|
15
15
|
"@citric/icons": "^5.13.0",
|
|
16
|
-
"@stack-spot/portal-network": "0.
|
|
16
|
+
"@stack-spot/portal-network": "0.150.2-beta.1",
|
|
17
17
|
"@citric/ui": "^6.10.2",
|
|
18
18
|
"@stack-spot/portal-theme": "^1.0.0",
|
|
19
19
|
"@stack-spot/portal-translate": "^1.1.0",
|
package/src/app-metadata.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stack-spot/ai-chat-widget",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"date": "
|
|
3
|
+
"version": "1.30.0-beta.1",
|
|
4
|
+
"date": "Fri Jul 04 2025 14:36:24 GMT+0000 (Coordinated Universal Time)",
|
|
5
5
|
"dependencies": [
|
|
6
6
|
{
|
|
7
7
|
"name": "@stack-spot/app-metadata",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
"name": "@stack-spot/portal-network",
|
|
116
|
-
"version": "0.
|
|
116
|
+
"version": "0.150.2-beta.1(@stack-spot/auth@5.3.2)(@stack-spot/opa@2.5.0(@stack-spot/auth@5.3.2)(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(@stack-spot/portal-translate@1.1.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0))(@tanstack/react-query@5.59.16(react@18.2.0))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)"
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
119
|
"name": "@stack-spot/portal-theme",
|
|
@@ -63,5 +63,5 @@ export const AdaptiveTextArea = forwardRef<HTMLTextAreaElement, Props>((
|
|
|
63
63
|
}
|
|
64
64
|
}, [value, maxHeight])
|
|
65
65
|
|
|
66
|
-
return <Textarea {...props} ref={ref} value={value} style={{ ...style, maxHeight }} />
|
|
66
|
+
return <Textarea id="prompt-textarea" name="prompt-textarea" {...props} ref={ref} value={value} style={{ ...style, maxHeight }} />
|
|
67
67
|
})
|
|
@@ -247,7 +247,7 @@ export const Selector = <T, >({ inputRef, selectorConfig, favorite }: SelectorPr
|
|
|
247
247
|
}, [shouldRender])
|
|
248
248
|
|
|
249
249
|
return (
|
|
250
|
-
<SelectorBox tabsCount={selectorConfig.sections.length}>
|
|
250
|
+
<SelectorBox $tabsCount={selectorConfig.sections.length}>
|
|
251
251
|
<Fading visible={shouldRender} ref={selectorRef} className="box-selector">
|
|
252
252
|
<SelectorContent
|
|
253
253
|
favorite={favorite}
|
|
@@ -2,7 +2,7 @@ import { theme } from '@stack-spot/portal-theme'
|
|
|
2
2
|
import { styled } from 'styled-components'
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
export const SelectorBox = styled.div<{tabsCount: number}>`
|
|
5
|
+
export const SelectorBox = styled.div<{ $tabsCount: number }>`
|
|
6
6
|
position: absolute;
|
|
7
7
|
bottom: 0;
|
|
8
8
|
|
|
@@ -54,7 +54,7 @@ export const SelectorBox = styled.div<{tabsCount: number}>`
|
|
|
54
54
|
flex-direction: row;
|
|
55
55
|
align-items: center;
|
|
56
56
|
align-items: flex-start;
|
|
57
|
-
height: ${({ tabsCount }) => 34 + (tabsCount * 34)}px;
|
|
57
|
+
height: ${({ $tabsCount }) => 34 + ($tabsCount * 34)}px;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
ul {
|
package/src/layout.css
CHANGED
|
@@ -191,7 +191,8 @@
|
|
|
191
191
|
|
|
192
192
|
.upload-drag-drop {
|
|
193
193
|
display: flex;
|
|
194
|
-
background: #00000090;
|
|
194
|
+
background-color: #00000090;
|
|
195
|
+
background-color: color-mix(in srgb, var(--light-300) 80%, transparent);
|
|
195
196
|
position: absolute;
|
|
196
197
|
width: 99%;
|
|
197
198
|
height: 99%;
|
|
@@ -200,7 +201,8 @@
|
|
|
200
201
|
flex-direction: column;
|
|
201
202
|
justify-content: center;
|
|
202
203
|
align-items: center;
|
|
203
|
-
border:
|
|
204
|
+
border: 1px dashed var(--secondary-500);
|
|
204
205
|
z-index: 9999;
|
|
205
206
|
pointer-events: auto;
|
|
207
|
+
color: var(--light-contrastText)
|
|
206
208
|
}
|
|
@@ -14,8 +14,8 @@ export const AgentDescription = ({ agentId }: { agentId?: string }) => {
|
|
|
14
14
|
const numberOfKnowledgeSources = agent?.knowledge_source_config?.knowledge_sources.length ?? 0
|
|
15
15
|
|
|
16
16
|
const knowledgeSources = useMemo(
|
|
17
|
-
() => agent?.knowledge_source_config?.
|
|
18
|
-
<li key={index}><Badge palette="teal" appearance="square">{ks}</Badge></li>
|
|
17
|
+
() => agent?.knowledge_source_config?.knowledge_sources_details?.map((ks, index) => (
|
|
18
|
+
<li key={index}><Badge palette="teal" appearance="square">{ks.name}</Badge></li>
|
|
19
19
|
)),
|
|
20
20
|
[agent],
|
|
21
21
|
)
|
|
@@ -60,18 +60,17 @@ export const UploadDragNDrop = ({ isDragging, onDrop, onDragLeave }: UploadDragN
|
|
|
60
60
|
return (
|
|
61
61
|
<div
|
|
62
62
|
className="upload-drag-drop"
|
|
63
|
-
data-active={isDragging}
|
|
64
63
|
role="dialog"
|
|
65
64
|
aria-modal="true"
|
|
66
65
|
aria-labelledby="upload-drag-drop-title"
|
|
67
66
|
aria-describedby="upload-drag-drop-description"
|
|
67
|
+
tabIndex={-1}
|
|
68
68
|
onDrop={onDrop}
|
|
69
69
|
onDragLeave={onDragLeave}
|
|
70
70
|
onDragOver={e => {
|
|
71
71
|
e.preventDefault()
|
|
72
72
|
e.stopPropagation()
|
|
73
73
|
}}
|
|
74
|
-
tabIndex={-1}
|
|
75
74
|
>
|
|
76
75
|
<IconBox size="lg" aria-hidden={true}>
|
|
77
76
|
<Document />
|
|
@@ -25,8 +25,9 @@ const dictionary = {
|
|
|
25
25
|
uploadItemLimitError: 'The following files were not added because no more than $1 items may be uploaded at a time:',
|
|
26
26
|
uploadError: 'An error occurred while uploading the file "$0".',
|
|
27
27
|
uploadDragging: 'Drop the file here to upload',
|
|
28
|
-
uploadDragDropTitle: '
|
|
29
|
-
uploadDragDropDescription: '
|
|
28
|
+
uploadDragDropTitle: 'Drop your files here',
|
|
29
|
+
uploadDragDropDescription: 'Drag or drop files to share in the conversation',
|
|
30
|
+
unknownUploadError: 'An error occurred while uploading the files.',
|
|
30
31
|
cantSendBecauseOfUploadError: 'Can\'t send the message because one of the files in the upload list could not be uploaded. Please, retry it or remove it from the list.',
|
|
31
32
|
cantSendBecauseOfUploadProgress: 'Please wait until all files are uploaded before sending the message. You can also cancel the upload by removing it from the list of uploads.',
|
|
32
33
|
cantSendBecauseOfEmptyContent: 'You can\'t send empty messages. Please write some text or upload a file.',
|