You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
The Chromium and Electron section of the elements page, and the troubleshooting page, say how to start those apps with accessibility on, so elements works on them.
A bug report template that asks for the niri version, status output, the agent and model, and the error name and detail.
status reports stop_key: bound when the bind niri ends up with for a key runs niri-computer-use stop with a program that is there, not_found, or unknown with the reason in stop_key_detail. It reads the config file the running niri was started with and the files that file includes, and merges their binds as niri does. While it is not_found, acquire_desktop returns a warning with the bind line to add, which the agent is asked to pass on.
niri-computer-use status --check prints the readiness report as one line per prerequisite, ✓ or ✗ with the fix for each ✗, and exits 1 while something blocks the server: niri and its version, the display, the lock state, the pointer, grim, the accessibility bus, the stop key, the stop flag and input-dirty marker, the policy file and refused variables. The install script now ends with it, after registering and binding the stop key.
A granted lease puts a notification on the desktop naming the agent and its project, so you can see an agent drive without the Noctalia plugin. Each agent gets at most one every five minutes. It is skipped with confirm_lease on and while the Noctalia plugin, which sends its own, is enabled. The new policy key notify_on_lease = false turns it off. A missing or failing notify-send never refuses the lease; status.lease_notice_error and status --check report it.
launch_desktop_entries = true in the policy file lets launch start an installed app by its desktop entry id, such as org.gnome.Nautilus, without a preset. The server reads the entry when launch names it and has niri start its Exec line without a shell. It reads only entries in files root owns and only root can write, reached through directories and symlinks only root can change, so apps installed for the whole system start and one in ~/.local/share needs a preset. An entry that the user can write, is hidden, is for another desktop, runs in a terminal, starts a program the preset rules refuse, or runs flatpak with anything but flatpak run of an app and one --command fails with the new entry_refused, and the deny list covers an entry's id, StartupWMClass, flatpak app and program name. status.desktop_entries lists the ids launch would start and counts the user-writable entries, and unknown_preset names entries whose id or name contains the name asked for. The install script and the first-session page suggest the key.
Changed
The skill and the server's instructions tell agents to load the tool schemas before the first call in Claude Code, that submitted: true means Enter went out and a late-drawn message is not a reason to send it again, to take a screenshot before typing after ctrl+t or a closed file picker, to hand the desktop back on a focus_mismatch that names their own terminal, and to tell you once that restarting a Chromium or Electron app enables element tools.
The README opens its Safety section with a six-row table and no longer shows a harness run as its example. The home page says the audit log records every call that reaches a tool.
crates.io links the project site as homepage and documentation.
A tool given a field it doesn't take now fails naming that field and the ones it expects, such as unknown field `direction`, expected one of `keys`, `screenshot_ref`, … for scroll. It used to drop the field and fail on another one, or act without it. Every tool's schema says so with additionalProperties: false.
close_window takes the window as window_id, like every other tool. id still works.
wait_for also takes until: {"screen_stable": {}}. JSON sent inside a string, such as "\"screen_stable\"", fails with the forms that work.
Calls refused for their arguments before the tool runs are written to the audit log as invalid_arguments, with the names of the fields they were given and never their values.
The noctalia tool's description says that every call needs the lease, even ["--help"] and ["plugins", "list"].
The skill and the keyboard page tell agents to paste into web form fields that reformat what is typed, such as amounts or phone numbers, and check the field. Fields built on @react-input can keep only the first character typed into them in Chromium, while type_text reports sent.
The pointer tools work with more than one monitor. pointer_move, click, drag and scroll act on the monitor of the screenshot they aim through when it is at transform Normal, whatever the other monitors are; a rotated monitor still refuses them with untested_output_config. A gesture stays on one monitor. status lists the monitors they run on in outputs.pointer_outputs.
Calls the server answers itself with engine_lost or engine_unavailable are written to the audit log, so watch and the Noctalia plugin show them. They were never logged, since the shared engine never saw them. A call the engine cut short as it exited has that one line, not also cancelled.
The Noctalia plugin notifies once per agent session when an update replaced the agent's server and its calls fail with engine_lost or engine_unavailable, naming the agent and saying to restart it. Later such failures of that session don't notify. The same errors from a server of the installed build count as failed actions.
tokio 1.53.3, which fixes RUSTSEC-2026-0386, and rmcp 3.7.0.
Fixed
Typed text puts a symbol on a spare key when the layout has it only on a key Chromium drops. US maps have € only on <I443> (evdev 435), so € typed into Chromium and Electron apps arrived as nothing. A symbol also on a normal key types there, so US $ uses Shift+4 instead of <I442>, which Chromium dropped too.
The Safety page said the pointer tools don't check whether windows moved since the screenshot. They have refused such a screenshot with layout_changed since 0.1.2.
A pointer gesture whose monitor niri unplugs, turns off or reconfigures while it goes out stops, or is refused before anything is sent, and is never reported sent: niri may have placed what went out elsewhere, so it ends uncertain. A change of scale or mode during a drag on a single monitor used to let the rest of the drag through, aimed for the old geometry.
A screenshot that waits for the screen to settle, an action's screenshot: true or wait_forscreen_stable, compares raw pixels and counts the screen as still when two captures in a row each differ from the capture before them both by at most 0.5 % of the pixels. A clock, a CPU graph, a spinner or a caret no longer keeps the wait going until the 1.5-second limit. A window still sliding into place adds up past that and keeps the wait going. The screenshot's metadata says in changing how much changed last.
focus and release_desktop's restore_focus that time out with no window focused, and keyboard and element tools refused with focus_mismatch because no window has keyboard focus, say in detail what may hold it: niri's overview, Noctalia's open panel, or the layer-shell surfaces niri lists with exclusive keyboard focus (on-demand ones only as a maybe), and how to close it: niri_actionCloseOverview, shell_panel, or keyEscape with expect: "none".
A wait_forwindow condition that times out lists the windows that opened during the wait in opened, with their app_id, so a wrong app_id such as helium-browser for helium shows.
After an update, or a reinstall of the same release, the shared engine of the replaced build hands over: the first client of the installed build to connect while no agent holds the desktop ends it and is served by an engine of the new build, instead of running standalone, or failing with engine_unavailable when it requires the shared engine, until every old agent restarts. While an old agent holds the desktop, the old engine keeps it until it is given up. Old agents get one engine_lost, then engine_unavailable saying to restart them, and no longer start an engine of their replaced build. Engines of 0.1.5 and older don't hand over, so updating from them still needs the old agents restarted.
While the screen is locked, screenshot, elements and wait_for are refused with screen_locked, elements and wait_for also when the screen locked during the call, and desktop_state gives every window's title as null with titles_hidden saying why. Before, any connected agent could read accessible names and window titles while the screen was locked. A lock state that is unknown still lets them through, since actions already refuse then.