@burdenoff/fe-libs 2026.1114.13 → 2026.1114.14

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.
Files changed (39) hide show
  1. package/dist/shared/assistant/conversation.d.ts +16 -0
  2. package/dist/shared/assistant/i18nManifest.d.ts +30 -0
  3. package/dist/shared/assistant/i18nManifest.js +30 -0
  4. package/dist/shared/assistant/index.d.ts +6 -0
  5. package/dist/shared/assistant/store.d.ts +7 -0
  6. package/dist/shared/assistant/store.js +3 -0
  7. package/dist/shared/assistant/ui/AssistantChatArea.js +1269 -1188
  8. package/dist/shared/assistant/ui/AssistantMessageList.d.ts +14 -0
  9. package/dist/shared/assistant/ui/AssistantMessageList.js +55 -52
  10. package/dist/shared/assistant/ui/composer/AssistantComposer.js +387 -395
  11. package/dist/shared/assistant/ui/composer/AssistantDictation.d.ts +42 -0
  12. package/dist/shared/assistant/ui/composer/AssistantDictation.js +127 -0
  13. package/dist/shared/assistant/ui/composer/AssistantMicMenu.d.ts +23 -0
  14. package/dist/shared/assistant/ui/composer/AssistantMicMenu.js +176 -0
  15. package/dist/shared/assistant/ui/composer/microphones.d.ts +13 -0
  16. package/dist/shared/assistant/ui/composer/microphones.js +15 -0
  17. package/dist/shared/assistant/ui/composer/useCompactDictation.d.ts +70 -0
  18. package/dist/shared/assistant/ui/composer/useCompactDictation.js +136 -0
  19. package/dist/shared/assistant/ui/useVoiceSession.js +166 -164
  20. package/dist/shared/assistant/ui/voice/AssistantPageVoiceBar.d.ts +20 -17
  21. package/dist/shared/assistant/ui/voice/AssistantPageVoiceBar.js +230 -123
  22. package/dist/shared/assistant/ui/voice/AssistantVoiceSession.d.ts +2 -0
  23. package/dist/shared/assistant/ui/voice/AssistantVoiceSession.js +227 -229
  24. package/dist/shared/assistant/ui/voice/AssistantVoiceSessionButton.d.ts +5 -0
  25. package/dist/shared/assistant/ui/voice/AssistantVoiceSessionButton.js +6 -6
  26. package/dist/shared/assistant/ui/voice/LiveWaveform.d.ts +4 -3
  27. package/dist/shared/assistant/ui/voice/LiveWaveform.js +1 -1
  28. package/dist/shared/assistant/ui/voice/VoiceTurnMarks.d.ts +15 -0
  29. package/dist/shared/assistant/ui/voice/VoiceTurnMarks.js +43 -0
  30. package/dist/shared/assistant/ui/voice/formatClock.d.ts +2 -0
  31. package/dist/shared/assistant/ui/voice/formatClock.js +3 -0
  32. package/dist/shared/assistant/ui/voice/useLiveLevel.d.ts +3 -1
  33. package/dist/shared/assistant/ui/voice/useLiveLevel.js +23 -19
  34. package/dist/shared/assistant/voice/liveLevel.d.ts +4 -3
  35. package/dist/shared/assistant/voice/liveLevel.js +18 -15
  36. package/dist/shared/assistant/voice/useVoiceInput.d.ts +27 -1
  37. package/dist/shared/assistant/voice/useVoiceInput.js +141 -71
  38. package/dist/shared-assistant.js +383 -377
  39. package/package.json +1 -1
@@ -136,6 +136,22 @@ export interface AssistantMessageMetadata {
136
136
  * id — so a spoken turn reopened on any device is still spoken, never typed.
137
137
  */
138
138
  voice?: boolean;
139
+ /**
140
+ * ★ BOFF-13461 (page voice chat): the person cut this spoken reply off, and
141
+ * `voiceSpokenText` is what had been said aloud by then. The page's thread shows
142
+ * only that part, tagged "Interrupted", so the record matches what was heard.
143
+ * Kept on this device: server history keeps the whole reply (its metadata
144
+ * allowlist does not carry these yet). The model's own context is unchanged (it
145
+ * produced the whole reply).
146
+ */
147
+ voiceInterrupted?: boolean;
148
+ voiceSpokenText?: string;
149
+ /**
150
+ * ★ BOFF-13461 (page voice chat): the voice chat ended before a word of this
151
+ * reply was said (End while it was thinking). It arrives in full, and is never
152
+ * tagged "Spoken aloud".
153
+ */
154
+ voiceNotSpoken?: boolean;
139
155
  /**
140
156
  * WHICH live voice session produced this turn.
141
157
  *
@@ -382,6 +382,36 @@ export declare const ASSISTANT_I18N_LITERAL_COPY: {
382
382
  readonly 'composer.voiceStop': "Stop dictation";
383
383
  readonly 'composer.dictationCancel': "Cancel dictation";
384
384
  readonly 'composer.dictationDone': "Finish dictation";
385
+ readonly 'dictation.blockedButton': "Dictate, microphone blocked";
386
+ readonly 'dictation.language': "Language";
387
+ readonly 'dictation.microphone': "Microphone";
388
+ readonly 'dictation.noMicrophone': "No microphone available";
389
+ readonly 'dictation.nothingHeard': "Nothing was heard. Check the microphone and try again.";
390
+ readonly 'dictation.options': "Microphone and language options";
391
+ readonly 'dictation.startSpeaking': "Listening. Start speaking.";
392
+ readonly 'dictation.systemDefault': "System default";
393
+ readonly 'dictation.transcribing': "Turning speech into text";
394
+ readonly 'dictation.tryAgain': "Try again";
395
+ readonly 'dictation.unnamedMicrophone': "Microphone {{n}}";
396
+ readonly 'voiceDock.connecting': "Connecting";
397
+ readonly 'voiceDock.connectingCaption': "Setting up audio";
398
+ readonly 'voiceDock.end': "End voice chat";
399
+ readonly 'voiceDock.interrupt': "Interrupt";
400
+ readonly 'voiceDock.listening': "Listening";
401
+ readonly 'voiceDock.listeningCaption': "Go ahead, I am listening.";
402
+ readonly 'voiceDock.muted': "Muted";
403
+ readonly 'voiceDock.mutedCaption': "Your microphone is off. Unmute to continue.";
404
+ readonly 'voiceDock.problem': "Microphone problem";
405
+ readonly 'voiceDock.speaking': "Speaking";
406
+ readonly 'voiceDock.speakingCaption': "Speak or tap Interrupt to cut in.";
407
+ readonly 'voiceDock.speakingCaptionTap': "Tap Interrupt to cut in.";
408
+ readonly 'voiceDock.thinking': "Thinking";
409
+ readonly 'voiceDock.thinkingCaption': "Working on an answer";
410
+ readonly 'voiceTurn.ended': "Voice chat ended";
411
+ readonly 'voiceTurn.endedAfter': "Voice chat ended · {{duration}}";
412
+ readonly 'voiceTurn.interrupted': "Interrupted. Only the spoken part is kept.";
413
+ readonly 'voiceTurn.spoken': "Spoken";
414
+ readonly 'voiceTurn.spokenAloud': "Spoken aloud";
385
415
  readonly 'composer.writeAccessDenied': "Changes may not save — your role in this workspace does not currently allow edits. You can still plan and review an action.";
386
416
  readonly 'conversationFilters.all': "All";
387
417
  readonly 'conversationFilters.archived': "Archived";
@@ -275,6 +275,36 @@ var g = {
275
275
  "composer.voiceStop": "Stop dictation",
276
276
  "composer.dictationCancel": "Cancel dictation",
277
277
  "composer.dictationDone": "Finish dictation",
278
+ "dictation.blockedButton": "Dictate, microphone blocked",
279
+ "dictation.language": "Language",
280
+ "dictation.microphone": "Microphone",
281
+ "dictation.noMicrophone": "No microphone available",
282
+ "dictation.nothingHeard": "Nothing was heard. Check the microphone and try again.",
283
+ "dictation.options": "Microphone and language options",
284
+ "dictation.startSpeaking": "Listening. Start speaking.",
285
+ "dictation.systemDefault": "System default",
286
+ "dictation.transcribing": "Turning speech into text",
287
+ "dictation.tryAgain": "Try again",
288
+ "dictation.unnamedMicrophone": "Microphone {{n}}",
289
+ "voiceDock.connecting": "Connecting",
290
+ "voiceDock.connectingCaption": "Setting up audio",
291
+ "voiceDock.end": "End voice chat",
292
+ "voiceDock.interrupt": "Interrupt",
293
+ "voiceDock.listening": "Listening",
294
+ "voiceDock.listeningCaption": "Go ahead, I am listening.",
295
+ "voiceDock.muted": "Muted",
296
+ "voiceDock.mutedCaption": "Your microphone is off. Unmute to continue.",
297
+ "voiceDock.problem": "Microphone problem",
298
+ "voiceDock.speaking": "Speaking",
299
+ "voiceDock.speakingCaption": "Speak or tap Interrupt to cut in.",
300
+ "voiceDock.speakingCaptionTap": "Tap Interrupt to cut in.",
301
+ "voiceDock.thinking": "Thinking",
302
+ "voiceDock.thinkingCaption": "Working on an answer",
303
+ "voiceTurn.ended": "Voice chat ended",
304
+ "voiceTurn.endedAfter": "Voice chat ended · {{duration}}",
305
+ "voiceTurn.interrupted": "Interrupted. Only the spoken part is kept.",
306
+ "voiceTurn.spoken": "Spoken",
307
+ "voiceTurn.spokenAloud": "Spoken aloud",
278
308
  "composer.writeAccessDenied": "Changes may not save — your role in this workspace does not currently allow edits. You can still plan and review an action.",
279
309
  "conversationFilters.all": "All",
280
310
  "conversationFilters.archived": "Archived",
@@ -247,6 +247,12 @@ export * from './ui/AssistantUiOfferLink';
247
247
  export * from './ui/AssistantTurnActivity';
248
248
  export * from './ui/voice/AssistantVoiceSession';
249
249
  export * from './ui/voice/AssistantPageVoiceBar';
250
+ export * from './ui/voice/VoiceTurnMarks';
251
+ export * from './ui/composer/useCompactDictation';
252
+ export * from './ui/composer/AssistantDictation';
253
+ export * from './ui/composer/AssistantMicMenu';
254
+ export * from './ui/composer/microphones';
255
+ export * from './ui/voice/formatClock';
250
256
  export * from './ui/voice/HandsFreePrivacyNotice';
251
257
  export * from './ui/assistantLiveAvatarSeam';
252
258
  export * from './ui/AssistantAvatarTabs';
@@ -70,6 +70,8 @@ interface AssistantState {
70
70
  * that existed before this preference did.
71
71
  */
72
72
  assistantLanguage: string | null;
73
+ /** ★ BOFF-13461: the chosen microphone's `deviceId`; `null` is the system default. */
74
+ micDeviceId: string | null;
73
75
  /**
74
76
  * The language the assistant ANSWERS in. `null` means "match my language" —
75
77
  * i.e. follow `assistantLanguage` — which is the default and what shipped
@@ -180,6 +182,11 @@ interface AssistantState {
180
182
  setAutoSpeak: (enabled: boolean) => void;
181
183
  /** Choose the language spoken to the assistant; `null` follows the app locale (persisted). */
182
184
  setAssistantLanguage: (code: string | null) => void;
185
+ /**
186
+ * ★ BOFF-13461: the microphone dictation and voice chat use (a `deviceId` from
187
+ * `enumerateDevices`); `null` is the system default (persisted).
188
+ */
189
+ setMicDeviceId: (deviceId: string | null) => void;
183
190
  setReplyLanguage: (code: string | null) => void;
184
191
  /** `null` clears the pick for that language, restoring the ranked default. */
185
192
  setPreferredVoice: (languageCode: string, voiceName: string | null) => void;
@@ -75,6 +75,7 @@ function D() {
75
75
  acknowledgedWriteModes: [],
76
76
  autoSpeakEnabled: !1,
77
77
  assistantLanguage: null,
78
+ micDeviceId: null,
78
79
  replyLanguage: null,
79
80
  preferredVoices: {},
80
81
  voiceGraceMs: a,
@@ -300,6 +301,7 @@ var N = M(v()(b((e, t) => ({
300
301
  acknowledgeWriteMode: (t) => e((e) => ({ acknowledgedWriteModes: _(e.acknowledgedWriteModes, t) })),
301
302
  setAutoSpeak: (t) => e({ autoSpeakEnabled: t }),
302
303
  setAssistantLanguage: (t) => e({ assistantLanguage: t }),
304
+ setMicDeviceId: (t) => e({ micDeviceId: t }),
303
305
  setReplyLanguage: (t) => e({ replyLanguage: t }),
304
306
  setVoiceGraceMs: (t) => {
305
307
  o(t) === t && e({ voiceGraceMs: o(t) });
@@ -362,6 +364,7 @@ var N = M(v()(b((e, t) => ({
362
364
  acknowledgedWriteModes: e.acknowledgedWriteModes,
363
365
  autoSpeakEnabled: e.autoSpeakEnabled,
364
366
  assistantLanguage: e.assistantLanguage,
367
+ micDeviceId: e.micDeviceId,
365
368
  replyLanguage: e.replyLanguage,
366
369
  preferredVoices: e.preferredVoices,
367
370
  voiceGraceMs: e.voiceGraceMs,