@adminforth/agent 1.39.0 → 1.39.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/build.log
CHANGED
|
@@ -58,5 +58,5 @@ custom/speech_recognition_frontend/voiceActivityDetection.ts
|
|
|
58
58
|
custom/speech_recognition_frontend/types/
|
|
59
59
|
custom/speech_recognition_frontend/types/voice-activity-detection.d.ts
|
|
60
60
|
|
|
61
|
-
sent 1,656,
|
|
62
|
-
total size is 1,652,
|
|
61
|
+
sent 1,656,214 bytes received 860 bytes 3,314,148.00 bytes/sec
|
|
62
|
+
total size is 1,652,352 speedup is 1.00
|
package/custom/ChatSurface.vue
CHANGED
|
@@ -119,8 +119,8 @@
|
|
|
119
119
|
}"
|
|
120
120
|
>
|
|
121
121
|
<div
|
|
122
|
-
class="w-full border rounded-lg pb-8
|
|
123
|
-
:class="agentStore.isAudioChatMode ? 'border-none mt-8' : 'border'"
|
|
122
|
+
class="w-full border rounded-lg pb-8"
|
|
123
|
+
:class="agentStore.isAudioChatMode ? 'border-none mt-8' : 'border dark:bg-gray-700'"
|
|
124
124
|
>
|
|
125
125
|
<textarea
|
|
126
126
|
v-if="!agentStore.isAudioChatMode"
|
|
@@ -91,8 +91,10 @@ async function onStartRecording() {
|
|
|
91
91
|
microphoneButtonMode.value = 'calibrating';
|
|
92
92
|
await requestMicAndStartVAD(saidSomething, stopRecording, onAnySound);
|
|
93
93
|
setTimeout(() => {
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
if (isAudioChatMode.value) {
|
|
95
|
+
microphoneButtonMode.value = 'listen';
|
|
96
|
+
agentAudio.playBeep(1000);
|
|
97
|
+
}
|
|
96
98
|
}, CALIBRATION_DURATION);
|
|
97
99
|
}
|
|
98
100
|
|
|
@@ -119,8 +119,8 @@
|
|
|
119
119
|
}"
|
|
120
120
|
>
|
|
121
121
|
<div
|
|
122
|
-
class="w-full border rounded-lg pb-8
|
|
123
|
-
:class="agentStore.isAudioChatMode ? 'border-none mt-8' : 'border'"
|
|
122
|
+
class="w-full border rounded-lg pb-8"
|
|
123
|
+
:class="agentStore.isAudioChatMode ? 'border-none mt-8' : 'border dark:bg-gray-700'"
|
|
124
124
|
>
|
|
125
125
|
<textarea
|
|
126
126
|
v-if="!agentStore.isAudioChatMode"
|
|
@@ -91,8 +91,10 @@ async function onStartRecording() {
|
|
|
91
91
|
microphoneButtonMode.value = 'calibrating';
|
|
92
92
|
await requestMicAndStartVAD(saidSomething, stopRecording, onAnySound);
|
|
93
93
|
setTimeout(() => {
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
if (isAudioChatMode.value) {
|
|
95
|
+
microphoneButtonMode.value = 'listen';
|
|
96
|
+
agentAudio.playBeep(1000);
|
|
97
|
+
}
|
|
96
98
|
}, CALIBRATION_DURATION);
|
|
97
99
|
}
|
|
98
100
|
|