@stack-spot/ai-chat-widget 1.13.0 → 1.13.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 +7 -0
- package/dist/app-metadata.json +2 -2
- package/dist/views/Steps/dictionary.d.ts +5 -5
- package/dist/views/Steps/dictionary.js +4 -4
- package/dist/views/Steps/dictionary.js.map +1 -1
- package/dist/views/Steps/index.js +2 -2
- package/dist/views/Steps/index.js.map +1 -1
- package/package.json +1 -1
- package/src/app-metadata.json +2 -2
- package/src/views/Steps/dictionary.ts +4 -4
- package/src/views/Steps/index.tsx +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.13.1](https://github.com/stack-spot/portal-ai-chat-widget/compare/ai-chat-widget@v1.13.0...ai-chat-widget@v1.13.1) (2025-04-03)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* 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))
|
|
9
|
+
|
|
3
10
|
## [1.13.0](https://github.com/stack-spot/portal-ai-chat-widget/compare/ai-chat-widget@v1.12.4...ai-chat-widget@v1.13.0) (2025-04-02)
|
|
4
11
|
|
|
5
12
|
|
package/dist/app-metadata.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stack-spot/ai-chat-widget",
|
|
3
|
-
"version": "1.13.
|
|
4
|
-
"date": "
|
|
3
|
+
"version": "1.13.1",
|
|
4
|
+
"date": "Thu Apr 03 2025 13:32:39 GMT+0000 (Coordinated Universal Time)",
|
|
5
5
|
"dependencies": [
|
|
6
6
|
{
|
|
7
7
|
"name": "@stack-spot/app-metadata",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const dictionary: {
|
|
2
2
|
en: {
|
|
3
|
-
|
|
3
|
+
stepsPanelDescription: string;
|
|
4
|
+
steps: string;
|
|
4
5
|
step: string;
|
|
5
6
|
response: string;
|
|
6
7
|
tools: string;
|
|
@@ -12,13 +13,13 @@ export declare const dictionary: {
|
|
|
12
13
|
pending: string;
|
|
13
14
|
nextAttempt: string;
|
|
14
15
|
previousAttempt: string;
|
|
15
|
-
thoughtFor: string;
|
|
16
16
|
open: string;
|
|
17
17
|
close: string;
|
|
18
18
|
input: string;
|
|
19
19
|
};
|
|
20
20
|
pt: {
|
|
21
|
-
|
|
21
|
+
stepsPanelDescription: string;
|
|
22
|
+
steps: string;
|
|
22
23
|
step: string;
|
|
23
24
|
response: string;
|
|
24
25
|
tools: string;
|
|
@@ -30,10 +31,9 @@ export declare const dictionary: {
|
|
|
30
31
|
pending: string;
|
|
31
32
|
nextAttempt: string;
|
|
32
33
|
previousAttempt: string;
|
|
33
|
-
thoughtFor: string;
|
|
34
34
|
input: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
-
export declare function useStepsDictionary(): Record<"input" | "step" | "tools" | "answer" | "pending" | "running" | "planning" | "unknown" | "
|
|
37
|
+
export declare function useStepsDictionary(): Record<"input" | "step" | "steps" | "tools" | "answer" | "pending" | "running" | "planning" | "unknown" | "stepsPanelDescription" | "response" | "executionTime" | "nextAttempt" | "previousAttempt", string>;
|
|
38
38
|
export type ToolsDictionary = typeof dictionary['en'];
|
|
39
39
|
//# sourceMappingURL=dictionary.d.ts.map
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { useTranslate } from '@stack-spot/portal-translate';
|
|
2
2
|
export const dictionary = {
|
|
3
3
|
en: {
|
|
4
|
-
|
|
4
|
+
stepsPanelDescription: 'The steps and tools used to reach the answer',
|
|
5
|
+
steps: 'Steps',
|
|
5
6
|
step: 'Step',
|
|
6
7
|
response: 'Response',
|
|
7
8
|
tools: 'Tools',
|
|
@@ -13,13 +14,13 @@ export const dictionary = {
|
|
|
13
14
|
pending: 'Pending',
|
|
14
15
|
nextAttempt: 'Next execution',
|
|
15
16
|
previousAttempt: 'Previous execution',
|
|
16
|
-
thoughtFor: 'Thought for $0 seconds',
|
|
17
17
|
open: 'Open',
|
|
18
18
|
close: 'Close',
|
|
19
19
|
input: 'Input',
|
|
20
20
|
},
|
|
21
21
|
pt: {
|
|
22
|
-
|
|
22
|
+
stepsPanelDescription: 'Os passos e ferramentas usados para chegar na resposta',
|
|
23
|
+
steps: 'Passos',
|
|
23
24
|
step: 'Passo',
|
|
24
25
|
response: 'Resposta',
|
|
25
26
|
tools: 'Ferramentas',
|
|
@@ -31,7 +32,6 @@ export const dictionary = {
|
|
|
31
32
|
pending: 'Aguardando',
|
|
32
33
|
nextAttempt: 'Próxima execução',
|
|
33
34
|
previousAttempt: 'Execução anterior',
|
|
34
|
-
thoughtFor: 'Pensado por $0 segundos',
|
|
35
35
|
input: 'Entrada',
|
|
36
36
|
},
|
|
37
37
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.js","sourceRoot":"","sources":["../../../src/views/Steps/dictionary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAEvE,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,EAAE,EAAE;QACF,
|
|
1
|
+
{"version":3,"file":"dictionary.js","sourceRoot":"","sources":["../../../src/views/Steps/dictionary.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAEvE,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,EAAE,EAAE;QACF,qBAAqB,EAAE,8CAA8C;QACrE,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,OAAO;QACd,QAAQ,EAAE,UAAU;QACpB,MAAM,EAAE,cAAc;QACtB,aAAa,EAAE,MAAM;QACrB,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,SAAS;QAClB,WAAW,EAAE,gBAAgB;QAC7B,eAAe,EAAE,oBAAoB;QACrC,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,OAAO;QACd,KAAK,EAAE,OAAO;KACf;IACD,EAAE,EAAE;QACF,qBAAqB,EAAE,wDAAwD;QAC/E,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,OAAO;QACb,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,aAAa;QACpB,QAAQ,EAAE,cAAc;QACxB,MAAM,EAAE,gBAAgB;QACxB,aAAa,EAAE,OAAO;QACtB,OAAO,EAAE,cAAc;QACvB,OAAO,EAAE,YAAY;QACrB,OAAO,EAAE,YAAY;QACrB,WAAW,EAAE,kBAAkB;QAC/B,eAAe,EAAE,mBAAmB;QACpC,KAAK,EAAE,SAAS;KACjB;CACmB,CAAA;AAEtB,MAAM,UAAU,kBAAkB;IAChC,OAAO,YAAY,CAAC,UAAU,CAAC,CAAA;AACjC,CAAC"}
|
|
@@ -18,8 +18,8 @@ export const Steps = () => {
|
|
|
18
18
|
useEffect(() => {
|
|
19
19
|
if (panel === 'steps' && message)
|
|
20
20
|
open(_jsx(Suspense, { fallback: _jsx(Flex, { alignItems: "center", justifyContent: "center", flex: 1, children: _jsx(LoadingCircular, {}) }), children: _jsx(LazyStepsPanel, { chatId: message.chatId, messageId: message.messageId }, message.messageId) }), {
|
|
21
|
-
title: t.
|
|
22
|
-
description: t.
|
|
21
|
+
title: t.steps,
|
|
22
|
+
description: t.stepsPanelDescription,
|
|
23
23
|
onClose: () => {
|
|
24
24
|
widget.set('panel', undefined);
|
|
25
25
|
widget.set('currentMessageInPanel', undefined);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/views/Steps/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,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M,CAAC,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,CAAA;oBAC9B,MAAM,CAAC,GAAG,CAAC,uBAAuB,EAAE,SAAS,CAAC,CAAA;gBAChD,CAAC;aACF,CACF,CAAA;IACH,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,CAAA;IAEvB,OAAO,IAAI,CAAA;AACb,CAAC,CAAA"}
|
package/package.json
CHANGED
package/src/app-metadata.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stack-spot/ai-chat-widget",
|
|
3
|
-
"version": "1.13.
|
|
4
|
-
"date": "
|
|
3
|
+
"version": "1.13.1",
|
|
4
|
+
"date": "Thu Apr 03 2025 13:32:39 GMT+0000 (Coordinated Universal Time)",
|
|
5
5
|
"dependencies": [
|
|
6
6
|
{
|
|
7
7
|
"name": "@stack-spot/app-metadata",
|
|
@@ -2,7 +2,8 @@ import { Dictionary, useTranslate } from '@stack-spot/portal-translate'
|
|
|
2
2
|
|
|
3
3
|
export const dictionary = {
|
|
4
4
|
en: {
|
|
5
|
-
|
|
5
|
+
stepsPanelDescription: 'The steps and tools used to reach the answer',
|
|
6
|
+
steps: 'Steps',
|
|
6
7
|
step: 'Step',
|
|
7
8
|
response: 'Response',
|
|
8
9
|
tools: 'Tools',
|
|
@@ -14,13 +15,13 @@ export const dictionary = {
|
|
|
14
15
|
pending: 'Pending',
|
|
15
16
|
nextAttempt: 'Next execution',
|
|
16
17
|
previousAttempt: 'Previous execution',
|
|
17
|
-
thoughtFor: 'Thought for $0 seconds',
|
|
18
18
|
open: 'Open',
|
|
19
19
|
close: 'Close',
|
|
20
20
|
input: 'Input',
|
|
21
21
|
},
|
|
22
22
|
pt: {
|
|
23
|
-
|
|
23
|
+
stepsPanelDescription: 'Os passos e ferramentas usados para chegar na resposta',
|
|
24
|
+
steps: 'Passos',
|
|
24
25
|
step: 'Passo',
|
|
25
26
|
response: 'Resposta',
|
|
26
27
|
tools: 'Ferramentas',
|
|
@@ -32,7 +33,6 @@ export const dictionary = {
|
|
|
32
33
|
pending: 'Aguardando',
|
|
33
34
|
nextAttempt: 'Próxima execução',
|
|
34
35
|
previousAttempt: 'Execução anterior',
|
|
35
|
-
thoughtFor: 'Pensado por $0 segundos',
|
|
36
36
|
input: 'Entrada',
|
|
37
37
|
},
|
|
38
38
|
} satisfies Dictionary
|
|
@@ -23,8 +23,8 @@ export const Steps = () => {
|
|
|
23
23
|
<LazyStepsPanel key={message.messageId} chatId={message.chatId} messageId={message.messageId} />
|
|
24
24
|
</Suspense>,
|
|
25
25
|
{
|
|
26
|
-
title: t.
|
|
27
|
-
description: t.
|
|
26
|
+
title: t.steps,
|
|
27
|
+
description: t.stepsPanelDescription,
|
|
28
28
|
onClose: () => {
|
|
29
29
|
widget.set('panel', undefined)
|
|
30
30
|
widget.set('currentMessageInPanel', undefined)
|