dsh-live-voice 0.6.2 → 0.7.0
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/deploy/attendee/README.md +34 -0
- package/deploy/attendee/audio_bridge.py +186 -0
- package/deploy/attendee/compose.dsh-audio.yaml +54 -0
- package/deploy/attendee/cross_runtime_fixture.py +46 -0
- package/deploy/attendee/test_audio_bridge.py +170 -0
- package/lib/asr/asr.worker.js +1 -1
- package/lib/asr/manifest.json +1 -1
- package/lib/client.js +14848 -11796
- package/lib/server.js +1051 -14
- package/lib/vad/manifest.json +2 -2
- package/lib/vad/vad.worker.js +1 -1
- package/package.json +5 -3
- package/src/app/ARCHITECTURE.md +2 -0
- package/src/app/client/apply.tsx +74 -15
- package/src/app/client/i18n/catalogs/base.ts +87 -1
- package/src/app/client/i18n/catalogs/en.ts +119 -3
- package/src/app/client/i18n/catalogs/es.ts +120 -4
- package/src/app/client/i18n/catalogs/fr.ts +121 -4
- package/src/app/client/i18n/catalogs/hi.ts +118 -4
- package/src/app/client/i18n/catalogs/pt-BR.ts +119 -3
- package/src/app/client/i18n/catalogs/zh.ts +114 -3
- package/src/app/server/apply.ts +5 -0
- package/src/app/server/attendeeConnection.ts +133 -0
- package/src/app/server/attendeeCredentials.ts +144 -0
- package/src/app/server/attendeeRelay.ts +104 -0
- package/src/app/server/attendeeRoutes.ts +476 -0
- package/src/app/server/chatterboxRoutes.ts +73 -0
- package/src/modules/conversation/ARCHITECTURE.md +1 -0
- package/src/modules/conversation/components/AttendeeControls.tsx +376 -0
- package/src/modules/conversation/components/AutoPlaybackToggle.tsx +32 -13
- package/src/modules/conversation/components/ConversationControls.tsx +8 -5
- package/src/modules/conversation/components/ConversationStatusBar.tsx +18 -2
- package/src/modules/conversation/components/DevicePopover.tsx +31 -0
- package/src/modules/conversation/components/MeetingControls.tsx +102 -15
- package/src/modules/conversation/components/MicrophoneButton.tsx +1 -1
- package/src/modules/conversation/components/RecoveryFeedback.tsx +39 -0
- package/src/modules/conversation/components/SpeechStatusBar.tsx +15 -3
- package/src/modules/conversation/components/conversationStatus.ts +7 -0
- package/src/modules/conversation/components/createConversationComponents.tsx +6 -1
- package/src/modules/conversation/models/AttendeeClient.ts +742 -0
- package/src/modules/conversation/models/AttendeeHub.ts +98 -0
- package/src/modules/conversation/models/ParticipantPcmMeter.ts +58 -0
- package/src/modules/conversation/models/attendeeProtocol.ts +53 -0
- package/src/modules/conversation/models/meeting.ts +244 -41
- package/src/modules/conversation/models/meetingTranscript.ts +14 -3
- package/src/modules/core/ARCHITECTURE.md +2 -0
- package/src/modules/core/coordinator.ts +305 -22
- package/src/modules/core/engineSelection.ts +2 -2
- package/src/modules/core/networkFailure.ts +10 -0
- package/src/modules/core/recovery.ts +26 -0
- package/src/modules/core/settings.ts +16 -1
- package/src/modules/recognition/engines/browser/BrowserRecognitionEngine.ts +1 -1
- package/src/modules/recognition/engines/browser/transcribeRecording.ts +241 -0
- package/src/modules/recognition/engines/whisper/WhisperRecognitionEngine.ts +5 -1
- package/src/modules/recognition/engines/whisper/whisperRecognitionHost.ts +5 -2
- package/src/modules/recognition/recordingTranscriber.ts +143 -0
- package/src/modules/recording/ARCHITECTURE.md +12 -1
- package/src/modules/recording/RecordingRecognition.ts +95 -16
- package/src/modules/recording/repository.ts +279 -16
- package/src/modules/recording/requestMetadata.ts +30 -0
- package/src/modules/recording/storage.ts +61 -0
- package/src/modules/recording/types.ts +63 -1
- package/src/modules/settings/ARCHITECTURE.md +2 -0
- package/src/modules/settings/components/AudioDeviceField.tsx +43 -0
- package/src/modules/settings/models/browserVoiceSelection.ts +15 -0
- package/src/modules/settings/sections/conversation/ConversationSettingsSection.tsx +3 -0
- package/src/modules/settings/sections/conversation/MeetingSourceSettings.tsx +14 -2
- package/src/modules/settings/sections/recognition/RecognitionEngineSettings.tsx +4 -11
- package/src/modules/settings/sections/recognition/RecognitionSettingsSection.tsx +0 -2
- package/src/modules/settings/sections/speak/SpeechAdvancedSettings.tsx +6 -20
- package/src/modules/settings/sections/speak/SpeechEngineSettings.tsx +5 -0
- package/src/modules/speak/ARCHITECTURE.md +3 -1
- package/src/modules/speak/chatterbox/ChatterboxVoiceSettings.tsx +60 -0
- package/src/modules/speak/engines/audio/HostAudioEngine.ts +105 -38
- package/src/modules/speak/engines/chatterbox/ChatterboxHttpHost.ts +130 -0
- package/src/modules/speak/engines/chatterbox/ChatterboxSpeakingEngine.ts +14 -0
- package/src/modules/speak/index.ts +1 -0
- package/src/shared/ARCHITECTURE.md +2 -0
- package/src/shared/design-system/feedback/ContextPopover.tsx +107 -0
- package/src/styles/index.ts +6 -1
package/lib/vad/manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"pluginVersion": "0.
|
|
3
|
+
"pluginVersion": "0.7.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@ricky0123/vad-web": "0.0.31",
|
|
6
6
|
"onnxruntime-web": "1.22.0"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"vad.worker.js": {
|
|
43
43
|
"bytes": 79337,
|
|
44
|
-
"sha256": "
|
|
44
|
+
"sha256": "16ae4a3a3d4fa13ad7e65e8a7ce220e816448c4b9899ebaa53a2ad4c287eecbb"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
}
|
package/lib/vad/vad.worker.js
CHANGED
|
@@ -1632,7 +1632,7 @@ var vo = Ke;
|
|
|
1632
1632
|
Object.defineProperty(I.versions, "web", { value: $t, enumerable: true });
|
|
1633
1633
|
|
|
1634
1634
|
// src/modules/recognition/vad/assets.ts
|
|
1635
|
-
var sileroVadAssetBase = () => "/api/dsh-live-voice/vad/" + encodeURIComponent(true ? "0.
|
|
1635
|
+
var sileroVadAssetBase = () => "/api/dsh-live-voice/vad/" + encodeURIComponent(true ? "0.7.0" : "test") + "/";
|
|
1636
1636
|
|
|
1637
1637
|
// src/modules/recognition/vad/StreamingResampler.ts
|
|
1638
1638
|
var StreamingResampler = class {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-live-voice",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"dshTestedVersion": "0.2.
|
|
3
|
+
"version": "0.7.0",
|
|
4
|
+
"dshTestedVersion": "0.2.2-alpha.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "node --experimental-strip-types ../../scripts/build.ts --package live-voice",
|
|
@@ -55,6 +55,7 @@
|
|
|
55
55
|
"license": "Apache-2.0",
|
|
56
56
|
"files": [
|
|
57
57
|
"src/",
|
|
58
|
+
"deploy/",
|
|
58
59
|
"lib/",
|
|
59
60
|
"cordis.patch.yml",
|
|
60
61
|
"README.md",
|
|
@@ -94,7 +95,8 @@
|
|
|
94
95
|
"dependencies": {
|
|
95
96
|
"@wads.dev/i18n-react": "^0.0.1-alpha.0",
|
|
96
97
|
"@wads.dev/i18n-ts": "0.0.1-alpha.0",
|
|
97
|
-
"marked": "^18.1.0"
|
|
98
|
+
"marked": "^18.1.0",
|
|
99
|
+
"ws": "8.22.0"
|
|
98
100
|
},
|
|
99
101
|
"devDependencies": {
|
|
100
102
|
"@dlv/ort-local": "npm:onnxruntime-web@1.31.0-dev.20260914-8d85527a0",
|
package/src/app/ARCHITECTURE.md
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
- `client/transcriptionLeaveGuard.ts` owns one activity-scoped native `beforeunload` listener across microphone, meeting sources and Settings test capture. It covers acquisition, listening and unsettled transcription, not playback or voice-mode preference alone. Cancelling the browser dialog does not stop capture; existing `pagehide` cleanup runs only after leaving. Idle and disposed apps remove the listener. Browser wording, user-activation requirements and mobile/forced-close limitations apply; this is not refresh recovery.
|
|
8
8
|
- `client/i18n` owns the only UI translation tree: typed, alphabetized catalogs for every supported locale, runtime selection synchronized with `ctx.locale`, DSH registration, and the boundary wrapping slot components. UI language must not change STT/TTS language or user-defined command phrases.
|
|
9
9
|
- `server/browserAsrAssets.ts` exposes exact packaged worker and matching ONNX runtime files behind versioned authenticated routes. `client/apply.tsx` owns one browser model manager across Settings and independent capture sources, disposing it only with the application. Model weights are downloaded directly to browser-profile storage after explicit consent; host routes never proxy audio or arbitrary model/filesystem paths.
|
|
10
|
+
- The existing composer-right slot keeps shared audio independent. MeetingToggle opens a source menu without capture. Its Meet quick form contains only URL and text Connect; the explicit action calls connectMeeting with the persisted Settings name/origin and host-saved key, ensuring reception before one join request. No name override, credential input, configuration icon or local dialog belongs to the composer. Active bot control/status has one compact menu surface; MeetingBars renders only audio sources. Closed critical feedback uses a localized trigger label/title and visible indicator.
|
|
10
11
|
- Styles are assembled from `src/styles/index.ts`; design-system primitives live under `src/shared/design-system` rather than here.
|
|
11
12
|
|
|
12
13
|
Read [the repository overview](../../../../docs/ARCHITECTURE.md) for dependency direction and stable contracts, and the relevant module architecture before editing feature behavior. Read [application agent guidance](AGENTS.md) for operational constraints.
|
|
14
|
+
Experimental Attendee composition uses webServer.registerUpgrade for external token-authenticated ingress and connection.fetch.register for owner-authenticated browser control/PCM batches. Host API keys are persisted separately from preferences in a fixed host-owned plaintext 0600 credential file bound to normalized loopback API origins. Authenticated browser metadata exposes only key presence; open uses the exact-origin stored key when none is supplied. Existing leases retain their original in-memory key even after replacement/deletion until lease expiry or release. Only loopback Attendee API origins are allowed. HTTPS/direct receivers keep explicit certificate/reachability requirements. For HTTP local installs, a verified Connect uses the packaged Compose audio bridge: fixed loopback certificate discovery, per-connection TLS trust and authenticated receiving WebSocket. Compose provisions its own certificate/worker trust bundle; no host listener, global trust mutation or Docker process control belongs to the plugin.
|
package/src/app/client/apply.tsx
CHANGED
|
@@ -8,12 +8,14 @@ import { microphoneAction } from '../../modules/conversation/models/microphoneAc
|
|
|
8
8
|
import { SessionSpeechMemory } from '../../modules/speak/services/sessionSpeechMemory.js';
|
|
9
9
|
import { readSileroVadDiagnostics } from '../../modules/recognition/vad/SileroVadRuntime.js';
|
|
10
10
|
import { createRecordingRepository } from '../../modules/recording/repository.js';
|
|
11
|
+
import { recordingTranscriber } from '../../modules/recognition/recordingTranscriber.js';
|
|
11
12
|
import { RECORDING_KEY, RECORDING_CHANGED } from '../../modules/recording/types.js';
|
|
12
13
|
import { sileroVadAssetBase } from '../../modules/recognition/vad/assets.js';
|
|
13
14
|
import { createVadAssetDiagnostics } from './vadDiagnostics.js';
|
|
14
15
|
import { createTranscriptionLeaveGuard } from './transcriptionLeaveGuard.js';
|
|
15
16
|
import { SpeechStatusBar } from '../../modules/conversation/components/SpeechStatusBar.js';
|
|
16
17
|
import { MeetingController } from '../../modules/conversation/models/meeting.js';
|
|
18
|
+
import { AttendeeClient } from '../../modules/conversation/models/AttendeeClient.js';
|
|
17
19
|
import { SharedAudioMeter, requestSharedAudio } from '../../modules/core/sharedAudio.js';
|
|
18
20
|
import {
|
|
19
21
|
MeetingToggle,
|
|
@@ -31,6 +33,7 @@ import {
|
|
|
31
33
|
BrowserSpeakingEngine,
|
|
32
34
|
HostAudioSpeakingEngine,
|
|
33
35
|
QwenHttpSpeakingEngine,
|
|
36
|
+
ChatterboxSpeakingEngine,
|
|
34
37
|
} from '../../modules/speak/index.js';
|
|
35
38
|
import { createLiveVoiceSettings } from '../../modules/settings/index.js';
|
|
36
39
|
import {
|
|
@@ -69,11 +72,13 @@ export function apply(ctx) {
|
|
|
69
72
|
let preferencesLoaded = false;
|
|
70
73
|
const settingsControllers = new Set();
|
|
71
74
|
let disposed = false;
|
|
72
|
-
const recordings = createRecordingRepository()
|
|
75
|
+
const recordings = createRecordingRepository(undefined, () =>
|
|
76
|
+
recordingTranscriber(preferences.getSnapshot()),
|
|
77
|
+
);
|
|
73
78
|
const recordingTimeline = () => {
|
|
74
79
|
const append = recordings.timeline();
|
|
75
|
-
return (kind) => {
|
|
76
|
-
void append(kind).catch(() => {
|
|
80
|
+
return (kind, details) => {
|
|
81
|
+
void append(kind, details).catch(() => {
|
|
77
82
|
// Metadata failures must be visible without blocking or cancelling playback.
|
|
78
83
|
for (const entry of controllers.values())
|
|
79
84
|
entry.controller.patch({ error: t('dsh-live-voice.recording.error.failed') });
|
|
@@ -89,15 +94,18 @@ export function apply(ctx) {
|
|
|
89
94
|
let voiceModeActive = false;
|
|
90
95
|
let meetingEntry = null;
|
|
91
96
|
let sharedSpeechActive = false;
|
|
97
|
+
const externalSpeaking = new Set();
|
|
92
98
|
const meeting = new MeetingController({
|
|
93
99
|
onActivity: (source, active) => {
|
|
94
|
-
if (source
|
|
95
|
-
|
|
96
|
-
|
|
100
|
+
if (source === 'microphone') return;
|
|
101
|
+
if (active) externalSpeaking.add(source);
|
|
102
|
+
else externalSpeaking.delete(source);
|
|
103
|
+
sharedSpeechActive = externalSpeaking.size > 0;
|
|
104
|
+
meetingEntry?.controller.setExternalSpeechActivity(sharedSpeechActive);
|
|
97
105
|
meetingEntry?.controller.refreshDeliveryReadiness();
|
|
98
106
|
},
|
|
99
107
|
onSpeech: (source, text) =>
|
|
100
|
-
source
|
|
108
|
+
source === 'microphone' || meetingEntry?.controller.confirmExternalSpeech(text) !== false,
|
|
101
109
|
stopSpeech: () => meetingEntry?.controller.stopSpeech(),
|
|
102
110
|
composer: {
|
|
103
111
|
getDraft: () => meetingEntry?.draft || '',
|
|
@@ -126,9 +134,25 @@ export function apply(ctx) {
|
|
|
126
134
|
return { meter, engine: recognitionFor(settings, meter, source) };
|
|
127
135
|
},
|
|
128
136
|
});
|
|
137
|
+
meeting.attendee = new AttendeeClient(
|
|
138
|
+
meeting,
|
|
139
|
+
(source, meter, name) => {
|
|
140
|
+
const settings = preferences.getSnapshot();
|
|
141
|
+
if (settings.recognitionEngine === 'browser') throw new Error('external-pcm-unsupported');
|
|
142
|
+
const engine = recognitionFor(settings, meter, source);
|
|
143
|
+
engine.inputSource = 'shared';
|
|
144
|
+
engine.sourceId = source;
|
|
145
|
+
engine.sourceLabel = name;
|
|
146
|
+
return engine;
|
|
147
|
+
},
|
|
148
|
+
(key, values) => t('dsh-live-voice.meeting.attendee.' + key, values),
|
|
149
|
+
);
|
|
150
|
+
meeting.attendee.canStart = () =>
|
|
151
|
+
!disposed && preferences.getSnapshot().recognitionEngine !== 'browser';
|
|
152
|
+
meeting.attendee.canDeliver = () => !disposed && !!meetingEntry?.composers.size;
|
|
129
153
|
leaveGuard.watch(() => {
|
|
130
154
|
const state = meeting.getSnapshot();
|
|
131
|
-
return
|
|
155
|
+
return Object.values(state).filter((value) => value && typeof value === 'object');
|
|
132
156
|
}, meeting.subscribe);
|
|
133
157
|
let updateManager;
|
|
134
158
|
if (typeof ctx.inject === 'function')
|
|
@@ -148,6 +172,8 @@ export function apply(ctx) {
|
|
|
148
172
|
voiceModeActive ||
|
|
149
173
|
retiring.size ||
|
|
150
174
|
m.active ||
|
|
175
|
+
meeting.attendee.getSnapshot().active ||
|
|
176
|
+
meeting.attendee.getSnapshot().starting ||
|
|
151
177
|
m.shared.starting ||
|
|
152
178
|
m.shared.pending ||
|
|
153
179
|
m.microphone.starting ||
|
|
@@ -386,7 +412,14 @@ export function apply(ctx) {
|
|
|
386
412
|
throw error;
|
|
387
413
|
}
|
|
388
414
|
}
|
|
415
|
+
let attendeeRecognitionSettings = null;
|
|
389
416
|
const unsubscribePreferences = preferences.subscribe((settings) => {
|
|
417
|
+
if (
|
|
418
|
+
attendeeRecognitionSettings &&
|
|
419
|
+
[...recognitionSettingKeys].some((key) => attendeeRecognitionSettings[key] !== settings[key])
|
|
420
|
+
)
|
|
421
|
+
void meeting.attendee.stop();
|
|
422
|
+
attendeeRecognitionSettings = settings;
|
|
390
423
|
if (disposed) return;
|
|
391
424
|
preferencesLoaded = true;
|
|
392
425
|
const speechChanged =
|
|
@@ -457,7 +490,8 @@ export function apply(ctx) {
|
|
|
457
490
|
suspendSessionSpeech(entry);
|
|
458
491
|
entry.closed = true;
|
|
459
492
|
if (meetingEntry === entry) {
|
|
460
|
-
meeting.
|
|
493
|
+
void meeting.attendee.stop();
|
|
494
|
+
meeting.composerReplaced();
|
|
461
495
|
meetingEntry = null;
|
|
462
496
|
meeting.transcript.setActive('microphone', false);
|
|
463
497
|
}
|
|
@@ -529,17 +563,30 @@ export function apply(ctx) {
|
|
|
529
563
|
recordingTimeline,
|
|
530
564
|
persistSettings: (next) => savePreferences(entry.controller, next),
|
|
531
565
|
recognition,
|
|
532
|
-
engines: {
|
|
566
|
+
engines: {
|
|
567
|
+
browser: engineBrowser,
|
|
568
|
+
say: engineSay,
|
|
569
|
+
'qwen-http': engineQwen,
|
|
570
|
+
'chatterbox-http': new ChatterboxSpeakingEngine({ lang: settings.lang }),
|
|
571
|
+
},
|
|
533
572
|
meter,
|
|
534
573
|
composer: {
|
|
535
574
|
getDraft: () => entry.draft,
|
|
536
575
|
canAutoSend: () =>
|
|
537
|
-
|
|
576
|
+
[...meeting.inputs.values()].every(
|
|
577
|
+
(input) => !input.deliveryPending() && !input.getSnapshot().recognizing,
|
|
578
|
+
),
|
|
538
579
|
appendFinal: (text, startedAt, paragraphBefore) => {
|
|
539
580
|
meeting.cancelDelivery();
|
|
540
581
|
if (
|
|
541
582
|
meetingEntry === entry &&
|
|
542
583
|
(entry.meeting?.getSnapshot().shared.listening ||
|
|
584
|
+
entry.meeting?.attendee?.getSnapshot().active ||
|
|
585
|
+
Object.entries(entry.meeting?.getSnapshot() || {}).some(
|
|
586
|
+
([source, state]) =>
|
|
587
|
+
source.startsWith('attendee:') &&
|
|
588
|
+
(state.listening || state.starting || state.pending),
|
|
589
|
+
) ||
|
|
543
590
|
entry.controller.getSnapshot().timestamps)
|
|
544
591
|
) {
|
|
545
592
|
meeting.transcript.setSourceTimestamps(
|
|
@@ -734,6 +781,7 @@ export function apply(ctx) {
|
|
|
734
781
|
publishVoiceContext(entry);
|
|
735
782
|
engineBrowser.lang = controller.getSnapshot().settings.lang;
|
|
736
783
|
engineQwen.lang = controller.getSnapshot().settings.lang;
|
|
784
|
+
controller.engines['chatterbox-http'].lang = controller.getSnapshot().settings.lang;
|
|
737
785
|
run(controller, controller.refreshCapabilities({ localOnly: true }));
|
|
738
786
|
};
|
|
739
787
|
controller.updateSettings = (next) => {
|
|
@@ -889,7 +937,8 @@ export function apply(ctx) {
|
|
|
889
937
|
entry.composers.delete(token.current);
|
|
890
938
|
if (!entry.composers.size) suspendSessionSpeech(entry);
|
|
891
939
|
if (meetingEntry === entry && !entry.composers.size) {
|
|
892
|
-
meeting.
|
|
940
|
+
void meeting.attendee.stop();
|
|
941
|
+
meeting.composerReplaced();
|
|
893
942
|
meetingEntry = null;
|
|
894
943
|
meeting.transcript.setActive('microphone', false);
|
|
895
944
|
}
|
|
@@ -903,8 +952,11 @@ export function apply(ctx) {
|
|
|
903
952
|
if (!entry || entry.closed || disposed) return;
|
|
904
953
|
if (!input || typeof props.inputActions?.setDraft !== 'function') return;
|
|
905
954
|
if (meetingEntry !== entry) {
|
|
906
|
-
if (meetingEntry)
|
|
907
|
-
|
|
955
|
+
if (meetingEntry) {
|
|
956
|
+
void meeting.attendee.stop();
|
|
957
|
+
suspendSessionSpeech(meetingEntry);
|
|
958
|
+
}
|
|
959
|
+
meeting.composerReplaced();
|
|
908
960
|
meetingEntry = entry;
|
|
909
961
|
entry.controller.setExternalSpeechActivity(sharedSpeechActive);
|
|
910
962
|
const state = entry.controller.getSnapshot();
|
|
@@ -981,7 +1033,11 @@ export function apply(ctx) {
|
|
|
981
1033
|
useComposer(entry, props);
|
|
982
1034
|
return entry ? (
|
|
983
1035
|
<div className="dlv-composer-toggles">
|
|
984
|
-
<MeetingToggle
|
|
1036
|
+
<MeetingToggle
|
|
1037
|
+
meeting={entry.meeting}
|
|
1038
|
+
onToggle={entry.toggleMeetingSource}
|
|
1039
|
+
controller={entry.controller}
|
|
1040
|
+
/>
|
|
985
1041
|
<ConversationControls controller={entry.controller} />
|
|
986
1042
|
</div>
|
|
987
1043
|
) : null;
|
|
@@ -1007,6 +1063,7 @@ export function apply(ctx) {
|
|
|
1007
1063
|
playbackRate: (rate) => rate,
|
|
1008
1064
|
}),
|
|
1009
1065
|
'qwen-http': qwen,
|
|
1066
|
+
'chatterbox-http': new ChatterboxSpeakingEngine({ lang: settings.lang }),
|
|
1010
1067
|
},
|
|
1011
1068
|
meter,
|
|
1012
1069
|
composer: { getDraft: () => '', setDraft: () => {} },
|
|
@@ -1029,6 +1086,7 @@ export function apply(ctx) {
|
|
|
1029
1086
|
const update = c.updateSettings.bind(c);
|
|
1030
1087
|
c.applySavedSettings = update;
|
|
1031
1088
|
c.localModels = localModels;
|
|
1089
|
+
c.attendee = meeting.attendee;
|
|
1032
1090
|
settingsControllers.add(c);
|
|
1033
1091
|
const unsubscribeLeaveGuard = leaveGuard.watch(() => [c.getSnapshot()], c.subscribe);
|
|
1034
1092
|
const unsubscribeDiagnostics = c.subscribe(notifyDiagnostics);
|
|
@@ -1042,6 +1100,7 @@ export function apply(ctx) {
|
|
|
1042
1100
|
update(next);
|
|
1043
1101
|
browser.lang = c.getSnapshot().settings.lang;
|
|
1044
1102
|
qwen.lang = c.getSnapshot().settings.lang;
|
|
1103
|
+
c.engines['chatterbox-http'].lang = c.getSnapshot().settings.lang;
|
|
1045
1104
|
const settings = c.getSnapshot().settings;
|
|
1046
1105
|
if (changesRecognition(next)) c.replaceRecognition(recognitionFor(settings, c.meter));
|
|
1047
1106
|
const saved = savePreferences(c, next);
|
|
@@ -28,12 +28,22 @@ export interface LiveVoiceTranslation extends Translation {
|
|
|
28
28
|
'dsh-live-voice.commons.on': string;
|
|
29
29
|
'dsh-live-voice.commons.pluginName': string;
|
|
30
30
|
'dsh-live-voice.commons.queue': string;
|
|
31
|
+
'dsh-live-voice.commons.recovery.inputAction': string;
|
|
32
|
+
'dsh-live-voice.commons.recovery.microphone': string;
|
|
33
|
+
'dsh-live-voice.commons.recovery.retry': string;
|
|
34
|
+
'dsh-live-voice.commons.recovery.retrying': string;
|
|
35
|
+
'dsh-live-voice.commons.recovery.shared': string;
|
|
36
|
+
'dsh-live-voice.commons.recovery.speech': string;
|
|
37
|
+
'dsh-live-voice.commons.recovery.speechAction': string;
|
|
38
|
+
'dsh-live-voice.commons.recovery.stopped': string;
|
|
31
39
|
'dsh-live-voice.commons.repository.starLabel': string;
|
|
32
40
|
'dsh-live-voice.commons.repository.starLink': string;
|
|
33
41
|
'dsh-live-voice.commons.second': string;
|
|
34
42
|
'dsh-live-voice.commons.seconds': string;
|
|
35
43
|
'dsh-live-voice.commons.send': string;
|
|
36
44
|
'dsh-live-voice.commons.status.ready': string;
|
|
45
|
+
'dsh-live-voice.commons.status.recovering': string;
|
|
46
|
+
'dsh-live-voice.commons.status.stopped': string;
|
|
37
47
|
'dsh-live-voice.commons.systemDefault': string;
|
|
38
48
|
'dsh-live-voice.commons.toggle.offBadge': string;
|
|
39
49
|
'dsh-live-voice.commons.unknownLanguage': string;
|
|
@@ -77,15 +87,83 @@ export interface LiveVoiceTranslation extends Translation {
|
|
|
77
87
|
'dsh-live-voice.debugger.title': string;
|
|
78
88
|
'dsh-live-voice.debugger.unavailable': string;
|
|
79
89
|
'dsh-live-voice.debugger.uncertain': string;
|
|
90
|
+
'dsh-live-voice.meeting.actions': string;
|
|
91
|
+
'dsh-live-voice.meeting.attendee.admissionUnknown': string;
|
|
92
|
+
'dsh-live-voice.meeting.attendee.advanced': string;
|
|
93
|
+
'dsh-live-voice.meeting.attendee.aliasHelp': string;
|
|
94
|
+
'dsh-live-voice.meeting.attendee.apiKey': string;
|
|
95
|
+
'dsh-live-voice.meeting.attendee.apiUrl': string;
|
|
96
|
+
'dsh-live-voice.meeting.attendee.automaticReceiver': string;
|
|
97
|
+
'dsh-live-voice.meeting.attendee.botId': string;
|
|
98
|
+
'dsh-live-voice.meeting.attendee.botName': string;
|
|
99
|
+
'dsh-live-voice.meeting.attendee.configureConnection': string;
|
|
100
|
+
'dsh-live-voice.meeting.attendee.configureInSettings': string;
|
|
101
|
+
'dsh-live-voice.meeting.attendee.confirmRelease': string;
|
|
102
|
+
'dsh-live-voice.meeting.attendee.connectMeeting': string;
|
|
103
|
+
'dsh-live-voice.meeting.attendee.connected': string;
|
|
104
|
+
'dsh-live-voice.meeting.attendee.connecting': string;
|
|
105
|
+
'dsh-live-voice.meeting.attendee.connection': string;
|
|
106
|
+
'dsh-live-voice.meeting.attendee.controlExpired': string;
|
|
107
|
+
'dsh-live-voice.meeting.attendee.controlReleased': string;
|
|
108
|
+
'dsh-live-voice.meeting.attendee.controlUnavailable': string;
|
|
109
|
+
'dsh-live-voice.meeting.attendee.controlUnknown': string;
|
|
110
|
+
'dsh-live-voice.meeting.attendee.copy': string;
|
|
111
|
+
'dsh-live-voice.meeting.attendee.credentialCancel': string;
|
|
112
|
+
'dsh-live-voice.meeting.attendee.credentialChecking': string;
|
|
113
|
+
'dsh-live-voice.meeting.attendee.credentialHelp': string;
|
|
114
|
+
'dsh-live-voice.meeting.attendee.credentialInvalid': string;
|
|
115
|
+
'dsh-live-voice.meeting.attendee.credentialMissing': string;
|
|
116
|
+
'dsh-live-voice.meeting.attendee.credentialNotSaved': string;
|
|
117
|
+
'dsh-live-voice.meeting.attendee.credentialRemove': string;
|
|
118
|
+
'dsh-live-voice.meeting.attendee.credentialRemoveConfirm': string;
|
|
119
|
+
'dsh-live-voice.meeting.attendee.credentialRemoveWarning': string;
|
|
120
|
+
'dsh-live-voice.meeting.attendee.credentialReplace': string;
|
|
121
|
+
'dsh-live-voice.meeting.attendee.credentialSave': string;
|
|
122
|
+
'dsh-live-voice.meeting.attendee.credentialSaved': string;
|
|
123
|
+
'dsh-live-voice.meeting.attendee.credentialUnavailable': string;
|
|
124
|
+
'dsh-live-voice.meeting.attendee.currentBot': string;
|
|
125
|
+
'dsh-live-voice.meeting.attendee.defaultBotName': string;
|
|
126
|
+
'dsh-live-voice.meeting.attendee.departureRequested': string;
|
|
127
|
+
'dsh-live-voice.meeting.attendee.disconnectMeeting': string;
|
|
128
|
+
'dsh-live-voice.meeting.attendee.disconnectUnconfirmed': string;
|
|
129
|
+
'dsh-live-voice.meeting.attendee.failed': string;
|
|
130
|
+
'dsh-live-voice.meeting.attendee.help': string;
|
|
131
|
+
'dsh-live-voice.meeting.attendee.ingressUrl': string;
|
|
132
|
+
'dsh-live-voice.meeting.attendee.invalidMeeting': string;
|
|
133
|
+
'dsh-live-voice.meeting.attendee.join': string;
|
|
134
|
+
'dsh-live-voice.meeting.attendee.joinFailed': string;
|
|
135
|
+
'dsh-live-voice.meeting.attendee.joinHelp': string;
|
|
136
|
+
'dsh-live-voice.meeting.attendee.joining': string;
|
|
137
|
+
'dsh-live-voice.meeting.attendee.leave': string;
|
|
138
|
+
'dsh-live-voice.meeting.attendee.leaveFailed': string;
|
|
139
|
+
'dsh-live-voice.meeting.attendee.leaving': string;
|
|
140
|
+
'dsh-live-voice.meeting.attendee.meetingUrl': string;
|
|
141
|
+
'dsh-live-voice.meeting.attendee.noParticipants': string;
|
|
142
|
+
'dsh-live-voice.meeting.attendee.participant': string;
|
|
143
|
+
'dsh-live-voice.meeting.attendee.participants': string;
|
|
144
|
+
'dsh-live-voice.meeting.attendee.receiverInactive': string;
|
|
145
|
+
'dsh-live-voice.meeting.attendee.receiverUrl': string;
|
|
146
|
+
'dsh-live-voice.meeting.attendee.recognitionRequired': string;
|
|
147
|
+
'dsh-live-voice.meeting.attendee.relayUnavailable': string;
|
|
148
|
+
'dsh-live-voice.meeting.attendee.releaseControl': string;
|
|
149
|
+
'dsh-live-voice.meeting.attendee.releaseWarning': string;
|
|
150
|
+
'dsh-live-voice.meeting.attendee.settingsHelp': string;
|
|
151
|
+
'dsh-live-voice.meeting.attendee.start': string;
|
|
152
|
+
'dsh-live-voice.meeting.attendee.stop': string;
|
|
153
|
+
'dsh-live-voice.meeting.attendee.title': string;
|
|
154
|
+
'dsh-live-voice.meeting.attendee.tlsNeeded': string;
|
|
155
|
+
'dsh-live-voice.meeting.attendee.waiting': string;
|
|
80
156
|
'dsh-live-voice.meeting.browserLocalUnavailable': string;
|
|
81
157
|
'dsh-live-voice.meeting.browserSharedUnsupported': string;
|
|
82
158
|
'dsh-live-voice.meeting.failed': string;
|
|
83
159
|
'dsh-live-voice.meeting.help': string;
|
|
84
160
|
'dsh-live-voice.meeting.inactive': string;
|
|
161
|
+
'dsh-live-voice.meeting.joinMeet': string;
|
|
85
162
|
'dsh-live-voice.meeting.listening': string;
|
|
86
163
|
'dsh-live-voice.meeting.microphone': string;
|
|
87
164
|
'dsh-live-voice.meeting.noAudio': string;
|
|
88
165
|
'dsh-live-voice.meeting.processing': string;
|
|
166
|
+
'dsh-live-voice.meeting.shareTab': string;
|
|
89
167
|
'dsh-live-voice.meeting.shared': string;
|
|
90
168
|
'dsh-live-voice.meeting.start': string;
|
|
91
169
|
'dsh-live-voice.meeting.startShared': string;
|
|
@@ -320,6 +398,7 @@ export interface LiveVoiceTranslation extends Translation {
|
|
|
320
398
|
'dsh-live-voice.speak.autoPlayback.enabled': string;
|
|
321
399
|
'dsh-live-voice.speak.autoPlayback.help': string;
|
|
322
400
|
'dsh-live-voice.speak.autoPlayback.label': string;
|
|
401
|
+
'dsh-live-voice.speak.autoPlayback.nextMode': string;
|
|
323
402
|
'dsh-live-voice.speak.autoPlayback.remainingOne': string;
|
|
324
403
|
'dsh-live-voice.speak.autoPlayback.remainingOther': string;
|
|
325
404
|
'dsh-live-voice.speak.autoPlayback.status': string;
|
|
@@ -334,6 +413,14 @@ export interface LiveVoiceTranslation extends Translation {
|
|
|
334
413
|
'dsh-live-voice.speak.captions.position': string;
|
|
335
414
|
'dsh-live-voice.speak.captions.progress': string;
|
|
336
415
|
'dsh-live-voice.speak.captions.title': string;
|
|
416
|
+
'dsh-live-voice.speak.chatterbox.empty': string;
|
|
417
|
+
'dsh-live-voice.speak.chatterbox.help': string;
|
|
418
|
+
'dsh-live-voice.speak.chatterbox.label': string;
|
|
419
|
+
'dsh-live-voice.speak.chatterbox.loading': string;
|
|
420
|
+
'dsh-live-voice.speak.chatterbox.missingVoice': string;
|
|
421
|
+
'dsh-live-voice.speak.chatterbox.refresh': string;
|
|
422
|
+
'dsh-live-voice.speak.chatterbox.unavailable': string;
|
|
423
|
+
'dsh-live-voice.speak.chatterbox.voice': string;
|
|
337
424
|
'dsh-live-voice.speak.engine.label': string;
|
|
338
425
|
'dsh-live-voice.speak.engine.playbackHelp': string;
|
|
339
426
|
'dsh-live-voice.speak.filters.code.enabled': string;
|
|
@@ -345,7 +432,6 @@ export interface LiveVoiceTranslation extends Translation {
|
|
|
345
432
|
'dsh-live-voice.speak.interruption.enabledHelp': string;
|
|
346
433
|
'dsh-live-voice.speak.macos.label': string;
|
|
347
434
|
'dsh-live-voice.speak.macos.name': string;
|
|
348
|
-
'dsh-live-voice.speak.macos.outputHelp': string;
|
|
349
435
|
'dsh-live-voice.speak.macos.voice': string;
|
|
350
436
|
'dsh-live-voice.speak.macos.voiceHelp': string;
|
|
351
437
|
'dsh-live-voice.speak.output.checking': string;
|
|
@@ -28,12 +28,25 @@ const en: LiveVoiceTranslation = {
|
|
|
28
28
|
'dsh-live-voice.commons.on': 'on',
|
|
29
29
|
'dsh-live-voice.commons.pluginName': 'Live Voice',
|
|
30
30
|
'dsh-live-voice.commons.queue': 'queue',
|
|
31
|
+
'dsh-live-voice.commons.recovery.inputAction':
|
|
32
|
+
'Check permissions, the selected device or engine, then restart this input. Other voice streams remain independent.',
|
|
33
|
+
'dsh-live-voice.commons.recovery.microphone': 'Microphone transcription',
|
|
34
|
+
'dsh-live-voice.commons.recovery.retry': 'Retry now',
|
|
35
|
+
'dsh-live-voice.commons.recovery.retrying':
|
|
36
|
+
'{source}: retrying ({attempt}/{maxAttempts}). {reason}',
|
|
37
|
+
'dsh-live-voice.commons.recovery.shared': 'Shared-audio transcription',
|
|
38
|
+
'dsh-live-voice.commons.recovery.speech': 'Assistant speech',
|
|
39
|
+
'dsh-live-voice.commons.recovery.speechAction':
|
|
40
|
+
'The speech queue is retained. Resolve the cause, then Resume to retry or Stop to discard.',
|
|
41
|
+
'dsh-live-voice.commons.recovery.stopped': '{source}: recovery stopped. {reason}',
|
|
31
42
|
'dsh-live-voice.commons.repository.starLabel': 'Star Us on GitHub',
|
|
32
43
|
'dsh-live-voice.commons.repository.starLink': 'Star DSH Live Voice on GitHub',
|
|
33
44
|
'dsh-live-voice.commons.second': '1 second',
|
|
34
45
|
'dsh-live-voice.commons.seconds': '{seconds} seconds',
|
|
35
46
|
'dsh-live-voice.commons.send': 'SEND',
|
|
36
47
|
'dsh-live-voice.commons.status.ready': 'Voice ready',
|
|
48
|
+
'dsh-live-voice.commons.status.recovering': 'Recovering recognition',
|
|
49
|
+
'dsh-live-voice.commons.status.stopped': 'Recognition stopped',
|
|
37
50
|
'dsh-live-voice.commons.systemDefault': 'System default',
|
|
38
51
|
'dsh-live-voice.commons.toggle.offBadge': 'OFF',
|
|
39
52
|
'dsh-live-voice.commons.unknownLanguage': 'unknown language',
|
|
@@ -101,6 +114,96 @@ const en: LiveVoiceTranslation = {
|
|
|
101
114
|
'Installation is unavailable for this profile or DSH version. Use the DSH plugin manager.',
|
|
102
115
|
'dsh-live-voice.debugger.uncertain':
|
|
103
116
|
'The installation result is unknown. Check the DSH plugin manager before continuing; installation will not be retried here.',
|
|
117
|
+
'dsh-live-voice.meeting.actions': 'Meeting actions',
|
|
118
|
+
'dsh-live-voice.meeting.attendee.admissionUnknown': 'Meeting admission is not confirmed.',
|
|
119
|
+
'dsh-live-voice.meeting.attendee.advanced': 'Advanced connection',
|
|
120
|
+
'dsh-live-voice.meeting.attendee.aliasHelp':
|
|
121
|
+
'Aliases apply only to this connection and future transcript text. They do not rename people in the meeting.',
|
|
122
|
+
'dsh-live-voice.meeting.attendee.apiKey': 'API key',
|
|
123
|
+
'dsh-live-voice.meeting.attendee.apiUrl': 'Local Attendee API URL',
|
|
124
|
+
'dsh-live-voice.meeting.attendee.automaticReceiver': 'Receiver detected by DSH',
|
|
125
|
+
'dsh-live-voice.meeting.attendee.botId': 'Bot ID (optional; first bot is bound)',
|
|
126
|
+
'dsh-live-voice.meeting.attendee.botName': 'Bot name in the meeting',
|
|
127
|
+
'dsh-live-voice.meeting.attendee.configureConnection': 'Configure Attendee connection',
|
|
128
|
+
'dsh-live-voice.meeting.attendee.configureInSettings':
|
|
129
|
+
'Configure Google Meet in Settings → Live Voice → Conversation → Meeting mode.',
|
|
130
|
+
'dsh-live-voice.meeting.attendee.confirmRelease': 'Discard control without leaving',
|
|
131
|
+
'dsh-live-voice.meeting.attendee.connectMeeting': 'Connect',
|
|
132
|
+
'dsh-live-voice.meeting.attendee.connected': 'Connected to Attendee',
|
|
133
|
+
'dsh-live-voice.meeting.attendee.connecting': 'Opening receiver…',
|
|
134
|
+
'dsh-live-voice.meeting.attendee.connection': 'Connection settings',
|
|
135
|
+
'dsh-live-voice.meeting.attendee.controlExpired':
|
|
136
|
+
'Bot control expired. The bot may still be in the meeting; check Attendee.',
|
|
137
|
+
'dsh-live-voice.meeting.attendee.controlReleased':
|
|
138
|
+
'Control discarded, not a request to leave. Check the bot in Attendee.',
|
|
139
|
+
'dsh-live-voice.meeting.attendee.controlUnavailable':
|
|
140
|
+
'Bot control is unavailable. The meeting state is unknown; check Attendee.',
|
|
141
|
+
'dsh-live-voice.meeting.attendee.controlUnknown':
|
|
142
|
+
'Bot state is unknown. Check Attendee before creating another bot.',
|
|
143
|
+
'dsh-live-voice.meeting.attendee.copy': 'Copy',
|
|
144
|
+
'dsh-live-voice.meeting.attendee.credentialCancel': 'Cancel',
|
|
145
|
+
'dsh-live-voice.meeting.attendee.credentialChecking': 'Checking saved API key',
|
|
146
|
+
'dsh-live-voice.meeting.attendee.credentialHelp':
|
|
147
|
+
'Save stores the key for this API origin on the host in a plaintext 0600 file, not OS-encrypted storage. Authenticated browsers of this host share it; the secret is never returned. Replacing or removing it does not end an existing bot lease.',
|
|
148
|
+
'dsh-live-voice.meeting.attendee.credentialInvalid':
|
|
149
|
+
'Saved-key storage is invalid. Repair or remove the host credential file before retrying.',
|
|
150
|
+
'dsh-live-voice.meeting.attendee.credentialMissing':
|
|
151
|
+
'No API key is configured for this API origin. Enter it once and Connect.',
|
|
152
|
+
'dsh-live-voice.meeting.attendee.credentialNotSaved': 'API key not configured on this host',
|
|
153
|
+
'dsh-live-voice.meeting.attendee.credentialRemove': 'Remove saved API key',
|
|
154
|
+
'dsh-live-voice.meeting.attendee.credentialRemoveConfirm': 'Remove saved key',
|
|
155
|
+
'dsh-live-voice.meeting.attendee.credentialRemoveWarning':
|
|
156
|
+
'Remove this origin’s saved key? Existing reception and bot control keep their current credential; this does not request departure.',
|
|
157
|
+
'dsh-live-voice.meeting.attendee.credentialReplace': 'Replace API key',
|
|
158
|
+
'dsh-live-voice.meeting.attendee.credentialSave': 'Save API key',
|
|
159
|
+
'dsh-live-voice.meeting.attendee.credentialSaved': 'API key configured on this host',
|
|
160
|
+
'dsh-live-voice.meeting.attendee.credentialUnavailable':
|
|
161
|
+
'Saved-key storage is unavailable. Check host permissions and try again.',
|
|
162
|
+
'dsh-live-voice.meeting.attendee.currentBot': 'Last known bot',
|
|
163
|
+
'dsh-live-voice.meeting.attendee.defaultBotName': 'Default bot name',
|
|
164
|
+
'dsh-live-voice.meeting.attendee.departureRequested':
|
|
165
|
+
'Departure requested; removal from the meeting is not confirmed.',
|
|
166
|
+
'dsh-live-voice.meeting.attendee.disconnectMeeting': 'Disconnect meeting',
|
|
167
|
+
'dsh-live-voice.meeting.attendee.disconnectUnconfirmed':
|
|
168
|
+
'Disconnected locally. Remote departure could not be confirmed; check the meeting before connecting again.',
|
|
169
|
+
'dsh-live-voice.meeting.attendee.failed':
|
|
170
|
+
'Receiver stopped. Check TLS, API credentials, participants, stream limits and recognition engine, then reconnect.',
|
|
171
|
+
'dsh-live-voice.meeting.attendee.help':
|
|
172
|
+
'Connect to your local Attendee service, paste a meeting link, choose a bot name and request entry. Participants appear here and have independent audio bars. Requires HTTP or browser-local STT, not native browser recognition. The API key is not saved. Recording follows your recording settings.',
|
|
173
|
+
'dsh-live-voice.meeting.attendee.ingressUrl': 'Trusted WSS receiver URL',
|
|
174
|
+
'dsh-live-voice.meeting.attendee.invalidMeeting': 'Enter a valid Google Meet link.',
|
|
175
|
+
'dsh-live-voice.meeting.attendee.join': 'Join meeting',
|
|
176
|
+
'dsh-live-voice.meeting.attendee.joinFailed':
|
|
177
|
+
'The join result may be unknown. Check Attendee before reconnecting or creating another bot.',
|
|
178
|
+
'dsh-live-voice.meeting.attendee.joinHelp':
|
|
179
|
+
'Creates a bot with your chosen name and audio destination. The meeting organizer may need to admit it. Disconnecting DSH does not remove the bot; use Leave meeting.',
|
|
180
|
+
'dsh-live-voice.meeting.attendee.joining': 'Requesting entry…',
|
|
181
|
+
'dsh-live-voice.meeting.attendee.leave': 'Leave meeting',
|
|
182
|
+
'dsh-live-voice.meeting.attendee.leaveFailed':
|
|
183
|
+
'Could not confirm the request to leave. The bot may remain; retry Leave meeting or check Attendee.',
|
|
184
|
+
'dsh-live-voice.meeting.attendee.leaving': 'Requesting departure…',
|
|
185
|
+
'dsh-live-voice.meeting.attendee.meetingUrl': 'Google Meet link',
|
|
186
|
+
'dsh-live-voice.meeting.attendee.noParticipants': 'Waiting for participants to be detected',
|
|
187
|
+
'dsh-live-voice.meeting.attendee.participant': 'Participant {number}',
|
|
188
|
+
'dsh-live-voice.meeting.attendee.participants': 'Meeting participants',
|
|
189
|
+
'dsh-live-voice.meeting.attendee.receiverInactive': 'Audio receiver disconnected',
|
|
190
|
+
'dsh-live-voice.meeting.attendee.receiverUrl': 'Receiver URL (secret)',
|
|
191
|
+
'dsh-live-voice.meeting.attendee.recognitionRequired':
|
|
192
|
+
'Choose Whisper HTTP, Qwen HTTP or a browser-local STT model in Settings before connecting.',
|
|
193
|
+
'dsh-live-voice.meeting.attendee.relayUnavailable':
|
|
194
|
+
'The Compose audio bridge is unavailable. Start Attendee with the DSH audio override, then connect again.',
|
|
195
|
+
'dsh-live-voice.meeting.attendee.releaseControl': 'Discard bot control…',
|
|
196
|
+
'dsh-live-voice.meeting.attendee.releaseWarning':
|
|
197
|
+
'Discarding control does not remove the bot from the meeting. You will lose the Leave action here. Continue only after checking Attendee.',
|
|
198
|
+
'dsh-live-voice.meeting.attendee.settingsHelp':
|
|
199
|
+
'Save the project API key here once. The meeting menu uses the saved key automatically; only its explicit Connect action starts reception and requests entry.',
|
|
200
|
+
'dsh-live-voice.meeting.attendee.start': 'Connect to Attendee',
|
|
201
|
+
'dsh-live-voice.meeting.attendee.stop': 'Disconnect from Attendee',
|
|
202
|
+
'dsh-live-voice.meeting.attendee.title': 'Audio by participant (Attendee · experimental)',
|
|
203
|
+
'dsh-live-voice.meeting.attendee.tlsNeeded':
|
|
204
|
+
'DSH has no trusted WSS receiver yet. Configure HTTPS or a trusted WSS proxy under advanced connection settings before joining.',
|
|
205
|
+
'dsh-live-voice.meeting.attendee.waiting':
|
|
206
|
+
'Receiver open; configure a new bot with the URL below.',
|
|
104
207
|
'dsh-live-voice.meeting.browserLocalUnavailable':
|
|
105
208
|
'Local browser recognition is unavailable for this language. Install its language pack or explicitly turn off local-only processing in Settings to permit browser-service recognition.',
|
|
106
209
|
'dsh-live-voice.meeting.browserSharedUnsupported':
|
|
@@ -109,10 +212,12 @@ const en: LiveVoiceTranslation = {
|
|
|
109
212
|
'dsh-live-voice.meeting.help':
|
|
110
213
|
'Independent sources; transcripts stay in the composer until you send them manually.',
|
|
111
214
|
'dsh-live-voice.meeting.inactive': 'Inactive',
|
|
215
|
+
'dsh-live-voice.meeting.joinMeet': 'Join Google Meet · experimental',
|
|
112
216
|
'dsh-live-voice.meeting.listening': 'Listening',
|
|
113
217
|
'dsh-live-voice.meeting.microphone': 'Microphone',
|
|
114
218
|
'dsh-live-voice.meeting.noAudio': 'No audio was shared. Enable audio in the sharing dialog.',
|
|
115
219
|
'dsh-live-voice.meeting.processing': 'Transcribing…',
|
|
220
|
+
'dsh-live-voice.meeting.shareTab': 'Share audio from a tab',
|
|
116
221
|
'dsh-live-voice.meeting.shared': 'Shared audio',
|
|
117
222
|
'dsh-live-voice.meeting.start': 'Start source',
|
|
118
223
|
'dsh-live-voice.meeting.startShared': 'Start audio sharing',
|
|
@@ -352,7 +457,7 @@ const en: LiveVoiceTranslation = {
|
|
|
352
457
|
'dsh-live-voice.recording.error.failed':
|
|
353
458
|
'Recording could not be saved. Capture stopped to avoid silent data loss.',
|
|
354
459
|
'dsh-live-voice.recording.keepPrevious.help':
|
|
355
|
-
'Keep 1–100 ordinary
|
|
460
|
+
'Keep 1–100 ordinary captures per source type; Attendee keeps N meeting groups, newest by capture activity, with every participant and burst while that group is retained. Active writers, pending writes and stars protect the whole meeting group without consuming an ordinary slot. Silence between bursts does not mean the call ended or reserve its place: a newer meeting may expire an older quiet group. Legacy microphone/shared recordings keep N captures per type. Browser quota or storage eviction can still limit availability.',
|
|
356
461
|
'dsh-live-voice.recording.keepPrevious.label': 'Retained recordings per source type',
|
|
357
462
|
'dsh-live-voice.recording.managementHelp':
|
|
358
463
|
'Managing saved sessions—browsing, playback, reviewing transcripts, export and deletion—requires the optional dsh-live-voice-debugger plugin. Use Diagnostics below to install it. Recording itself does not require the debugger.',
|
|
@@ -431,6 +536,8 @@ const en: LiveVoiceTranslation = {
|
|
|
431
536
|
'dsh-live-voice.speak.autoPlayback.help':
|
|
432
537
|
'New assistant messages are spoken automatically, even with the microphone off. Playback waits while you are speaking.',
|
|
433
538
|
'dsh-live-voice.speak.autoPlayback.label': 'Automatic assistant speech',
|
|
539
|
+
'dsh-live-voice.speak.autoPlayback.nextMode':
|
|
540
|
+
'Next mode: {mode}. Right-click to choose an audio device.',
|
|
434
541
|
'dsh-live-voice.speak.autoPlayback.remainingOne':
|
|
435
542
|
'Automatic assistant speech: {state} — {count} speech segment remaining',
|
|
436
543
|
'dsh-live-voice.speak.autoPlayback.remainingOther':
|
|
@@ -448,9 +555,19 @@ const en: LiveVoiceTranslation = {
|
|
|
448
555
|
'dsh-live-voice.speak.captions.position': 'Speech segment {index} of {total}',
|
|
449
556
|
'dsh-live-voice.speak.captions.progress': 'Approximate speech progress',
|
|
450
557
|
'dsh-live-voice.speak.captions.title': 'Speech and live captions',
|
|
558
|
+
'dsh-live-voice.speak.chatterbox.empty': 'No voice references found.',
|
|
559
|
+
'dsh-live-voice.speak.chatterbox.help':
|
|
560
|
+
'References come from the local Chatterbox service. Add authorized recordings to its voices folder, then refresh. PT-BR synthesis; playback speed uses the existing player.',
|
|
561
|
+
'dsh-live-voice.speak.chatterbox.label': 'Chatterbox · local MLX server',
|
|
562
|
+
'dsh-live-voice.speak.chatterbox.loading': 'Loading voice references…',
|
|
563
|
+
'dsh-live-voice.speak.chatterbox.missingVoice': 'Saved voice is not in the current catalog',
|
|
564
|
+
'dsh-live-voice.speak.chatterbox.refresh': 'Refresh voices',
|
|
565
|
+
'dsh-live-voice.speak.chatterbox.unavailable':
|
|
566
|
+
'Chatterbox is unavailable. Start the local service and refresh.',
|
|
567
|
+
'dsh-live-voice.speak.chatterbox.voice': 'Voice reference',
|
|
451
568
|
'dsh-live-voice.speak.engine.label': 'Speech engine',
|
|
452
569
|
'dsh-live-voice.speak.engine.playbackHelp':
|
|
453
|
-
'Qwen and macOS say synthesize on the DSH host; compact AAC/M4A audio plays in this browser. Browser speech synthesizes and plays on this device.',
|
|
570
|
+
'Qwen, Chatterbox and macOS say synthesize on the DSH host; compact AAC/M4A audio plays in this browser. Browser speech synthesizes and plays on this device.',
|
|
454
571
|
'dsh-live-voice.speak.filters.code.enabled': 'Filter Markdown code blocks before speaking',
|
|
455
572
|
'dsh-live-voice.speak.filters.code.maxLines': 'Read code blocks up to this many lines',
|
|
456
573
|
'dsh-live-voice.speak.filters.code.notice': 'Look at the code in our conversation',
|
|
@@ -462,7 +579,6 @@ const en: LiveVoiceTranslation = {
|
|
|
462
579
|
'Sending or steering a new user message stops current or paused assistant speech.',
|
|
463
580
|
'dsh-live-voice.speak.macos.label': 'macOS say · host audio',
|
|
464
581
|
'dsh-live-voice.speak.macos.name': 'macOS say',
|
|
465
|
-
'dsh-live-voice.speak.macos.outputHelp': 'macOS say uses the output selected on the DSH host.',
|
|
466
582
|
'dsh-live-voice.speak.macos.voice': 'macOS say voice',
|
|
467
583
|
'dsh-live-voice.speak.macos.voiceHelp':
|
|
468
584
|
'Enter the exact voice name used by say -v. Leave empty to use the macOS default voice. List host voices in Terminal with say -v "?".',
|