agent-zero/plugins/_browser/helpers
Jehu bb2a2ecf16 Make the interactive Browser honor configured keyboard layouts
The private Browser Xvfb always started with the US XKB layout, so
non-US keyboards could not type their printed characters in the
interactive Browser window: German Mac users could not type "@" via
Option+L, and umlauts, brackets, and AltGr/Option symbols landed on
wrong keys or vanished.

Add keyboard_layout / keyboard_variant Browser settings (validated as
safe XKB tokens, empty keeps US behavior). Browser startup applies the
layout to the private display with setxkbmap and pins it on the Xpra
shadow server (--keyboard-sync=no, --keyboard-layout, --keyboard-variant)
so connecting clients cannot override the server layout. Layout changes
flow through browser_runtime_config and restart internal runtimes.

The fallback canvas input path also stopped discarding Alt/AltGr
combinations that produce printable characters, and the settings UI
offers free-text layout/variant fields linking to the official
xkeyboard-config list.
2026-08-27 13:01:36 +02:00
..
__init__.py browser: replace browser-use agent with native browser 2026-04-24 15:43:52 +02:00
config.py Make the interactive Browser honor configured keyboard layouts 2026-08-27 13:01:36 +02:00
connector_runtime.py Use stable Host Browser selections 2026-08-26 15:42:07 +02:00
extension_manager.py Fix Chrome Web Store extension installs 2026-07-21 16:28:26 +02:00
interactive_view.py Make the interactive Browser honor configured keyboard layouts 2026-08-27 13:01:36 +02:00
playwright.py Simplify Browser setup concurrency 2026-08-16 17:05:03 +02:00
runtime.py Restore internal Browser tabs automatically 2026-08-16 18:02:51 +02:00
selector.py Improve Browser Docker runtime recovery 2026-05-18 02:00:31 +02:00
url.py Centralize Browser helper contracts 2026-05-08 16:39:04 +02:00