local-operator-ui 0.52.2 → 0.52.4

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 (98) hide show
  1. package/out/main/index.js +355 -25
  2. package/out/renderer/assets/{_basePickBy-CumswRl9.js → _basePickBy-zRkxrRAx.js} +1 -1
  3. package/out/renderer/assets/{_baseUniq-B4HhVWVa.js → _baseUniq-Bp-sxsEJ.js} +1 -1
  4. package/out/renderer/assets/{agent-details-page-D4Cwc37_.js → agent-details-page-DH51eUi6.js} +1 -1
  5. package/out/renderer/assets/{agent-hub-page-BhED6eF-.js → agent-hub-page-BjYnx0AF.js} +1 -1
  6. package/out/renderer/assets/{agents-page-CJEjCPx2.js → agents-page-DsPawh1I.js} +3 -3
  7. package/out/renderer/assets/{appearance-BGSQVKcf.js → appearance-Dz80ZYIR.js} +34 -34
  8. package/out/renderer/assets/{approvalsOverlay-BYxKL-Bm.js → approvalsOverlay-BYuaoZWJ.js} +1 -1
  9. package/out/renderer/assets/{arc-BTgPMeV2.js → arc-i1pSuVBo.js} +1 -1
  10. package/out/renderer/assets/{architectureDiagram-IEHRJDOE-D21lhqBn.js → architectureDiagram-IEHRJDOE-DV9eAJK3.js} +1 -1
  11. package/out/renderer/assets/{avatar-cropper-BzE0Zgtx.js → avatar-cropper-D-E9ukSH.js} +1 -1
  12. package/out/renderer/assets/{blockDiagram-JOT3LUYC-H7qzGt48.js → blockDiagram-JOT3LUYC-6v0rABfo.js} +1 -1
  13. package/out/renderer/assets/{book-open-mVr_JhpC.js → book-open-C1G0Yzpc.js} +1 -1
  14. package/out/renderer/assets/browser-page-7yFhTI5H.js +1 -0
  15. package/out/renderer/assets/{browser-webauthn-prompt-C2DQr5xk.js → browser-webauthn-prompt-gYJKgsIk.js} +1 -1
  16. package/out/renderer/assets/{building-2-BakK5eDM.js → building-2-XLTP7lVm.js} +1 -1
  17. package/out/renderer/assets/{c4Diagram-VJAJSXHY-BQXh-myf.js → c4Diagram-VJAJSXHY-6HOCg51f.js} +1 -1
  18. package/out/renderer/assets/channel-DPax9zdH.js +1 -0
  19. package/out/renderer/assets/{chunk-4BMEZGHF-CS2jZ-TN.js → chunk-4BMEZGHF-CLa8OrzD.js} +1 -1
  20. package/out/renderer/assets/{chunk-A2AXSNBT-1ZFvPyRU.js → chunk-A2AXSNBT-B3umGWGB.js} +1 -1
  21. package/out/renderer/assets/{chunk-AEK57VVT-W3CzFN81.js → chunk-AEK57VVT-B1tn8DiZ.js} +1 -1
  22. package/out/renderer/assets/{chunk-D6G4REZN-lG86fQds.js → chunk-D6G4REZN-uxYY-bJL.js} +1 -1
  23. package/out/renderer/assets/{chunk-RZ5BOZE2-CIjO6EjZ.js → chunk-RZ5BOZE2-DVg85Y2p.js} +1 -1
  24. package/out/renderer/assets/{chunk-XZIHB7SX-BnKWJ7iN.js → chunk-XZIHB7SX-ButVFDEy.js} +1 -1
  25. package/out/renderer/assets/classDiagram-GIVACNV2-CT7TnOj0.js +1 -0
  26. package/out/renderer/assets/classDiagram-v2-COTLJTTW-CT7TnOj0.js +1 -0
  27. package/out/renderer/assets/clone-D_J2scMD.js +1 -0
  28. package/out/renderer/assets/{console-mirror-Cn2ywGkk.js → console-mirror-B4NEsyTH.js} +1 -1
  29. package/out/renderer/assets/{consoleCapture-BJf4yixq.js → consoleCapture-uBJZfB0Q.js} +1 -1
  30. package/out/renderer/assets/{conversation-input-sync-DovjnW2l.js → conversation-input-sync-BgcIVHWM.js} +252 -252
  31. package/out/renderer/assets/{dagre-OKDRZEBW-BoNQF-t4.js → dagre-OKDRZEBW-CSwIzV8V.js} +1 -1
  32. package/out/renderer/assets/{diagram-SSKATNLV-DDq7yxPF.js → diagram-SSKATNLV-Duudrum5.js} +1 -1
  33. package/out/renderer/assets/{diagram-VNBRO52H-B2alAWMr.js → diagram-VNBRO52H-CXrFKutJ.js} +1 -1
  34. package/out/renderer/assets/{erDiagram-Q7BY3M3F-Dy0lcUxx.js → erDiagram-Q7BY3M3F-CuTqT7Ve.js} +1 -1
  35. package/out/renderer/assets/{error-boundary-B_K7Ygu0.js → error-boundary-BS9oBTgy.js} +1 -1
  36. package/out/renderer/assets/{flowDiagram-4HSFHLVR-0tA9oWeg.js → flowDiagram-4HSFHLVR-Q5bzWTZP.js} +1 -1
  37. package/out/renderer/assets/{ganttDiagram-APWFNJXF-DHIhTFPL.js → ganttDiagram-APWFNJXF-khLsN_EO.js} +1 -1
  38. package/out/renderer/assets/{gitGraphDiagram-7IBYFJ6S-DMzYX57y.js → gitGraphDiagram-7IBYFJ6S-BAEw3XpO.js} +1 -1
  39. package/out/renderer/assets/{graph-DL8EGYPv.js → graph-C7__fL1n.js} +1 -1
  40. package/out/renderer/assets/{heart-CHrvPJDz.js → heart-C-_5jff3.js} +1 -1
  41. package/out/renderer/assets/{index-GsdqL7En.js → index-B_NzNvRE.js} +1 -1
  42. package/out/renderer/assets/{index-CrX6UPbZ.js → index-C46nJqyj.js} +1 -1
  43. package/out/renderer/assets/{index-CGr1O9qR.js → index-C9NKXvyN.js} +1 -1
  44. package/out/renderer/assets/index-DCYx_-oO.js +794 -0
  45. package/out/renderer/assets/{index-C-dwN1b1.css → index-DtgfPzuk.css} +1 -1
  46. package/out/renderer/assets/infoDiagram-PH2N3AL5-BgjAL2G8.js +2 -0
  47. package/out/renderer/assets/{installer-C2z2EYgE.js → installer-RsLHarF7.js} +1 -1
  48. package/out/renderer/assets/{journeyDiagram-U35MCT3I-B78kdq9m.js → journeyDiagram-U35MCT3I-CmCjvADH.js} +1 -1
  49. package/out/renderer/assets/{kanban-definition-NDS4AKOZ-BophBODb.js → kanban-definition-NDS4AKOZ-CABHl-cT.js} +1 -1
  50. package/out/renderer/assets/{layout-BvjyMys3.js → layout-a9-nZ8wD.js} +1 -1
  51. package/out/renderer/assets/{legacy-agents-page-BeOVjy6n.js → legacy-agents-page-DrqDXp-n.js} +1 -1
  52. package/out/renderer/assets/{library-page-DdT_BsGT.js → library-page-B5zXQLE-.js} +3 -3
  53. package/out/renderer/assets/{log-in-BFUGdS5K.js → log-in-B7PSfdzj.js} +1 -1
  54. package/out/renderer/assets/{mermaid.core-C3_jDZhe.js → mermaid.core-DbJ-CdHc.js} +5 -5
  55. package/out/renderer/assets/{mesh-page-BLZj78Uz.js → mesh-page-DqqoI7oK.js} +1 -1
  56. package/out/renderer/assets/{messages-BbxDSLHR.js → messages-B6B6rLDj.js} +8 -8
  57. package/out/renderer/assets/{mindmap-definition-ALO5MXBD-Dahn0o74.js → mindmap-definition-ALO5MXBD-CucMO7Hw.js} +1 -1
  58. package/out/renderer/assets/{mini-DBxaVn-Z.js → mini-CEmW7O9w.js} +1 -1
  59. package/out/renderer/assets/{notebook-pen-BE72w4To.js → notebook-pen-CgChRV4r.js} +1 -1
  60. package/out/renderer/assets/{notifications-page-DGzq-DD4.js → notifications-page-BDW-sY9F.js} +1 -1
  61. package/out/renderer/assets/{org-access-Fxre140y.js → org-access-BOIOfZ23.js} +1 -1
  62. package/out/renderer/assets/{org-surface-gate-BDRn0nVG.js → org-surface-gate-B3zBKs78.js} +1 -1
  63. package/out/renderer/assets/{page-header-CTA5Xu8F.js → page-header-C-TpJXcz.js} +1 -1
  64. package/out/renderer/assets/{pieDiagram-IB7DONF6-DwRNR4pI.js → pieDiagram-IB7DONF6-nQGlxVjZ.js} +1 -1
  65. package/out/renderer/assets/{project-markdown-DjXid2UO.js → project-markdown-BKxI1Oqz.js} +1 -1
  66. package/out/renderer/assets/{projects-page-CPaw0Up6.js → projects-page-CMtXvz9T.js} +1 -1
  67. package/out/renderer/assets/{publication-validation-Czsb07hy.js → publication-validation-CixAoibr.js} +1 -1
  68. package/out/renderer/assets/{quadrantDiagram-7GDLP6J5-5eifcc6v.js → quadrantDiagram-7GDLP6J5-BfT4yJ8b.js} +1 -1
  69. package/out/renderer/assets/{radar-MK3ICKWK-CrV6t877.js → radar-MK3ICKWK-CgEDQ5Dz.js} +1 -1
  70. package/out/renderer/assets/{radient-auth-buttons-D0dsjqx3.js → radient-auth-buttons-BIEc1Usm.js} +1 -1
  71. package/out/renderer/assets/{requirementDiagram-KVF5MWMF-BLvCJZRO.js → requirementDiagram-KVF5MWMF-DrJ4rYX3.js} +1 -1
  72. package/out/renderer/assets/{sankeyDiagram-QLVOVGJD-ODO3Gvbc.js → sankeyDiagram-QLVOVGJD-DQehHjD9.js} +1 -1
  73. package/out/renderer/assets/{schedules-page-BNQSuywo.js → schedules-page-CZIQTt8p.js} +1 -1
  74. package/out/renderer/assets/{sequenceDiagram-X6HHIX6F-gKEwnuuI.js → sequenceDiagram-X6HHIX6F-BBg87546.js} +1 -1
  75. package/out/renderer/assets/{settings-page-ByHnVTTc.js → settings-page-CG4IzEnT.js} +1 -1
  76. package/out/renderer/assets/{smartart-BNgfXC7J.js → smartart-DuT266DN.js} +1 -1
  77. package/out/renderer/assets/{stateDiagram-DGXRK772-D6xpTcWP.js → stateDiagram-DGXRK772-DPovctC5.js} +1 -1
  78. package/out/renderer/assets/stateDiagram-v2-YXO3MK2T-BNZx52FU.js +1 -0
  79. package/out/renderer/assets/{team-bridge-page-DYFoMJCT.js → team-bridge-page-F4rSJi1m.js} +1 -1
  80. package/out/renderer/assets/{team-bridge-scope-preference-CB17d5U6.js → team-bridge-scope-preference-axTntqJf.js} +1 -1
  81. package/out/renderer/assets/{timeline-definition-BDJGKUSR-vEmvbuvw.js → timeline-definition-BDJGKUSR-CV0-6y-R.js} +1 -1
  82. package/out/renderer/assets/{use-download-agent-mutation-BWqgdo9E.js → use-download-agent-mutation-BE3GM-MB.js} +1 -1
  83. package/out/renderer/assets/{use-session-snapshot-DrX9xnah.js → use-session-snapshot-DyjdRYwK.js} +1 -1
  84. package/out/renderer/assets/{xychartDiagram-VJFVF3MP-BTzn_AOJ.js → xychartDiagram-VJFVF3MP-BQAW4xlj.js} +1 -1
  85. package/out/renderer/browser-approvals-overlay.html +2 -2
  86. package/out/renderer/console-capture.html +6 -6
  87. package/out/renderer/index.html +8 -8
  88. package/out/renderer/installer.html +5 -5
  89. package/out/renderer/mini.html +8 -8
  90. package/package.json +1 -1
  91. package/out/renderer/assets/browser-page-otZ82fBG.js +0 -1
  92. package/out/renderer/assets/channel-BCoUfRr5.js +0 -1
  93. package/out/renderer/assets/classDiagram-GIVACNV2-C9PA3btW.js +0 -1
  94. package/out/renderer/assets/classDiagram-v2-COTLJTTW-C9PA3btW.js +0 -1
  95. package/out/renderer/assets/clone-DJ4z5fkU.js +0 -1
  96. package/out/renderer/assets/index-DBKZjyX8.js +0 -794
  97. package/out/renderer/assets/infoDiagram-PH2N3AL5-Yo-97F6g.js +0 -2
  98. package/out/renderer/assets/stateDiagram-v2-YXO3MK2T-CLu3wWvB.js +0 -1
package/out/main/index.js CHANGED
@@ -5922,6 +5922,7 @@ const enUiChatSidebarView = {
5922
5922
  "ui.chat.sidebar_view.order_by": "Order by",
5923
5923
  "ui.chat.sidebar_view.sections": "Sections",
5924
5924
  "ui.chat.sidebar_view.time_section": "Time section",
5925
+ "ui.chat.sidebar_view.tag": "Tag",
5925
5926
  "ui.chat.sidebar_view.agent_team": "Agent and team",
5926
5927
  "ui.chat.sidebar_view.one_list": "In one list",
5927
5928
  "ui.chat.sidebar_view.last_active": "Last active",
@@ -5956,10 +5957,20 @@ const enUiChatTagDialogs = {
5956
5957
  "ui.chat.tag_dialogs.assign_created_failed": "“{name}” was created, but it could not be added to this conversation. Select it from the list to add it.",
5957
5958
  "ui.chat.tag_dialogs.changed_elsewhere": "Tags changed elsewhere. The list now shows their current tags; select again to apply your change."
5958
5959
  };
5960
+ const enUiChatTagGroups = {
5961
+ "ui.chat.tag_groups.collapse": "Collapse {name}",
5962
+ "ui.chat.tag_groups.expand": "Expand {name}"
5963
+ };
5964
+ const enUiChatTagMode = {
5965
+ "ui.chat.tag_mode.live": "{count, plural, one {{count, number, ::group-off} running} other {{count, number, ::group-off} running}}",
5966
+ "ui.chat.tag_mode.not_loaded": "Older chats in this tag aren't loaded yet.",
5967
+ "ui.chat.tag_mode.mode_hint": "Tag groups use Time section or Tag grouping.",
5968
+ "ui.chat.tag_mode.use_tag": "Use Tag"
5969
+ };
5959
5970
  const enUiChatTags = {
5960
5971
  "ui.chat.tags.label": "Tags",
5961
5972
  "ui.chat.tags.menu": "Tags…",
5962
- "ui.chat.tags.group": "Group chats by tag",
5973
+ "ui.chat.tags.group": "Split time sections by tag",
5963
5974
  "ui.chat.tags.mode_hint": "Tag groups use Time section grouping.",
5964
5975
  "ui.chat.tags.use_time": "Use Time section",
5965
5976
  "ui.chat.tags.auto_tag": "Auto-tag forked sessions",
@@ -14136,6 +14147,7 @@ const esUiChatSidebarView = {
14136
14147
  "ui.chat.sidebar_view.order_by": "Ordenar por",
14137
14148
  "ui.chat.sidebar_view.sections": "Secciones",
14138
14149
  "ui.chat.sidebar_view.time_section": "Sección temporal",
14150
+ "ui.chat.sidebar_view.tag": "Etiqueta",
14139
14151
  "ui.chat.sidebar_view.agent_team": "Agente y equipo",
14140
14152
  "ui.chat.sidebar_view.one_list": "En una lista",
14141
14153
  "ui.chat.sidebar_view.last_active": "Última actividad",
@@ -14170,10 +14182,20 @@ const esUiChatTagDialogs = {
14170
14182
  "ui.chat.tag_dialogs.assign_created_failed": "Se creó “{name}”, pero no se pudo añadir a esta conversación. Selecciónala en la lista para añadirla.",
14171
14183
  "ui.chat.tag_dialogs.changed_elsewhere": "Las etiquetas cambiaron en otro lugar. La lista ya muestra las actuales; vuelve a seleccionar para aplicar tu cambio."
14172
14184
  };
14185
+ const esUiChatTagGroups = {
14186
+ "ui.chat.tag_groups.collapse": "Contraer {name}",
14187
+ "ui.chat.tag_groups.expand": "Expandir {name}"
14188
+ };
14189
+ const esUiChatTagMode = {
14190
+ "ui.chat.tag_mode.live": "{count, plural, one {{count, number, ::group-off} en curso} many {{count, number, ::group-off} en curso} other {{count, number, ::group-off} en curso}}",
14191
+ "ui.chat.tag_mode.not_loaded": "Los chats más antiguos de esta etiqueta aún no se han cargado.",
14192
+ "ui.chat.tag_mode.mode_hint": "Los grupos de etiquetas usan la sección temporal o la agrupación por etiqueta.",
14193
+ "ui.chat.tag_mode.use_tag": "Agrupar por etiqueta"
14194
+ };
14173
14195
  const esUiChatTags = {
14174
14196
  "ui.chat.tags.label": "Etiquetas",
14175
14197
  "ui.chat.tags.menu": "Etiquetas…",
14176
- "ui.chat.tags.group": "Agrupar chats por etiqueta",
14198
+ "ui.chat.tags.group": "Dividir las secciones temporales por etiqueta",
14177
14199
  "ui.chat.tags.mode_hint": "Los grupos de etiquetas usan la sección temporal.",
14178
14200
  "ui.chat.tags.use_time": "Usar la sección temporal",
14179
14201
  "ui.chat.tags.auto_tag": "Etiquetar automáticamente las conversaciones bifurcadas",
@@ -22350,6 +22372,7 @@ const frUiChatSidebarView = {
22350
22372
  "ui.chat.sidebar_view.order_by": "Trier par",
22351
22373
  "ui.chat.sidebar_view.sections": "Sections",
22352
22374
  "ui.chat.sidebar_view.time_section": "Section temporelle",
22375
+ "ui.chat.sidebar_view.tag": "Étiquette",
22353
22376
  "ui.chat.sidebar_view.agent_team": "Agent et équipe",
22354
22377
  "ui.chat.sidebar_view.one_list": "Une seule liste",
22355
22378
  "ui.chat.sidebar_view.last_active": "Dernière activité",
@@ -22384,10 +22407,20 @@ const frUiChatTagDialogs = {
22384
22407
  "ui.chat.tag_dialogs.assign_created_failed": "« {name} » a été créée, mais n’a pas pu être ajoutée à cette conversation. Sélectionnez-la dans la liste pour l’ajouter.",
22385
22408
  "ui.chat.tag_dialogs.changed_elsewhere": "Les étiquettes ont été modifiées ailleurs. La liste affiche maintenant les étiquettes à jour ; refaites votre sélection pour appliquer votre modification."
22386
22409
  };
22410
+ const frUiChatTagGroups = {
22411
+ "ui.chat.tag_groups.collapse": "Replier {name}",
22412
+ "ui.chat.tag_groups.expand": "Déplier {name}"
22413
+ };
22414
+ const frUiChatTagMode = {
22415
+ "ui.chat.tag_mode.live": "{count, plural, one {{count, number, ::group-off} en cours} many {{count, number, ::group-off} en cours} other {{count, number, ::group-off} en cours}}",
22416
+ "ui.chat.tag_mode.not_loaded": "Les conversations plus anciennes de cette étiquette ne sont pas encore chargées.",
22417
+ "ui.chat.tag_mode.mode_hint": "Les groupes d’étiquettes utilisent la section temporelle ou le regroupement par étiquette.",
22418
+ "ui.chat.tag_mode.use_tag": "Regrouper par étiquette"
22419
+ };
22387
22420
  const frUiChatTags = {
22388
22421
  "ui.chat.tags.label": "Étiquettes",
22389
22422
  "ui.chat.tags.menu": "Étiquettes…",
22390
- "ui.chat.tags.group": "Grouper les conversations par étiquette",
22423
+ "ui.chat.tags.group": "Diviser les sections temporelles par étiquette",
22391
22424
  "ui.chat.tags.mode_hint": "Les groupes d’étiquettes utilisent la section temporelle.",
22392
22425
  "ui.chat.tags.use_time": "Utiliser la section temporelle",
22393
22426
  "ui.chat.tags.auto_tag": "Étiqueter automatiquement les conversations bifurquées",
@@ -30564,6 +30597,7 @@ const hiUiChatSidebarView = {
30564
30597
  "ui.chat.sidebar_view.order_by": "क्रम चुनें",
30565
30598
  "ui.chat.sidebar_view.sections": "खंड",
30566
30599
  "ui.chat.sidebar_view.time_section": "समय के खंड",
30600
+ "ui.chat.sidebar_view.tag": "टैग",
30567
30601
  "ui.chat.sidebar_view.agent_team": "एजेंट और टीम",
30568
30602
  "ui.chat.sidebar_view.one_list": "एक सूची में",
30569
30603
  "ui.chat.sidebar_view.last_active": "आख़िरी गतिविधि",
@@ -30598,10 +30632,20 @@ const hiUiChatTagDialogs = {
30598
30632
  "ui.chat.tag_dialogs.assign_created_failed": "“{name}” बन गया, लेकिन इसे इस बातचीत में नहीं जोड़ा जा सका। जोड़ने के लिए सूची से इसे चुनें।",
30599
30633
  "ui.chat.tag_dialogs.changed_elsewhere": "टैग कहीं और बदले गए। सूची अब इस बातचीत के मौजूदा टैग दिखा रही है; अपना बदलाव लागू करने के लिए फिर चुनें।"
30600
30634
  };
30635
+ const hiUiChatTagGroups = {
30636
+ "ui.chat.tag_groups.collapse": "{name} समेटें",
30637
+ "ui.chat.tag_groups.expand": "{name} फैलाएँ"
30638
+ };
30639
+ const hiUiChatTagMode = {
30640
+ "ui.chat.tag_mode.live": "{count, plural, one {{count, number, ::group-off} चल रही} other {{count, number, ::group-off} चल रही}}",
30641
+ "ui.chat.tag_mode.not_loaded": "इस टैग की पुरानी चैट अभी लोड नहीं हुई हैं।",
30642
+ "ui.chat.tag_mode.mode_hint": "टैग के समूह समय के खंड या टैग वाले समूह इस्तेमाल करते हैं।",
30643
+ "ui.chat.tag_mode.use_tag": "टैग चुनें"
30644
+ };
30601
30645
  const hiUiChatTags = {
30602
30646
  "ui.chat.tags.label": "टैग",
30603
30647
  "ui.chat.tags.menu": "टैग…",
30604
- "ui.chat.tags.group": "चैट को टैग के हिसाब से समूहों में रखें",
30648
+ "ui.chat.tags.group": "समय के खंडों को टैग के हिसाब से बाँटें",
30605
30649
  "ui.chat.tags.mode_hint": "टैग के समूह समय के खंड वाले समूह इस्तेमाल करते हैं।",
30606
30650
  "ui.chat.tags.use_time": "समय के खंड चुनें",
30607
30651
  "ui.chat.tags.auto_tag": "फ़ोर्क की गई बातचीत को स्वतः टैग करें",
@@ -38795,6 +38839,7 @@ const ruUiChatSidebarView = {
38795
38839
  "ui.chat.sidebar_view.sections": "Разделы",
38796
38840
  "ui.chat.sidebar_view.time_basis": "Отсчёт времени",
38797
38841
  "ui.chat.sidebar_view.time_section": "По времени",
38842
+ "ui.chat.sidebar_view.tag": "По тегу",
38798
38843
  "ui.chat.sidebar_view.relative_short": "{unit, select, now {сейчас} minute {{count, number, ::group-off} мин} hour {{count, number, ::group-off} ч} day {{count, number, ::group-off} д} week {{count, number, ::group-off} нед} year {{count, number, ::group-off} г} other {сейчас}}",
38799
38844
  "ui.chat.sidebar_view.relative_created": "{unit, select, now {создано только что} minute {{count, plural, one {создано # минуту назад} few {создано # минуты назад} many {создано # минут назад} other {создано # минуты назад}}} hour {{count, plural, one {создано # час назад} few {создано # часа назад} many {создано # часов назад} other {создано # часа назад}}} day {{count, plural, one {создано # день назад} few {создано # дня назад} many {создано # дней назад} other {создано # дня назад}}} week {{count, plural, one {создано # неделю назад} few {создано # недели назад} many {создано # недель назад} other {создано # недели назад}}} year {{count, plural, one {создано # год назад} few {создано # года назад} many {создано # лет назад} other {создано # года назад}}} other {создано только что}}",
38800
38845
  "ui.chat.sidebar_view.relative_active": "{unit, select, now {последняя активность — только что} minute {{count, plural, one {последняя активность — # минуту назад} few {последняя активность — # минуты назад} many {последняя активность — # минут назад} other {последняя активность — # минуты назад}}} hour {{count, plural, one {последняя активность — # час назад} few {последняя активность — # часа назад} many {последняя активность — # часов назад} other {последняя активность — # часа назад}}} day {{count, plural, one {последняя активность — # день назад} few {последняя активность — # дня назад} many {последняя активность — # дней назад} other {последняя активность — # дня назад}}} week {{count, plural, one {последняя активность — # неделю назад} few {последняя активность — # недели назад} many {последняя активность — # недель назад} other {последняя активность — # недели назад}}} year {{count, plural, one {последняя активность — # год назад} few {последняя активность — # года назад} many {последняя активность — # лет назад} other {последняя активность — # года назад}}} other {последняя активность — только что}}"
@@ -38812,10 +38857,20 @@ const ruUiChatTagDialogs = {
38812
38857
  "ui.chat.tag_dialogs.assign_created_failed": "«{name}» создан, но не удалось добавить его в этот разговор. Выберите его в списке, чтобы добавить.",
38813
38858
  "ui.chat.tag_dialogs.changed_elsewhere": "Теги изменены в другом месте. В списке теперь показаны актуальные теги разговора; повторите выбор, чтобы применить изменение."
38814
38859
  };
38860
+ const ruUiChatTagGroups = {
38861
+ "ui.chat.tag_groups.collapse": "Свернуть «{name}»",
38862
+ "ui.chat.tag_groups.expand": "Развернуть «{name}»"
38863
+ };
38864
+ const ruUiChatTagMode = {
38865
+ "ui.chat.tag_mode.live": "{count, plural, one {{count, number, ::group-off} в работе} few {{count, number, ::group-off} в работе} many {{count, number, ::group-off} в работе} other {{count, number, ::group-off} в работе}}",
38866
+ "ui.chat.tag_mode.not_loaded": "Более старые чаты с этим тегом ещё не загружены.",
38867
+ "ui.chat.tag_mode.mode_hint": "Группы тегов используют группировку по времени или по тегу.",
38868
+ "ui.chat.tag_mode.use_tag": "Перейти к группировке по тегу"
38869
+ };
38815
38870
  const ruUiChatTags = {
38816
38871
  "ui.chat.tags.label": "Теги",
38817
38872
  "ui.chat.tags.menu": "Теги…",
38818
- "ui.chat.tags.group": "Группировать чаты по тегам",
38873
+ "ui.chat.tags.group": "Делить временные разделы по тегам",
38819
38874
  "ui.chat.tags.mode_hint": "Группы тегов используют группировку по времени.",
38820
38875
  "ui.chat.tags.use_time": "Перейти к разделам по времени",
38821
38876
  "ui.chat.tags.auto_tag": "Автоматически помечать тегами форки разговоров",
@@ -46992,6 +47047,7 @@ const urUiChatSidebarView = {
46992
47047
  "ui.chat.sidebar_view.order_by": "ترتیب کی بنیاد",
46993
47048
  "ui.chat.sidebar_view.sections": "حصے",
46994
47049
  "ui.chat.sidebar_view.time_section": "وقت کا حصہ",
47050
+ "ui.chat.sidebar_view.tag": "ٹیگ",
46995
47051
  "ui.chat.sidebar_view.agent_team": "ایجنٹ اور ٹیم",
46996
47052
  "ui.chat.sidebar_view.one_list": "ایک فہرست میں",
46997
47053
  "ui.chat.sidebar_view.last_active": "آخری سرگرمی",
@@ -47026,10 +47082,20 @@ const urUiChatTagDialogs = {
47026
47082
  "ui.chat.tag_dialogs.assign_created_failed": "“{name}” بن گیا، لیکن اسے اس گفتگو میں شامل نہیں کیا جا سکا۔ شامل کرنے کے لیے فہرست سے منتخب کریں۔",
47027
47083
  "ui.chat.tag_dialogs.changed_elsewhere": "ٹیگز کہیں اور تبدیل ہو گئے۔ فہرست اب گفتگو کے موجودہ ٹیگز دکھا رہی ہے؛ اپنی تبدیلی لاگو کرنے کے لیے دوبارہ منتخب کریں۔"
47028
47084
  };
47085
+ const urUiChatTagGroups = {
47086
+ "ui.chat.tag_groups.collapse": "{name} سمیٹیں",
47087
+ "ui.chat.tag_groups.expand": "{name} پھیلائیں"
47088
+ };
47089
+ const urUiChatTagMode = {
47090
+ "ui.chat.tag_mode.live": "{count, plural, one {{count, number, ::group-off} جاری} other {{count, number, ::group-off} جاری}}",
47091
+ "ui.chat.tag_mode.not_loaded": "اس ٹیگ کی پرانی چیٹس ابھی لوڈ نہیں ہوئیں۔",
47092
+ "ui.chat.tag_mode.mode_hint": "ٹیگ گروہ وقت کے حصے یا ٹیگ کی گروہ بندی استعمال کرتے ہیں۔",
47093
+ "ui.chat.tag_mode.use_tag": "ٹیگ استعمال کریں"
47094
+ };
47029
47095
  const urUiChatTags = {
47030
47096
  "ui.chat.tags.label": "ٹیگز",
47031
47097
  "ui.chat.tags.menu": "ٹیگز…",
47032
- "ui.chat.tags.group": "ٹیگ کے لحاظ سے چیٹس کی گروہ بندی کریں",
47098
+ "ui.chat.tags.group": "وقت کے حصوں کو ٹیگ کے لحاظ سے تقسیم کریں",
47033
47099
  "ui.chat.tags.mode_hint": "ٹیگ گروہ وقت کے حصے کی گروہ بندی استعمال کرتے ہیں۔",
47034
47100
  "ui.chat.tags.use_time": "وقت کا حصہ استعمال کریں",
47035
47101
  "ui.chat.tags.auto_tag": "فورک شدہ گفتگوؤں کو خودکار ٹیگ کریں",
@@ -55206,6 +55272,7 @@ const viUiChatSidebarView = {
55206
55272
  "ui.chat.sidebar_view.order_by": "Sắp xếp theo",
55207
55273
  "ui.chat.sidebar_view.sections": "Các mục",
55208
55274
  "ui.chat.sidebar_view.time_section": "Mục thời gian",
55275
+ "ui.chat.sidebar_view.tag": "Nhãn",
55209
55276
  "ui.chat.sidebar_view.agent_team": "Tác nhân và nhóm",
55210
55277
  "ui.chat.sidebar_view.one_list": "Trong một danh sách",
55211
55278
  "ui.chat.sidebar_view.last_active": "Hoạt động gần nhất",
@@ -55240,10 +55307,20 @@ const viUiChatTagDialogs = {
55240
55307
  "ui.chat.tag_dialogs.assign_created_failed": "Đã tạo “{name}” nhưng không thêm được vào cuộc trò chuyện này. Chọn nhãn trong danh sách để thêm.",
55241
55308
  "ui.chat.tag_dialogs.changed_elsewhere": "Nhãn đã thay đổi ở nơi khác. Danh sách hiện hiển thị nhãn mới nhất của cuộc trò chuyện; hãy chọn lại để áp dụng thay đổi của bạn."
55242
55309
  };
55310
+ const viUiChatTagGroups = {
55311
+ "ui.chat.tag_groups.collapse": "Thu gọn {name}",
55312
+ "ui.chat.tag_groups.expand": "Mở rộng {name}"
55313
+ };
55314
+ const viUiChatTagMode = {
55315
+ "ui.chat.tag_mode.live": "{count, plural, other {{count, number, ::group-off} đang chạy}}",
55316
+ "ui.chat.tag_mode.not_loaded": "Các cuộc trò chuyện cũ hơn của nhãn này chưa được tải.",
55317
+ "ui.chat.tag_mode.mode_hint": "Các nhóm nhãn dùng cách nhóm của mục Thời gian hoặc Nhãn.",
55318
+ "ui.chat.tag_mode.use_tag": "Dùng Nhãn"
55319
+ };
55243
55320
  const viUiChatTags = {
55244
55321
  "ui.chat.tags.label": "Nhãn",
55245
55322
  "ui.chat.tags.menu": "Nhãn…",
55246
- "ui.chat.tags.group": "Nhóm cuộc trò chuyện theo nhãn",
55323
+ "ui.chat.tags.group": "Chia các mục thời gian theo nhãn",
55247
55324
  "ui.chat.tags.mode_hint": "Các nhóm nhãn dùng cách nhóm của mục Thời gian.",
55248
55325
  "ui.chat.tags.use_time": "Dùng mục Thời gian",
55249
55326
  "ui.chat.tags.auto_tag": "Tự động gắn nhãn cuộc trò chuyện tách nhánh",
@@ -63420,6 +63497,7 @@ const zhCNUiChatSidebarView = {
63420
63497
  "ui.chat.sidebar_view.order_by": "排序方式",
63421
63498
  "ui.chat.sidebar_view.sections": "分区",
63422
63499
  "ui.chat.sidebar_view.time_section": "时间分区",
63500
+ "ui.chat.sidebar_view.tag": "标签",
63423
63501
  "ui.chat.sidebar_view.agent_team": "智能体和团队",
63424
63502
  "ui.chat.sidebar_view.one_list": "统一列表",
63425
63503
  "ui.chat.sidebar_view.last_active": "最近活跃时间",
@@ -63454,10 +63532,20 @@ const zhCNUiChatTagDialogs = {
63454
63532
  "ui.chat.tag_dialogs.assign_created_failed": "已创建“{name}”,但未能添加到此对话。从列表中选择该标签即可添加。",
63455
63533
  "ui.chat.tag_dialogs.changed_elsewhere": "标签已在其他位置更改。列表现已显示最新标签;重新选择即可应用更改。"
63456
63534
  };
63535
+ const zhCNUiChatTagGroups = {
63536
+ "ui.chat.tag_groups.collapse": "折叠标签组:{name}",
63537
+ "ui.chat.tag_groups.expand": "展开标签组:{name}"
63538
+ };
63539
+ const zhCNUiChatTagMode = {
63540
+ "ui.chat.tag_mode.live": "{count, plural, other {{count, number, ::group-off}个运行中}}",
63541
+ "ui.chat.tag_mode.not_loaded": "此标签中较早的对话尚未加载。",
63542
+ "ui.chat.tag_mode.mode_hint": "标签分组需使用“时间分区”或“标签”分组方式。",
63543
+ "ui.chat.tag_mode.use_tag": "使用标签"
63544
+ };
63457
63545
  const zhCNUiChatTags = {
63458
63546
  "ui.chat.tags.label": "标签",
63459
63547
  "ui.chat.tags.menu": "标签……",
63460
- "ui.chat.tags.group": "按标签分组对话",
63548
+ "ui.chat.tags.group": "按标签拆分时间分区",
63461
63549
  "ui.chat.tags.mode_hint": "标签分组需使用“时间分区”分组方式。",
63462
63550
  "ui.chat.tags.use_time": "使用时间分区",
63463
63551
  "ui.chat.tags.auto_tag": "自动为分叉的对话添加标签",
@@ -68567,6 +68655,8 @@ const bundledEnglish = {
68567
68655
  ...enUiChatSidebarView,
68568
68656
  ...enUiChatStatus,
68569
68657
  ...enUiChatTagDialogs,
68658
+ ...enUiChatTagGroups,
68659
+ ...enUiChatTagMode,
68570
68660
  ...enUiChatTags,
68571
68661
  ...enUiChatThreadSearch,
68572
68662
  ...enUiChatTranscriptCopy,
@@ -68698,6 +68788,8 @@ const bundledCatalogues = {
68698
68788
  ...esUiChatSidebarView,
68699
68789
  ...esUiChatStatus,
68700
68790
  ...esUiChatTagDialogs,
68791
+ ...esUiChatTagGroups,
68792
+ ...esUiChatTagMode,
68701
68793
  ...esUiChatTags,
68702
68794
  ...esUiChatThreadSearch,
68703
68795
  ...esUiChatTranscriptCopy,
@@ -68827,6 +68919,8 @@ const bundledCatalogues = {
68827
68919
  ...frUiChatSidebarView,
68828
68920
  ...frUiChatStatus,
68829
68921
  ...frUiChatTagDialogs,
68922
+ ...frUiChatTagGroups,
68923
+ ...frUiChatTagMode,
68830
68924
  ...frUiChatTags,
68831
68925
  ...frUiChatThreadSearch,
68832
68926
  ...frUiChatTranscriptCopy,
@@ -68956,6 +69050,8 @@ const bundledCatalogues = {
68956
69050
  ...hiUiChatSidebarView,
68957
69051
  ...hiUiChatStatus,
68958
69052
  ...hiUiChatTagDialogs,
69053
+ ...hiUiChatTagGroups,
69054
+ ...hiUiChatTagMode,
68959
69055
  ...hiUiChatTags,
68960
69056
  ...hiUiChatThreadSearch,
68961
69057
  ...hiUiChatTranscriptCopy,
@@ -69085,6 +69181,8 @@ const bundledCatalogues = {
69085
69181
  ...ruUiChatSidebarView,
69086
69182
  ...ruUiChatStatus,
69087
69183
  ...ruUiChatTagDialogs,
69184
+ ...ruUiChatTagGroups,
69185
+ ...ruUiChatTagMode,
69088
69186
  ...ruUiChatTags,
69089
69187
  ...ruUiChatThreadSearch,
69090
69188
  ...ruUiChatTranscriptCopy,
@@ -69214,6 +69312,8 @@ const bundledCatalogues = {
69214
69312
  ...urUiChatSidebarView,
69215
69313
  ...urUiChatStatus,
69216
69314
  ...urUiChatTagDialogs,
69315
+ ...urUiChatTagGroups,
69316
+ ...urUiChatTagMode,
69217
69317
  ...urUiChatTags,
69218
69318
  ...urUiChatThreadSearch,
69219
69319
  ...urUiChatTranscriptCopy,
@@ -69343,6 +69443,8 @@ const bundledCatalogues = {
69343
69443
  ...viUiChatSidebarView,
69344
69444
  ...viUiChatStatus,
69345
69445
  ...viUiChatTagDialogs,
69446
+ ...viUiChatTagGroups,
69447
+ ...viUiChatTagMode,
69346
69448
  ...viUiChatTags,
69347
69449
  ...viUiChatThreadSearch,
69348
69450
  ...viUiChatTranscriptCopy,
@@ -69472,6 +69574,8 @@ const bundledCatalogues = {
69472
69574
  ...zhCNUiChatSidebarView,
69473
69575
  ...zhCNUiChatStatus,
69474
69576
  ...zhCNUiChatTagDialogs,
69577
+ ...zhCNUiChatTagGroups,
69578
+ ...zhCNUiChatTagMode,
69475
69579
  ...zhCNUiChatTags,
69476
69580
  ...zhCNUiChatThreadSearch,
69477
69581
  ...zhCNUiChatTranscriptCopy,
@@ -110722,8 +110826,8 @@ function locatorSuggestions(nodes, query2, limit = 5) {
110722
110826
  return out;
110723
110827
  }
110724
110828
  function locatorFor(role, name) {
110725
- const quoted = name.includes('"') && !name.includes("'") ? `'${name.replace(/\\/g, "\\\\")}'` : JSON.stringify(name);
110726
- return role && /^[A-Za-z][A-Za-z0-9_-]*$/.test(role) ? `role=${role}[name=${quoted}]` : `text=${quoted}`;
110829
+ const quoted2 = name.includes('"') && !name.includes("'") ? `'${name.replace(/\\/g, "\\\\")}'` : JSON.stringify(name);
110830
+ return role && /^[A-Za-z][A-Za-z0-9_-]*$/.test(role) ? `role=${role}[name=${quoted2}]` : `text=${quoted2}`;
110727
110831
  }
110728
110832
  const FRAME_HOP = ">>>";
110729
110833
  const MAX_FRAME_DEPTH = 3;
@@ -110823,7 +110927,7 @@ async function queryIn(ctx, contents, scope, selector) {
110823
110927
  return queried?.nodeId ?? 0;
110824
110928
  }
110825
110929
  const FRAME_NODE_NAMES = /* @__PURE__ */ new Set(["IFRAME", "FRAME"]);
110826
- function originOf(url) {
110930
+ function originOf$1(url) {
110827
110931
  if (!url) return void 0;
110828
110932
  try {
110829
110933
  return new URL(url).origin;
@@ -110869,7 +110973,7 @@ async function enterFrame(ctx, contents, parent, iframeNodeId) {
110869
110973
  const inProcess = node.contentDocument?.backendNodeId;
110870
110974
  if (inProcess !== void 0) {
110871
110975
  assertFrameNotDenied(ctx, {
110872
- origin: originOf(node.contentDocument?.documentURL)
110976
+ origin: originOf$1(node.contentDocument?.documentURL)
110873
110977
  });
110874
110978
  const pushed = await sendIn(
110875
110979
  ctx,
@@ -110890,7 +110994,7 @@ async function enterFrame(ctx, contents, parent, iframeNodeId) {
110890
110994
  frameTargetId: parent.frameTargetId,
110891
110995
  frameId: node.frameId,
110892
110996
  rootNodeId,
110893
- origin: originOf(node.contentDocument?.documentURL),
110997
+ origin: originOf$1(node.contentDocument?.documentURL),
110894
110998
  hops,
110895
110999
  path: path2
110896
111000
  };
@@ -110929,7 +111033,7 @@ async function childRoot(ctx, contents, frameId) {
110929
111033
  return {
110930
111034
  sessionId: sessionId2,
110931
111035
  rootNodeId,
110932
- origin: originOf(document?.root?.documentURL)
111036
+ origin: originOf$1(document?.root?.documentURL)
110933
111037
  };
110934
111038
  } catch (error) {
110935
111039
  if (attempt === 0 && isFrameDetached(error)) continue;
@@ -119121,6 +119225,214 @@ function linkLoadLeftNoPage(view) {
119121
119225
  if (view.loading) return false;
119122
119226
  return view.url === "" || view.url === "about:blank";
119123
119227
  }
119228
+ function greasedBrandList(major, full, extraBrand = null) {
119229
+ const chars = [" ", "(", ":", "-", ".", "/", ")", ";", "=", "?", "_"];
119230
+ const versions = ["8", "99", "24"];
119231
+ const grease = {
119232
+ brand: `Not${chars[major % chars.length]}A${chars[(major + 1) % chars.length]}Brand`,
119233
+ version: versions[major % versions.length]
119234
+ };
119235
+ const fullOf = (v) => full === null ? v : `${v}.0.0.0`;
119236
+ const greased = { brand: grease.brand, version: fullOf(grease.version) };
119237
+ const chromium = { brand: "Chromium", version: full ?? String(major) };
119238
+ if (extraBrand === null) {
119239
+ const order2 = [
119240
+ [0, 1],
119241
+ [1, 0]
119242
+ ][major % 2];
119243
+ const list2 = [];
119244
+ list2[order2[0]] = greased;
119245
+ list2[order2[1]] = chromium;
119246
+ return list2;
119247
+ }
119248
+ const orders = [
119249
+ [0, 1, 2],
119250
+ [0, 2, 1],
119251
+ [1, 0, 2],
119252
+ [1, 2, 0],
119253
+ [2, 0, 1],
119254
+ [2, 1, 0]
119255
+ ];
119256
+ const order = orders[major % orders.length];
119257
+ const list = [];
119258
+ list[order[0]] = greased;
119259
+ list[order[1]] = chromium;
119260
+ list[order[2]] = { brand: extraBrand, version: full ?? String(major) };
119261
+ return list;
119262
+ }
119263
+ function brandHeader(list) {
119264
+ return list.map(({ brand, version }) => `"${brand}";v="${version}"`).join(", ");
119265
+ }
119266
+ const quoted = (value) => `"${value}"`;
119267
+ function platformName(platform) {
119268
+ if (platform === "darwin") return "macOS";
119269
+ if (platform === "win32") return "Windows";
119270
+ if (platform === "linux") return "Linux";
119271
+ return "Unknown";
119272
+ }
119273
+ function architecture(arch) {
119274
+ return arch.startsWith("arm") ? "arm" : "x86";
119275
+ }
119276
+ function normalisePlatformVersion(raw) {
119277
+ const parts = (raw.match(/\d+/g) ?? []).slice(0, 3);
119278
+ while (parts.length < 3) parts.push("0");
119279
+ return parts.join(".");
119280
+ }
119281
+ function composeClientHints(facts) {
119282
+ const full = facts.chromeVersion;
119283
+ const major = Number.parseInt(full.split(".")[0] ?? "", 10);
119284
+ if (!Number.isFinite(major) || major <= 0) return null;
119285
+ return {
119286
+ lowEntropy: {
119287
+ "sec-ch-ua": brandHeader(greasedBrandList(major, null)),
119288
+ "sec-ch-ua-mobile": "?0",
119289
+ "sec-ch-ua-platform": quoted(platformName(facts.platform))
119290
+ },
119291
+ highEntropy: {
119292
+ "sec-ch-ua-full-version-list": brandHeader(greasedBrandList(major, full)),
119293
+ "sec-ch-ua-full-version": quoted(full),
119294
+ ...facts.platform === "win32" ? {} : {
119295
+ "sec-ch-ua-platform-version": quoted(
119296
+ normalisePlatformVersion(facts.platformVersion)
119297
+ )
119298
+ },
119299
+ "sec-ch-ua-arch": quoted(architecture(facts.arch)),
119300
+ "sec-ch-ua-bitness": quoted(facts.arch.endsWith("64") ? "64" : "32"),
119301
+ "sec-ch-ua-model": quoted(""),
119302
+ "sec-ch-ua-wow64": "?0",
119303
+ "sec-ch-ua-form-factors": quoted("Desktop")
119304
+ }
119305
+ };
119306
+ }
119307
+ function parseAcceptCh(values) {
119308
+ const names = /* @__PURE__ */ new Set();
119309
+ for (const value of values ?? []) {
119310
+ for (const part of value.split(",")) {
119311
+ const name = part.trim().toLowerCase();
119312
+ if (name) names.add(name);
119313
+ }
119314
+ }
119315
+ return names;
119316
+ }
119317
+ const LOOPBACK_V4 = /^127\.\d+\.\d+\.\d+$/;
119318
+ function isPotentiallyTrustworthy(url) {
119319
+ let parsed;
119320
+ try {
119321
+ parsed = new URL(url);
119322
+ } catch {
119323
+ return false;
119324
+ }
119325
+ if (parsed.protocol === "https:" || parsed.protocol === "wss:") return true;
119326
+ if (parsed.protocol !== "http:" && parsed.protocol !== "ws:") return false;
119327
+ const host = parsed.hostname;
119328
+ return host === "localhost" || host.endsWith(".localhost") || host === "[::1]" || LOOPBACK_V4.test(host);
119329
+ }
119330
+ function findHeader(headers, name) {
119331
+ for (const key of Object.keys(headers)) {
119332
+ if (key.toLowerCase() === name) return headers[key];
119333
+ }
119334
+ return void 0;
119335
+ }
119336
+ function withClientHints(url, headers, hints, optedIn) {
119337
+ if (!isPotentiallyTrustworthy(url)) return headers;
119338
+ const next = { ...headers };
119339
+ const add = (name, value) => {
119340
+ if (findHeader(next, name) === void 0) next[name] = value;
119341
+ };
119342
+ for (const [name, value] of Object.entries(hints.lowEntropy))
119343
+ add(name, value);
119344
+ if (optedIn) {
119345
+ for (const [name, value] of Object.entries(hints.highEntropy)) {
119346
+ if (optedIn.has(name)) add(name, value);
119347
+ }
119348
+ }
119349
+ return next;
119350
+ }
119351
+ const originOf = (url) => {
119352
+ try {
119353
+ return new URL(url).origin;
119354
+ } catch {
119355
+ return null;
119356
+ }
119357
+ };
119358
+ const MAX_OPTED_IN_ORIGINS = 512;
119359
+ const installed = /* @__PURE__ */ new WeakMap();
119360
+ function forgetClientHintOptIns(browserSession, origin) {
119361
+ installed.get(browserSession)?.forget(origin);
119362
+ }
119363
+ function topLevelOrigin(details) {
119364
+ if (details.resourceType === "mainFrame") return originOf(details.url);
119365
+ const top = details.frame?.top?.url || details.webContents?.getURL?.() || "";
119366
+ return top ? originOf(top) : null;
119367
+ }
119368
+ function installClientHints(browserSession, facts, log2) {
119369
+ const hints = composeClientHints(facts);
119370
+ if (!hints) {
119371
+ log2?.(
119372
+ `[browser] client hints left to the runtime: no Chromium major in ${facts.chromeVersion}`
119373
+ );
119374
+ return { detach: () => {
119375
+ }, forget: () => {
119376
+ } };
119377
+ }
119378
+ const acceptCh = /* @__PURE__ */ new Map();
119379
+ let driftReported = false;
119380
+ browserSession.webRequest.onHeadersReceived((details, callback) => {
119381
+ if (details.resourceType === "mainFrame") {
119382
+ const origin = originOf(details.url);
119383
+ const accept2 = details.responseHeaders ? Object.entries(details.responseHeaders).find(
119384
+ ([key]) => key.toLowerCase() === "accept-ch"
119385
+ )?.[1] : void 0;
119386
+ if (origin && accept2 && isPotentiallyTrustworthy(details.url)) {
119387
+ acceptCh.delete(origin);
119388
+ acceptCh.set(origin, parseAcceptCh(accept2));
119389
+ if (acceptCh.size > MAX_OPTED_IN_ORIGINS) {
119390
+ const oldest = acceptCh.keys().next().value;
119391
+ if (oldest !== void 0) acceptCh.delete(oldest);
119392
+ }
119393
+ }
119394
+ }
119395
+ callback({});
119396
+ });
119397
+ browserSession.webRequest.onBeforeSendHeaders((details, callback) => {
119398
+ if (!driftReported) {
119399
+ const own = findHeader(details.requestHeaders, "sec-ch-ua");
119400
+ if (typeof own === "string" && own !== hints.lowEntropy["sec-ch-ua"]) {
119401
+ driftReported = true;
119402
+ log2?.(
119403
+ `[browser] client hints drift: runtime sends ${own}, host composes ${hints.lowEntropy["sec-ch-ua"]}`
119404
+ );
119405
+ }
119406
+ }
119407
+ const origin = originOf(details.url);
119408
+ const top = topLevelOrigin(details);
119409
+ callback({
119410
+ requestHeaders: withClientHints(
119411
+ details.url,
119412
+ details.requestHeaders,
119413
+ hints,
119414
+ origin && origin === top ? acceptCh.get(origin) : void 0
119415
+ )
119416
+ });
119417
+ });
119418
+ const handle2 = {
119419
+ detach: () => {
119420
+ browserSession.webRequest.onBeforeSendHeaders(null);
119421
+ browserSession.webRequest.onHeadersReceived(null);
119422
+ if (installed.get(browserSession) === handle2)
119423
+ installed.delete(browserSession);
119424
+ },
119425
+ forget: (origin) => {
119426
+ if (origin === void 0) acceptCh.clear();
119427
+ else {
119428
+ const key = originOf(origin);
119429
+ if (key) acceptCh.delete(key);
119430
+ }
119431
+ }
119432
+ };
119433
+ installed.set(browserSession, handle2);
119434
+ return handle2;
119435
+ }
119124
119436
  const BROWSER_PARTITION = "persist:local-operator-browser";
119125
119437
  function browserUserAgent() {
119126
119438
  const chrome = process.versions.chrome ?? "0";
@@ -119136,6 +119448,20 @@ function browserStoragePath(browserSession) {
119136
119448
  }
119137
119449
  function installBrowserSessionHandlers(browserSession, hooks = {}) {
119138
119450
  browserSession.setUserAgent(browserUserAgent());
119451
+ const clientHints = installClientHints(
119452
+ browserSession,
119453
+ {
119454
+ chromeVersion: process.versions.chrome ?? "0",
119455
+ platform: process.platform,
119456
+ arch: process.arch,
119457
+ // macOS: the product version Chromium reports (`27.2.0` measured in both
119458
+ // this runtime and Chrome); Linux: the kernel release, as Chromium sends;
119459
+ // Windows: unused (`composeClientHints` omits that one hint there).
119460
+ // `getSystemVersion` is Electron's; a plain-Node test host has none.
119461
+ platformVersion: process.platform === "darwin" && process.getSystemVersion ? process.getSystemVersion() : os.release()
119462
+ },
119463
+ hooks.log
119464
+ );
119139
119465
  const report = (source, webContentsId, permission, origin) => {
119140
119466
  hooks.onPermissionRequested?.({
119141
119467
  webContentsId: webContentsId ?? -1,
@@ -119195,6 +119521,7 @@ function installBrowserSessionHandlers(browserSession, hooks = {}) {
119195
119521
  browserSession.on("will-download", onDownload);
119196
119522
  return () => {
119197
119523
  browserSession.removeListener("will-download", onDownload);
119524
+ clientHints.detach();
119198
119525
  };
119199
119526
  }
119200
119527
  async function clearBrowsingData(browserSession, what, history) {
@@ -119215,10 +119542,12 @@ async function clearBrowsingData(browserSession, what, history) {
119215
119542
  "backgroundFetch"
119216
119543
  ]
119217
119544
  });
119545
+ forgetClientHintOptIns(browserSession);
119218
119546
  return;
119219
119547
  }
119220
119548
  await browserSession.clearData();
119221
119549
  await browserSession.clearCache();
119550
+ forgetClientHintOptIns(browserSession);
119222
119551
  history?.clear();
119223
119552
  }
119224
119553
  async function clearOriginData(browserSession, origin, history) {
@@ -119238,6 +119567,7 @@ async function clearOriginData(browserSession, origin, history) {
119238
119567
  ]
119239
119568
  });
119240
119569
  history?.clearOrigin(origin);
119570
+ forgetClientHintOptIns(browserSession, origin);
119241
119571
  }
119242
119572
  function flushBrowserStorage(browserSession) {
119243
119573
  try {
@@ -126081,10 +126411,10 @@ function serveOnTarget(bootVersion, installVersion, target2) {
126081
126411
  const order2 = compareVersions(boot, wanted);
126082
126412
  return order2 !== null && order2 >= 0;
126083
126413
  }
126084
- const installed = installVersion?.trim() ?? "";
126085
- if (installed === "") return false;
126086
- const order = compareVersions(boot, installed);
126087
- return order === null ? boot === installed : order >= 0;
126414
+ const installed2 = installVersion?.trim() ?? "";
126415
+ if (installed2 === "") return false;
126416
+ const order = compareVersions(boot, installed2);
126417
+ return order === null ? boot === installed2 : order >= 0;
126088
126418
  }
126089
126419
  function runtimeStragglerCount(body2, current) {
126090
126420
  const currentBuild = current?.trim() ?? "";
@@ -132712,15 +133042,15 @@ ${heal.removed.join("\n")}`,
132712
133042
  `Cannot manage the update for ${startupMode}: ${plan.detail}`,
132713
133043
  LogFileType.UPDATE_SERVICE
132714
133044
  );
132715
- const installed = running.version;
133045
+ const installed2 = running.version;
132716
133046
  this.sendToRenderer("backend-update-manual-required", {
132717
133047
  message: plan.remedy,
132718
133048
  command: plan.updateCommand,
132719
133049
  detail: plan.detail,
132720
133050
  latestVersion: target2,
132721
- currentVersion: installed && installed !== "Unknown" ? installed : null,
133051
+ currentVersion: installed2 && installed2 !== "Unknown" ? installed2 : null,
132722
133052
  installVersion: plan.installedInstallVersion,
132723
- runningVersion: installed,
133053
+ runningVersion: installed2,
132724
133054
  sourceBuild: plan.sourceBuild,
132725
133055
  /*
132726
133056
  * The second door into the same state, and it needs the same reading: this
@@ -133092,16 +133422,16 @@ ${run.stderr.trim()}`,
133092
133422
  LogFileType.UPDATE_SERVICE
133093
133423
  );
133094
133424
  }
133095
- const installed = await this.readBundledBackendVersion(interpreter);
133096
- if (!didUpgradeLand({ before: null, after: installed, target: target2 })) {
133425
+ const installed2 = await this.readBundledBackendVersion(interpreter);
133426
+ if (!didUpgradeLand({ before: null, after: installed2, target: target2 })) {
133097
133427
  const output = installerOutputOf(run);
133098
133428
  logger.error(
133099
- `The new environment is not on ${target2}: it reports ${installed ?? "no readable version"}; the installer's own output follows:
133429
+ `The new environment is not on ${target2}: it reports ${installed2 ?? "no readable version"}; the installer's own output follows:
133100
133430
  ${output}`,
133101
133431
  LogFileType.UPDATE_SERVICE
133102
133432
  );
133103
133433
  throw new Error(
133104
- `The environment was created but ${target2} did not land in it; the installer reports ${installed ?? "no readable version"}.
133434
+ `The environment was created but ${target2} did not land in it; the installer reports ${installed2 ?? "no readable version"}.
133105
133435
 
133106
133436
  ${output}`
133107
133437
  );