@adminforth/agent 1.52.1 → 1.52.3
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/build.log
CHANGED
|
@@ -63,5 +63,5 @@ custom/speech_recognition_frontend/voiceActivityDetection.ts
|
|
|
63
63
|
custom/speech_recognition_frontend/types/
|
|
64
64
|
custom/speech_recognition_frontend/types/voice-activity-detection.d.ts
|
|
65
65
|
|
|
66
|
-
sent 1,682,
|
|
67
|
-
total size is 1,678,
|
|
66
|
+
sent 1,682,974 bytes received 940 bytes 3,367,828.00 bytes/sec
|
|
67
|
+
total size is 1,678,746 speedup is 1.00
|
|
@@ -6,7 +6,7 @@ import { PRE_SESSION_ID } from './constants';
|
|
|
6
6
|
import { i18nInstance } from '@/i18n';
|
|
7
7
|
|
|
8
8
|
type AdminforthLike = {
|
|
9
|
-
confirm(options: { message
|
|
9
|
+
confirm(options: { title?: string; message?: string; yes?: string; no?: string; dangerous?: boolean }): Promise<boolean>;
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
type CreateAgentSessionManagerOptions = {
|
|
@@ -177,7 +177,7 @@ export function createAgentSessionManager({
|
|
|
177
177
|
return;
|
|
178
178
|
}
|
|
179
179
|
blockCloseOfChat.value = true;
|
|
180
|
-
const isConfirmed = await adminforth.confirm({title: t('Are you sure, that you want to delete this session?'), message: t('This process is irreversible.'), yes: 'Yes', no: 'No'});
|
|
180
|
+
const isConfirmed = await adminforth.confirm({title: t('Are you sure, that you want to delete this session?'), message: t('This process is irreversible.'), yes: 'Yes', no: 'No', dangerous: true});
|
|
181
181
|
blockCloseOfChat.value = false;
|
|
182
182
|
if (!isConfirmed) {
|
|
183
183
|
return;
|
|
@@ -10,7 +10,7 @@ When you only need specific fields, pass `columns` with the exact resource colum
|
|
|
10
10
|
|
|
11
11
|
# Instructions
|
|
12
12
|
|
|
13
|
-
To find specific data record you should use filters. ILIKE filters are preferred when we are unsure the input is clear.You can combine filters with OR if you want to search multiple fields.If user queries one record you should try to fetch up to 5 records and if more then one returned return output them all to user and ask to select one. When you communicate about record with user, show its several most important fields.
|
|
13
|
+
To find specific data record you should use filters. ILIKE filters are preferred when we are unsure the input is clear. Pass raw search text to LIKE and ILIKE filters; never wrap filter values in SQL wildcards such as `%`. You can combine filters with OR if you want to search multiple fields. If user queries one record you should try to fetch up to 5 records and if more then one returned return output them all to user and ask to select one. When you communicate about record with user, show its several most important fields.
|
|
14
14
|
|
|
15
15
|
Every record summary must be based on one exact row returned by `get_resource_data`.
|
|
16
16
|
|
|
@@ -6,7 +6,7 @@ import { PRE_SESSION_ID } from './constants';
|
|
|
6
6
|
import { i18nInstance } from '@/i18n';
|
|
7
7
|
|
|
8
8
|
type AdminforthLike = {
|
|
9
|
-
confirm(options: { message
|
|
9
|
+
confirm(options: { title?: string; message?: string; yes?: string; no?: string; dangerous?: boolean }): Promise<boolean>;
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
type CreateAgentSessionManagerOptions = {
|
|
@@ -177,7 +177,7 @@ export function createAgentSessionManager({
|
|
|
177
177
|
return;
|
|
178
178
|
}
|
|
179
179
|
blockCloseOfChat.value = true;
|
|
180
|
-
const isConfirmed = await adminforth.confirm({title: t('Are you sure, that you want to delete this session?'), message: t('This process is irreversible.'), yes: 'Yes', no: 'No'});
|
|
180
|
+
const isConfirmed = await adminforth.confirm({title: t('Are you sure, that you want to delete this session?'), message: t('This process is irreversible.'), yes: 'Yes', no: 'No', dangerous: true});
|
|
181
181
|
blockCloseOfChat.value = false;
|
|
182
182
|
if (!isConfirmed) {
|
|
183
183
|
return;
|
|
@@ -10,7 +10,7 @@ When you only need specific fields, pass `columns` with the exact resource colum
|
|
|
10
10
|
|
|
11
11
|
# Instructions
|
|
12
12
|
|
|
13
|
-
To find specific data record you should use filters. ILIKE filters are preferred when we are unsure the input is clear.You can combine filters with OR if you want to search multiple fields.If user queries one record you should try to fetch up to 5 records and if more then one returned return output them all to user and ask to select one. When you communicate about record with user, show its several most important fields.
|
|
13
|
+
To find specific data record you should use filters. ILIKE filters are preferred when we are unsure the input is clear. Pass raw search text to LIKE and ILIKE filters; never wrap filter values in SQL wildcards such as `%`. You can combine filters with OR if you want to search multiple fields. If user queries one record you should try to fetch up to 5 records and if more then one returned return output them all to user and ask to select one. When you communicate about record with user, show its several most important fields.
|
|
14
14
|
|
|
15
15
|
Every record summary must be based on one exact row returned by `get_resource_data`.
|
|
16
16
|
|