local-operator-ui 0.50.3 → 0.50.5

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 (102) hide show
  1. package/out/main/index.js +1131 -101
  2. package/out/preload/index.js +43 -0
  3. package/out/renderer/assets/{_basePickBy-BIAyBaDH.js → _basePickBy-MqnTyq9I.js} +1 -1
  4. package/out/renderer/assets/{_baseUniq-DgL3QcW8.js → _baseUniq-CzQAUleR.js} +1 -1
  5. package/out/renderer/assets/{agent-details-page-C5lbSJvs.js → agent-details-page-D2c8rI46.js} +1 -1
  6. package/out/renderer/assets/{agent-hub-page-B9VCdhjZ.js → agent-hub-page-D4sv4tUI.js} +1 -1
  7. package/out/renderer/assets/{agents-page-BKbAx5If.js → agents-page-B9C4I1IW.js} +3 -3
  8. package/out/renderer/assets/appearance-A89pzM5N.js +65 -0
  9. package/out/renderer/assets/{approvalsOverlay-JbQyo85G.js → approvalsOverlay-CckaSJfb.js} +1 -1
  10. package/out/renderer/assets/{arc-BJTGFIUQ.js → arc-BRaroyF-.js} +1 -1
  11. package/out/renderer/assets/{architectureDiagram-IEHRJDOE-DVmjvFI2.js → architectureDiagram-IEHRJDOE-f9X1UE5j.js} +1 -1
  12. package/out/renderer/assets/{avatar-cropper-yhp9a7nF.js → avatar-cropper-DADSSOLR.js} +1 -1
  13. package/out/renderer/assets/{blockDiagram-JOT3LUYC-CL_GQxtN.js → blockDiagram-JOT3LUYC-aRJrzNKD.js} +1 -1
  14. package/out/renderer/assets/{book-open--MyFxzqx.js → book-open-CagaYMlx.js} +1 -1
  15. package/out/renderer/assets/browser-page-C6WYL-Bk.js +1 -0
  16. package/out/renderer/assets/{browser-webauthn-prompt-CFvjzfia.js → browser-webauthn-prompt-mUq6rglz.js} +1 -1
  17. package/out/renderer/assets/{building-2-DtAeE_Wx.js → building-2-D90qekEp.js} +1 -1
  18. package/out/renderer/assets/{c4Diagram-VJAJSXHY-JQgwV_tI.js → c4Diagram-VJAJSXHY-1avaFE7r.js} +1 -1
  19. package/out/renderer/assets/channel-CQpXAX8k.js +1 -0
  20. package/out/renderer/assets/{chunk-4BMEZGHF-CLQye7PF.js → chunk-4BMEZGHF-P7K636gL.js} +1 -1
  21. package/out/renderer/assets/{chunk-A2AXSNBT-CiKwcN1S.js → chunk-A2AXSNBT-CfsDhJRl.js} +1 -1
  22. package/out/renderer/assets/{chunk-AEK57VVT-BMws5oV8.js → chunk-AEK57VVT-Kj3Rf5_d.js} +1 -1
  23. package/out/renderer/assets/{chunk-D6G4REZN-hmZMp437.js → chunk-D6G4REZN-xDsjlOUq.js} +1 -1
  24. package/out/renderer/assets/{chunk-RZ5BOZE2-nkgroxgK.js → chunk-RZ5BOZE2-DIF8Lqo2.js} +1 -1
  25. package/out/renderer/assets/{chunk-XZIHB7SX-C6i3Ku2G.js → chunk-XZIHB7SX-Br8p73Lh.js} +1 -1
  26. package/out/renderer/assets/classDiagram-GIVACNV2-LMx7MKEa.js +1 -0
  27. package/out/renderer/assets/classDiagram-v2-COTLJTTW-LMx7MKEa.js +1 -0
  28. package/out/renderer/assets/clone-DHGxQKO_.js +1 -0
  29. package/out/renderer/assets/{console-mirror-BCNLW_OB.js → console-mirror-ByyXT7c6.js} +1 -1
  30. package/out/renderer/assets/{consoleCapture-DX7_Bi8N.js → consoleCapture-gFuWypOU.js} +1 -1
  31. package/out/renderer/assets/{conversation-input-sync-CLca3RMQ.js → conversation-input-sync-YCivFEkS.js} +275 -265
  32. package/out/renderer/assets/{dagre-OKDRZEBW-BPiVz0Ha.js → dagre-OKDRZEBW-D1w1327z.js} +1 -1
  33. package/out/renderer/assets/{diagram-SSKATNLV-CMybVMQY.js → diagram-SSKATNLV-Do-2Jv4y.js} +1 -1
  34. package/out/renderer/assets/{diagram-VNBRO52H-BQkTfxTP.js → diagram-VNBRO52H-C2lx3QWJ.js} +1 -1
  35. package/out/renderer/assets/{erDiagram-Q7BY3M3F-CCe8VzJJ.js → erDiagram-Q7BY3M3F-JeUq9Cly.js} +1 -1
  36. package/out/renderer/assets/error-boundary-BGVlRCw3.js +126 -0
  37. package/out/renderer/assets/{flowDiagram-4HSFHLVR-BhwQJBn7.js → flowDiagram-4HSFHLVR-D3yS_mhp.js} +1 -1
  38. package/out/renderer/assets/{ganttDiagram-APWFNJXF-D3Tb61s5.js → ganttDiagram-APWFNJXF-FR4EjLgp.js} +1 -1
  39. package/out/renderer/assets/{gitGraphDiagram-7IBYFJ6S-C4TEmlf8.js → gitGraphDiagram-7IBYFJ6S-CbM3dyah.js} +1 -1
  40. package/out/renderer/assets/{graph-BxCV1sM0.js → graph-BDjQkLDh.js} +1 -1
  41. package/out/renderer/assets/{heart-CCdYNI3u.js → heart-PNTjqqZS.js} +1 -1
  42. package/out/renderer/assets/{index-B-8qRFY6.js → index-BCg6JvJu.js} +183 -188
  43. package/out/renderer/assets/index-Bq7EoBUY.css +1 -0
  44. package/out/renderer/assets/{index-B3GAg0Uk.js → index-DTPREjNM.js} +1 -1
  45. package/out/renderer/assets/{index-lGgL8BJL.js → index-DbC25gXB.js} +1 -1
  46. package/out/renderer/assets/{index-Bs2AkJmK.js → index-E3-tyr3L.js} +1 -1
  47. package/out/renderer/assets/infoDiagram-PH2N3AL5-DQcs6RuX.js +2 -0
  48. package/out/renderer/assets/{installer-DvzmkQaw.js → installer-CZZyRGmr.js} +1 -1
  49. package/out/renderer/assets/{journeyDiagram-U35MCT3I-CfqQVRzF.js → journeyDiagram-U35MCT3I-CAMPGTNs.js} +1 -1
  50. package/out/renderer/assets/{kanban-definition-NDS4AKOZ-C7yiVYFN.js → kanban-definition-NDS4AKOZ-Dmbw3PG5.js} +1 -1
  51. package/out/renderer/assets/{layout-BFauCu5O.js → layout-FG-5ZqEo.js} +1 -1
  52. package/out/renderer/assets/{legacy-agents-page-BTjIjTKU.js → legacy-agents-page-R_JJVZDG.js} +1 -1
  53. package/out/renderer/assets/{library-page-D6vxagUJ.js → library-page-BojfLTCk.js} +3 -3
  54. package/out/renderer/assets/{log-in-D60gifZq.js → log-in-D1_csvz-.js} +1 -1
  55. package/out/renderer/assets/{mermaid.core-FtMSeTAn.js → mermaid.core-amA2P2XE.js} +5 -5
  56. package/out/renderer/assets/{mesh-page-C05amwhq.js → mesh-page-DneLIThd.js} +1 -1
  57. package/out/renderer/assets/{messages-Be02UCki.js → messages-DpF6u7CO.js} +10 -10
  58. package/out/renderer/assets/{mindmap-definition-ALO5MXBD-DEp637Zx.js → mindmap-definition-ALO5MXBD-BHLtKx4M.js} +1 -1
  59. package/out/renderer/assets/{mini-rlwDnHGJ.js → mini-CuTJw8ye.js} +1 -1
  60. package/out/renderer/assets/{notebook-pen-DTmLjGHC.js → notebook-pen-CRJd5KOX.js} +1 -1
  61. package/out/renderer/assets/{notifications-page-hzwfSkG_.js → notifications-page-CHfqkzac.js} +1 -1
  62. package/out/renderer/assets/{org-access-DeGcAW0g.js → org-access-BzCeyPYV.js} +1 -1
  63. package/out/renderer/assets/{org-surface-gate-DdsmfeS0.js → org-surface-gate-BegBAEQg.js} +1 -1
  64. package/out/renderer/assets/{page-header-BBtmeXz0.js → page-header-DoKjJ0FP.js} +1 -1
  65. package/out/renderer/assets/{pieDiagram-IB7DONF6-352EVHwb.js → pieDiagram-IB7DONF6-BnsJEqdU.js} +1 -1
  66. package/out/renderer/assets/{project-markdown-D9lbF2rE.js → project-markdown-f3ovh91c.js} +1 -1
  67. package/out/renderer/assets/{projects-page-f-jjNlM0.js → projects-page-CbNI3Jfp.js} +1 -1
  68. package/out/renderer/assets/{publication-validation-DkFv-tcS.js → publication-validation-C6lAhD6Y.js} +1 -1
  69. package/out/renderer/assets/{quadrantDiagram-7GDLP6J5-CxETdWmc.js → quadrantDiagram-7GDLP6J5-C2hX_6X4.js} +1 -1
  70. package/out/renderer/assets/{radar-MK3ICKWK-CxlmgoFK.js → radar-MK3ICKWK-DjaWx01q.js} +1 -1
  71. package/out/renderer/assets/{radient-auth-buttons-BlN8k16h.js → radient-auth-buttons-Y98w-eOS.js} +1 -1
  72. package/out/renderer/assets/{requirementDiagram-KVF5MWMF-D1Ys-Vqa.js → requirementDiagram-KVF5MWMF-KzKRuqkd.js} +1 -1
  73. package/out/renderer/assets/{sankeyDiagram-QLVOVGJD-DNbmJyZ0.js → sankeyDiagram-QLVOVGJD-Sruwawc3.js} +1 -1
  74. package/out/renderer/assets/{schedules-page-tf2PEdDS.js → schedules-page-RCt88EF-.js} +1 -1
  75. package/out/renderer/assets/{sequenceDiagram-X6HHIX6F-ORlE1ofs.js → sequenceDiagram-X6HHIX6F-CL60GXcE.js} +1 -1
  76. package/out/renderer/assets/settings-page-BziBodsJ.js +301 -0
  77. package/out/renderer/assets/{smartart-DSMMDXy5.js → smartart-9r6f1ytJ.js} +1 -1
  78. package/out/renderer/assets/{stateDiagram-DGXRK772-DHBC80cL.js → stateDiagram-DGXRK772-CkqfOaV8.js} +1 -1
  79. package/out/renderer/assets/stateDiagram-v2-YXO3MK2T-B9kV7FiZ.js +1 -0
  80. package/out/renderer/assets/{team-bridge-page-B9m1gzDA.js → team-bridge-page-Dptva2gj.js} +2 -2
  81. package/out/renderer/assets/{team-bridge-scope-preference-Ahy7myQs.js → team-bridge-scope-preference-CKHpt7Ch.js} +1 -1
  82. package/out/renderer/assets/{timeline-definition-BDJGKUSR-yhK2UMNx.js → timeline-definition-BDJGKUSR-BMtjF9LB.js} +1 -1
  83. package/out/renderer/assets/{use-download-agent-mutation-B4ge3-WA.js → use-download-agent-mutation-DXsZfEw2.js} +1 -1
  84. package/out/renderer/assets/{use-session-snapshot-BrC4Vkbo.js → use-session-snapshot-CXxu0XOr.js} +1 -1
  85. package/out/renderer/assets/{xychartDiagram-VJFVF3MP-Cxztr4iS.js → xychartDiagram-VJFVF3MP-72VXqwJ9.js} +1 -1
  86. package/out/renderer/browser-approvals-overlay.html +2 -2
  87. package/out/renderer/console-capture.html +6 -6
  88. package/out/renderer/index.html +8 -8
  89. package/out/renderer/installer.html +5 -5
  90. package/out/renderer/mini.html +8 -8
  91. package/package.json +1 -1
  92. package/out/renderer/assets/appearance-DDeZn9GW.js +0 -65
  93. package/out/renderer/assets/browser-page-BQQFCLqU.js +0 -1
  94. package/out/renderer/assets/channel-BGuz2tJb.js +0 -1
  95. package/out/renderer/assets/classDiagram-GIVACNV2-D9-F2Rdx.js +0 -1
  96. package/out/renderer/assets/classDiagram-v2-COTLJTTW-D9-F2Rdx.js +0 -1
  97. package/out/renderer/assets/clone-D46OhRyb.js +0 -1
  98. package/out/renderer/assets/error-boundary-iA1OMXPz.js +0 -126
  99. package/out/renderer/assets/index-B-6m8CCG.css +0 -1
  100. package/out/renderer/assets/infoDiagram-PH2N3AL5-BYXNTmvu.js +0 -2
  101. package/out/renderer/assets/settings-page-BkplTmVM.js +0 -296
  102. package/out/renderer/assets/stateDiagram-v2-YXO3MK2T-Czy-GuC9.js +0 -1
package/out/main/index.js CHANGED
@@ -10118,6 +10118,79 @@ const enUiSettingsNavigation = {
10118
10118
  "ui.settings.navigation.settings_sidebar.account": "Account",
10119
10119
  "ui.settings.navigation.settings_page.retrying": "Retrying"
10120
10120
  };
10121
+ const enUiSettingsNotifications = {
10122
+ "ui.settings.notifications.section.title": "Notifications",
10123
+ "ui.settings.notifications.section.description": "How Local Operator tells you a session finished or needs you.",
10124
+ "ui.settings.notifications.sound.heading": "Sound",
10125
+ "ui.settings.notifications.sound.enabled_label": "Play a sound",
10126
+ "ui.settings.notifications.sound.enabled_description": "Plays with each banner. Turn off for silent banners.",
10127
+ "ui.settings.notifications.sound.enabled_off_note": "Banners are silent. Your choice below is kept.",
10128
+ "ui.settings.notifications.sound.gated": "Notifications are off, so no sounds play. You can still choose and preview one.",
10129
+ "ui.settings.notifications.sound.gated_action": "Turn on notifications",
10130
+ "ui.settings.notifications.volume.label": "Volume",
10131
+ "ui.settings.notifications.volume.readout": "{value, number}%",
10132
+ "ui.settings.notifications.volume.readout_default": "{value, number}% · Default",
10133
+ "ui.settings.notifications.volume.reset": "Reset",
10134
+ "ui.settings.notifications.volume.description": "Previews when you let go.",
10135
+ "ui.settings.notifications.volume.muted": "Muted. Banners stay silent until you raise this.",
10136
+ "ui.settings.notifications.volume.system": "Volume doesn't change the system sound.",
10137
+ "ui.settings.notifications.volume.valuetext": "{value, number} percent",
10138
+ "ui.settings.notifications.list.label": "Notification sound",
10139
+ "ui.settings.notifications.list.builtin": "Built-in",
10140
+ "ui.settings.notifications.list.default_tag": "Default",
10141
+ "ui.settings.notifications.list.system_name": "System sound",
10142
+ "ui.settings.notifications.list.system_description": "Your system or terminal's own alert. Nothing extra plays.",
10143
+ "ui.settings.notifications.list.custom": "Your sounds",
10144
+ "ui.settings.notifications.list.custom_count": "{count, number} of {max, number}",
10145
+ "ui.settings.notifications.preview.play": "Preview {name}",
10146
+ "ui.settings.notifications.preview.stop": "Stop {name}",
10147
+ "ui.settings.notifications.preview.failed": "Couldn't play this sound.",
10148
+ "ui.settings.notifications.save.failed": "Couldn't save your sound. {reason}",
10149
+ "ui.settings.notifications.save.failed_generic": "The setting could not be saved.",
10150
+ "ui.settings.notifications.retry": "Retry",
10151
+ "ui.settings.notifications.custom.empty": "No sounds of your own yet. Add an audio file, or ask the assistant to make one.",
10152
+ "ui.settings.notifications.custom.add": "Add sound…",
10153
+ "ui.settings.notifications.custom.hint": "WAV, FLAC, MP3 or OGG, up to {seconds, number} seconds and {megabytes, number} MB. Loudness is matched to the built-in sounds.",
10154
+ "ui.settings.notifications.custom.full": "You have {count, number} sounds, the most allowed. Remove one to add another.",
10155
+ "ui.settings.notifications.custom.uploading": "Uploading… {percent, number}%",
10156
+ "ui.settings.notifications.custom.cancel_upload": "Cancel adding {file}",
10157
+ "ui.settings.notifications.custom.added_one": "Added {name} and selected it.",
10158
+ "ui.settings.notifications.custom.added_many": "{count, plural, one {Added # sound.} other {Added # sounds.}}",
10159
+ "ui.settings.notifications.custom.more": "More actions for {name}",
10160
+ "ui.settings.notifications.custom.rename": "Rename",
10161
+ "ui.settings.notifications.custom.rename_label": "Sound name",
10162
+ "ui.settings.notifications.custom.rename_empty": "Name can't be empty.",
10163
+ "ui.settings.notifications.custom.rename_long": "Use {max, number} characters or fewer.",
10164
+ "ui.settings.notifications.custom.rename_failed": "Couldn't rename. {reason}",
10165
+ "ui.settings.notifications.custom.remove": "Remove…",
10166
+ "ui.settings.notifications.custom.remove_confirm": "Remove {name}? The file is deleted from this computer.",
10167
+ "ui.settings.notifications.custom.remove_confirm_selected": "Remove {name}? It's your current sound, so Soft pulse plays instead.",
10168
+ "ui.settings.notifications.custom.remove_action": "Remove",
10169
+ "ui.settings.notifications.custom.cancel": "Cancel",
10170
+ "ui.settings.notifications.custom.removed": "Removed {name}.",
10171
+ "ui.settings.notifications.custom.removed_reset": "Removed {name}. Soft pulse is selected again.",
10172
+ "ui.settings.notifications.custom.remove_failed": "Couldn't remove {name}. {reason}",
10173
+ "ui.settings.notifications.error.too_large": "{file} is over {megabytes, number} MB. Choose a shorter clip.",
10174
+ "ui.settings.notifications.error.unsupported_format": "{file} isn't WAV, FLAC, MP3 or OGG. Convert it to WAV or FLAC, then add it again.",
10175
+ "ui.settings.notifications.error.unsupported_codec": "Opus and M4A files can't be read. Convert {file} to WAV or FLAC, then add it again.",
10176
+ "ui.settings.notifications.error.too_long": "{file} is {seconds} seconds long. Sounds can be up to {limit, number} seconds.",
10177
+ "ui.settings.notifications.error.undecodable": "Couldn't read {file}. It may be damaged or not an audio file.",
10178
+ "ui.settings.notifications.error.network": "Couldn't add {file}. Check Local Operator is running, then try again.",
10179
+ "ui.settings.notifications.error.choose_another": "Choose another file",
10180
+ "ui.settings.notifications.error.dismiss": "Dismiss",
10181
+ "ui.settings.notifications.test.action": "Send test notification",
10182
+ "ui.settings.notifications.test.sent": "Sent. No sound? Check Focus or Do Not Disturb, and your alert volume.",
10183
+ "ui.settings.notifications.test.failed": "Couldn't show a test notification here.",
10184
+ "ui.settings.notifications.test.banner_title": "Test notification",
10185
+ "ui.settings.notifications.test.banner_body": "This is how your notifications will sound.",
10186
+ "ui.settings.notifications.load.failed": "Couldn't load notification sounds. {reason}",
10187
+ "ui.settings.notifications.load.loading": "Loading notification sounds…",
10188
+ "ui.settings.notifications.backend_older": "Notification sounds need a newer Local Operator. Update it to choose a sound.",
10189
+ "ui.settings.notifications.missing_rows": "{count, plural, one {This backend does not register {rows} yet, so that control is not shown.} other {This backend does not register {rows} yet, so those controls are not shown.}}",
10190
+ "ui.settings.notifications.custom.finishing": "Finishing…",
10191
+ "ui.settings.notifications.error.silent": "{file} is silent. Choose a clip you can hear.",
10192
+ "ui.settings.notifications.search_terms": "sound, chime, notification sound, volume, alert"
10193
+ };
10121
10194
  const enUiSettingsSearch = {
10122
10195
  "ui.settings.search.field.label": "Search settings",
10123
10196
  "ui.settings.search.field.placeholder": "Search settings",
@@ -18211,6 +18284,79 @@ const esUiSettingsNavigation = {
18211
18284
  "ui.settings.navigation.settings_sidebar.account": "Cuenta",
18212
18285
  "ui.settings.navigation.settings_page.retrying": "Reintentando"
18213
18286
  };
18287
+ const esUiSettingsNotifications = {
18288
+ "ui.settings.notifications.section.title": "Notificaciones",
18289
+ "ui.settings.notifications.section.description": "Cómo te avisa Local Operator de que una sesión terminó o te necesita.",
18290
+ "ui.settings.notifications.sound.heading": "Sonido",
18291
+ "ui.settings.notifications.sound.enabled_label": "Reproducir un sonido",
18292
+ "ui.settings.notifications.sound.enabled_description": "Suena con cada aviso. Desactívalo para avisos silenciosos.",
18293
+ "ui.settings.notifications.sound.enabled_off_note": "Los avisos son silenciosos. Se conserva lo que elijas abajo.",
18294
+ "ui.settings.notifications.sound.gated": "Las notificaciones están desactivadas, así que no suena nada. Aun así puedes elegir un sonido y escucharlo.",
18295
+ "ui.settings.notifications.sound.gated_action": "Activar notificaciones",
18296
+ "ui.settings.notifications.volume.label": "Volumen",
18297
+ "ui.settings.notifications.volume.readout": "{value, number} %",
18298
+ "ui.settings.notifications.volume.readout_default": "{value, number} % · Predeterminado",
18299
+ "ui.settings.notifications.volume.reset": "Restablecer",
18300
+ "ui.settings.notifications.volume.description": "Se reproduce al soltar.",
18301
+ "ui.settings.notifications.volume.muted": "Silenciado. Los avisos no sonarán hasta que subas el volumen.",
18302
+ "ui.settings.notifications.volume.system": "El volumen no cambia el sonido del sistema.",
18303
+ "ui.settings.notifications.volume.valuetext": "{value, number} por ciento",
18304
+ "ui.settings.notifications.list.label": "Sonido de notificación",
18305
+ "ui.settings.notifications.list.builtin": "Integrados",
18306
+ "ui.settings.notifications.list.default_tag": "Predeterminado",
18307
+ "ui.settings.notifications.list.system_name": "Sonido del sistema",
18308
+ "ui.settings.notifications.list.system_description": "La alerta propia de tu sistema o terminal. No suena nada más.",
18309
+ "ui.settings.notifications.list.custom": "Tus sonidos",
18310
+ "ui.settings.notifications.list.custom_count": "{count, number} de {max, number}",
18311
+ "ui.settings.notifications.preview.play": "Escuchar {name}",
18312
+ "ui.settings.notifications.preview.stop": "Detener {name}",
18313
+ "ui.settings.notifications.preview.failed": "No se pudo reproducir este sonido.",
18314
+ "ui.settings.notifications.save.failed": "No se pudo guardar tu sonido. {reason}",
18315
+ "ui.settings.notifications.save.failed_generic": "No se pudo guardar el ajuste.",
18316
+ "ui.settings.notifications.retry": "Reintentar",
18317
+ "ui.settings.notifications.custom.empty": "Aún no tienes sonidos propios. Añade un archivo de audio o pide al asistente que cree uno.",
18318
+ "ui.settings.notifications.custom.add": "Añadir sonido…",
18319
+ "ui.settings.notifications.custom.hint": "WAV, FLAC, MP3 u OGG, de hasta {seconds, number} segundos y {megabytes, number} MB. El volumen se iguala al de los sonidos integrados.",
18320
+ "ui.settings.notifications.custom.full": "Tienes {count, number} sonidos, el máximo permitido. Elimina uno para añadir otro.",
18321
+ "ui.settings.notifications.custom.uploading": "Subiendo… {percent, number} %",
18322
+ "ui.settings.notifications.custom.cancel_upload": "Cancelar la adición de {file}",
18323
+ "ui.settings.notifications.custom.added_one": "Se añadió {name} y quedó seleccionado.",
18324
+ "ui.settings.notifications.custom.added_many": "{count, plural, one {Se añadió # sonido.} many {Se añadieron # de sonidos.} other {Se añadieron # sonidos.}}",
18325
+ "ui.settings.notifications.custom.more": "Más acciones para {name}",
18326
+ "ui.settings.notifications.custom.rename": "Cambiar nombre",
18327
+ "ui.settings.notifications.custom.rename_label": "Nombre del sonido",
18328
+ "ui.settings.notifications.custom.rename_empty": "El nombre no puede estar vacío.",
18329
+ "ui.settings.notifications.custom.rename_long": "Usa {max, number} caracteres como máximo.",
18330
+ "ui.settings.notifications.custom.rename_failed": "No se pudo cambiar el nombre. {reason}",
18331
+ "ui.settings.notifications.custom.remove": "Eliminar…",
18332
+ "ui.settings.notifications.custom.remove_confirm": "¿Eliminar {name}? El archivo se borra de este equipo.",
18333
+ "ui.settings.notifications.custom.remove_confirm_selected": "¿Eliminar {name}? Es tu sonido actual, así que sonará Pulso suave en su lugar.",
18334
+ "ui.settings.notifications.custom.remove_action": "Eliminar",
18335
+ "ui.settings.notifications.custom.cancel": "Cancelar",
18336
+ "ui.settings.notifications.custom.removed": "Se eliminó {name}.",
18337
+ "ui.settings.notifications.custom.removed_reset": "Se eliminó {name}. Pulso suave vuelve a estar seleccionado.",
18338
+ "ui.settings.notifications.custom.remove_failed": "No se pudo eliminar {name}. {reason}",
18339
+ "ui.settings.notifications.error.too_large": "{file} supera los {megabytes, number} MB. Elige un fragmento más corto.",
18340
+ "ui.settings.notifications.error.unsupported_format": "{file} no es WAV, FLAC, MP3 ni OGG. Conviértelo a WAV o FLAC y vuelve a añadirlo.",
18341
+ "ui.settings.notifications.error.unsupported_codec": "Los archivos Opus y M4A no se pueden leer. Convierte {file} a WAV o FLAC y vuelve a añadirlo.",
18342
+ "ui.settings.notifications.error.too_long": "{file} dura {seconds} segundos. Los sonidos pueden durar hasta {limit, number} segundos.",
18343
+ "ui.settings.notifications.error.undecodable": "No se pudo leer {file}. Puede estar dañado o no ser un archivo de audio.",
18344
+ "ui.settings.notifications.error.network": "No se pudo añadir {file}. Comprueba que Local Operator está en ejecución y vuelve a intentarlo.",
18345
+ "ui.settings.notifications.error.choose_another": "Elegir otro archivo",
18346
+ "ui.settings.notifications.error.dismiss": "Descartar",
18347
+ "ui.settings.notifications.test.action": "Enviar notificación de prueba",
18348
+ "ui.settings.notifications.test.sent": "Enviada. ¿No suena? Revisa Concentración o No molestar, y el volumen de las alertas.",
18349
+ "ui.settings.notifications.test.failed": "No se pudo mostrar una notificación de prueba aquí.",
18350
+ "ui.settings.notifications.test.banner_title": "Notificación de prueba",
18351
+ "ui.settings.notifications.test.banner_body": "Así sonarán tus notificaciones.",
18352
+ "ui.settings.notifications.load.failed": "No se pudieron cargar los sonidos de notificación. {reason}",
18353
+ "ui.settings.notifications.load.loading": "Cargando sonidos de notificación…",
18354
+ "ui.settings.notifications.backend_older": "Los sonidos de notificación necesitan una versión más reciente de Local Operator. Actualízalo para elegir un sonido.",
18355
+ "ui.settings.notifications.missing_rows": "{count, plural, one {Este backend aún no registra {rows}, así que ese control no se muestra.} many {Este backend aún no registra {rows}, así que esos controles no se muestran.} other {Este backend aún no registra {rows}, así que esos controles no se muestran.}}",
18356
+ "ui.settings.notifications.custom.finishing": "Finalizando…",
18357
+ "ui.settings.notifications.error.silent": "{file} no contiene sonido. Elige un fragmento de audio que puedas oír.",
18358
+ "ui.settings.notifications.search_terms": "sonido, campanilla, sonido de notificación, volumen, alerta, sound, chime, notification sound, volume, alert"
18359
+ };
18214
18360
  const esUiSettingsSearch = {
18215
18361
  "ui.settings.search.field.label": "Buscar ajustes",
18216
18362
  "ui.settings.search.field.placeholder": "Buscar ajustes",
@@ -26304,6 +26450,79 @@ const frUiSettingsNavigation = {
26304
26450
  "ui.settings.navigation.settings_sidebar.account": "Compte",
26305
26451
  "ui.settings.navigation.settings_page.retrying": "Nouvel essai"
26306
26452
  };
26453
+ const frUiSettingsNotifications = {
26454
+ "ui.settings.notifications.section.title": "Notifications",
26455
+ "ui.settings.notifications.section.description": "Comment Local Operator vous prévient qu’une session est terminée ou a besoin de vous.",
26456
+ "ui.settings.notifications.sound.heading": "Son",
26457
+ "ui.settings.notifications.sound.enabled_label": "Jouer un son",
26458
+ "ui.settings.notifications.sound.enabled_description": "Accompagne chaque bannière. Désactivez-le pour des bannières silencieuses.",
26459
+ "ui.settings.notifications.sound.enabled_off_note": "Les bannières sont silencieuses. Votre choix ci-dessous est conservé.",
26460
+ "ui.settings.notifications.sound.gated": "Les notifications sont désactivées, aucun son n’est donc joué. Vous pouvez quand même en choisir un et l’écouter.",
26461
+ "ui.settings.notifications.sound.gated_action": "Activer les notifications",
26462
+ "ui.settings.notifications.volume.label": "Volume",
26463
+ "ui.settings.notifications.volume.readout": "{value, number} %",
26464
+ "ui.settings.notifications.volume.readout_default": "{value, number} % · Par défaut",
26465
+ "ui.settings.notifications.volume.reset": "Réinitialiser",
26466
+ "ui.settings.notifications.volume.description": "Aperçu dès que vous relâchez.",
26467
+ "ui.settings.notifications.volume.muted": "Muet. Les bannières restent silencieuses tant que vous ne montez pas le volume.",
26468
+ "ui.settings.notifications.volume.system": "Le volume ne modifie pas le son du système.",
26469
+ "ui.settings.notifications.volume.valuetext": "{value, number} pour cent",
26470
+ "ui.settings.notifications.list.label": "Son de notification",
26471
+ "ui.settings.notifications.list.builtin": "Intégrés",
26472
+ "ui.settings.notifications.list.default_tag": "Par défaut",
26473
+ "ui.settings.notifications.list.system_name": "Son du système",
26474
+ "ui.settings.notifications.list.system_description": "L’alerte propre à votre système ou à votre terminal. Aucun son supplémentaire.",
26475
+ "ui.settings.notifications.list.custom": "Vos sons",
26476
+ "ui.settings.notifications.list.custom_count": "{count, number} sur {max, number}",
26477
+ "ui.settings.notifications.preview.play": "Écouter {name}",
26478
+ "ui.settings.notifications.preview.stop": "Arrêter {name}",
26479
+ "ui.settings.notifications.preview.failed": "Impossible de lire ce son.",
26480
+ "ui.settings.notifications.save.failed": "Impossible d’enregistrer votre son. {reason}",
26481
+ "ui.settings.notifications.save.failed_generic": "Le paramètre n’a pas pu être enregistré.",
26482
+ "ui.settings.notifications.retry": "Réessayer",
26483
+ "ui.settings.notifications.custom.empty": "Aucun son personnel pour l’instant. Ajoutez un fichier audio, ou demandez à l’assistant d’en créer un.",
26484
+ "ui.settings.notifications.custom.add": "Ajouter un son…",
26485
+ "ui.settings.notifications.custom.hint": "WAV, FLAC, MP3 ou OGG, jusqu’à {seconds, number} secondes et {megabytes, number} Mo. Le volume est aligné sur celui des sons intégrés.",
26486
+ "ui.settings.notifications.custom.full": "Vous avez {count, number} sons, le maximum autorisé. Supprimez-en un pour en ajouter un autre.",
26487
+ "ui.settings.notifications.custom.uploading": "Envoi… {percent, number} %",
26488
+ "ui.settings.notifications.custom.cancel_upload": "Annuler l’ajout de {file}",
26489
+ "ui.settings.notifications.custom.added_one": "{name} ajouté et sélectionné.",
26490
+ "ui.settings.notifications.custom.added_many": "{count, plural, one {# son ajouté.} many {# de sons ajoutés.} other {# sons ajoutés.}}",
26491
+ "ui.settings.notifications.custom.more": "Autres actions pour {name}",
26492
+ "ui.settings.notifications.custom.rename": "Renommer",
26493
+ "ui.settings.notifications.custom.rename_label": "Nom du son",
26494
+ "ui.settings.notifications.custom.rename_empty": "Le nom ne peut pas être vide.",
26495
+ "ui.settings.notifications.custom.rename_long": "Utilisez {max, number} caractères au maximum.",
26496
+ "ui.settings.notifications.custom.rename_failed": "Impossible de renommer. {reason}",
26497
+ "ui.settings.notifications.custom.remove": "Supprimer…",
26498
+ "ui.settings.notifications.custom.remove_confirm": "Supprimer {name} ? Le fichier est effacé de cet ordinateur.",
26499
+ "ui.settings.notifications.custom.remove_confirm_selected": "Supprimer {name} ? C’est votre son actuel, le son Pulsation douce sera donc joué à la place.",
26500
+ "ui.settings.notifications.custom.remove_action": "Supprimer",
26501
+ "ui.settings.notifications.custom.cancel": "Annuler",
26502
+ "ui.settings.notifications.custom.removed": "{name} supprimé.",
26503
+ "ui.settings.notifications.custom.removed_reset": "{name} supprimé. Le son Pulsation douce est de nouveau sélectionné.",
26504
+ "ui.settings.notifications.custom.remove_failed": "Impossible de supprimer {name}. {reason}",
26505
+ "ui.settings.notifications.error.too_large": "{file} dépasse {megabytes, number} Mo. Choisissez un extrait plus court.",
26506
+ "ui.settings.notifications.error.unsupported_format": "{file} n’est pas au format WAV, FLAC, MP3 ou OGG. Convertissez-le en WAV ou FLAC, puis ajoutez-le de nouveau.",
26507
+ "ui.settings.notifications.error.unsupported_codec": "Les fichiers Opus et M4A ne peuvent pas être lus. Convertissez {file} en WAV ou FLAC, puis ajoutez-le de nouveau.",
26508
+ "ui.settings.notifications.error.too_long": "{file} dure {seconds} secondes. Les sons sont limités à {limit, number} secondes.",
26509
+ "ui.settings.notifications.error.undecodable": "Impossible de lire {file}. Il est peut-être endommagé ou ce n’est pas un fichier audio.",
26510
+ "ui.settings.notifications.error.network": "Impossible d’ajouter {file}. Vérifiez que Local Operator est en cours d’exécution, puis réessayez.",
26511
+ "ui.settings.notifications.error.choose_another": "Choisir un autre fichier",
26512
+ "ui.settings.notifications.error.dismiss": "Ignorer",
26513
+ "ui.settings.notifications.test.action": "Envoyer une notification de test",
26514
+ "ui.settings.notifications.test.sent": "Envoyée. Aucun son ? Vérifiez le mode Concentration ou Ne pas déranger, ainsi que le volume des alertes.",
26515
+ "ui.settings.notifications.test.failed": "Impossible d’afficher une notification de test ici.",
26516
+ "ui.settings.notifications.test.banner_title": "Notification de test",
26517
+ "ui.settings.notifications.test.banner_body": "Voici le son de vos notifications.",
26518
+ "ui.settings.notifications.load.failed": "Impossible de charger les sons de notification. {reason}",
26519
+ "ui.settings.notifications.load.loading": "Chargement des sons de notification…",
26520
+ "ui.settings.notifications.backend_older": "Les sons de notification nécessitent une version plus récente de Local Operator. Mettez-le à jour pour choisir un son.",
26521
+ "ui.settings.notifications.missing_rows": "{count, plural, one {Ce serveur ne reconnaît pas encore {rows}. Ce réglage n’est donc pas affiché.} many {Ce serveur ne reconnaît pas encore {rows}. Ces réglages ne sont donc pas affichés.} other {Ce serveur ne reconnaît pas encore {rows}. Ces réglages ne sont donc pas affichés.}}",
26522
+ "ui.settings.notifications.custom.finishing": "Finalisation…",
26523
+ "ui.settings.notifications.error.silent": "{file} ne contient aucun son. Choisissez un extrait audible.",
26524
+ "ui.settings.notifications.search_terms": "son, carillon, son de notification, volume, alerte, sound, chime, notification sound, volume, alert"
26525
+ };
26307
26526
  const frUiSettingsSearch = {
26308
26527
  "ui.settings.search.field.label": "Rechercher des paramètres",
26309
26528
  "ui.settings.search.field.placeholder": "Rechercher des paramètres",
@@ -34397,6 +34616,79 @@ const hiUiSettingsNavigation = {
34397
34616
  "ui.settings.navigation.settings_sidebar.account": "खाता",
34398
34617
  "ui.settings.navigation.settings_page.retrying": "फिर कोशिश हो रही है"
34399
34618
  };
34619
+ const hiUiSettingsNotifications = {
34620
+ "ui.settings.notifications.section.title": "सूचनाएँ",
34621
+ "ui.settings.notifications.section.description": "Local Operator आपको कैसे बताता है कि कोई सत्र पूरा हो गया या उसे आपकी ज़रूरत है।",
34622
+ "ui.settings.notifications.sound.heading": "ध्वनि",
34623
+ "ui.settings.notifications.sound.enabled_label": "ध्वनि बजाएँ",
34624
+ "ui.settings.notifications.sound.enabled_description": "हर बैनर के साथ बजती है। बैनर को शांत रखने के लिए बंद करें।",
34625
+ "ui.settings.notifications.sound.enabled_off_note": "बैनर शांत हैं। नीचे आपकी पसंद सहेजी रहती है।",
34626
+ "ui.settings.notifications.sound.gated": "सूचनाएँ बंद हैं, इसलिए कोई ध्वनि नहीं बजती। आप फिर भी कोई ध्वनि चुनकर सुन सकते हैं।",
34627
+ "ui.settings.notifications.sound.gated_action": "सूचनाएँ चालू करें",
34628
+ "ui.settings.notifications.volume.label": "वॉल्यूम",
34629
+ "ui.settings.notifications.volume.readout": "{value, number}%",
34630
+ "ui.settings.notifications.volume.readout_default": "{value, number}% · डिफ़ॉल्ट",
34631
+ "ui.settings.notifications.volume.reset": "रीसेट करें",
34632
+ "ui.settings.notifications.volume.description": "छोड़ते ही सुनकर देखें।",
34633
+ "ui.settings.notifications.volume.muted": "म्यूट। जब तक आप इसे बढ़ाएँगे नहीं, बैनर शांत रहेंगे।",
34634
+ "ui.settings.notifications.volume.system": "वॉल्यूम सिस्टम ध्वनि को नहीं बदलता।",
34635
+ "ui.settings.notifications.volume.valuetext": "{value, number} प्रतिशत",
34636
+ "ui.settings.notifications.list.label": "सूचना ध्वनि",
34637
+ "ui.settings.notifications.list.builtin": "बिल्ट-इन",
34638
+ "ui.settings.notifications.list.default_tag": "डिफ़ॉल्ट",
34639
+ "ui.settings.notifications.list.system_name": "सिस्टम ध्वनि",
34640
+ "ui.settings.notifications.list.system_description": "आपके सिस्टम या टर्मिनल का अपना अलर्ट। कोई अतिरिक्त ध्वनि नहीं बजती।",
34641
+ "ui.settings.notifications.list.custom": "आपकी ध्वनियाँ",
34642
+ "ui.settings.notifications.list.custom_count": "{max, number} में से {count, number}",
34643
+ "ui.settings.notifications.preview.play": "{name} सुनें",
34644
+ "ui.settings.notifications.preview.stop": "{name} रोकें",
34645
+ "ui.settings.notifications.preview.failed": "यह ध्वनि नहीं चल सकी।",
34646
+ "ui.settings.notifications.save.failed": "आपकी ध्वनि सहेजी नहीं जा सकी। {reason}",
34647
+ "ui.settings.notifications.save.failed_generic": "सेटिंग सहेजी नहीं जा सकी।",
34648
+ "ui.settings.notifications.retry": "फिर कोशिश करें",
34649
+ "ui.settings.notifications.custom.empty": "अभी आपकी अपनी कोई ध्वनि नहीं है। कोई ऑडियो फ़ाइल जोड़ें, या सहायक से एक बनवाएँ।",
34650
+ "ui.settings.notifications.custom.add": "ध्वनि जोड़ें…",
34651
+ "ui.settings.notifications.custom.hint": "WAV, FLAC, MP3 या OGG, अधिकतम {seconds, number} सेकंड और {megabytes, number} MB। लाउडनेस बिल्ट-इन ध्वनियों के बराबर कर दी जाती है।",
34652
+ "ui.settings.notifications.custom.full": "आपके पास {count, number} ध्वनियाँ हैं, जो अधिकतम सीमा है। नई जोड़ने के लिए एक हटाएँ।",
34653
+ "ui.settings.notifications.custom.uploading": "अपलोड हो रहा है… {percent, number}%",
34654
+ "ui.settings.notifications.custom.cancel_upload": "{file} जोड़ना रद्द करें",
34655
+ "ui.settings.notifications.custom.added_one": "{name} जोड़ी गई और चुनी गई।",
34656
+ "ui.settings.notifications.custom.added_many": "{count, plural, one {# ध्वनि जोड़ी गई।} other {# ध्वनियाँ जोड़ी गईं।}}",
34657
+ "ui.settings.notifications.custom.more": "{name} के लिए और कार्रवाइयाँ",
34658
+ "ui.settings.notifications.custom.rename": "नाम बदलें",
34659
+ "ui.settings.notifications.custom.rename_label": "ध्वनि का नाम",
34660
+ "ui.settings.notifications.custom.rename_empty": "नाम खाली नहीं हो सकता।",
34661
+ "ui.settings.notifications.custom.rename_long": "{max, number} या उससे कम वर्ण इस्तेमाल करें।",
34662
+ "ui.settings.notifications.custom.rename_failed": "नाम नहीं बदला जा सका। {reason}",
34663
+ "ui.settings.notifications.custom.remove": "हटाएँ…",
34664
+ "ui.settings.notifications.custom.remove_confirm": "{name} हटाएँ? फ़ाइल इस कंप्यूटर से मिटा दी जाएगी।",
34665
+ "ui.settings.notifications.custom.remove_confirm_selected": "{name} हटाएँ? यह आपकी मौजूदा ध्वनि है, इसलिए इसकी जगह कोमल धड़कन बजेगी।",
34666
+ "ui.settings.notifications.custom.remove_action": "हटाएँ",
34667
+ "ui.settings.notifications.custom.cancel": "रद्द करें",
34668
+ "ui.settings.notifications.custom.removed": "{name} हटा दी गई।",
34669
+ "ui.settings.notifications.custom.removed_reset": "{name} हटा दी गई। कोमल धड़कन फिर से चुनी गई है।",
34670
+ "ui.settings.notifications.custom.remove_failed": "{name} हटाई नहीं जा सकी। {reason}",
34671
+ "ui.settings.notifications.error.too_large": "{file} {megabytes, number} MB से बड़ी है। कोई छोटी क्लिप चुनें।",
34672
+ "ui.settings.notifications.error.unsupported_format": "{file} WAV, FLAC, MP3 या OGG नहीं है। इसे WAV या FLAC में बदलकर फिर से जोड़ें।",
34673
+ "ui.settings.notifications.error.unsupported_codec": "Opus और M4A फ़ाइलें पढ़ी नहीं जा सकतीं। {file} को WAV या FLAC में बदलकर फिर से जोड़ें।",
34674
+ "ui.settings.notifications.error.too_long": "{file} {seconds} सेकंड लंबी है। ध्वनियाँ अधिकतम {limit, number} सेकंड की हो सकती हैं।",
34675
+ "ui.settings.notifications.error.undecodable": "{file} पढ़ी नहीं जा सकी। हो सकता है यह खराब हो या ऑडियो फ़ाइल न हो।",
34676
+ "ui.settings.notifications.error.network": "{file} जोड़ी नहीं जा सकी। देखें कि Local Operator चल रहा है, फिर कोशिश करें।",
34677
+ "ui.settings.notifications.error.choose_another": "दूसरी फ़ाइल चुनें",
34678
+ "ui.settings.notifications.error.dismiss": "हटाएँ",
34679
+ "ui.settings.notifications.test.action": "परीक्षण सूचना भेजें",
34680
+ "ui.settings.notifications.test.sent": "भेज दी गई। ध्वनि नहीं आई? फ़ोकस या डू नॉट डिस्टर्ब, और अलर्ट वॉल्यूम जाँचें।",
34681
+ "ui.settings.notifications.test.failed": "यहाँ परीक्षण सूचना नहीं दिखाई जा सकी।",
34682
+ "ui.settings.notifications.test.banner_title": "परीक्षण सूचना",
34683
+ "ui.settings.notifications.test.banner_body": "आपकी सूचनाएँ ऐसी सुनाई देंगी।",
34684
+ "ui.settings.notifications.load.failed": "सूचना ध्वनियाँ लोड नहीं हो सकीं। {reason}",
34685
+ "ui.settings.notifications.load.loading": "सूचना ध्वनियाँ लोड हो रही हैं…",
34686
+ "ui.settings.notifications.backend_older": "सूचना ध्वनियों के लिए Local Operator का नया संस्करण चाहिए। ध्वनि चुनने के लिए इसे अपडेट करें।",
34687
+ "ui.settings.notifications.missing_rows": "{count, plural, one {यह बैकएंड अभी {rows} रजिस्टर नहीं करता, इसलिए वह कंट्रोल नहीं दिखाया जाता।} other {यह बैकएंड अभी {rows} रजिस्टर नहीं करता, इसलिए वे कंट्रोल नहीं दिखाए जाते।}}",
34688
+ "ui.settings.notifications.custom.finishing": "पूरा हो रहा है…",
34689
+ "ui.settings.notifications.error.silent": "{file} में कोई आवाज़ नहीं है। ऐसा ऑडियो क्लिप चुनें जिसकी आवाज़ सुनाई दे।",
34690
+ "ui.settings.notifications.search_terms": "ध्वनि, घंटी, सूचना की ध्वनि, वॉल्यूम, अलर्ट, sound, chime, notification sound, volume, alert"
34691
+ };
34400
34692
  const hiUiSettingsSearch = {
34401
34693
  "ui.settings.search.field.label": "सेटिंग्स खोजें",
34402
34694
  "ui.settings.search.field.placeholder": "सेटिंग्स खोजें",
@@ -42490,6 +42782,79 @@ const ruUiSettingsNavigation = {
42490
42782
  "ui.settings.navigation.settings_sidebar.speech_voicing": "Озвучивание",
42491
42783
  "ui.settings.navigation.settings_sidebar.system": "Система"
42492
42784
  };
42785
+ const ruUiSettingsNotifications = {
42786
+ "ui.settings.notifications.section.title": "Уведомления",
42787
+ "ui.settings.notifications.section.description": "Как Local Operator сообщает, что сессия завершилась или ждёт вас.",
42788
+ "ui.settings.notifications.sound.heading": "Звук",
42789
+ "ui.settings.notifications.sound.enabled_label": "Воспроизводить звук",
42790
+ "ui.settings.notifications.sound.enabled_description": "Звучит с каждым баннером. Выключите, чтобы баннеры были беззвучными.",
42791
+ "ui.settings.notifications.sound.enabled_off_note": "Баннеры беззвучны. Ваш выбор ниже сохранён.",
42792
+ "ui.settings.notifications.sound.gated": "Уведомления выключены, поэтому звуки не воспроизводятся. Вы всё равно можете выбрать звук и прослушать его.",
42793
+ "ui.settings.notifications.sound.gated_action": "Включить уведомления",
42794
+ "ui.settings.notifications.volume.label": "Громкость",
42795
+ "ui.settings.notifications.volume.readout": "{value, number} %",
42796
+ "ui.settings.notifications.volume.readout_default": "{value, number} % · По умолчанию",
42797
+ "ui.settings.notifications.volume.reset": "Сбросить",
42798
+ "ui.settings.notifications.volume.description": "Прослушивание — когда отпустите.",
42799
+ "ui.settings.notifications.volume.muted": "Без звука. Баннеры будут беззвучными, пока вы не прибавите громкость.",
42800
+ "ui.settings.notifications.volume.system": "Громкость не влияет на системный звук.",
42801
+ "ui.settings.notifications.volume.valuetext": "{value, plural, one {# процент} few {# процента} many {# процентов} other {# процента}}",
42802
+ "ui.settings.notifications.list.label": "Звук уведомления",
42803
+ "ui.settings.notifications.list.builtin": "Встроенные",
42804
+ "ui.settings.notifications.list.default_tag": "По умолчанию",
42805
+ "ui.settings.notifications.list.system_name": "Системный звук",
42806
+ "ui.settings.notifications.list.system_description": "Собственный сигнал системы или терминала. Ничего дополнительно не звучит.",
42807
+ "ui.settings.notifications.list.custom": "Ваши звуки",
42808
+ "ui.settings.notifications.list.custom_count": "{count, number} из {max, number}",
42809
+ "ui.settings.notifications.preview.play": "Прослушать «{name}»",
42810
+ "ui.settings.notifications.preview.stop": "Остановить «{name}»",
42811
+ "ui.settings.notifications.preview.failed": "Не удалось воспроизвести этот звук.",
42812
+ "ui.settings.notifications.save.failed": "Не удалось сохранить звук. {reason}",
42813
+ "ui.settings.notifications.save.failed_generic": "Не удалось сохранить настройку.",
42814
+ "ui.settings.notifications.retry": "Повторить",
42815
+ "ui.settings.notifications.custom.empty": "Своих звуков пока нет. Добавьте аудиофайл или попросите ассистента создать звук.",
42816
+ "ui.settings.notifications.custom.add": "Добавить звук…",
42817
+ "ui.settings.notifications.custom.hint": "WAV, FLAC, MP3 или OGG, не длиннее {seconds, number} с и не больше {megabytes, number} МБ. Громкость выравнивается по встроенным звукам.",
42818
+ "ui.settings.notifications.custom.full": "У вас уже {count, number} звуков — это максимум. Удалите один, чтобы добавить новый.",
42819
+ "ui.settings.notifications.custom.uploading": "Загрузка… {percent, number} %",
42820
+ "ui.settings.notifications.custom.cancel_upload": "Отменить добавление «{file}»",
42821
+ "ui.settings.notifications.custom.added_one": "Звук «{name}» добавлен и выбран.",
42822
+ "ui.settings.notifications.custom.added_many": "{count, plural, one {Добавлен # звук.} few {Добавлено # звука.} many {Добавлено # звуков.} other {Добавлено # звука.}}",
42823
+ "ui.settings.notifications.custom.more": "Другие действия для «{name}»",
42824
+ "ui.settings.notifications.custom.rename": "Переименовать",
42825
+ "ui.settings.notifications.custom.rename_label": "Название звука",
42826
+ "ui.settings.notifications.custom.rename_empty": "Название не может быть пустым.",
42827
+ "ui.settings.notifications.custom.rename_long": "Не больше {max, number} символов.",
42828
+ "ui.settings.notifications.custom.rename_failed": "Не удалось переименовать. {reason}",
42829
+ "ui.settings.notifications.custom.remove": "Удалить…",
42830
+ "ui.settings.notifications.custom.remove_confirm": "Удалить «{name}»? Файл будет удалён с этого компьютера.",
42831
+ "ui.settings.notifications.custom.remove_confirm_selected": "Удалить «{name}»? Это ваш текущий звук, поэтому вместо него будет звучать «Мягкий импульс».",
42832
+ "ui.settings.notifications.custom.remove_action": "Удалить",
42833
+ "ui.settings.notifications.custom.cancel": "Отмена",
42834
+ "ui.settings.notifications.custom.removed": "Звук «{name}» удалён.",
42835
+ "ui.settings.notifications.custom.removed_reset": "Звук «{name}» удалён. Снова выбран «Мягкий импульс».",
42836
+ "ui.settings.notifications.custom.remove_failed": "Не удалось удалить «{name}». {reason}",
42837
+ "ui.settings.notifications.error.too_large": "Файл «{file}» больше {megabytes, number} МБ. Выберите фрагмент покороче.",
42838
+ "ui.settings.notifications.error.unsupported_format": "Файл «{file}» не в формате WAV, FLAC, MP3 или OGG. Преобразуйте его в WAV или FLAC и добавьте снова.",
42839
+ "ui.settings.notifications.error.unsupported_codec": "Файлы Opus и M4A не читаются. Преобразуйте «{file}» в WAV или FLAC и добавьте снова.",
42840
+ "ui.settings.notifications.error.too_long": "Длительность «{file}» — {seconds} с. Звук может длиться не больше {limit, number} с.",
42841
+ "ui.settings.notifications.error.undecodable": "Не удалось прочитать «{file}». Возможно, файл повреждён или это не аудиофайл.",
42842
+ "ui.settings.notifications.error.network": "Не удалось добавить «{file}». Убедитесь, что Local Operator запущен, и повторите попытку.",
42843
+ "ui.settings.notifications.error.choose_another": "Выбрать другой файл",
42844
+ "ui.settings.notifications.error.dismiss": "Скрыть",
42845
+ "ui.settings.notifications.test.action": "Отправить тестовое уведомление",
42846
+ "ui.settings.notifications.test.sent": "Отправлено. Нет звука? Проверьте режим «Фокусирование» или «Не беспокоить» и громкость сигналов.",
42847
+ "ui.settings.notifications.test.failed": "Не удалось показать тестовое уведомление здесь.",
42848
+ "ui.settings.notifications.test.banner_title": "Тестовое уведомление",
42849
+ "ui.settings.notifications.test.banner_body": "Так будут звучать ваши уведомления.",
42850
+ "ui.settings.notifications.load.failed": "Не удалось загрузить звуки уведомлений. {reason}",
42851
+ "ui.settings.notifications.load.loading": "Загрузка звуков уведомлений…",
42852
+ "ui.settings.notifications.backend_older": "Для звуков уведомлений нужна более новая версия Local Operator. Обновите его, чтобы выбрать звук.",
42853
+ "ui.settings.notifications.missing_rows": "{count, plural, one {Этот бэкенд пока не регистрирует {rows}, поэтому элемент управления не показан.} few {Этот бэкенд пока не регистрирует {rows}, поэтому элементы управления не показаны.} many {Этот бэкенд пока не регистрирует {rows}, поэтому элементы управления не показаны.} other {Этот бэкенд пока не регистрирует {rows}, поэтому элементы управления не показаны.}}",
42854
+ "ui.settings.notifications.custom.finishing": "Завершение…",
42855
+ "ui.settings.notifications.error.silent": "{file} не содержит звука. Выберите аудиофрагмент, который слышно.",
42856
+ "ui.settings.notifications.search_terms": "звук, звонок, звук уведомления, громкость, оповещение, sound, chime, notification sound, volume, alert"
42857
+ };
42493
42858
  const ruUiSettingsSearch = {
42494
42859
  "ui.settings.search.field.label": "Поиск настроек",
42495
42860
  "ui.settings.search.field.placeholder": "Поиск настроек",
@@ -50583,6 +50948,79 @@ const urUiSettingsNavigation = {
50583
50948
  "ui.settings.navigation.settings_sidebar.account": "اکاؤنٹ",
50584
50949
  "ui.settings.navigation.settings_page.retrying": "دوبارہ کوشش جاری ہے"
50585
50950
  };
50951
+ const urUiSettingsNotifications = {
50952
+ "ui.settings.notifications.section.title": "اطلاعات",
50953
+ "ui.settings.notifications.section.description": "Local Operator آپ کو کیسے بتاتا ہے کہ کوئی سیشن مکمل ہو گیا یا اسے آپ کی ضرورت ہے۔",
50954
+ "ui.settings.notifications.sound.heading": "آواز",
50955
+ "ui.settings.notifications.sound.enabled_label": "آواز بجائیں",
50956
+ "ui.settings.notifications.sound.enabled_description": "ہر بینر کے ساتھ بجتی ہے۔ خاموش بینرز کے لیے بند کریں۔",
50957
+ "ui.settings.notifications.sound.enabled_off_note": "بینرز خاموش ہیں۔ نیچے آپ کا انتخاب محفوظ ہے۔",
50958
+ "ui.settings.notifications.sound.gated": "اطلاعات بند ہیں، اس لیے کوئی آواز نہیں بجتی۔ آپ پھر بھی آواز منتخب کر کے سن سکتے ہیں۔",
50959
+ "ui.settings.notifications.sound.gated_action": "اطلاعات آن کریں",
50960
+ "ui.settings.notifications.volume.label": "آواز کی سطح",
50961
+ "ui.settings.notifications.volume.readout": "{value, number}%",
50962
+ "ui.settings.notifications.volume.readout_default": "{value, number}% · ڈیفالٹ",
50963
+ "ui.settings.notifications.volume.reset": "ری سیٹ کریں",
50964
+ "ui.settings.notifications.volume.description": "چھوڑتے ہی سن کر دیکھیں۔",
50965
+ "ui.settings.notifications.volume.muted": "خاموش۔ جب تک آپ آواز بڑھائیں گے نہیں، بینرز خاموش رہیں گے۔",
50966
+ "ui.settings.notifications.volume.system": "آواز کی سطح سسٹم کی آواز کو نہیں بدلتی۔",
50967
+ "ui.settings.notifications.volume.valuetext": "{value, number} فیصد",
50968
+ "ui.settings.notifications.list.label": "اطلاع کی آواز",
50969
+ "ui.settings.notifications.list.builtin": "بلٹ اِن",
50970
+ "ui.settings.notifications.list.default_tag": "ڈیفالٹ",
50971
+ "ui.settings.notifications.list.system_name": "سسٹم کی آواز",
50972
+ "ui.settings.notifications.list.system_description": "آپ کے سسٹم یا ٹرمینل کا اپنا الرٹ۔ کوئی اضافی آواز نہیں بجتی۔",
50973
+ "ui.settings.notifications.list.custom": "آپ کی آوازیں",
50974
+ "ui.settings.notifications.list.custom_count": "{max, number} میں سے {count, number}",
50975
+ "ui.settings.notifications.preview.play": "{name} سنیں",
50976
+ "ui.settings.notifications.preview.stop": "{name} روکیں",
50977
+ "ui.settings.notifications.preview.failed": "یہ آواز نہیں چلائی جا سکی۔",
50978
+ "ui.settings.notifications.save.failed": "آپ کی آواز محفوظ نہیں ہو سکی۔ {reason}",
50979
+ "ui.settings.notifications.save.failed_generic": "ترتیب محفوظ نہیں ہو سکی۔",
50980
+ "ui.settings.notifications.retry": "دوبارہ کوشش کریں",
50981
+ "ui.settings.notifications.custom.empty": "ابھی آپ کی اپنی کوئی آواز نہیں۔ کوئی آڈیو فائل شامل کریں، یا اسسٹنٹ سے ایک بنوائیں۔",
50982
+ "ui.settings.notifications.custom.add": "آواز شامل کریں…",
50983
+ "ui.settings.notifications.custom.hint": "WAV، FLAC، MP3 یا OGG، زیادہ سے زیادہ {seconds, number} سیکنڈ اور {megabytes, number} MB۔ آواز کی بلندی بلٹ اِن آوازوں کے برابر کر دی جاتی ہے۔",
50984
+ "ui.settings.notifications.custom.full": "آپ کے پاس {count, number} آوازیں ہیں، جو زیادہ سے زیادہ حد ہے۔ نئی شامل کرنے کے لیے ایک ہٹائیں۔",
50985
+ "ui.settings.notifications.custom.uploading": "اپ لوڈ ہو رہی ہے… {percent, number}%",
50986
+ "ui.settings.notifications.custom.cancel_upload": "{file} شامل کرنا منسوخ کریں",
50987
+ "ui.settings.notifications.custom.added_one": "{name} شامل کر کے منتخب کر دی گئی۔",
50988
+ "ui.settings.notifications.custom.added_many": "{count, plural, one {# آواز شامل کی گئی۔} other {# آوازیں شامل کی گئیں۔}}",
50989
+ "ui.settings.notifications.custom.more": "{name} کے لیے مزید اقدامات",
50990
+ "ui.settings.notifications.custom.rename": "نام بدلیں",
50991
+ "ui.settings.notifications.custom.rename_label": "آواز کا نام",
50992
+ "ui.settings.notifications.custom.rename_empty": "نام خالی نہیں ہو سکتا۔",
50993
+ "ui.settings.notifications.custom.rename_long": "{max, number} یا اس سے کم کریکٹر استعمال کریں۔",
50994
+ "ui.settings.notifications.custom.rename_failed": "نام نہیں بدلا جا سکا۔ {reason}",
50995
+ "ui.settings.notifications.custom.remove": "ہٹائیں…",
50996
+ "ui.settings.notifications.custom.remove_confirm": "{name} ہٹائیں؟ فائل اس کمپیوٹر سے حذف ہو جائے گی۔",
50997
+ "ui.settings.notifications.custom.remove_confirm_selected": "{name} ہٹائیں؟ یہ آپ کی موجودہ آواز ہے، اس لیے اس کی جگہ نرم دھڑکن بجے گی۔",
50998
+ "ui.settings.notifications.custom.remove_action": "ہٹائیں",
50999
+ "ui.settings.notifications.custom.cancel": "منسوخ کریں",
51000
+ "ui.settings.notifications.custom.removed": "{name} ہٹا دی گئی۔",
51001
+ "ui.settings.notifications.custom.removed_reset": "{name} ہٹا دی گئی۔ نرم دھڑکن دوبارہ منتخب ہے۔",
51002
+ "ui.settings.notifications.custom.remove_failed": "{name} نہیں ہٹائی جا سکی۔ {reason}",
51003
+ "ui.settings.notifications.error.too_large": "{file} {megabytes, number} MB سے بڑی ہے۔ کوئی چھوٹا کلپ منتخب کریں۔",
51004
+ "ui.settings.notifications.error.unsupported_format": "{file} WAV، FLAC، MP3 یا OGG نہیں ہے۔ اسے WAV یا FLAC میں تبدیل کر کے دوبارہ شامل کریں۔",
51005
+ "ui.settings.notifications.error.unsupported_codec": "Opus اور M4A فائلیں پڑھی نہیں جا سکتیں۔ {file} کو WAV یا FLAC میں تبدیل کر کے دوبارہ شامل کریں۔",
51006
+ "ui.settings.notifications.error.too_long": "{file} کی لمبائی {seconds} سیکنڈ ہے۔ آوازیں زیادہ سے زیادہ {limit, number} سیکنڈ کی ہو سکتی ہیں۔",
51007
+ "ui.settings.notifications.error.undecodable": "{file} پڑھی نہیں جا سکی۔ ہو سکتا ہے یہ خراب ہو یا آڈیو فائل نہ ہو۔",
51008
+ "ui.settings.notifications.error.network": "{file} شامل نہیں ہو سکی۔ دیکھیں کہ Local Operator چل رہا ہے، پھر دوبارہ کوشش کریں۔",
51009
+ "ui.settings.notifications.error.choose_another": "کوئی اور فائل منتخب کریں",
51010
+ "ui.settings.notifications.error.dismiss": "ہٹائیں",
51011
+ "ui.settings.notifications.test.action": "آزمائشی اطلاع بھیجیں",
51012
+ "ui.settings.notifications.test.sent": "بھیج دی گئی۔ آواز نہیں آئی؟ فوکس یا ڈو ناٹ ڈسٹرب، اور الرٹ کی آواز کی سطح دیکھیں۔",
51013
+ "ui.settings.notifications.test.failed": "یہاں آزمائشی اطلاع نہیں دکھائی جا سکی۔",
51014
+ "ui.settings.notifications.test.banner_title": "آزمائشی اطلاع",
51015
+ "ui.settings.notifications.test.banner_body": "آپ کی اطلاعات ایسی سنائی دیں گی۔",
51016
+ "ui.settings.notifications.load.failed": "اطلاع کی آوازیں لوڈ نہیں ہو سکیں۔ {reason}",
51017
+ "ui.settings.notifications.load.loading": "اطلاع کی آوازیں لوڈ ہو رہی ہیں…",
51018
+ "ui.settings.notifications.backend_older": "اطلاع کی آوازوں کے لیے Local Operator کا نیا ورژن درکار ہے۔ آواز منتخب کرنے کے لیے اسے اپ ڈیٹ کریں۔",
51019
+ "ui.settings.notifications.missing_rows": "{count, plural, one {یہ بیک اینڈ ابھی {rows} درج نہیں کرتا، اس لیے یہ کنٹرول دکھایا نہیں گیا۔} other {یہ بیک اینڈ ابھی {rows} درج نہیں کرتا، اس لیے یہ کنٹرول دکھائے نہیں گئے۔}}",
51020
+ "ui.settings.notifications.custom.finishing": "مکمل ہو رہا ہے…",
51021
+ "ui.settings.notifications.error.silent": "{file} میں کوئی آواز نہیں ہے۔ ایسا آڈیو کلپ منتخب کریں جس کی آواز سنائی دے۔",
51022
+ "ui.settings.notifications.search_terms": "آواز, گھنٹی, اطلاع کی آواز, آواز کی سطح, الرٹ, sound, chime, notification sound, volume, alert"
51023
+ };
50586
51024
  const urUiSettingsSearch = {
50587
51025
  "ui.settings.search.field.label": "ترتیبات تلاش کریں",
50588
51026
  "ui.settings.search.field.placeholder": "ترتیبات تلاش کریں",
@@ -58676,6 +59114,79 @@ const viUiSettingsNavigation = {
58676
59114
  "ui.settings.navigation.settings_sidebar.account": "Tài khoản",
58677
59115
  "ui.settings.navigation.settings_page.retrying": "Đang thử lại"
58678
59116
  };
59117
+ const viUiSettingsNotifications = {
59118
+ "ui.settings.notifications.section.title": "Thông báo",
59119
+ "ui.settings.notifications.section.description": "Cách Local Operator báo cho bạn khi một phiên đã xong hoặc cần bạn.",
59120
+ "ui.settings.notifications.sound.heading": "Âm thanh",
59121
+ "ui.settings.notifications.sound.enabled_label": "Phát âm thanh",
59122
+ "ui.settings.notifications.sound.enabled_description": "Phát kèm mỗi biểu ngữ. Tắt đi để biểu ngữ im lặng.",
59123
+ "ui.settings.notifications.sound.enabled_off_note": "Biểu ngữ đang im lặng. Lựa chọn bên dưới của bạn vẫn được giữ.",
59124
+ "ui.settings.notifications.sound.gated": "Thông báo đang tắt nên sẽ không có âm thanh nào. Bạn vẫn có thể chọn và nghe thử một âm thanh.",
59125
+ "ui.settings.notifications.sound.gated_action": "Bật thông báo",
59126
+ "ui.settings.notifications.volume.label": "Âm lượng",
59127
+ "ui.settings.notifications.volume.readout": "{value, number}%",
59128
+ "ui.settings.notifications.volume.readout_default": "{value, number}% · Mặc định",
59129
+ "ui.settings.notifications.volume.reset": "Đặt lại",
59130
+ "ui.settings.notifications.volume.description": "Nghe thử khi bạn thả tay.",
59131
+ "ui.settings.notifications.volume.muted": "Đã tắt tiếng. Biểu ngữ sẽ im lặng cho đến khi bạn tăng âm lượng.",
59132
+ "ui.settings.notifications.volume.system": "Âm lượng không thay đổi âm thanh hệ thống.",
59133
+ "ui.settings.notifications.volume.valuetext": "{value, number} phần trăm",
59134
+ "ui.settings.notifications.list.label": "Âm thanh thông báo",
59135
+ "ui.settings.notifications.list.builtin": "Có sẵn",
59136
+ "ui.settings.notifications.list.default_tag": "Mặc định",
59137
+ "ui.settings.notifications.list.system_name": "Âm thanh hệ thống",
59138
+ "ui.settings.notifications.list.system_description": "Âm báo riêng của hệ thống hoặc terminal. Không phát thêm gì.",
59139
+ "ui.settings.notifications.list.custom": "Âm thanh của bạn",
59140
+ "ui.settings.notifications.list.custom_count": "{count, number}/{max, number}",
59141
+ "ui.settings.notifications.preview.play": "Nghe thử {name}",
59142
+ "ui.settings.notifications.preview.stop": "Dừng {name}",
59143
+ "ui.settings.notifications.preview.failed": "Không thể phát âm thanh này.",
59144
+ "ui.settings.notifications.save.failed": "Không thể lưu âm thanh của bạn. {reason}",
59145
+ "ui.settings.notifications.save.failed_generic": "Không thể lưu cài đặt.",
59146
+ "ui.settings.notifications.retry": "Thử lại",
59147
+ "ui.settings.notifications.custom.empty": "Bạn chưa có âm thanh riêng. Hãy thêm một tệp âm thanh, hoặc nhờ trợ lý tạo một âm thanh.",
59148
+ "ui.settings.notifications.custom.add": "Thêm âm thanh…",
59149
+ "ui.settings.notifications.custom.hint": "WAV, FLAC, MP3 hoặc OGG, tối đa {seconds, number} giây và {megabytes, number} MB. Độ lớn được cân bằng với các âm thanh có sẵn.",
59150
+ "ui.settings.notifications.custom.full": "Bạn đã có {count, number} âm thanh, mức tối đa cho phép. Hãy xóa một âm thanh để thêm âm thanh khác.",
59151
+ "ui.settings.notifications.custom.uploading": "Đang tải lên… {percent, number}%",
59152
+ "ui.settings.notifications.custom.cancel_upload": "Hủy thêm {file}",
59153
+ "ui.settings.notifications.custom.added_one": "Đã thêm {name} và chọn âm thanh này.",
59154
+ "ui.settings.notifications.custom.added_many": "{count, plural, other {Đã thêm # âm thanh.}}",
59155
+ "ui.settings.notifications.custom.more": "Thao tác khác cho {name}",
59156
+ "ui.settings.notifications.custom.rename": "Đổi tên",
59157
+ "ui.settings.notifications.custom.rename_label": "Tên âm thanh",
59158
+ "ui.settings.notifications.custom.rename_empty": "Tên không được để trống.",
59159
+ "ui.settings.notifications.custom.rename_long": "Dùng tối đa {max, number} ký tự.",
59160
+ "ui.settings.notifications.custom.rename_failed": "Không thể đổi tên. {reason}",
59161
+ "ui.settings.notifications.custom.remove": "Xóa…",
59162
+ "ui.settings.notifications.custom.remove_confirm": "Xóa {name}? Tệp sẽ bị xóa khỏi máy tính này.",
59163
+ "ui.settings.notifications.custom.remove_confirm_selected": "Xóa {name}? Đây là âm thanh hiện tại của bạn, nên Nhịp êm sẽ được phát thay thế.",
59164
+ "ui.settings.notifications.custom.remove_action": "Xóa",
59165
+ "ui.settings.notifications.custom.cancel": "Hủy",
59166
+ "ui.settings.notifications.custom.removed": "Đã xóa {name}.",
59167
+ "ui.settings.notifications.custom.removed_reset": "Đã xóa {name}. Nhịp êm được chọn lại.",
59168
+ "ui.settings.notifications.custom.remove_failed": "Không thể xóa {name}. {reason}",
59169
+ "ui.settings.notifications.error.too_large": "{file} lớn hơn {megabytes, number} MB. Hãy chọn một đoạn ngắn hơn.",
59170
+ "ui.settings.notifications.error.unsupported_format": "{file} không phải WAV, FLAC, MP3 hay OGG. Hãy chuyển sang WAV hoặc FLAC rồi thêm lại.",
59171
+ "ui.settings.notifications.error.unsupported_codec": "Không đọc được tệp Opus và M4A. Hãy chuyển {file} sang WAV hoặc FLAC rồi thêm lại.",
59172
+ "ui.settings.notifications.error.too_long": "{file} dài {seconds} giây. Âm thanh chỉ được dài tối đa {limit, number} giây.",
59173
+ "ui.settings.notifications.error.undecodable": "Không thể đọc {file}. Tệp có thể bị hỏng hoặc không phải tệp âm thanh.",
59174
+ "ui.settings.notifications.error.network": "Không thể thêm {file}. Hãy kiểm tra Local Operator đang chạy rồi thử lại.",
59175
+ "ui.settings.notifications.error.choose_another": "Chọn tệp khác",
59176
+ "ui.settings.notifications.error.dismiss": "Ẩn",
59177
+ "ui.settings.notifications.test.action": "Gửi thông báo thử",
59178
+ "ui.settings.notifications.test.sent": "Đã gửi. Không nghe thấy? Hãy kiểm tra chế độ Tập trung hoặc Không làm phiền, và âm lượng cảnh báo.",
59179
+ "ui.settings.notifications.test.failed": "Không thể hiển thị thông báo thử ở đây.",
59180
+ "ui.settings.notifications.test.banner_title": "Thông báo thử",
59181
+ "ui.settings.notifications.test.banner_body": "Đây là âm thanh thông báo của bạn.",
59182
+ "ui.settings.notifications.load.failed": "Không thể tải âm thanh thông báo. {reason}",
59183
+ "ui.settings.notifications.load.loading": "Đang tải âm thanh thông báo…",
59184
+ "ui.settings.notifications.backend_older": "Âm thanh thông báo cần phiên bản Local Operator mới hơn. Hãy cập nhật để chọn âm thanh.",
59185
+ "ui.settings.notifications.missing_rows": "{count, plural, other {Máy chủ này chưa đăng ký {rows} nên không hiển thị điều khiển tương ứng.}}",
59186
+ "ui.settings.notifications.custom.finishing": "Đang hoàn tất…",
59187
+ "ui.settings.notifications.error.silent": "{file} không có âm thanh. Chọn một đoạn âm thanh nghe được.",
59188
+ "ui.settings.notifications.search_terms": "âm thanh, tiếng chuông, âm thanh thông báo, âm lượng, cảnh báo, sound, chime, notification sound, volume, alert"
59189
+ };
58679
59190
  const viUiSettingsSearch = {
58680
59191
  "ui.settings.search.field.label": "Tìm cài đặt",
58681
59192
  "ui.settings.search.field.placeholder": "Tìm cài đặt",
@@ -66769,6 +67280,79 @@ const zhCNUiSettingsNavigation = {
66769
67280
  "ui.settings.navigation.settings_sidebar.account": "账户",
66770
67281
  "ui.settings.navigation.settings_page.retrying": "正在重试"
66771
67282
  };
67283
+ const zhCNUiSettingsNotifications = {
67284
+ "ui.settings.notifications.section.title": "通知",
67285
+ "ui.settings.notifications.section.description": "Local Operator如何在会话完成或需要你时提醒你。",
67286
+ "ui.settings.notifications.sound.heading": "声音",
67287
+ "ui.settings.notifications.sound.enabled_label": "播放声音",
67288
+ "ui.settings.notifications.sound.enabled_description": "每条横幅通知都会伴随声音。关闭后横幅将静音。",
67289
+ "ui.settings.notifications.sound.enabled_off_note": "横幅已静音。下方的选择会保留。",
67290
+ "ui.settings.notifications.sound.gated": "通知已关闭,因此不会播放任何声音。你仍可以选择并试听声音。",
67291
+ "ui.settings.notifications.sound.gated_action": "开启通知",
67292
+ "ui.settings.notifications.volume.label": "音量",
67293
+ "ui.settings.notifications.volume.readout": "{value, number}%",
67294
+ "ui.settings.notifications.volume.readout_default": "{value, number}% · 默认",
67295
+ "ui.settings.notifications.volume.reset": "重置",
67296
+ "ui.settings.notifications.volume.description": "松开后试听。",
67297
+ "ui.settings.notifications.volume.muted": "已静音。在你调高音量之前,横幅都不会发声。",
67298
+ "ui.settings.notifications.volume.system": "音量不影响系统声音。",
67299
+ "ui.settings.notifications.volume.valuetext": "百分之{value, number}",
67300
+ "ui.settings.notifications.list.label": "通知声音",
67301
+ "ui.settings.notifications.list.builtin": "内置",
67302
+ "ui.settings.notifications.list.default_tag": "默认",
67303
+ "ui.settings.notifications.list.system_name": "系统声音",
67304
+ "ui.settings.notifications.list.system_description": "使用系统或终端自带的提示音。不会额外播放声音。",
67305
+ "ui.settings.notifications.list.custom": "你的声音",
67306
+ "ui.settings.notifications.list.custom_count": "{count, number}/{max, number}",
67307
+ "ui.settings.notifications.preview.play": "试听{name}",
67308
+ "ui.settings.notifications.preview.stop": "停止{name}",
67309
+ "ui.settings.notifications.preview.failed": "无法播放此声音。",
67310
+ "ui.settings.notifications.save.failed": "无法保存你的声音。{reason}",
67311
+ "ui.settings.notifications.save.failed_generic": "无法保存该设置。",
67312
+ "ui.settings.notifications.retry": "重试",
67313
+ "ui.settings.notifications.custom.empty": "还没有你自己的声音。添加一个音频文件,或让助手为你制作一个。",
67314
+ "ui.settings.notifications.custom.add": "添加声音……",
67315
+ "ui.settings.notifications.custom.hint": "支持WAV、FLAC、MP3或OGG,最长{seconds, number}秒,最大{megabytes, number} MB。响度会与内置声音保持一致。",
67316
+ "ui.settings.notifications.custom.full": "你已有{count, number}个声音,已达上限。删除一个后才能添加新的。",
67317
+ "ui.settings.notifications.custom.uploading": "正在上传……{percent, number}%",
67318
+ "ui.settings.notifications.custom.cancel_upload": "取消添加{file}",
67319
+ "ui.settings.notifications.custom.added_one": "已添加{name}并将其选中。",
67320
+ "ui.settings.notifications.custom.added_many": "{count, plural, other {已添加 # 个声音。}}",
67321
+ "ui.settings.notifications.custom.more": "{name}的更多操作",
67322
+ "ui.settings.notifications.custom.rename": "重命名",
67323
+ "ui.settings.notifications.custom.rename_label": "声音名称",
67324
+ "ui.settings.notifications.custom.rename_empty": "名称不能为空。",
67325
+ "ui.settings.notifications.custom.rename_long": "名称不能超过{max, number}个字符。",
67326
+ "ui.settings.notifications.custom.rename_failed": "无法重命名。{reason}",
67327
+ "ui.settings.notifications.custom.remove": "删除……",
67328
+ "ui.settings.notifications.custom.remove_confirm": "删除{name}?该文件将从这台电脑上删除。",
67329
+ "ui.settings.notifications.custom.remove_confirm_selected": "删除{name}?这是你当前的声音,删除后将改为播放轻柔脉冲。",
67330
+ "ui.settings.notifications.custom.remove_action": "删除",
67331
+ "ui.settings.notifications.custom.cancel": "取消",
67332
+ "ui.settings.notifications.custom.removed": "已删除{name}。",
67333
+ "ui.settings.notifications.custom.removed_reset": "已删除{name}。已重新选中轻柔脉冲。",
67334
+ "ui.settings.notifications.custom.remove_failed": "无法删除{name}。{reason}",
67335
+ "ui.settings.notifications.error.too_large": "{file}超过{megabytes, number} MB。选择更短的片段。",
67336
+ "ui.settings.notifications.error.unsupported_format": "{file}不是WAV、FLAC、MP3或OGG格式。将其转换为WAV或FLAC后重新添加。",
67337
+ "ui.settings.notifications.error.unsupported_codec": "无法读取Opus和M4A文件。将{file}转换为WAV或FLAC后重新添加。",
67338
+ "ui.settings.notifications.error.too_long": "{file}时长{seconds}秒。声音最长为{limit, number}秒。",
67339
+ "ui.settings.notifications.error.undecodable": "无法读取{file}。文件可能已损坏,或不是音频文件。",
67340
+ "ui.settings.notifications.error.network": "无法添加{file}。确认Local Operator正在运行,然后重试。",
67341
+ "ui.settings.notifications.error.choose_another": "选择其他文件",
67342
+ "ui.settings.notifications.error.dismiss": "忽略",
67343
+ "ui.settings.notifications.test.action": "发送测试通知",
67344
+ "ui.settings.notifications.test.sent": "已发送。没有声音?检查专注模式或勿扰模式,以及提醒音量。",
67345
+ "ui.settings.notifications.test.failed": "无法在此显示测试通知。",
67346
+ "ui.settings.notifications.test.banner_title": "测试通知",
67347
+ "ui.settings.notifications.test.banner_body": "你的通知听起来就是这样。",
67348
+ "ui.settings.notifications.load.failed": "无法加载通知声音。{reason}",
67349
+ "ui.settings.notifications.load.loading": "正在加载通知声音……",
67350
+ "ui.settings.notifications.backend_older": "通知声音需要更新版本的Local Operator。更新后再选择声音。",
67351
+ "ui.settings.notifications.missing_rows": "{count, plural, other {此后端尚未注册{rows},因此未显示对应控件。}}",
67352
+ "ui.settings.notifications.custom.finishing": "正在完成……",
67353
+ "ui.settings.notifications.error.silent": "{file}没有声音。选择一段能听到声音的音频。",
67354
+ "ui.settings.notifications.search_terms": "声音, 提示音, 通知声音, 音量, 提醒, sound, chime, notification sound, volume, alert"
67355
+ };
66772
67356
  const zhCNUiSettingsSearch = {
66773
67357
  "ui.settings.search.field.label": "搜索设置",
66774
67358
  "ui.settings.search.field.placeholder": "搜索设置",
@@ -67641,6 +68225,7 @@ const bundledEnglish = {
67641
68225
  ...enUiSettingsModel,
67642
68226
  ...enUiSettingsModelProviderCallout,
67643
68227
  ...enUiSettingsNavigation,
68228
+ ...enUiSettingsNotifications,
67644
68229
  ...enUiSettingsSearch,
67645
68230
  ...enUiSettingsShortcuts,
67646
68231
  ...enUiSettingsSpeech,
@@ -67770,6 +68355,7 @@ const bundledCatalogues = {
67770
68355
  ...esUiSettingsModel,
67771
68356
  ...esUiSettingsModelProviderCallout,
67772
68357
  ...esUiSettingsNavigation,
68358
+ ...esUiSettingsNotifications,
67773
68359
  ...esUiSettingsSearch,
67774
68360
  ...esUiSettingsShortcuts,
67775
68361
  ...esUiSettingsSpeech,
@@ -67897,6 +68483,7 @@ const bundledCatalogues = {
67897
68483
  ...frUiSettingsModel,
67898
68484
  ...frUiSettingsModelProviderCallout,
67899
68485
  ...frUiSettingsNavigation,
68486
+ ...frUiSettingsNotifications,
67900
68487
  ...frUiSettingsSearch,
67901
68488
  ...frUiSettingsShortcuts,
67902
68489
  ...frUiSettingsSpeech,
@@ -68024,6 +68611,7 @@ const bundledCatalogues = {
68024
68611
  ...hiUiSettingsModel,
68025
68612
  ...hiUiSettingsModelProviderCallout,
68026
68613
  ...hiUiSettingsNavigation,
68614
+ ...hiUiSettingsNotifications,
68027
68615
  ...hiUiSettingsSearch,
68028
68616
  ...hiUiSettingsShortcuts,
68029
68617
  ...hiUiSettingsSpeech,
@@ -68151,6 +68739,7 @@ const bundledCatalogues = {
68151
68739
  ...ruUiSettingsModel,
68152
68740
  ...ruUiSettingsModelProviderCallout,
68153
68741
  ...ruUiSettingsNavigation,
68742
+ ...ruUiSettingsNotifications,
68154
68743
  ...ruUiSettingsSearch,
68155
68744
  ...ruUiSettingsShortcuts,
68156
68745
  ...ruUiSettingsSpeech,
@@ -68278,6 +68867,7 @@ const bundledCatalogues = {
68278
68867
  ...urUiSettingsModel,
68279
68868
  ...urUiSettingsModelProviderCallout,
68280
68869
  ...urUiSettingsNavigation,
68870
+ ...urUiSettingsNotifications,
68281
68871
  ...urUiSettingsSearch,
68282
68872
  ...urUiSettingsShortcuts,
68283
68873
  ...urUiSettingsSpeech,
@@ -68405,6 +68995,7 @@ const bundledCatalogues = {
68405
68995
  ...viUiSettingsModel,
68406
68996
  ...viUiSettingsModelProviderCallout,
68407
68997
  ...viUiSettingsNavigation,
68998
+ ...viUiSettingsNotifications,
68408
68999
  ...viUiSettingsSearch,
68409
69000
  ...viUiSettingsShortcuts,
68410
69001
  ...viUiSettingsSpeech,
@@ -68532,6 +69123,7 @@ const bundledCatalogues = {
68532
69123
  ...zhCNUiSettingsModel,
68533
69124
  ...zhCNUiSettingsModelProviderCallout,
68534
69125
  ...zhCNUiSettingsNavigation,
69126
+ ...zhCNUiSettingsNotifications,
68535
69127
  ...zhCNUiSettingsSearch,
68536
69128
  ...zhCNUiSettingsShortcuts,
68537
69129
  ...zhCNUiSettingsSpeech,
@@ -71716,6 +72308,27 @@ const desktopRequestUnion = zod.z.discriminatedUnion("op", [
71716
72308
  * backend would render a 404 as a failure of the user's own account.
71717
72309
  */
71718
72310
  zod.z.object({ op: zod.z.literal("tts.paths") }).strict(),
72311
+ /*
72312
+ * THE NOTIFICATION-SOUND SURFACE (`features.notification_sounds`, core
72313
+ * `server/routes/notification_sounds.py`): the listing Settings renders, and
72314
+ * the two edits a custom sound takes. Selection, volume and on/off are NOT
72315
+ * here: they are `notifications.sound.*` registry keys and go through
72316
+ * `settings.edit` like every other row (one write funnel). Audio and upload
72317
+ * carry bytes, so they ride the media relay (`desktop-media.ts`).
72318
+ *
72319
+ * `id` is shape-checked because it becomes a path segment: the catalog's
72320
+ * slugs and core's `custom-<slug>-<hex>` ids are both lower-case kebab.
72321
+ */
72322
+ zod.z.object({ op: zod.z.literal("notification_sounds.list") }).strict(),
72323
+ zod.z.object({
72324
+ op: zod.z.literal("notification_sounds.rename"),
72325
+ id: zod.z.string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/),
72326
+ name: zod.z.string().min(1).max(200)
72327
+ }).strict(),
72328
+ zod.z.object({
72329
+ op: zod.z.literal("notification_sounds.remove"),
72330
+ id: zod.z.string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/)
72331
+ }).strict(),
71719
72332
  zod.z.object({ op: zod.z.literal("config.get") }).strict(),
71720
72333
  zod.z.object({ op: zod.z.literal("config.update"), value: configUpdate }).strict(),
71721
72334
  zod.z.object({ op: zod.z.literal("instructions.get") }).strict(),
@@ -74782,6 +75395,19 @@ function desktopEndpoint(request) {
74782
75395
  */
74783
75396
  case "tts.paths":
74784
75397
  return { path: "/v1/tts/paths", method: "GET" };
75398
+ case "notification_sounds.list":
75399
+ return { path: "/v1/notification-sounds", method: "GET" };
75400
+ case "notification_sounds.rename":
75401
+ return {
75402
+ path: `/v1/notification-sounds/${request.id}`,
75403
+ method: "PATCH",
75404
+ body: { name: request.name }
75405
+ };
75406
+ case "notification_sounds.remove":
75407
+ return {
75408
+ path: `/v1/notification-sounds/${request.id}`,
75409
+ method: "DELETE"
75410
+ };
74785
75411
  case "config.get":
74786
75412
  return { path: "/v1/config", method: "GET" };
74787
75413
  case "config.update":
@@ -76179,11 +76805,11 @@ function bytesFromDataUrl(dataUrl) {
76179
76805
  }
76180
76806
  function readRecord(payload) {
76181
76807
  if (payload === null || typeof payload !== "object") return null;
76182
- const body = payload;
76183
- const inner = body.result;
76808
+ const body2 = payload;
76809
+ const inner = body2.result;
76184
76810
  if (inner !== null && typeof inner === "object")
76185
76811
  return inner;
76186
- return body;
76812
+ return body2;
76187
76813
  }
76188
76814
  function toAttachment(payload) {
76189
76815
  const record = readRecord(payload);
@@ -77015,9 +77641,9 @@ const pypiReleaseReading = (payload, platform) => {
77015
77641
  }
77016
77642
  return { namedVersion: trimmed, readyVersion: ready ? trimmed : null };
77017
77643
  };
77018
- const readPypiReleaseBody = (body, platform) => {
77644
+ const readPypiReleaseBody = (body2, platform) => {
77019
77645
  try {
77020
- return pypiReleaseReading(JSON.parse(body), platform);
77646
+ return pypiReleaseReading(JSON.parse(body2), platform);
77021
77647
  } catch {
77022
77648
  return { namedVersion: null, readyVersion: null };
77023
77649
  }
@@ -79261,15 +79887,15 @@ function driftInstallReading(input) {
79261
79887
  return { version: input.planVersion, source: "serving-install" };
79262
79888
  }
79263
79889
  const DEGRADED_LIVENESS_SOURCE = "liveness";
79264
- function rosterLivenessDegraded(body) {
79265
- const degraded = body?.result?.degraded;
79890
+ function rosterLivenessDegraded(body2) {
79891
+ const degraded = body2?.result?.degraded;
79266
79892
  return Array.isArray(degraded) && degraded.includes(DEGRADED_LIVENESS_SOURCE);
79267
79893
  }
79268
79894
  const KNOWN_LIVE_STATES = /* @__PURE__ */ new Set(["", "wedged", "busy", "attached", "idle"]);
79269
- function fleetRosterFromSessions(body) {
79270
- const sessions = body?.result?.sessions;
79895
+ function fleetRosterFromSessions(body2) {
79896
+ const sessions = body2?.result?.sessions;
79271
79897
  if (!Array.isArray(sessions)) return null;
79272
- if (rosterLivenessDegraded(body)) return null;
79898
+ if (rosterLivenessDegraded(body2)) return null;
79273
79899
  return sessions.filter(
79274
79900
  (row) => typeof row === "object" && row !== null
79275
79901
  ).map((row) => ({
@@ -79282,8 +79908,8 @@ function fleetRosterFromSessions(body) {
79282
79908
  function busyRosterRows(rows) {
79283
79909
  return rows.filter((row) => row.liveState === "busy");
79284
79910
  }
79285
- function servingWorkStateFromSessions(body) {
79286
- const rows = fleetRosterFromSessions(body);
79911
+ function servingWorkStateFromSessions(body2) {
79912
+ const rows = fleetRosterFromSessions(body2);
79287
79913
  if (rows === null) return "unknown";
79288
79914
  if (busyRosterRows(rows).length > 0) return "busy";
79289
79915
  if (rows.some(
@@ -79401,8 +80027,8 @@ class DesktopFeedRelay {
79401
80027
  let features;
79402
80028
  try {
79403
80029
  const response = await this.options.request({ op: "capabilities" });
79404
- const body = response.body;
79405
- features = body?.result?.features;
80030
+ const body2 = response.body;
80031
+ features = body2?.result?.features;
79406
80032
  } catch {
79407
80033
  this.running = false;
79408
80034
  this.setConnected(false);
@@ -79925,6 +80551,30 @@ const mediaRequestSchema = zod.z.discriminatedUnion("op", [
79925
80551
  zod.z.object({
79926
80552
  op: zod.z.literal("library.waveform"),
79927
80553
  assetId: zod.z.string().regex(/^la_[0-9a-f]{16}$/)
80554
+ }).strict(),
80555
+ /*
80556
+ * One notification sound as `audio/wav` with the volume baked in (core
80557
+ * `/v1/notification-sounds/{id}/audio?volume=`, `features.notification_sounds`).
80558
+ * Main stages it in ~/Library/Sounds or hands it to the renderer's player
80559
+ * (`notification-sound.ts`). The id is the catalog's slug or core's
80560
+ * `custom-[a-z0-9-]{1,40}`, checked here because it becomes a path segment.
80561
+ */
80562
+ zod.z.object({
80563
+ op: zod.z.literal("notification_sounds.audio"),
80564
+ soundId: zod.z.string().regex(/^[a-z0-9][a-z0-9-]{0,63}$/),
80565
+ volume: zod.z.number().int().min(0).max(100)
80566
+ }).strict(),
80567
+ /*
80568
+ * Add one custom notification sound: multipart `file` + optional `name`
80569
+ * (core `POST /v1/notification-sounds`). The daemon sniffs the bytes and
80570
+ * refuses by content, so the declared type below is never trusted;
80571
+ * `fileName` is the user's own name for the file, used by the daemon only in
80572
+ * refusal copy and as the default display name.
80573
+ */
80574
+ zod.z.object({
80575
+ op: zod.z.literal("notification_sounds.upload"),
80576
+ fileName: zod.z.string().min(1).max(255),
80577
+ name: zod.z.string().min(1).max(200).optional()
79928
80578
  }).strict()
79929
80579
  ]);
79930
80580
  function endpoint(request) {
@@ -80006,6 +80656,13 @@ function endpoint(request) {
80006
80656
  path: `/v1/desktop/library/assets/${request.assetId}/waveform`,
80007
80657
  method: "GET"
80008
80658
  };
80659
+ case "notification_sounds.audio":
80660
+ return {
80661
+ path: `/v1/notification-sounds/${request.soundId}/audio?volume=${request.volume}`,
80662
+ method: "GET"
80663
+ };
80664
+ case "notification_sounds.upload":
80665
+ return { path: "/v1/notification-sounds", method: "POST" };
80009
80666
  case "team_bridge.attachment.upload":
80010
80667
  return {
80011
80668
  path: `/v1/desktop/team-bridge/conversations/${request.conversationId}/attachments?${new URLSearchParams({ tenant_id: request.tenantId, expected_account_id: request.expectedAccountId, ...request.mode ? { mode: request.mode } : {} })}`,
@@ -80054,6 +80711,17 @@ function endpoint(request) {
80054
80711
  };
80055
80712
  }
80056
80713
  }
80714
+ function scalarParams(params) {
80715
+ const out = {};
80716
+ for (const [key, value] of Object.entries(params).slice(0, 8)) {
80717
+ if (key.length > 64) continue;
80718
+ if (typeof value === "string") out[key] = value.slice(0, 128);
80719
+ else if (typeof value === "number" && Number.isFinite(value))
80720
+ out[key] = value;
80721
+ else if (typeof value === "boolean") out[key] = value;
80722
+ }
80723
+ return Object.keys(out).length > 0 ? out : void 0;
80724
+ }
80057
80725
  async function requestDesktopMediaOutcome(input, bytes, backendUrl, token) {
80058
80726
  const parsed = mediaRequestSchema.safeParse(input);
80059
80727
  if (!parsed.success || parsed.data.op === "team_bridge.notification_avatar" && (parsed.data.avatar && parsed.data.avatar.account_id !== parsed.data.accountId || // An agent's picture is never drawn on a person, and one banner
@@ -80101,10 +80769,10 @@ async function requestDesktopMediaOutcome(input, bytes, backendUrl, token) {
80101
80769
  };
80102
80770
  }
80103
80771
  const target2 = endpoint(request);
80104
- let body;
80772
+ let body2;
80105
80773
  let contentType;
80106
- if (request.op === "account.profile" || request.op === "account.avatar.delete" || request.op === "agent.export" || request.op === "agent.avatar" || request.op === "agent.avatar.delete" || request.op === "sessions.attachment" || request.op === "subagents.attachment" || request.op === "sessions.attachment.waveform" || request.op === "sessions.supplementDocument" || request.op === "library.content" || request.op === "library.thumbnail" || request.op === "library.waveform" || request.op === "team_bridge.attachment" || request.op === "team_bridge.owner_audit.attachment" || request.op === "team_bridge.avatar" || request.op === "team_bridge.endpoint_avatar" || request.op === "team_bridge.notification_avatar") {
80107
- body = void 0;
80774
+ if (request.op === "account.profile" || request.op === "account.avatar.delete" || request.op === "agent.export" || request.op === "agent.avatar" || request.op === "agent.avatar.delete" || request.op === "sessions.attachment" || request.op === "subagents.attachment" || request.op === "sessions.attachment.waveform" || request.op === "sessions.supplementDocument" || request.op === "library.content" || request.op === "library.thumbnail" || request.op === "library.waveform" || request.op === "notification_sounds.audio" || request.op === "team_bridge.attachment" || request.op === "team_bridge.owner_audit.attachment" || request.op === "team_bridge.avatar" || request.op === "team_bridge.endpoint_avatar" || request.op === "team_bridge.notification_avatar") {
80775
+ body2 = void 0;
80108
80776
  } else if (request.op === "team_bridge.attachment.upload" || request.op === "account.avatar.put" || request.op === "agent.avatar.put") {
80109
80777
  if (!bytes || bytes.byteLength === 0) {
80110
80778
  return {
@@ -80116,13 +80784,13 @@ async function requestDesktopMediaOutcome(input, bytes, backendUrl, token) {
80116
80784
  answered: false
80117
80785
  };
80118
80786
  }
80119
- body = new Blob([bytes]);
80787
+ body2 = new Blob([bytes]);
80120
80788
  contentType = "application/octet-stream";
80121
80789
  } else if (request.op === "account.profile.update") {
80122
- body = JSON.stringify(request.fields);
80790
+ body2 = JSON.stringify(request.fields);
80123
80791
  contentType = "application/json";
80124
80792
  } else if (request.op === "speech.create" || request.op === "speech.agent") {
80125
- body = JSON.stringify(request.request);
80793
+ body2 = JSON.stringify(request.request);
80126
80794
  contentType = "application/json";
80127
80795
  } else {
80128
80796
  if (!bytes) {
@@ -80133,15 +80801,18 @@ async function requestDesktopMediaOutcome(input, bytes, backendUrl, token) {
80133
80801
  }
80134
80802
  const form = new FormData();
80135
80803
  const blob = new Blob([bytes], {
80136
- type: request.op === "transcription.create" ? request.mimeType : "application/zip"
80804
+ type: request.op === "transcription.create" ? request.mimeType : request.op === "notification_sounds.upload" ? "application/octet-stream" : "application/zip"
80137
80805
  });
80138
80806
  form.append("file", blob, request.fileName);
80807
+ if (request.op === "notification_sounds.upload" && request.name) {
80808
+ form.append("name", request.name);
80809
+ }
80139
80810
  if (request.op === "transcription.create") {
80140
80811
  for (const [key, value] of Object.entries(request.fields)) {
80141
80812
  form.append(key, value);
80142
80813
  }
80143
80814
  }
80144
- body = form;
80815
+ body2 = form;
80145
80816
  }
80146
80817
  let answered = false;
80147
80818
  try {
@@ -80155,7 +80826,7 @@ async function requestDesktopMediaOutcome(input, bytes, backendUrl, token) {
80155
80826
  ...request.op === "team_bridge.attachment.upload" && request.mode === "file" && request.fileName ? { "X-Bridge-File-Name": encodeURIComponent(request.fileName) } : {},
80156
80827
  Authorization: `Bearer ${token}`
80157
80828
  },
80158
- body,
80829
+ body: body2,
80159
80830
  // Private avatars are cached only as authority-scoped renderer blobs.
80160
80831
  // Neither Electron nor an intermediary may persist them across login.
80161
80832
  ...request.op === "team_bridge.owner_audit.attachment" || request.op === "team_bridge.avatar" || request.op === "team_bridge.endpoint_avatar" || request.op === "team_bridge.notification_avatar" ? { cache: "no-store" } : {},
@@ -80188,16 +80859,16 @@ async function requestDesktopMediaOutcome(input, bytes, backendUrl, token) {
80188
80859
  let busy = false;
80189
80860
  if (composite && response.status === 503 && response.body && mime === "application/json") {
80190
80861
  const reader2 = response.body.getReader();
80191
- let body2 = "";
80862
+ let body22 = "";
80192
80863
  try {
80193
80864
  for (; ; ) {
80194
80865
  const { done, value } = await reader2.read();
80195
80866
  if (done) break;
80196
- body2 += new TextDecoder().decode(value, { stream: true });
80197
- if (body2.length > 16 * 1024) break;
80867
+ body22 += new TextDecoder().decode(value, { stream: true });
80868
+ if (body22.length > 16 * 1024) break;
80198
80869
  }
80199
- if (body2.length <= 16 * 1024) {
80200
- const envelope = JSON.parse(body2);
80870
+ if (body22.length <= 16 * 1024) {
80871
+ const envelope = JSON.parse(body22);
80201
80872
  busy = typeof envelope === "object" && envelope !== null && "detail" in envelope && typeof envelope.detail === "object" && envelope.detail !== null && "code" in envelope.detail && envelope.detail.code === "renderer_busy";
80202
80873
  }
80203
80874
  } catch {
@@ -80251,6 +80922,7 @@ async function requestDesktopMediaOutcome(input, bytes, backendUrl, token) {
80251
80922
  if (!response.ok) {
80252
80923
  let detail = "The media request failed.";
80253
80924
  let declaredCode;
80925
+ let declaredParams;
80254
80926
  if (responseType.includes("application/json")) {
80255
80927
  try {
80256
80928
  const parsedError = await response.json();
@@ -80264,6 +80936,10 @@ async function requestDesktopMediaOutcome(input, bytes, backendUrl, token) {
80264
80936
  if (typeof envelope.code === "string") {
80265
80937
  declaredCode = envelope.code;
80266
80938
  }
80939
+ const params = raw.params;
80940
+ if (typeof params === "object" && params !== null && !Array.isArray(params)) {
80941
+ declaredParams = scalarParams(params);
80942
+ }
80267
80943
  }
80268
80944
  } catch {
80269
80945
  }
@@ -80277,7 +80953,20 @@ async function requestDesktopMediaOutcome(input, bytes, backendUrl, token) {
80277
80953
  // path the plane has to ADMIT makes the status a pairing fact:
80278
80954
  // `speech.create` and `agent.export` are outside `/v1/desktop/`, where a
80279
80955
  // 503 is that route's own failure and not this app's pairing.
80280
- code: declaredCode !== void 0 && isDesktopRefusalCode(declaredCode) ? declaredCode : desktopRefusalCodeForStatus(target2.path, response.status)
80956
+ code: declaredCode !== void 0 && isDesktopRefusalCode(declaredCode) ? declaredCode : desktopRefusalCodeForStatus(target2.path, response.status),
80957
+ /*
80958
+ * A notification-sound upload's refusal is about the FILE (`too_long`,
80959
+ * `unsupported_format` with `params.format`, ...), and the settings
80960
+ * row's copy and remedy switch on that code, never on `detail`. The
80961
+ * pairing `code` above cannot carry it (that table is closed), so
80962
+ * this op alone forwards the daemon's own code and params.
80963
+ */
80964
+ ...request.op === "notification_sounds.upload" && declaredCode !== void 0 ? {
80965
+ refusal: {
80966
+ code: declaredCode.slice(0, 64),
80967
+ ...declaredParams ? { params: declaredParams } : {}
80968
+ }
80969
+ } : {}
80281
80970
  },
80282
80971
  answered: true
80283
80972
  };
@@ -80601,8 +81290,8 @@ async function requestDesktopOutcome(input, backendUrl, token) {
80601
81290
  let answered = false;
80602
81291
  const deadlineMs = desktopRequestDeadlineMs(request);
80603
81292
  try {
80604
- const body = target2.body === void 0 ? void 0 : JSON.stringify(target2.body);
80605
- if (body && Buffer.byteLength(body) > desktopRequestByteBudget(request.op)) {
81293
+ const body2 = target2.body === void 0 ? void 0 : JSON.stringify(target2.body);
81294
+ if (body2 && Buffer.byteLength(body2) > desktopRequestByteBudget(request.op)) {
80606
81295
  return {
80607
81296
  response: {
80608
81297
  status: 413,
@@ -80615,10 +81304,10 @@ async function requestDesktopOutcome(input, backendUrl, token) {
80615
81304
  method: target2.method,
80616
81305
  headers: {
80617
81306
  Accept: "application/json",
80618
- ...body ? { "Content-Type": "application/json" } : {},
81307
+ ...body2 ? { "Content-Type": "application/json" } : {},
80619
81308
  ...token ? { Authorization: `Bearer ${token}` } : {}
80620
81309
  },
80621
- body,
81310
+ body: body2,
80622
81311
  redirect: "error",
80623
81312
  signal: AbortSignal.timeout(deadlineMs)
80624
81313
  });
@@ -89314,10 +90003,10 @@ ${indent}`) + "'";
89314
90003
  literalFallback = true;
89315
90004
  };
89316
90005
  }
89317
- const body = foldFlowLines2.foldFlowLines(`${start}${foldedValue}${end}`, indent, foldFlowLines2.FOLD_BLOCK, foldOptions);
90006
+ const body2 = foldFlowLines2.foldFlowLines(`${start}${foldedValue}${end}`, indent, foldFlowLines2.FOLD_BLOCK, foldOptions);
89318
90007
  if (!literalFallback)
89319
90008
  return `>${header}
89320
- ${indent}${body}`;
90009
+ ${indent}${body2}`;
89321
90010
  }
89322
90011
  value = value.replace(/\n+/g, `$&${indent}`);
89323
90012
  return `|${header}
@@ -91321,13 +92010,13 @@ function requireStringifyDocument() {
91321
92010
  contentComment = doc.contents.comment;
91322
92011
  }
91323
92012
  const onChompKeep = contentComment ? void 0 : () => chompKeep = true;
91324
- let body = stringify2.stringify(doc.contents, ctx, () => contentComment = null, onChompKeep);
92013
+ let body2 = stringify2.stringify(doc.contents, ctx, () => contentComment = null, onChompKeep);
91325
92014
  if (contentComment)
91326
- body += stringifyComment2.lineComment(body, "", commentString(contentComment));
91327
- if ((body[0] === "|" || body[0] === ">") && lines[lines.length - 1] === "---") {
91328
- lines[lines.length - 1] = `--- ${body}`;
92015
+ body2 += stringifyComment2.lineComment(body2, "", commentString(contentComment));
92016
+ if ((body2[0] === "|" || body2[0] === ">") && lines[lines.length - 1] === "---") {
92017
+ lines[lines.length - 1] = `--- ${body2}`;
91329
92018
  } else
91330
- lines.push(body);
92019
+ lines.push(body2);
91331
92020
  } else {
91332
92021
  lines.push(stringify2.stringify(doc.contents, ctx));
91333
92022
  }
@@ -93313,13 +94002,13 @@ function requireCstScalar() {
93313
94002
  case ">": {
93314
94003
  const he = source.indexOf("\n");
93315
94004
  const head = source.substring(0, he);
93316
- const body = source.substring(he + 1) + "\n";
94005
+ const body2 = source.substring(he + 1) + "\n";
93317
94006
  const props = [
93318
94007
  { type: "block-scalar-header", offset, indent, source: head }
93319
94008
  ];
93320
94009
  if (!addEndtoBlockProps(props, end))
93321
94010
  props.push({ type: "newline", offset: -1, indent, source: "\n" });
93322
- return { type: "block-scalar", offset, indent, props, source: body };
94011
+ return { type: "block-scalar", offset, indent, props, source: body2 };
93323
94012
  }
93324
94013
  case '"':
93325
94014
  return { type: "double-quoted-scalar", offset, indent, source, end };
@@ -93376,13 +94065,13 @@ function requireCstScalar() {
93376
94065
  function setBlockScalarValue(token, source) {
93377
94066
  const he = source.indexOf("\n");
93378
94067
  const head = source.substring(0, he);
93379
- const body = source.substring(he + 1) + "\n";
94068
+ const body2 = source.substring(he + 1) + "\n";
93380
94069
  if (token.type === "block-scalar") {
93381
94070
  const header = token.props[0];
93382
94071
  if (header.type !== "block-scalar-header")
93383
94072
  throw new Error("Invalid block scalar header");
93384
94073
  header.source = head;
93385
- token.source = body;
94074
+ token.source = body2;
93386
94075
  } else {
93387
94076
  const { offset } = token;
93388
94077
  const indent = "indent" in token ? token.indent : -1;
@@ -93394,7 +94083,7 @@ function requireCstScalar() {
93394
94083
  for (const key of Object.keys(token))
93395
94084
  if (key !== "type" && key !== "offset")
93396
94085
  delete token[key];
93397
- Object.assign(token, { type: "block-scalar", indent, props, source: body });
94086
+ Object.assign(token, { type: "block-scalar", indent, props, source: body2 });
93398
94087
  }
93399
94088
  }
93400
94089
  function addEndtoBlockProps(props, end) {
@@ -96472,16 +97161,16 @@ class Osc133Scanner {
96472
97161
  return null;
96473
97162
  }
96474
97163
  finish() {
96475
- const body = this.body;
97164
+ const body2 = this.body;
96476
97165
  const offset = this.sequenceStart ?? 0;
96477
97166
  this.body = null;
96478
97167
  this.escaped = false;
96479
97168
  this.sequenceStart = null;
96480
- if (body === null || this.overflowed) {
97169
+ if (body2 === null || this.overflowed) {
96481
97170
  this.overflowed = false;
96482
97171
  return null;
96483
97172
  }
96484
- return parseBody(body, offset);
97173
+ return parseBody(body2, offset);
96485
97174
  }
96486
97175
  abandon() {
96487
97176
  this.body = null;
@@ -96489,8 +97178,8 @@ class Osc133Scanner {
96489
97178
  this.sequenceStart = null;
96490
97179
  }
96491
97180
  }
96492
- function parseBody(body, offset) {
96493
- const text2 = String.fromCharCode(...body);
97181
+ function parseBody(body2, offset) {
97182
+ const text2 = String.fromCharCode(...body2);
96494
97183
  const [kind, status2] = text2.split(";");
96495
97184
  const mapped = KINDS[kind];
96496
97185
  if (!mapped) return null;
@@ -99497,11 +100186,11 @@ async function startConsoleHost(options) {
99497
100186
  throw new AggregateError(failures, "Partial console cleanup incomplete.");
99498
100187
  };
99499
100188
  try {
99500
- const configDir = options.configDir ?? localOperatorConfigDir();
100189
+ const configDir2 = options.configDir ?? localOperatorConfigDir();
99501
100190
  const history = new ConsoleHistory(
99502
- path$1.join(configDir, "run", "ui-console", "history")
100191
+ path$1.join(configDir2, "run", "ui-console", "history")
99503
100192
  );
99504
- const policyEnv = { ...process.env, LOCAL_OPERATOR_CONFIG_DIR: configDir };
100193
+ const policyEnv = { ...process.env, LOCAL_OPERATOR_CONFIG_DIR: configDir2 };
99505
100194
  const policy = readConsolePolicy(policyEnv);
99506
100195
  const registry = new ConsoleRegistry({
99507
100196
  policy: policy ? {
@@ -99776,14 +100465,14 @@ function parseKeychainAccessGroups(entitlementsPlist) {
99776
100465
  const arrayStart = after.indexOf("<array>");
99777
100466
  const arrayEnd = after.indexOf("</array>", arrayStart + 1);
99778
100467
  if (arrayStart === -1 || arrayEnd === -1) return [];
99779
- const body = after.slice(arrayStart + "<array>".length, arrayEnd);
100468
+ const body2 = after.slice(arrayStart + "<array>".length, arrayEnd);
99780
100469
  const groups = [];
99781
100470
  const pattern = /<string>([^<]*)<\/string>/g;
99782
- let match = pattern.exec(body);
100471
+ let match = pattern.exec(body2);
99783
100472
  while (match !== null) {
99784
100473
  const value = match[1].trim();
99785
100474
  if (value) groups.push(value);
99786
- match = pattern.exec(body);
100475
+ match = pattern.exec(body2);
99787
100476
  }
99788
100477
  return groups;
99789
100478
  }
@@ -104571,17 +105260,17 @@ function findEntry(capture, requestId2) {
104571
105260
  }
104572
105261
  function retainBody(capture, entry, data) {
104573
105262
  if (!capture.active || !capture.entries.includes(entry)) return;
104574
- const body = Buffer.from(data, "utf8");
104575
- if (body.length > MAX_BODY_PER_REQUEST) {
105263
+ const body2 = Buffer.from(data, "utf8");
105264
+ if (body2.length > MAX_BODY_PER_REQUEST) {
104576
105265
  capture.droppedBodies++;
104577
105266
  return;
104578
105267
  }
104579
105268
  if (entry.request_body_base64 !== void 0) {
104580
105269
  capture.bodyBytes -= entry.request_body_size ?? 0;
104581
105270
  }
104582
- entry.request_body_base64 = body.toString("base64");
104583
- entry.request_body_size = body.length;
104584
- capture.bodyBytes += body.length;
105271
+ entry.request_body_base64 = body2.toString("base64");
105272
+ entry.request_body_size = body2.length;
105273
+ capture.bodyBytes += body2.length;
104585
105274
  trim(capture);
104586
105275
  }
104587
105276
  function pullPostData(capture, requestId2) {
@@ -104843,11 +105532,11 @@ const u16 = (value) => {
104843
105532
  return out;
104844
105533
  };
104845
105534
  const box = (type2, ...children) => {
104846
- const body = Buffer.concat(children);
105535
+ const body2 = Buffer.concat(children);
104847
105536
  return Buffer.concat([
104848
- u32(8 + body.length),
105537
+ u32(8 + body2.length),
104849
105538
  Buffer.from(type2, "latin1"),
104850
- body
105539
+ body2
104851
105540
  ]);
104852
105541
  };
104853
105542
  const fullBox = (type2, version, flags, ...children) => box(type2, u32(version << 24 | flags), ...children);
@@ -106451,12 +107140,12 @@ async function recordStart(ctx, params, requestId2) {
106451
107140
  await waitForCompositedFrame(ctx.cdp, contents, measured);
106452
107141
  }
106453
107142
  if (quality === "high" && ctx.recordingEncoder) {
106454
- const service = ctx.recordingEncoder;
107143
+ const service2 = ctx.recordingEncoder;
106455
107144
  await HqSession.start(
106456
107145
  {
106457
107146
  cdp: ctx.cdp,
106458
107147
  contents,
106459
- service,
107148
+ service: service2,
106460
107149
  maxWidth: measured?.width ?? RECORD_WIDTH,
106461
107150
  maxHeight: measured?.height ?? RECORD_HEIGHT,
106462
107151
  size: measured,
@@ -108204,10 +108893,10 @@ async function frameSnapshots(ctx, record, topNodes, refs) {
108204
108893
  };
108205
108894
  }
108206
108895
  const indent = " ".repeat(depth);
108207
- const body = inner.replace(REF_LABEL, (_m, n) => `[e${Number(n) + offset}]`).split("\n").filter(Boolean).map((line) => `${indent} ${line}`);
108896
+ const body2 = inner.replace(REF_LABEL, (_m, n) => `[e${Number(n) + offset}]`).split("\n").filter(Boolean).map((line) => `${indent} ${line}`);
108208
108897
  blocks.push(
108209
108898
  `${indent}- frame ${scope.path.join(` ${FRAME_HOP} `)}${scope.origin ? ` (${scope.origin})` : ""}:`,
108210
- ...body
108899
+ ...body2
108211
108900
  );
108212
108901
  next.push({ scope, nodes: frameNodes });
108213
108902
  } catch (error) {
@@ -113131,6 +113820,289 @@ class NotificationLifetime {
113131
113820
  return this.live.size;
113132
113821
  }
113133
113822
  }
113823
+ const NOTIFICATION_SOUND_PLAY_CHANNEL = "notification-sound:play";
113824
+ const NOTIFICATION_TEST_CHANNEL = "notification-sound:test";
113825
+ const SETTING_ENABLED = "notifications.sound.enabled";
113826
+ const SETTING_ID = "notifications.sound.id";
113827
+ const SETTING_VOLUME = "notifications.sound.volume";
113828
+ const DEFAULT_SOUND_ID = "soft-pulse";
113829
+ const DEFAULT_VOLUME = 70;
113830
+ const SYSTEM_SOUND_ID = "system";
113831
+ const ENV_NO_SOUND = "LOCAL_OPERATOR_NO_SOUND";
113832
+ const THROTTLE_MS = 1500;
113833
+ const THROTTLE_FILE = path$1.join("run", "notification-sound.last");
113834
+ const STAGED_PREFIX = "LocalOperator-";
113835
+ function configDir(env) {
113836
+ return env.LOCAL_OPERATOR_CONFIG_DIR || path$1.join(os.homedir(), ".local-operator");
113837
+ }
113838
+ function body(response) {
113839
+ if (response.status !== 200 || !response.body) return;
113840
+ const result = response.body.result;
113841
+ return result && typeof result === "object" ? result : void 0;
113842
+ }
113843
+ function stagedSoundName(soundId, volume, bytes, env = process.env) {
113844
+ const sha = node_crypto.createHash("sha256").update(bytes).digest("hex").slice(0, 8);
113845
+ return `${stagedScopePrefix(env)}${soundId}-${volume}-${sha}.wav`;
113846
+ }
113847
+ function stagedScopePrefix(env = process.env) {
113848
+ const scope = node_crypto.createHash("sha256").update(configDir(env)).digest("hex").slice(0, 8);
113849
+ return `${STAGED_PREFIX}${scope}-`;
113850
+ }
113851
+ const MAX_NOTIFICATION_SOUND_BYTES = 4 * 1024 * 1024;
113852
+ class NotificationSoundService {
113853
+ constructor(deps) {
113854
+ this.deps = deps;
113855
+ this.platform = deps.platform ?? process.platform;
113856
+ this.env = deps.env ?? process.env;
113857
+ this.soundsDir = deps.soundsDir ?? path$1.join(os.homedir(), "Library", "Sounds");
113858
+ this.now = deps.now ?? Date.now;
113859
+ }
113860
+ plan = { kind: "legacy" };
113861
+ /**
113862
+ * Whether any read has completed from real answers. Until one has, every
113863
+ * banner kicks a read (see `bannerOptions`), so the window in which a banner
113864
+ * can only follow `legacy` is as short as the backend allows.
113865
+ */
113866
+ settled = false;
113867
+ inFlight = null;
113868
+ /** Bumped by every refresh, so a slow older read cannot overwrite a newer one. */
113869
+ generation = 0;
113870
+ platform;
113871
+ env;
113872
+ soundsDir;
113873
+ now;
113874
+ /** The current plan; read by the probe and the tests, never by a site. */
113875
+ current() {
113876
+ return this.plan;
113877
+ }
113878
+ /**
113879
+ * Re-read the capability and the three settings, then fetch and stage the
113880
+ * sound. Never throws: a sound is a convenience.
113881
+ *
113882
+ * ANY UNANSWERED READ KEEPS THE LAST PLAN (review round 1 M1, QA Q1). These
113883
+ * reads run on every backend-ready, which is exactly when a restarting
113884
+ * backend answers 0/503/504. Reading such an answer as "no settings" fell
113885
+ * through to the defaults and played soft-pulse for a user who had turned
113886
+ * sounds off; reading it as "no capability" played the OS chime. Only a
113887
+ * capabilities answer that is a 200 WITHOUT the flag means an older backend.
113888
+ */
113889
+ refresh() {
113890
+ const run = this.read().finally(() => {
113891
+ if (this.inFlight === run) this.inFlight = null;
113892
+ });
113893
+ this.inFlight = run;
113894
+ return run;
113895
+ }
113896
+ keep(what, status2) {
113897
+ this.deps.log?.(
113898
+ `[notification-sound] ${what} unanswered (status ${status2}); keeping ${this.plan.kind}`
113899
+ );
113900
+ }
113901
+ async read() {
113902
+ const generation = ++this.generation;
113903
+ const stale = () => generation !== this.generation;
113904
+ try {
113905
+ const capabilitiesResponse = await this.deps.request({
113906
+ op: "capabilities"
113907
+ });
113908
+ if (stale()) return;
113909
+ const capabilities = body(capabilitiesResponse);
113910
+ if (!capabilities)
113911
+ return this.keep("capabilities", capabilitiesResponse.status);
113912
+ const features = capabilities.features;
113913
+ if (Number(features?.notification_sounds ?? 0) < 1) {
113914
+ this.plan = { kind: "legacy" };
113915
+ this.settled = true;
113916
+ return;
113917
+ }
113918
+ const listingResponse = await this.deps.request({ op: "settings.list" });
113919
+ if (stale()) return;
113920
+ const listing = body(listingResponse);
113921
+ if (!Array.isArray(listing?.settings))
113922
+ return this.keep("settings.list", listingResponse.status);
113923
+ const rows = listing.settings;
113924
+ const value = (key) => rows.find((row) => row?.key === key)?.value;
113925
+ const enabled = value(SETTING_ENABLED);
113926
+ const rawId = value(SETTING_ID);
113927
+ const rawVolume = value(SETTING_VOLUME);
113928
+ const soundId = typeof rawId === "string" && rawId ? rawId : DEFAULT_SOUND_ID;
113929
+ const volume = typeof rawVolume === "number" && Number.isFinite(rawVolume) ? Math.min(100, Math.max(0, Math.round(rawVolume))) : DEFAULT_VOLUME;
113930
+ if (this.env[ENV_NO_SOUND]) {
113931
+ this.plan = { kind: "silent", reason: `${ENV_NO_SOUND} is set` };
113932
+ this.settled = true;
113933
+ return;
113934
+ }
113935
+ if (enabled === false) {
113936
+ this.plan = { kind: "silent", reason: `${SETTING_ENABLED} is off` };
113937
+ this.settled = true;
113938
+ return;
113939
+ }
113940
+ if (soundId === SYSTEM_SOUND_ID) {
113941
+ this.plan = { kind: "system" };
113942
+ this.settled = true;
113943
+ return;
113944
+ }
113945
+ if (volume === 0) {
113946
+ this.plan = { kind: "silent", reason: `${SETTING_VOLUME} is 0` };
113947
+ this.settled = true;
113948
+ return;
113949
+ }
113950
+ let resolvedId = soundId;
113951
+ let audio = await this.fetchAudio(resolvedId, volume);
113952
+ if (stale()) return;
113953
+ if (audio.kind !== "bytes" && (audio.status === 404 || audio.status === 422) && resolvedId !== DEFAULT_SOUND_ID) {
113954
+ this.deps.log?.(
113955
+ `[notification-sound] ${resolvedId} not found (status ${audio.status}); using ${DEFAULT_SOUND_ID}`
113956
+ );
113957
+ resolvedId = DEFAULT_SOUND_ID;
113958
+ audio = await this.fetchAudio(resolvedId, volume);
113959
+ if (stale()) return;
113960
+ }
113961
+ if (audio.kind !== "bytes" || !audio.mimeType.toLowerCase().startsWith("audio/wav") || audio.data.byteLength === 0 || audio.data.byteLength > MAX_NOTIFICATION_SOUND_BYTES) {
113962
+ this.deps.log?.(
113963
+ `[notification-sound] audio for ${resolvedId} unavailable (status ${audio.status}); keeping ${this.plan.kind}`
113964
+ );
113965
+ return;
113966
+ }
113967
+ const staged = this.platform === "darwin" ? this.stage(resolvedId, volume, audio.data) : null;
113968
+ this.plan = {
113969
+ kind: "file",
113970
+ soundId: resolvedId,
113971
+ volume,
113972
+ bytes: audio.data,
113973
+ staged
113974
+ };
113975
+ this.settled = true;
113976
+ this.deps.log?.(
113977
+ `[notification-sound] ready id=${resolvedId} volume=${volume} bytes=${audio.data.byteLength} staged=${staged ?? "none"}`
113978
+ );
113979
+ } catch (error) {
113980
+ this.deps.log?.(`[notification-sound] refresh failed: ${String(error)}`);
113981
+ }
113982
+ }
113983
+ fetchAudio(soundId, volume) {
113984
+ return this.deps.media({
113985
+ op: "notification_sounds.audio",
113986
+ soundId,
113987
+ volume
113988
+ });
113989
+ }
113990
+ /**
113991
+ * A `config` feed frame: re-read only when a sound setting changed.
113992
+ *
113993
+ * The live feed names TOP-LEVEL config keys (core `desktop_feed.py` diffs
113994
+ * the top level), so a PATCH of `notifications.sound.volume` arrives as
113995
+ * `["notifications"]` (captured from `/v1/desktop/events`, QA round 1 Q2).
113996
+ * The dotted spellings are accepted too, so a feed that one day names
113997
+ * registry keys keeps working.
113998
+ */
113999
+ observeConfigChange(changedKeys) {
114000
+ if (changedKeys.some(
114001
+ (key) => key === "notifications" || key.startsWith("notifications.")
114002
+ ))
114003
+ void this.refresh();
114004
+ }
114005
+ /**
114006
+ * Write the WAV into `~/Library/Sounds` and prune older stagings. Returns the
114007
+ * file name the banner's `sound` carries, or `null` (the renderer fallback).
114008
+ *
114009
+ * Written to a temporary name and renamed, so the OS never opens a
114010
+ * half-written file under the name a banner points at.
114011
+ */
114012
+ stage(soundId, volume, bytes) {
114013
+ const name = stagedSoundName(soundId, volume, bytes, this.env);
114014
+ const scope = stagedScopePrefix(this.env);
114015
+ try {
114016
+ fs.mkdirSync(this.soundsDir, { recursive: true });
114017
+ const target2 = path$1.join(this.soundsDir, name);
114018
+ const temporary = path$1.join(this.soundsDir, `.${name}.${process.pid}.tmp`);
114019
+ fs.writeFileSync(temporary, bytes);
114020
+ fs.renameSync(temporary, target2);
114021
+ } catch (error) {
114022
+ this.deps.log?.(
114023
+ `[notification-sound] staging ${name} failed: ${String(error)}`
114024
+ );
114025
+ return null;
114026
+ }
114027
+ try {
114028
+ for (const entry of fs.readdirSync(this.soundsDir)) {
114029
+ const stale = entry !== name && entry.startsWith(scope) && entry.endsWith(".wav") || entry.startsWith(`.${scope}`) && entry.endsWith(".tmp");
114030
+ if (stale) fs.unlinkSync(path$1.join(this.soundsDir, entry));
114031
+ }
114032
+ } catch {
114033
+ }
114034
+ return name;
114035
+ }
114036
+ /**
114037
+ * The machine-wide sound slot, in two steps: `throttled()` reads it and
114038
+ * `takeSlot()` touches it. A `stat` and then a touch, NOT atomic, on purpose
114039
+ * (the backend's `claim_throttle` says why): a lost race costs one extra
114040
+ * chime, and a lock could lose a sound to a stale lock. Split so the
114041
+ * renderer fallback takes the slot only once a window accepted the sound
114042
+ * (QA round 1 Q3b): no window means no sound, and no sound must not silence
114043
+ * the TUI for 1.5 s. Fails OPEN when the run dir cannot be written, because
114044
+ * a tidiness rule must not become silence.
114045
+ */
114046
+ throttled() {
114047
+ const path2 = path$1.join(configDir(this.env), THROTTLE_FILE);
114048
+ try {
114049
+ const age = this.now() - fs.statSync(path2).mtimeMs;
114050
+ return age >= 0 && age < THROTTLE_MS;
114051
+ } catch {
114052
+ return false;
114053
+ }
114054
+ }
114055
+ takeSlot() {
114056
+ const path2 = path$1.join(configDir(this.env), THROTTLE_FILE);
114057
+ const stamp = this.now();
114058
+ try {
114059
+ fs.mkdirSync(path$1.join(configDir(this.env), "run"), { recursive: true });
114060
+ fs.closeSync(fs.openSync(path2, "a"));
114061
+ fs.utimesSync(path2, stamp / 1e3, stamp / 1e3);
114062
+ } catch {
114063
+ }
114064
+ }
114065
+ /**
114066
+ * The `silent` / `sound` options for a banner about to be shown. Call it
114067
+ * IMMEDIATELY before `new Notification` and show that banner: on the
114068
+ * fallback path it also starts the renderer sound, and it takes the
114069
+ * throttle slot.
114070
+ *
114071
+ * `silent` is the site's own request. A site asking for silence (Team
114072
+ * Bridge's coalesced replacement banner) always gets it and spends no slot.
114073
+ */
114074
+ bannerOptions(silent = false) {
114075
+ if (!this.settled && !this.inFlight) void this.refresh();
114076
+ if (silent) return { silent: true };
114077
+ const plan = this.plan;
114078
+ switch (plan.kind) {
114079
+ case "legacy":
114080
+ case "system":
114081
+ if (this.throttled()) return { silent: true };
114082
+ this.takeSlot();
114083
+ return { silent: false };
114084
+ case "silent":
114085
+ return { silent: true };
114086
+ case "file": {
114087
+ if (this.throttled()) return { silent: true };
114088
+ if (plan.staged) {
114089
+ this.takeSlot();
114090
+ return { silent: false, sound: plan.staged };
114091
+ }
114092
+ if (this.deps.playInRenderer(plan.bytes)) this.takeSlot();
114093
+ return { silent: true };
114094
+ }
114095
+ }
114096
+ }
114097
+ }
114098
+ let service = null;
114099
+ function configureNotificationSound(deps) {
114100
+ service = deps ? new NotificationSoundService(deps) : null;
114101
+ return service;
114102
+ }
114103
+ function notificationSoundOptions(silent = false) {
114104
+ return service ? service.bannerOptions(silent) : { silent };
114105
+ }
113134
114106
  const CONSENT_TITLE = () => t("ui.notices.main.consent_title");
113135
114107
  function consentBody(count, origin) {
113136
114108
  return count === 1 ? t("ui.notices.main.consent_body_one", { origin }) : t("ui.notices.main.consent_body_many", { count });
@@ -113181,7 +114153,8 @@ class ConsentNotifier {
113181
114153
  {
113182
114154
  title: CONSENT_TITLE(),
113183
114155
  body: consentBody(count, oldest.origin),
113184
- silent: false
114156
+ // The configured sound (or none); see `notification-sound.ts`.
114157
+ ...notificationSoundOptions()
113185
114158
  }
113186
114159
  );
113187
114160
  this.lifetime.retain(
@@ -115338,12 +116311,12 @@ const KEY_HEADER = "x-bridge-key";
115338
116311
  const INSTANCE_HEADER = "x-ui-browser-instance";
115339
116312
  const MAX_BODY_BYTES = 1 << 20;
115340
116313
  const LOOPBACK_HOST = "127.0.0.1";
115341
- function send(res, status2, body, contentType = "application/json") {
116314
+ function send(res, status2, body2, contentType = "application/json") {
115342
116315
  res.writeHead(status2, {
115343
116316
  "Content-Type": contentType,
115344
116317
  "Cache-Control": "no-store"
115345
116318
  });
115346
- res.end(typeof body === "string" ? body : JSON.stringify(body));
116319
+ res.end(typeof body2 === "string" ? body2 : JSON.stringify(body2));
115347
116320
  }
115348
116321
  function readBody(req) {
115349
116322
  return new Promise((resolve, reject) => {
@@ -115458,7 +116431,7 @@ async function handle(req, res, options) {
115458
116431
  const url = req.url ?? "";
115459
116432
  try {
115460
116433
  if (req.method === "GET" && url.split("?")[0] === HEALTH_PATH) {
115461
- const body = {
116434
+ const body2 = {
115462
116435
  host: "ui",
115463
116436
  proto: PROTO_VERSION,
115464
116437
  pid: process.pid,
@@ -115474,7 +116447,7 @@ async function handle(req, res, options) {
115474
116447
  // `capability_unsupported` possible without opening a socket.
115475
116448
  capabilities: [...HOST_CAPABILITIES]
115476
116449
  };
115477
- send(res, 200, body);
116450
+ send(res, 200, body2);
115478
116451
  return;
115479
116452
  }
115480
116453
  if (req.method !== "POST" || url.split("?")[0] !== RPC_PATH) {
@@ -118366,9 +119339,9 @@ class DesktopNotifier {
118366
119339
  }
118367
119340
  if (generation !== this.contractGeneration) return;
118368
119341
  if (response?.status === 200) {
118369
- const body = response.body;
119342
+ const body2 = response.body;
118370
119343
  this.applyNotificationContract(
118371
- body?.result?.features?.notification_contract
119344
+ body2?.result?.features?.notification_contract
118372
119345
  );
118373
119346
  this.contractAnswered = true;
118374
119347
  return;
@@ -118665,8 +119638,8 @@ class DesktopNotifier {
118665
119638
  completionToken
118666
119639
  });
118667
119640
  if (response.status !== 200) return "failed";
118668
- const body = response.body;
118669
- return body?.result?.claimed === true ? "won" : "lost";
119641
+ const body2 = response.body;
119642
+ return body2?.result?.claimed === true ? "won" : "lost";
118670
119643
  } catch {
118671
119644
  return "failed";
118672
119645
  }
@@ -118924,12 +119897,13 @@ class DesktopNotifier {
118924
119897
  * still re-words nothing (design 8.4). Gates pass `status = ""` and are
118925
119898
  * unaffected either way.
118926
119899
  */
118927
- show(sessionId2, title, status2, body, isSnippet = false, isFailure = false, surface = null) {
119900
+ show(sessionId2, title, status2, body2, isSnippet = false, isFailure = false, surface = null) {
118928
119901
  const lead = (isSnippet || isFailure) && status2 ? `${status2} — ` : "";
118929
119902
  const notification = new electron.Notification({
118930
119903
  title,
118931
- body: `${lead}${body}`.slice(0, MAX_BODY_CHARS),
118932
- silent: false
119904
+ body: `${lead}${body2}`.slice(0, MAX_BODY_CHARS),
119905
+ // The configured sound (or none); see `notification-sound.ts`.
119906
+ ...notificationSoundOptions()
118933
119907
  });
118934
119908
  this.lifetime.retain(notification, () => {
118935
119909
  const target2 = this.window();
@@ -119445,9 +120419,9 @@ function deviceLocaleFor(appLike) {
119445
120419
  };
119446
120420
  return attempt(appLike?.getPreferredSystemLanguages) ?? attempt(appLike?.getSystemLocale) ?? attempt(appLike?.getLocale);
119447
120421
  }
119448
- function asCapabilitiesAnswer(body) {
119449
- if (body === null || typeof body !== "object") return null;
119450
- const result = body.result;
120422
+ function asCapabilitiesAnswer(body2) {
120423
+ if (body2 === null || typeof body2 !== "object") return null;
120424
+ const result = body2.result;
119451
120425
  return result !== null && typeof result === "object" ? result : null;
119452
120426
  }
119453
120427
  function createMainLocale(options) {
@@ -119958,6 +120932,35 @@ function createMiniView(options) {
119958
120932
  }
119959
120933
  return { window, toggle, hide, dispose, applyGlassState };
119960
120934
  }
120935
+ const REFRESH_BOUND_MS = 1500;
120936
+ const lifetime = new NotificationLifetime();
120937
+ async function sendTestNotification(deps) {
120938
+ if (deps.windowRaise === "never")
120939
+ return { shown: false, reason: "suppressed" };
120940
+ const supported = deps.isSupported ?? (() => electron.Notification.isSupported());
120941
+ if (!supported()) return { shown: false, reason: "unsupported" };
120942
+ const service2 = deps.sound();
120943
+ if (service2) {
120944
+ await Promise.race([
120945
+ service2.refresh(),
120946
+ new Promise((resolve) => {
120947
+ const timer = setTimeout(resolve, REFRESH_BOUND_MS);
120948
+ timer.unref?.();
120949
+ })
120950
+ ]);
120951
+ }
120952
+ const create2 = deps.create ?? ((options) => new electron.Notification(options));
120953
+ const notification = create2({
120954
+ title: t("ui.settings.notifications.test.banner_title"),
120955
+ body: t("ui.settings.notifications.test.banner_body"),
120956
+ // The configured sound (or none): the whole point of the test.
120957
+ ...notificationSoundOptions()
120958
+ });
120959
+ lifetime.retain(notification, () => {
120960
+ });
120961
+ notification.show();
120962
+ return { shown: true };
120963
+ }
119961
120964
  const PALETTE_DOOR_CHANNELS = {
119962
120965
  everything: "toggle-command-palette",
119963
120966
  commands: "toggle-command-palette-commands"
@@ -120879,7 +121882,7 @@ function parseTeamBridgeNotifyRequest(value) {
120879
121882
  const conversationId = cleanId(input.conversationId);
120880
121883
  const tenantId = cleanId(input.tenantId);
120881
121884
  const title = cleanText(input.title, TEAM_BRIDGE_NOTIFY_MAX_TITLE);
120882
- const body = cleanText(input.body, TEAM_BRIDGE_NOTIFY_MAX_BODY);
121885
+ const body2 = cleanText(input.body, TEAM_BRIDGE_NOTIFY_MAX_BODY);
120883
121886
  const seq2 = input.seq;
120884
121887
  const sender = parseTeamBridgeNotificationSender(input.sender);
120885
121888
  const subtitle = input.subtitle === void 0 ? void 0 : cleanText(input.subtitle, TEAM_BRIDGE_NOTIFY_MAX_SUBTITLE);
@@ -120889,7 +121892,7 @@ function parseTeamBridgeNotifyRequest(value) {
120889
121892
  if (subtitle === null || threadId === null || messageId === null || viewing !== void 0 && typeof viewing !== "boolean") {
120890
121893
  return null;
120891
121894
  }
120892
- if (!owner?.accountId || conversationId === null || tenantId === null || title === null || body === null || typeof seq2 !== "number" || !Number.isSafeInteger(seq2) || seq2 < 0 || seq2 > MAX_SEQ) {
121895
+ if (!owner?.accountId || conversationId === null || tenantId === null || title === null || body2 === null || typeof seq2 !== "number" || !Number.isSafeInteger(seq2) || seq2 < 0 || seq2 > MAX_SEQ) {
120893
121896
  return null;
120894
121897
  }
120895
121898
  return {
@@ -120897,7 +121900,7 @@ function parseTeamBridgeNotifyRequest(value) {
120897
121900
  conversationId,
120898
121901
  tenantId,
120899
121902
  title,
120900
- body,
121903
+ body: body2,
120901
121904
  seq: seq2,
120902
121905
  ...sender ? { sender } : {},
120903
121906
  ...subtitle === void 0 ? {} : { subtitle },
@@ -121492,7 +122495,9 @@ class TeamBridgeNotifier {
121492
122495
  { ...request, title },
121493
122496
  this.options.platform ?? process.platform
121494
122497
  ),
121495
- silent: burst,
122498
+ // A coalesced replacement stays silent ("no second sound"); otherwise
122499
+ // the configured sound (or none), see `notification-sound.ts`.
122500
+ ...notificationSoundOptions(burst),
121496
122501
  ...icon2 ? { icon: icon2 } : {}
121497
122502
  });
121498
122503
  const conversationId = request.conversationId;
@@ -121882,11 +122887,11 @@ function serveOnTarget(bootVersion, installVersion, target2) {
121882
122887
  const order = compareVersions(boot, installed);
121883
122888
  return order === null ? boot === installed : order >= 0;
121884
122889
  }
121885
- function runtimeStragglerCount(body, current) {
122890
+ function runtimeStragglerCount(body2, current) {
121886
122891
  const currentBuild = current?.trim() ?? "";
121887
122892
  if (currentBuild === "") return null;
121888
- if (!isRecord(body)) return null;
121889
- const result = body.result;
122893
+ if (!isRecord(body2)) return null;
122894
+ const result = body2.result;
121890
122895
  if (!isRecord(result)) return null;
121891
122896
  const runtimes = result.runtimes;
121892
122897
  if (!Array.isArray(runtimes)) return null;
@@ -122477,9 +123482,9 @@ function rememberReleaseNotes(cache, notes) {
122477
123482
  function cachedReleaseNotes(cache, version) {
122478
123483
  return cache[String(version ?? "").trim()] ?? null;
122479
123484
  }
122480
- function summariseReleaseBody(body, limit = SUMMARY_LIMIT) {
122481
- if (typeof body !== "string") return null;
122482
- const blocks = body.replace(CRLF, "\n").split(BLANK_LINE);
123485
+ function summariseReleaseBody(body2, limit = SUMMARY_LIMIT) {
123486
+ if (typeof body2 !== "string") return null;
123487
+ const blocks = body2.replace(CRLF, "\n").split(BLANK_LINE);
122483
123488
  for (const block of blocks) {
122484
123489
  const text2 = flattenBlock(block);
122485
123490
  if (text2 && !isMachineRow(text2)) return truncateSummary(text2, limit);
@@ -123099,7 +124104,8 @@ function bannerReportedShown(notice, deadlineMs) {
123099
124104
  const notification = new electron.Notification({
123100
124105
  title: notice.title,
123101
124106
  body: notice.body,
123102
- silent: false
124107
+ // The configured sound (or none); see `notification-sound.ts`.
124108
+ ...notificationSoundOptions()
123103
124109
  });
123104
124110
  notification.on("show", () => {
123105
124111
  clearTimeout(deadline2);
@@ -131024,6 +132030,17 @@ electron.app.whenReady().then(async () => {
131024
132030
  return response;
131025
132031
  }
131026
132032
  );
132033
+ const notificationSound = configureNotificationSound({
132034
+ request: (input) => backendService.requestDesktop(input),
132035
+ media: (input) => backendService.requestDesktopMedia(input, null),
132036
+ playInRenderer: (bytes) => {
132037
+ const window = mainWindow;
132038
+ if (!window || window.isDestroyed()) return false;
132039
+ window.webContents.send(NOTIFICATION_SOUND_PLAY_CHANNEL, bytes);
132040
+ return true;
132041
+ },
132042
+ log: (line) => logger.info(line, LogFileType.BACKEND)
132043
+ });
131027
132044
  const desktopNotifier = new DesktopNotifier(
131028
132045
  () => mainWindow,
131029
132046
  sendDesktop,
@@ -131113,15 +132130,16 @@ electron.app.whenReady().then(async () => {
131113
132130
  notificationEndpointAvatarAvailable = false;
131114
132131
  notificationImages.clear();
131115
132132
  void backendService.requestDesktop({ op: "capabilities" }).then((response) => {
131116
- const body = response.body;
132133
+ const body2 = response.body;
131117
132134
  notificationAvatarAvailable = Number(
131118
- body?.result?.features?.team_bridge_notification_avatar ?? 0
132135
+ body2?.result?.features?.team_bridge_notification_avatar ?? 0
131119
132136
  ) >= 1;
131120
- notificationEndpointAvatarAvailable = Number(body?.result?.features?.team_bridge_endpoint_avatar ?? 0) >= 1;
132137
+ notificationEndpointAvatarAvailable = Number(body2?.result?.features?.team_bridge_endpoint_avatar ?? 0) >= 1;
131121
132138
  if (notificationAvatarAvailable)
131122
132139
  teamBridgeNotifier.replayDirectories();
131123
132140
  }).catch(() => void 0);
131124
132141
  void mainLocale.refresh();
132142
+ void notificationSound?.refresh();
131125
132143
  void desktopNotifier.refreshNotificationContract();
131126
132144
  void backendService.getDesktopFeedRelay().start();
131127
132145
  void publishViewerPresence();
@@ -131153,6 +132171,8 @@ electron.app.whenReady().then(async () => {
131153
132171
  if (frame.type === "config" && frame.payload.changed_keys.includes(LANGUAGE_SETTING_KEY)) {
131154
132172
  void mainLocale.refresh();
131155
132173
  }
132174
+ if (frame.type === "config")
132175
+ notificationSound?.observeConfigChange(frame.payload.changed_keys);
131156
132176
  const window = mainWindow;
131157
132177
  if (!window || window.isDestroyed()) return;
131158
132178
  window.webContents.send("desktop-feed-frame", frame);
@@ -131210,8 +132230,8 @@ electron.app.whenReady().then(async () => {
131210
132230
  const response = await backendService.requestDesktop({
131211
132231
  op: "capabilities"
131212
132232
  });
131213
- const body = response.body;
131214
- features = body?.result?.features;
132233
+ const body2 = response.body;
132234
+ features = body2?.result?.features;
131215
132235
  } catch {
131216
132236
  return;
131217
132237
  }
@@ -131364,9 +132384,9 @@ electron.app.whenReady().then(async () => {
131364
132384
  null
131365
132385
  );
131366
132386
  if (response.kind !== "json") return { html: null };
131367
- const body = response.body;
132387
+ const body2 = response.body;
131368
132388
  return {
131369
- html: body && typeof body.html === "string" ? body.html : null
132389
+ html: body2 && typeof body2.html === "string" ? body2.html : null
131370
132390
  };
131371
132391
  },
131372
132392
  (m) => logger.warn(m, LogFileType.BACKEND)
@@ -131430,6 +132450,16 @@ electron.app.whenReady().then(async () => {
131430
132450
  ...mainWindow === null ? [] : [{ window: mainWindow, url: rendererUrl }],
131431
132451
  ...miniView === null ? [] : [{ window: miniView.window, url: miniViewUrlFor(rendererUrl) }]
131432
132452
  ];
132453
+ electron.ipcMain.removeHandler(NOTIFICATION_TEST_CHANNEL);
132454
+ electron.ipcMain.handle(NOTIFICATION_TEST_CHANNEL, (event) => {
132455
+ const owner = mainWindow;
132456
+ if (!owner || owner.isDestroyed() || !isAdmittedSender(event, [{ window: owner, url: rendererUrl }]))
132457
+ throw new Error("This window cannot send a test notification.");
132458
+ return sendTestNotification({
132459
+ windowRaise: windowLaunch.show,
132460
+ sound: () => notificationSound
132461
+ });
132462
+ });
131433
132463
  electron.ipcMain.removeHandler("recording-shortcut:get");
131434
132464
  electron.ipcMain.handle("recording-shortcut:get", (event) => {
131435
132465
  if (!isAdmittedSender(event, recordingSenders()))