@stack-spot/ai-chat-widget 2.0.4-beta.1 → 2.0.5-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 +3 -182
- package/dist/app-metadata.json +2 -2
- package/dist/views/Chat/StepsList.d.ts +3 -2
- package/dist/views/Chat/StepsList.d.ts.map +1 -1
- package/dist/views/Chat/StepsList.js +19 -10
- package/dist/views/Chat/StepsList.js.map +1 -1
- package/package.json +1 -1
- package/src/app-metadata.json +2 -2
- package/src/views/Chat/StepsList.tsx +26 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,197 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [2.0.
|
|
3
|
+
## [2.0.5-beta.1](https://github.com/stack-spot/portal-ai-chat-widget/compare/ai-chat-widget-beta@v2.0.4-beta.1...ai-chat-widget-beta@v2.0.5-beta.1) (2025-10-13)
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
### Bug Fixes
|
|
7
7
|
|
|
8
|
-
*
|
|
8
|
+
* deploy ([b1f308f](https://github.com/stack-spot/portal-ai-chat-widget/commit/b1f308f875ad63625dafc6f04f3929ee35a1d607))
|
|
9
9
|
|
|
10
|
-
## [2.0
|
|
10
|
+
## [2.1.0](https://github.com/stack-spot/portal-ai-chat-widget/compare/ai-chat-widget@v2.0.0...ai-chat-widget@v2.1.0) (2025-10-01)
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
### Bug Fixes
|
|
14
|
-
|
|
15
|
-
* improve layout execution modes chat ([#318](https://github.com/stack-spot/portal-ai-chat-widget/issues/318)) ([f99043d](https://github.com/stack-spot/portal-ai-chat-widget/commit/f99043d2cc3ab300018170589b3d4888d3cf1f03))
|
|
16
|
-
|
|
17
|
-
## [2.0.2-beta.1](https://github.com/stack-spot/portal-ai-chat-widget/compare/ai-chat-widget-beta@v2.0.1-beta.1...ai-chat-widget-beta@v2.0.2-beta.1) (2025-10-07)
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
### Bug Fixes
|
|
21
|
-
|
|
22
|
-
* force deploy ([b501668](https://github.com/stack-spot/portal-ai-chat-widget/commit/b50166827269688e42326e0a4beb6c338a93dec3))
|
|
23
|
-
|
|
24
|
-
## [2.0.1-beta.1](https://github.com/stack-spot/portal-ai-chat-widget/compare/ai-chat-widget-beta@v3.0.0-beta.1...ai-chat-widget-beta@v3.0.1-beta.1) (2025-10-06)
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
### Bug Fixes
|
|
28
|
-
|
|
29
|
-
* show steps ([#314](https://github.com/stack-spot/portal-ai-chat-widget/issues/314)) ([b48c88a](https://github.com/stack-spot/portal-ai-chat-widget/commit/b48c88a99d1bd6dec9ce04475fed806a8bfe61d4))
|
|
30
|
-
|
|
31
|
-
## [3.0.0-beta.1](https://github.com/stack-spot/portal-ai-chat-widget/compare/ai-chat-widget-beta@v2.1.0-beta.1...ai-chat-widget-beta@v3.0.0-beta.1) (2025-10-03)
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
### ⚠ BREAKING CHANGES
|
|
35
|
-
|
|
36
|
-
* updates Citric + ADP features ([#304](https://github.com/stack-spot/portal-ai-chat-widget/issues/304))
|
|
37
|
-
|
|
38
13
|
### Features
|
|
39
14
|
|
|
40
|
-
* 2721 context upload file ([#248](https://github.com/stack-spot/portal-ai-chat-widget/issues/248)) ([f7b8d0b](https://github.com/stack-spot/portal-ai-chat-widget/commit/f7b8d0b99cdf93fa1386d9d2d52d72515404979f))
|
|
41
|
-
* 3049 execution modes chat ([#312](https://github.com/stack-spot/portal-ai-chat-widget/issues/312)) ([e5df99a](https://github.com/stack-spot/portal-ai-chat-widget/commit/e5df99a7a688603cd2d4f8786ad662dcaab4c3e2))
|
|
42
|
-
* accept csv ([#238](https://github.com/stack-spot/portal-ai-chat-widget/issues/238)) ([868f4ee](https://github.com/stack-spot/portal-ai-chat-widget/commit/868f4eed18df6038e8e7a2694221d055edf2eded))
|
|
43
|
-
* add filters to show contents in chat ([#240](https://github.com/stack-spot/portal-ai-chat-widget/issues/240)) ([95dd865](https://github.com/stack-spot/portal-ai-chat-widget/commit/95dd8659e623e0eeb6afb6d3380e83e9c4bb2b86))
|
|
44
|
-
* 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))
|
|
45
|
-
* add visibility filter for recently used agents ([#247](https://github.com/stack-spot/portal-ai-chat-widget/issues/247)) ([bc85769](https://github.com/stack-spot/portal-ai-chat-widget/commit/bc85769b7863f4bca2202852804e4b603fca9f7b))
|
|
46
|
-
* 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))
|
|
47
|
-
* 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))
|
|
48
|
-
* agent as tools ([#290](https://github.com/stack-spot/portal-ai-chat-widget/issues/290)) ([0a853a4](https://github.com/stack-spot/portal-ai-chat-widget/commit/0a853a492426353b5aacb2d3ca33a4b9a054c3ea))
|
|
49
|
-
* Change knowledge_source_config to knowledge_sources_config([#274](https://github.com/stack-spot/portal-ai-chat-widget/issues/274)) ([2ce8748](https://github.com/stack-spot/portal-ai-chat-widget/commit/2ce8748d3e16d33aa11c7436dd3e463fb68abb5b))
|
|
50
|
-
* custom tools ([#222](https://github.com/stack-spot/portal-ai-chat-widget/issues/222)) ([03cab5b](https://github.com/stack-spot/portal-ai-chat-widget/commit/03cab5bcbe9b51e04dcaecfdb1a0a35a6646dc2b))
|
|
51
|
-
* Feat agent as tools dropdwon upd ([#291](https://github.com/stack-spot/portal-ai-chat-widget/issues/291)) ([50770a4](https://github.com/stack-spot/portal-ai-chat-widget/commit/50770a4c39ba3c289a926fabc1969944a8ed5475))
|
|
52
|
-
* 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))
|
|
53
|
-
* 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))
|
|
54
|
-
* 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))
|
|
55
|
-
* 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))
|
|
56
|
-
* support qc conditional ([#228](https://github.com/stack-spot/portal-ai-chat-widget/issues/228)) ([6c5aa8c](https://github.com/stack-spot/portal-ai-chat-widget/commit/6c5aa8cc25f22d44bb8cb40fb3e9383d60f86ccf))
|
|
57
|
-
* tools and new api agent ([f1384f2](https://github.com/stack-spot/portal-ai-chat-widget/commit/f1384f255ab091733f3a93815735641c9e8e7f18))
|
|
58
|
-
* 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))
|
|
59
|
-
* updates Citric + ADP features ([#304](https://github.com/stack-spot/portal-ai-chat-widget/issues/304)) ([30f068d](https://github.com/stack-spot/portal-ai-chat-widget/commit/30f068d25f6e677241bc4ce4e92cc85910b12fe9))
|
|
60
15
|
* upgrades translation lib + auth ([#310](https://github.com/stack-spot/portal-ai-chat-widget/issues/310)) ([8bae024](https://github.com/stack-spot/portal-ai-chat-widget/commit/8bae0249e1232fb2b3cecd739a790d7e39cfaa5a))
|
|
61
|
-
* visibility filter to retrieve recently used agents ([29b8646](https://github.com/stack-spot/portal-ai-chat-widget/commit/29b86468ce6dfd1757104199faa3efe8965e7904))
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
### Bug Fixes
|
|
65
|
-
|
|
66
|
-
* 1745 to show custom tools on panel ([#278](https://github.com/stack-spot/portal-ai-chat-widget/issues/278)) ([fed5db7](https://github.com/stack-spot/portal-ai-chat-widget/commit/fed5db7dfc86fbdd0d8a60f958b302e552dfbbd3))
|
|
67
|
-
* 850 qc conditional next step beta release ([#252](https://github.com/stack-spot/portal-ai-chat-widget/issues/252)) ([68531b1](https://github.com/stack-spot/portal-ai-chat-widget/commit/68531b19ec8c0d0b4cde2ddc0f5f7c3ac43c31cc))
|
|
68
|
-
* 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))
|
|
69
|
-
* accessibility file insert ([f0a0ea6](https://github.com/stack-spot/portal-ai-chat-widget/commit/f0a0ea68d37886f80f4183d315f8eace014a27e1))
|
|
70
|
-
* accessibility file insert ([6d4b4dc](https://github.com/stack-spot/portal-ai-chat-widget/commit/6d4b4dc1356de3d1cefba828c9bd56e5d9900bdc))
|
|
71
|
-
* accessibility file insert ([#259](https://github.com/stack-spot/portal-ai-chat-widget/issues/259)) ([b4be0c2](https://github.com/stack-spot/portal-ai-chat-widget/commit/b4be0c206a8dae042e9fc765e6c4e99981928a72))
|
|
72
|
-
* accessibility image insert beta ([#257](https://github.com/stack-spot/portal-ai-chat-widget/issues/257)) ([1dc25ce](https://github.com/stack-spot/portal-ai-chat-widget/commit/1dc25ce29110b743f84c88729651081bd0c8eb9e))
|
|
73
|
-
* acessibility upload file ([#286](https://github.com/stack-spot/portal-ai-chat-widget/issues/286)) ([91a8447](https://github.com/stack-spot/portal-ai-chat-widget/commit/91a8447867be3d7556675f1bdd8b18184fd6c47b))
|
|
74
|
-
* adaptive-text-area-max-height' into beta-release ([c973d7e](https://github.com/stack-spot/portal-ai-chat-widget/commit/c973d7ee1dc3f223e70e0a241aae50f228c0aabe))
|
|
75
|
-
* add csv in array languages and fix language undefined ([5f3a0ab](https://github.com/stack-spot/portal-ai-chat-widget/commit/5f3a0ab6d9a37cf1ce775937c76d5949a3bf05a6))
|
|
76
|
-
* add docx TIFF/TIF and BMP to upload ([#302](https://github.com/stack-spot/portal-ai-chat-widget/issues/302)) ([aefe654](https://github.com/stack-spot/portal-ai-chat-widget/commit/aefe6543230283367c752f9d53382abb11d54e7f))
|
|
77
|
-
* 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))
|
|
78
|
-
* 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))
|
|
79
|
-
* Adds prompt length validation to message input ([#215](https://github.com/stack-spot/portal-ai-chat-widget/issues/215)) ([cd752f1](https://github.com/stack-spot/portal-ai-chat-widget/commit/cd752f1d569072e0396322ae947a0ae413e01807))
|
|
80
|
-
* adjusts file size error ([#231](https://github.com/stack-spot/portal-ai-chat-widget/issues/231)) ([f977294](https://github.com/stack-spot/portal-ai-chat-widget/commit/f97729409d0330c128da5763959377f63fa6c7f6))
|
|
81
|
-
* adjusts file size error (beta - release) ([#232](https://github.com/stack-spot/portal-ai-chat-widget/issues/232)) ([0cda5b8](https://github.com/stack-spot/portal-ai-chat-widget/commit/0cda5b8df804eed6a3bb160106953befb9a7d9cd))
|
|
82
|
-
* agent as tools dropdown upd | beta-release ([#293](https://github.com/stack-spot/portal-ai-chat-widget/issues/293)) ([32428da](https://github.com/stack-spot/portal-ai-chat-widget/commit/32428da7c7384463ff796a776ecc4852da1a422a))
|
|
83
|
-
* agent chat history ([#242](https://github.com/stack-spot/portal-ai-chat-widget/issues/242)) ([c1ed38b](https://github.com/stack-spot/portal-ai-chat-widget/commit/c1ed38b64e064a53c0b0394b96ba5e3f6d11f3f2))
|
|
84
|
-
* agent create chat view adjusts ([#263](https://github.com/stack-spot/portal-ai-chat-widget/issues/263)) ([433a45a](https://github.com/stack-spot/portal-ai-chat-widget/commit/433a45a2e83e40194f6baf5a5b309212fe2d51bc))
|
|
85
|
-
* 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))
|
|
86
|
-
* calc max height ([#200](https://github.com/stack-spot/portal-ai-chat-widget/issues/200)) ([01d69c0](https://github.com/stack-spot/portal-ai-chat-widget/commit/01d69c04848db47e55b368b1e27a27b4ad24e8a3))
|
|
87
|
-
* conflicts branch with beta-relise ([e100471](https://github.com/stack-spot/portal-ai-chat-widget/commit/e100471ec084f3ed585316068844e385b9062844))
|
|
88
|
-
* 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))
|
|
89
|
-
* fix count executions ([#271](https://github.com/stack-spot/portal-ai-chat-widget/issues/271)) ([47931dd](https://github.com/stack-spot/portal-ai-chat-widget/commit/47931dd911fa1f81775755abc0e6ed6ec9849eb8))
|
|
90
|
-
* fix QC recursively ([#269](https://github.com/stack-spot/portal-ai-chat-widget/issues/269)) ([d4f8820](https://github.com/stack-spot/portal-ai-chat-widget/commit/d4f8820ffd479f1987748f69a459d446ce99a1a8))
|
|
91
|
-
* 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))
|
|
92
|
-
* Fix typo ([#275](https://github.com/stack-spot/portal-ai-chat-widget/issues/275)) ([027df85](https://github.com/stack-spot/portal-ai-chat-widget/commit/027df857d68606b3fe53a9a4835feefab58b1ba6))
|
|
93
|
-
* Inconsistent dates at midnight turnover ([#289](https://github.com/stack-spot/portal-ai-chat-widget/issues/289)) ([1cfd845](https://github.com/stack-spot/portal-ai-chat-widget/commit/1cfd845f0517c9f740fbe7eae7d9c1aa32c6853b))
|
|
94
|
-
* 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))
|
|
95
|
-
* 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))
|
|
96
|
-
* maximum height of the text-area ([#217](https://github.com/stack-spot/portal-ai-chat-widget/issues/217)) ([0f8ba52](https://github.com/stack-spot/portal-ai-chat-widget/commit/0f8ba52716488bb1b19f0bc035ecd0aa1da61e50))
|
|
97
|
-
* merge branch accessibility chat ([cfe99b4](https://github.com/stack-spot/portal-ai-chat-widget/commit/cfe99b40f23754bed2a294ded2d2edeea4e45615))
|
|
98
|
-
* message buttons low res ([#211](https://github.com/stack-spot/portal-ai-chat-widget/issues/211)) ([345134f](https://github.com/stack-spot/portal-ai-chat-widget/commit/345134f37e64f8cdd780d7290b38c6754c99e9bc))
|
|
99
|
-
* 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))
|
|
100
|
-
* 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))
|
|
101
|
-
* 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))
|
|
102
|
-
* 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))
|
|
103
|
-
* show ks ([#237](https://github.com/stack-spot/portal-ai-chat-widget/issues/237)) ([b6c68cd](https://github.com/stack-spot/portal-ai-chat-widget/commit/b6c68cd0c58857f0aa822ad44c987a6ed50a7795))
|
|
104
|
-
* 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))
|
|
105
|
-
* 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))
|
|
106
|
-
* update ([26feb55](https://github.com/stack-spot/portal-ai-chat-widget/commit/26feb552d3a9acd0e82192cd253a62d33051f7b6))
|
|
107
|
-
* update ([#219](https://github.com/stack-spot/portal-ai-chat-widget/issues/219)) ([cb45644](https://github.com/stack-spot/portal-ai-chat-widget/commit/cb456444f6f1e604c4c6247e631d256d755e82b0))
|
|
108
|
-
* update network lib ([#245](https://github.com/stack-spot/portal-ai-chat-widget/issues/245)) ([8341240](https://github.com/stack-spot/portal-ai-chat-widget/commit/83412402296f22e8fb61c6079f13cf94066ae886))
|
|
109
|
-
* 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))
|
|
110
|
-
* 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))
|
|
111
|
-
* version ([e394536](https://github.com/stack-spot/portal-ai-chat-widget/commit/e394536ddb75fa76db034235daced6304162d20f))
|
|
112
|
-
|
|
113
|
-
## [2.0.1-beta.1](https://github.com/stack-spot/portal-ai-chat-widget/compare/ai-chat-widget-beta@v2.0.0-beta.1...ai-chat-widget-beta@v3.0.0-beta.1) (2025-10-01)
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
### ⚠ BREAKING CHANGES
|
|
117
|
-
|
|
118
|
-
* updates Citric + ADP features ([#304](https://github.com/stack-spot/portal-ai-chat-widget/issues/304))
|
|
119
|
-
|
|
120
|
-
### Features
|
|
121
|
-
|
|
122
|
-
* 2721 context upload file ([#248](https://github.com/stack-spot/portal-ai-chat-widget/issues/248)) ([f7b8d0b](https://github.com/stack-spot/portal-ai-chat-widget/commit/f7b8d0b99cdf93fa1386d9d2d52d72515404979f))
|
|
123
|
-
* 3049 execution modes chat ([#312](https://github.com/stack-spot/portal-ai-chat-widget/issues/312)) ([e5df99a](https://github.com/stack-spot/portal-ai-chat-widget/commit/e5df99a7a688603cd2d4f8786ad662dcaab4c3e2))
|
|
124
|
-
* accept csv ([#238](https://github.com/stack-spot/portal-ai-chat-widget/issues/238)) ([868f4ee](https://github.com/stack-spot/portal-ai-chat-widget/commit/868f4eed18df6038e8e7a2694221d055edf2eded))
|
|
125
|
-
* 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))
|
|
126
|
-
* add filters to show contents in chat ([#240](https://github.com/stack-spot/portal-ai-chat-widget/issues/240)) ([95dd865](https://github.com/stack-spot/portal-ai-chat-widget/commit/95dd8659e623e0eeb6afb6d3380e83e9c4bb2b86))
|
|
127
|
-
* 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))
|
|
128
|
-
* add visibility filter for recently used agents ([#247](https://github.com/stack-spot/portal-ai-chat-widget/issues/247)) ([bc85769](https://github.com/stack-spot/portal-ai-chat-widget/commit/bc85769b7863f4bca2202852804e4b603fca9f7b))
|
|
129
|
-
* 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))
|
|
130
|
-
* 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))
|
|
131
|
-
* agent as tools ([#290](https://github.com/stack-spot/portal-ai-chat-widget/issues/290)) ([0a853a4](https://github.com/stack-spot/portal-ai-chat-widget/commit/0a853a492426353b5aacb2d3ca33a4b9a054c3ea))
|
|
132
|
-
* Change knowledge_source_config to knowledge_sources_config([#274](https://github.com/stack-spot/portal-ai-chat-widget/issues/274)) ([2ce8748](https://github.com/stack-spot/portal-ai-chat-widget/commit/2ce8748d3e16d33aa11c7436dd3e463fb68abb5b))
|
|
133
|
-
* custom tools ([#222](https://github.com/stack-spot/portal-ai-chat-widget/issues/222)) ([03cab5b](https://github.com/stack-spot/portal-ai-chat-widget/commit/03cab5bcbe9b51e04dcaecfdb1a0a35a6646dc2b))
|
|
134
|
-
* Feat agent as tools dropdwon upd ([#291](https://github.com/stack-spot/portal-ai-chat-widget/issues/291)) ([50770a4](https://github.com/stack-spot/portal-ai-chat-widget/commit/50770a4c39ba3c289a926fabc1969944a8ed5475))
|
|
135
|
-
* 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))
|
|
136
|
-
* 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))
|
|
137
|
-
* 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))
|
|
138
|
-
* 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))
|
|
139
|
-
* support qc conditional ([#228](https://github.com/stack-spot/portal-ai-chat-widget/issues/228)) ([6c5aa8c](https://github.com/stack-spot/portal-ai-chat-widget/commit/6c5aa8cc25f22d44bb8cb40fb3e9383d60f86ccf))
|
|
140
|
-
* tools and new api agent ([f1384f2](https://github.com/stack-spot/portal-ai-chat-widget/commit/f1384f255ab091733f3a93815735641c9e8e7f18))
|
|
141
|
-
* 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))
|
|
142
|
-
* updates Citric + ADP features ([#304](https://github.com/stack-spot/portal-ai-chat-widget/issues/304)) ([30f068d](https://github.com/stack-spot/portal-ai-chat-widget/commit/30f068d25f6e677241bc4ce4e92cc85910b12fe9))
|
|
143
|
-
* upgrades translation lib + auth ([#310](https://github.com/stack-spot/portal-ai-chat-widget/issues/310)) ([8bae024](https://github.com/stack-spot/portal-ai-chat-widget/commit/8bae0249e1232fb2b3cecd739a790d7e39cfaa5a))
|
|
144
|
-
* visibility filter to retrieve recently used agents ([29b8646](https://github.com/stack-spot/portal-ai-chat-widget/commit/29b86468ce6dfd1757104199faa3efe8965e7904))
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
### Bug Fixes
|
|
148
|
-
|
|
149
|
-
* 1745 to show custom tools on panel ([#278](https://github.com/stack-spot/portal-ai-chat-widget/issues/278)) ([fed5db7](https://github.com/stack-spot/portal-ai-chat-widget/commit/fed5db7dfc86fbdd0d8a60f958b302e552dfbbd3))
|
|
150
|
-
* 850 qc conditional next step beta release ([#252](https://github.com/stack-spot/portal-ai-chat-widget/issues/252)) ([68531b1](https://github.com/stack-spot/portal-ai-chat-widget/commit/68531b19ec8c0d0b4cde2ddc0f5f7c3ac43c31cc))
|
|
151
|
-
* 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))
|
|
152
|
-
* accessibility file insert ([f0a0ea6](https://github.com/stack-spot/portal-ai-chat-widget/commit/f0a0ea68d37886f80f4183d315f8eace014a27e1))
|
|
153
|
-
* accessibility file insert ([6d4b4dc](https://github.com/stack-spot/portal-ai-chat-widget/commit/6d4b4dc1356de3d1cefba828c9bd56e5d9900bdc))
|
|
154
|
-
* accessibility file insert ([#259](https://github.com/stack-spot/portal-ai-chat-widget/issues/259)) ([b4be0c2](https://github.com/stack-spot/portal-ai-chat-widget/commit/b4be0c206a8dae042e9fc765e6c4e99981928a72))
|
|
155
|
-
* accessibility image insert beta ([#257](https://github.com/stack-spot/portal-ai-chat-widget/issues/257)) ([1dc25ce](https://github.com/stack-spot/portal-ai-chat-widget/commit/1dc25ce29110b743f84c88729651081bd0c8eb9e))
|
|
156
|
-
* acessibility upload file ([#286](https://github.com/stack-spot/portal-ai-chat-widget/issues/286)) ([91a8447](https://github.com/stack-spot/portal-ai-chat-widget/commit/91a8447867be3d7556675f1bdd8b18184fd6c47b))
|
|
157
|
-
* adaptive-text-area-max-height' into beta-release ([c973d7e](https://github.com/stack-spot/portal-ai-chat-widget/commit/c973d7ee1dc3f223e70e0a241aae50f228c0aabe))
|
|
158
|
-
* add csv in array languages and fix language undefined ([5f3a0ab](https://github.com/stack-spot/portal-ai-chat-widget/commit/5f3a0ab6d9a37cf1ce775937c76d5949a3bf05a6))
|
|
159
|
-
* add docx TIFF/TIF and BMP to upload ([#302](https://github.com/stack-spot/portal-ai-chat-widget/issues/302)) ([aefe654](https://github.com/stack-spot/portal-ai-chat-widget/commit/aefe6543230283367c752f9d53382abb11d54e7f))
|
|
160
|
-
* 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))
|
|
161
|
-
* 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))
|
|
162
|
-
* Adds prompt length validation to message input ([#215](https://github.com/stack-spot/portal-ai-chat-widget/issues/215)) ([cd752f1](https://github.com/stack-spot/portal-ai-chat-widget/commit/cd752f1d569072e0396322ae947a0ae413e01807))
|
|
163
|
-
* adjusts file size error ([#231](https://github.com/stack-spot/portal-ai-chat-widget/issues/231)) ([f977294](https://github.com/stack-spot/portal-ai-chat-widget/commit/f97729409d0330c128da5763959377f63fa6c7f6))
|
|
164
|
-
* adjusts file size error (beta - release) ([#232](https://github.com/stack-spot/portal-ai-chat-widget/issues/232)) ([0cda5b8](https://github.com/stack-spot/portal-ai-chat-widget/commit/0cda5b8df804eed6a3bb160106953befb9a7d9cd))
|
|
165
|
-
* agent as tools dropdown upd | beta-release ([#293](https://github.com/stack-spot/portal-ai-chat-widget/issues/293)) ([32428da](https://github.com/stack-spot/portal-ai-chat-widget/commit/32428da7c7384463ff796a776ecc4852da1a422a))
|
|
166
|
-
* agent chat history ([#242](https://github.com/stack-spot/portal-ai-chat-widget/issues/242)) ([c1ed38b](https://github.com/stack-spot/portal-ai-chat-widget/commit/c1ed38b64e064a53c0b0394b96ba5e3f6d11f3f2))
|
|
167
|
-
* agent create chat view adjusts ([#263](https://github.com/stack-spot/portal-ai-chat-widget/issues/263)) ([433a45a](https://github.com/stack-spot/portal-ai-chat-widget/commit/433a45a2e83e40194f6baf5a5b309212fe2d51bc))
|
|
168
|
-
* 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))
|
|
169
|
-
* calc max height ([#200](https://github.com/stack-spot/portal-ai-chat-widget/issues/200)) ([01d69c0](https://github.com/stack-spot/portal-ai-chat-widget/commit/01d69c04848db47e55b368b1e27a27b4ad24e8a3))
|
|
170
|
-
* conflicts branch with beta-relise ([e100471](https://github.com/stack-spot/portal-ai-chat-widget/commit/e100471ec084f3ed585316068844e385b9062844))
|
|
171
|
-
* 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))
|
|
172
|
-
* 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))
|
|
173
|
-
* fix count executions ([#271](https://github.com/stack-spot/portal-ai-chat-widget/issues/271)) ([47931dd](https://github.com/stack-spot/portal-ai-chat-widget/commit/47931dd911fa1f81775755abc0e6ed6ec9849eb8))
|
|
174
|
-
* fix QC recursively ([#269](https://github.com/stack-spot/portal-ai-chat-widget/issues/269)) ([d4f8820](https://github.com/stack-spot/portal-ai-chat-widget/commit/d4f8820ffd479f1987748f69a459d446ce99a1a8))
|
|
175
|
-
* 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))
|
|
176
|
-
* Fix typo ([#275](https://github.com/stack-spot/portal-ai-chat-widget/issues/275)) ([027df85](https://github.com/stack-spot/portal-ai-chat-widget/commit/027df857d68606b3fe53a9a4835feefab58b1ba6))
|
|
177
|
-
* Inconsistent dates at midnight turnover ([#289](https://github.com/stack-spot/portal-ai-chat-widget/issues/289)) ([1cfd845](https://github.com/stack-spot/portal-ai-chat-widget/commit/1cfd845f0517c9f740fbe7eae7d9c1aa32c6853b))
|
|
178
|
-
* 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))
|
|
179
|
-
* 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))
|
|
180
|
-
* maximum height of the text-area ([#217](https://github.com/stack-spot/portal-ai-chat-widget/issues/217)) ([0f8ba52](https://github.com/stack-spot/portal-ai-chat-widget/commit/0f8ba52716488bb1b19f0bc035ecd0aa1da61e50))
|
|
181
|
-
* merge branch accessibility chat ([cfe99b4](https://github.com/stack-spot/portal-ai-chat-widget/commit/cfe99b40f23754bed2a294ded2d2edeea4e45615))
|
|
182
|
-
* message buttons low res ([#211](https://github.com/stack-spot/portal-ai-chat-widget/issues/211)) ([345134f](https://github.com/stack-spot/portal-ai-chat-widget/commit/345134f37e64f8cdd780d7290b38c6754c99e9bc))
|
|
183
|
-
* 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))
|
|
184
|
-
* 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))
|
|
185
|
-
* 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))
|
|
186
|
-
* 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))
|
|
187
|
-
* show ks ([#237](https://github.com/stack-spot/portal-ai-chat-widget/issues/237)) ([b6c68cd](https://github.com/stack-spot/portal-ai-chat-widget/commit/b6c68cd0c58857f0aa822ad44c987a6ed50a7795))
|
|
188
|
-
* 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))
|
|
189
|
-
* 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))
|
|
190
|
-
* update ([26feb55](https://github.com/stack-spot/portal-ai-chat-widget/commit/26feb552d3a9acd0e82192cd253a62d33051f7b6))
|
|
191
|
-
* update ([#219](https://github.com/stack-spot/portal-ai-chat-widget/issues/219)) ([cb45644](https://github.com/stack-spot/portal-ai-chat-widget/commit/cb456444f6f1e604c4c6247e631d256d755e82b0))
|
|
192
|
-
* update network lib ([#245](https://github.com/stack-spot/portal-ai-chat-widget/issues/245)) ([8341240](https://github.com/stack-spot/portal-ai-chat-widget/commit/83412402296f22e8fb61c6079f13cf94066ae886))
|
|
193
|
-
* 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))
|
|
194
|
-
* 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))
|
|
195
16
|
|
|
196
17
|
## [2.0.0](https://github.com/stack-spot/portal-ai-chat-widget/compare/ai-chat-widget@v1.36.4...ai-chat-widget@v2.0.0) (2025-09-17)
|
|
197
18
|
|
package/dist/app-metadata.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stack-spot/ai-chat-widget",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"date": "
|
|
3
|
+
"version": "2.0.5-beta.1",
|
|
4
|
+
"date": "Mon Oct 13 2025 12:54:31 GMT+0000 (Coordinated Universal Time)",
|
|
5
5
|
"dependencies": [
|
|
6
6
|
{
|
|
7
7
|
"name": "@stack-spot/app-metadata",
|
|
@@ -5,11 +5,12 @@ interface Props {
|
|
|
5
5
|
chatId: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const StepsPlaceholder: () => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export declare const ToolStepsList: ({ toolStep, messageId }: {
|
|
8
|
+
export declare const ToolStepsList: ({ toolStep, messageId, chatId }: {
|
|
9
9
|
toolStep: ToolChatStep;
|
|
10
10
|
messageId: number;
|
|
11
|
+
chatId: string;
|
|
11
12
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export declare const StepsList: ({ steps, messageId }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const StepsList: ({ steps, messageId, chatId }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export declare const ViewToolsDetails: ({ chatId }: {
|
|
14
15
|
chatId: string;
|
|
15
16
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepsList.d.ts","sourceRoot":"","sources":["../../../src/views/Chat/StepsList.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAgB,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAajF,UAAU,KAAK;IACb,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAwGD,eAAO,MAAM,gBAAgB,+CAiB5B,CAAA;AA6BD,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"StepsList.d.ts","sourceRoot":"","sources":["../../../src/views/Chat/StepsList.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAgB,YAAY,EAAE,MAAM,4BAA4B,CAAA;AAajF,UAAU,KAAK;IACb,KAAK,EAAE,QAAQ,EAAE,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAwGD,eAAO,MAAM,gBAAgB,+CAiB5B,CAAA;AA6BD,eAAO,MAAM,aAAa,oCAAqC;IAAE,QAAQ,EAAE,YAAY,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,4CAqD3H,CAAA;AAED,eAAO,MAAM,SAAS,iCAAkC,KAAK,4CA0E5D,CAAA;AAED,eAAO,MAAM,gBAAgB,eAAgB;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,4CA6B9D,CAAA"}
|
|
@@ -7,7 +7,7 @@ import { findLast, findLastIndex } from 'lodash';
|
|
|
7
7
|
import { useEffect, useMemo } from 'react';
|
|
8
8
|
import styled from 'styled-components';
|
|
9
9
|
import { Markdown } from '../../components/Markdown.js';
|
|
10
|
-
import { useChatMessages, useCurrentChat, useCurrentChatMessages, useWidget } from '../../context/hooks.js';
|
|
10
|
+
import { useChat, useChatMessages, useCurrentChat, useCurrentChatMessages, useWidget } from '../../context/hooks.js';
|
|
11
11
|
import { ChatEntry } from '../../state/ChatEntry.js';
|
|
12
12
|
import { planningToolDictionaryHelper } from '../../utils/planning-tool.js';
|
|
13
13
|
import { updateToolStep } from '../../utils/update-tool-step.js';
|
|
@@ -37,23 +37,24 @@ const StyledCard = styled(Card) `
|
|
|
37
37
|
const Step = ({ step, index, onClick, total, totalTools, isAllDone }) => {
|
|
38
38
|
const t = useTranslate(dictionary);
|
|
39
39
|
const status = getStatusIcon(step.status, isAllDone);
|
|
40
|
-
return (_jsx("li", { tabIndex: onClick ? 0 : undefined, onClick: onClick, role: onClick ? 'button' : 'listitem', children: _jsxs(Row, { gap: "4px", alignItems: "center", children: [_jsx("div", { className: "step-status-icon", children: status }), _jsx(StyledCard, { p: "8px", w: "
|
|
41
|
-
_jsxs(Row, { gap: "40px", children: [_jsxs(Row, { gap: "4px", children: [_jsx(Icon, { icon: "Hashtag", size: "sm", color: "light.700" }), _jsx(Text, { color: "light.700", children: t.totalSteps }), total] }), _jsxs(Row, { gap: "4px", children: [_jsx(Icon, { icon: "BorderRadius", size: "sm", color: "light.700" }), _jsx(Text, { color: "light.700", children: t.totalTools }), totalTools] })] })
|
|
42
|
-
: _jsxs(_Fragment, { children: [_jsxs(Row, { pb: "8px",
|
|
40
|
+
return (_jsx("li", { tabIndex: onClick ? 0 : undefined, onClick: onClick, role: onClick ? 'button' : 'listitem', children: _jsxs(Row, { gap: "4px", alignItems: "center", children: [_jsx("div", { className: "step-status-icon", children: status }), _jsx(StyledCard, { p: "8px", w: "80%", children: _jsx(Accordion, { header: expand => _jsx(StepAccordionHeader, { step: step, index: index, expand: expand }), children: _jsx(Column, { pt: "12px", children: total ?
|
|
41
|
+
_jsxs(Row, { gap: "40px", children: [_jsxs(Row, { gap: "4px", children: [_jsx(Icon, { icon: "Hashtag", size: "sm", color: "light.700" }), _jsx(Text, { color: "light.700", children: t.totalSteps }), total] }), _jsxs(Row, { gap: "4px", children: [_jsx(Icon, { icon: "BorderRadius", size: "sm", color: "light.700" }), _jsx(Text, { color: "light.700", children: t.totalTools }), totalTools ?? 0] })] })
|
|
42
|
+
: _jsxs(_Fragment, { children: [_jsxs(Row, { pb: "8px", children: [_jsx(Icon, { icon: "Target", size: "sm", color: "light.700" }), _jsxs(Text, { color: "light.700", tag: "span", style: { margin: '0 4px' }, children: [t.stepGoal, ":"] }), _jsx(Text, { tag: "span", children: step.input })] }), _jsxs(Row, { gap: "4px", children: [_jsx(Icon, { icon: "BorderRadius", size: "sm", color: "light.700" }), _jsxs(Text, { color: "light.700", children: [t.toolsToBeExecuted, ":"] })] }), _jsx("ul", { className: "tools-list", children: step.attempts?.[0]?.tools && step.attempts?.[0]?.tools?.length > 0 ?
|
|
43
|
+
step.attempts?.[0]?.tools.map((tool, index) => (_jsx("li", { children: _jsxs(Text, { children: [tool.name, ": ", tool.goal] }) }, `${tool.id}-${index}`))) : 0 })] }) }) }) })] }) }));
|
|
43
44
|
};
|
|
44
45
|
export const StepsPlaceholder = () => {
|
|
45
46
|
const t = useTranslate(dictionary);
|
|
46
47
|
return _jsxs(Card, { gap: "8px", children: [_jsxs(Row, { gap: "8px", children: [_jsx(ProgressCircular, { colorScheme: "inverse", size: "xs" }), _jsx(Text, { color: "light.700", children: t.generatingPlan })] }), _jsx(Text, { color: "light.700", children: t.analyzingRequirements }), _jsxs(Row, { gap: "12px", children: [_jsx(Skeleton, { height: "31px", width: "148px", bgLevel: 600 }), _jsx(Skeleton, { height: "31px", width: "148px", bgLevel: 600 }), _jsx(Skeleton, { height: "31px", width: "148px", bgLevel: 600 }), _jsx(Skeleton, { height: "31px", width: "148px", bgLevel: 600 })] })] });
|
|
47
48
|
};
|
|
48
|
-
const AwaitingApproval = ({ customApproveText }) => {
|
|
49
|
+
const AwaitingApproval = ({ customApproveText, chatId }) => {
|
|
49
50
|
const t = useTranslate(dictionary);
|
|
50
|
-
const chat =
|
|
51
|
+
const chat = useChat(chatId);
|
|
51
52
|
const onAnswer = (response) => {
|
|
52
53
|
chat.pushMessage(ChatEntry.createUserEntry('', false, undefined, undefined, response));
|
|
53
54
|
};
|
|
54
55
|
return _jsx(_Fragment, { children: _jsxs(Row, { gap: "8px", children: [_jsx(Button, { colorScheme: "light", onClick: () => onAnswer(t.cancel), children: _jsxs(Row, { gap: "8px", children: [_jsx(Icon, { icon: "Stop" }), t.cancel] }) }), _jsx(Button, { colorScheme: "inverse", onClick: () => onAnswer(customApproveText ?? t.approve), children: _jsxs(Row, { gap: "8px", children: [_jsx(Icon, { group: "fill", icon: "Play" }), customApproveText ?? t.approve] }) })] }) });
|
|
55
56
|
};
|
|
56
|
-
export const ToolStepsList = ({ toolStep, messageId }) => {
|
|
57
|
+
export const ToolStepsList = ({ toolStep, messageId, chatId }) => {
|
|
57
58
|
const t = useTranslate(dictionary);
|
|
58
59
|
const chat = useCurrentChat();
|
|
59
60
|
const messages = useCurrentChatMessages();
|
|
@@ -73,12 +74,20 @@ export const ToolStepsList = ({ toolStep, messageId }) => {
|
|
|
73
74
|
return;
|
|
74
75
|
updateToolStep(messages, executionId, toolStep.status);
|
|
75
76
|
}, [messages, toolStep, toolStep.status]);
|
|
76
|
-
return _jsx(_Fragment, { children: toolStep && tool ? _jsx(AnimatedHeight, { children: _jsxs("div", { className: "steps", children: [_jsxs(Badge, { colorPalette: "yellow", appearance: "square", children: [_jsx(Icon, { icon: "StopWatch" }), _jsxs(Text, { children: [tool.name, " ", t.keepWorking] })] }), _jsxs(Card, { mt: "16px", gap: "8px", bgLevel: 500, children: [_jsxs(Row, { children: [_jsx(ImageWithFallback, { src: tool.image, width: "32px", fallback: _jsx(IconBox, { appearance: "circle", icon: "StackSpot" }) }), _jsx(Text, { children: tool.name })] }), _jsx(Text, { children: toolStep.user_question }), _jsx(Accordion, { header: expand => _jsxs(Row, { gap: "8px", mb: "4px", children: [_jsx(Card, { p: "4px", bgLevel: 400, children: expand }), _jsxs(Text, { children: [" ", t.viewDetails, " "] })] }), children: _jsx(Markdown, { onCopyCode: (code) => onCopyCode(code, `${messageId}`, chat), children: inputParsed }) }), _jsx(AwaitingApproval, { customApproveText: t.approveTool })] })] }) }) : null });
|
|
77
|
+
return _jsx(_Fragment, { children: toolStep && tool ? _jsx(AnimatedHeight, { children: _jsxs("div", { className: "steps", children: [_jsxs(Badge, { colorPalette: "yellow", appearance: "square", children: [_jsx(Icon, { icon: "StopWatch" }), _jsxs(Text, { children: [tool.name, " ", t.keepWorking] })] }), _jsxs(Card, { mt: "16px", gap: "8px", bgLevel: 500, children: [_jsxs(Row, { children: [_jsx(ImageWithFallback, { src: tool.image, width: "32px", fallback: _jsx(IconBox, { appearance: "circle", icon: "StackSpot" }) }), _jsx(Text, { children: tool.name })] }), _jsx(Text, { children: toolStep.user_question }), _jsx(Accordion, { header: expand => _jsxs(Row, { gap: "8px", mb: "4px", children: [_jsx(Card, { p: "4px", bgLevel: 400, children: expand }), _jsxs(Text, { children: [" ", t.viewDetails, " "] })] }), children: _jsx(Markdown, { onCopyCode: (code) => onCopyCode(code, `${messageId}`, chat), children: inputParsed }) }), _jsx(AwaitingApproval, { customApproveText: t.approveTool, chatId: chatId })] })] }) }) : null });
|
|
77
78
|
};
|
|
78
|
-
export const StepsList = ({ steps, messageId }) => {
|
|
79
|
+
export const StepsList = ({ steps, messageId, chatId }) => {
|
|
79
80
|
const t = useTranslate(dictionary);
|
|
80
81
|
const actualSteps = steps.filter(s => s.type === 'step');
|
|
81
82
|
const planning = steps.filter(s => s.type === 'planning');
|
|
83
|
+
const messages = useChatMessages(chatId);
|
|
84
|
+
const userHasAlreadyAnswered = useMemo(() => {
|
|
85
|
+
const messageIndex = messages.findIndex((message) => message.id === messageId);
|
|
86
|
+
if (messages.length - 1 === messageIndex)
|
|
87
|
+
return false;
|
|
88
|
+
const nextMessage = messages[messageIndex + 1].getValue();
|
|
89
|
+
return nextMessage.agentType === 'user';
|
|
90
|
+
}, [messages, messages.length]);
|
|
82
91
|
useEffect(() => {
|
|
83
92
|
actualSteps.map((item) => {
|
|
84
93
|
const executionId = item.attempts[0]?.tools?.[0].executionId;
|
|
@@ -105,7 +114,7 @@ export const StepsList = ({ steps, messageId }) => {
|
|
|
105
114
|
let currentStepIndex = findLastIndex(actualSteps, s => s.status === 'running' || s.status === 'success');
|
|
106
115
|
if (currentStepIndex === -1)
|
|
107
116
|
currentStepIndex = 0;
|
|
108
|
-
return (_jsxs(_Fragment, { children: [actualSteps.length > 0 ? _jsx(AnimatedHeight, { children: _jsxs("div", { className: "steps", children: [_jsxs(Row, { gap: "14px", mb: "8px", ml: "5px", children: [_jsx(Icon, { icon: "Target", size: "sm", color: "light.600" }), _jsx(Text, { children: t.executionPlan })] }), _jsxs("ul", { className: "steps-list", children: [actualSteps.map((s, i) => _jsx(Step, { step: s, index: i + 1 }, i)), _jsx(Step, { step: { status: 'target', input: planningGoal, attempts: [] }, index: currentStepIndex + 1, total: actualSteps.length, totalTools: totalTools, isAllDone: isLastStepDone })] }), _jsxs(Column, { gap: "8px", mt: "8px", children: [_jsx(Divider, { colorScheme: "light" }), _jsx(Text, { color: "light.700", children: planning?.[0]?.user_question }), planning?.[0]?.status === 'awaiting_approval' && _jsx(AwaitingApproval, {})] })] }) }) : null, toolsStep && toolsStep.status === 'awaiting_approval' && _jsx(ToolStepsList, { toolStep: toolsStep, messageId: messageId })] }));
|
|
117
|
+
return (_jsxs(_Fragment, { children: [actualSteps.length > 0 ? _jsx(AnimatedHeight, { children: _jsxs("div", { className: "steps", children: [_jsxs(Row, { gap: "14px", mb: "8px", ml: "5px", children: [_jsx(Icon, { icon: "Target", size: "sm", color: "light.600" }), _jsx(Text, { children: t.executionPlan })] }), _jsxs("ul", { className: "steps-list", children: [actualSteps.map((s, i) => _jsx(Step, { step: s, index: i + 1 }, i)), _jsx(Step, { step: { status: 'target', input: planningGoal, attempts: [] }, index: currentStepIndex + 1, total: actualSteps.length, totalTools: totalTools, isAllDone: isLastStepDone })] }), _jsxs(Column, { gap: "8px", mt: "8px", children: [_jsx(Divider, { colorScheme: "light" }), _jsx(Text, { color: "light.700", children: planning?.[0]?.user_question }), !userHasAlreadyAnswered && planning?.[0]?.status === 'awaiting_approval' && _jsx(AwaitingApproval, { chatId: chatId })] })] }) }) : null, toolsStep && toolsStep.status === 'awaiting_approval' && _jsx(ToolStepsList, { toolStep: toolsStep, messageId: messageId, chatId: chatId })] }));
|
|
109
118
|
};
|
|
110
119
|
export const ViewToolsDetails = ({ chatId }) => {
|
|
111
120
|
const t = useTranslate(dictionary);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepsList.js","sourceRoot":"","sources":["../../../src/views/Chat/StepsList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAA;AACnK,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAA;AAE7E,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AAChD,OAAO,EAAc,YAAY,EAAE,MAAM,8BAA8B,CAAA;AACvE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAA;AAChD,OAAc,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AACjD,OAAO,MAAM,MAAM,mBAAmB,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,sBAAsB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AACxG,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACjD,OAAO,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAA;AACxE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAA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
{
|
|
2
2
|
"name": "@stack-spot/ai-chat-widget",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"date": "
|
|
3
|
+
"version": "2.0.5-beta.1",
|
|
4
|
+
"date": "Mon Oct 13 2025 12:54:31 GMT+0000 (Coordinated Universal Time)",
|
|
5
5
|
"dependencies": [
|
|
6
6
|
{
|
|
7
7
|
"name": "@stack-spot/app-metadata",
|
|
@@ -7,7 +7,7 @@ import { findLast, findLastIndex } from 'lodash'
|
|
|
7
7
|
import React, { useEffect, useMemo } from 'react'
|
|
8
8
|
import styled from 'styled-components'
|
|
9
9
|
import { Markdown } from '../../components/Markdown'
|
|
10
|
-
import { useChatMessages, useCurrentChat, useCurrentChatMessages, useWidget } from '../../context/hooks'
|
|
10
|
+
import { useChat, useChatMessages, useCurrentChat, useCurrentChatMessages, useWidget } from '../../context/hooks'
|
|
11
11
|
import { ChatEntry } from '../../state/ChatEntry'
|
|
12
12
|
import { planningToolDictionaryHelper } from '../../utils/planning-tool'
|
|
13
13
|
import { updateToolStep } from '../../utils/update-tool-step'
|
|
@@ -52,7 +52,7 @@ const StepAccordionHeader = ({ step, index, expand }: Pick<StepProps, 'step' | '
|
|
|
52
52
|
<Badge colorScheme="inverse" appearance="square">
|
|
53
53
|
{t.step} {index}
|
|
54
54
|
</Badge>}
|
|
55
|
-
<Text className="step-title" appearance="body2"
|
|
55
|
+
<Text className="step-title" appearance="body2">
|
|
56
56
|
{step.input}
|
|
57
57
|
</Text>
|
|
58
58
|
{step.status === 'awaiting_approval' &&
|
|
@@ -77,7 +77,7 @@ const Step = ({ step, index, onClick, total, totalTools, isAllDone }: StepProps)
|
|
|
77
77
|
<li tabIndex={onClick ? 0 : undefined} onClick={onClick} role={onClick ? 'button' : 'listitem'}>
|
|
78
78
|
<Row gap="4px" alignItems="center">
|
|
79
79
|
<div className="step-status-icon">{status}</div>
|
|
80
|
-
<StyledCard p="8px" w="
|
|
80
|
+
<StyledCard p="8px" w="80%">
|
|
81
81
|
<Accordion header={expand => <StepAccordionHeader step={step} index={index} expand={expand} />}>
|
|
82
82
|
<Column pt="12px">
|
|
83
83
|
{total ?
|
|
@@ -90,14 +90,14 @@ const Step = ({ step, index, onClick, total, totalTools, isAllDone }: StepProps)
|
|
|
90
90
|
<Row gap="4px">
|
|
91
91
|
<Icon icon="BorderRadius" size="sm" color="light.700" />
|
|
92
92
|
<Text color="light.700">{t.totalTools}</Text>
|
|
93
|
-
{totalTools}
|
|
93
|
+
{totalTools ?? 0}
|
|
94
94
|
</Row>
|
|
95
95
|
</Row>
|
|
96
96
|
: <>
|
|
97
|
-
<Row pb="8px"
|
|
97
|
+
<Row pb="8px">
|
|
98
98
|
<Icon icon="Target" size="sm" color="light.700" />
|
|
99
|
-
<Text color="light.700">{t.stepGoal}:</Text>
|
|
100
|
-
<Text>
|
|
99
|
+
<Text color="light.700" tag="span" style={{ margin: '0 4px' }}>{t.stepGoal}:</Text>
|
|
100
|
+
<Text tag="span">
|
|
101
101
|
{step.input}
|
|
102
102
|
</Text>
|
|
103
103
|
</Row>
|
|
@@ -106,10 +106,10 @@ const Step = ({ step, index, onClick, total, totalTools, isAllDone }: StepProps)
|
|
|
106
106
|
<Text color="light.700">{t.toolsToBeExecuted}:</Text>
|
|
107
107
|
</Row>
|
|
108
108
|
<ul className="tools-list">
|
|
109
|
-
{step.attempts?.[0]?.tools?.
|
|
110
|
-
<
|
|
111
|
-
|
|
112
|
-
|
|
109
|
+
{step.attempts?.[0]?.tools && step.attempts?.[0]?.tools?.length > 0 ?
|
|
110
|
+
step.attempts?.[0]?.tools.map((tool, index) => (<li key={`${tool.id}-${index}`}>
|
|
111
|
+
<Text>{tool.name}: {tool.goal}</Text>
|
|
112
|
+
</li>)) : 0}
|
|
113
113
|
</ul>
|
|
114
114
|
</>
|
|
115
115
|
}
|
|
@@ -140,9 +140,9 @@ export const StepsPlaceholder = () => {
|
|
|
140
140
|
</Card>
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
const AwaitingApproval = ({ customApproveText }: { customApproveText?: string }) => {
|
|
143
|
+
const AwaitingApproval = ({ customApproveText, chatId }: { chatId: string, customApproveText?: string }) => {
|
|
144
144
|
const t = useTranslate(dictionary)
|
|
145
|
-
const chat =
|
|
145
|
+
const chat = useChat(chatId)
|
|
146
146
|
|
|
147
147
|
const onAnswer = (response: string) => {
|
|
148
148
|
chat.pushMessage(ChatEntry.createUserEntry('', false, undefined, undefined, response))
|
|
@@ -167,7 +167,7 @@ const AwaitingApproval = ({ customApproveText }: { customApproveText?: string })
|
|
|
167
167
|
</>
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
export const ToolStepsList = ({ toolStep, messageId }: { toolStep: ToolChatStep, messageId: number }) => {
|
|
170
|
+
export const ToolStepsList = ({ toolStep, messageId, chatId }: { toolStep: ToolChatStep, messageId: number, chatId: string }) => {
|
|
171
171
|
const t = useTranslate(dictionary)
|
|
172
172
|
const chat = useCurrentChat()
|
|
173
173
|
const messages = useCurrentChatMessages()
|
|
@@ -215,18 +215,25 @@ export const ToolStepsList = ({ toolStep, messageId }: { toolStep: ToolChatStep,
|
|
|
215
215
|
</Markdown>
|
|
216
216
|
</Accordion>
|
|
217
217
|
|
|
218
|
-
<AwaitingApproval customApproveText={t.approveTool} />
|
|
218
|
+
<AwaitingApproval customApproveText={t.approveTool} chatId={chatId} />
|
|
219
219
|
</Card>
|
|
220
220
|
</div>
|
|
221
221
|
</AnimatedHeight> : null}
|
|
222
222
|
</>
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
-
export const StepsList = ({ steps, messageId }: Props) => {
|
|
225
|
+
export const StepsList = ({ steps, messageId, chatId }: Props) => {
|
|
226
226
|
const t = useTranslate(dictionary)
|
|
227
227
|
const actualSteps = steps.filter(s => s.type === 'step')
|
|
228
228
|
const planning = steps.filter(s => s.type === 'planning')
|
|
229
|
-
|
|
229
|
+
const messages = useChatMessages(chatId)
|
|
230
|
+
const userHasAlreadyAnswered = useMemo(() => {
|
|
231
|
+
const messageIndex = messages.findIndex((message) => message.id === messageId)
|
|
232
|
+
if (messages.length-1 === messageIndex) return false
|
|
233
|
+
const nextMessage = messages[messageIndex+1].getValue()
|
|
234
|
+
return nextMessage.agentType === 'user'
|
|
235
|
+
}, [messages, messages.length])
|
|
236
|
+
|
|
230
237
|
useEffect(() => {
|
|
231
238
|
actualSteps.map((item) => {
|
|
232
239
|
const executionId = item.attempts[0]?.tools?.[0].executionId
|
|
@@ -280,13 +287,13 @@ export const StepsList = ({ steps, messageId }: Props) => {
|
|
|
280
287
|
<Column gap="8px" mt="8px">
|
|
281
288
|
<Divider colorScheme="light" />
|
|
282
289
|
<Text color="light.700">{planning?.[0]?.user_question}</Text>
|
|
283
|
-
{planning?.[0]?.status === 'awaiting_approval' &&
|
|
290
|
+
{!userHasAlreadyAnswered && planning?.[0]?.status === 'awaiting_approval' && <AwaitingApproval chatId={chatId} />}
|
|
284
291
|
</Column>
|
|
285
292
|
|
|
286
293
|
</div>
|
|
287
294
|
</AnimatedHeight> : null}
|
|
288
295
|
|
|
289
|
-
{toolsStep && toolsStep.status === 'awaiting_approval' && <ToolStepsList toolStep={toolsStep} messageId={messageId} />}
|
|
296
|
+
{toolsStep && toolsStep.status === 'awaiting_approval' && <ToolStepsList toolStep={toolsStep} messageId={messageId} chatId={chatId} />}
|
|
290
297
|
</>
|
|
291
298
|
)
|
|
292
299
|
}
|