Skip to content

Sync upstream quattro through #17296 - #107

Merged
mark-groves merged 34 commits into
quattrofrom
cursor/upstream-changes-pr-e2c7
Nov 1, 2026
Merged

mark-groves merged 34 commits into
quattrofrom
cursor/upstream-changes-pr-e2c7

Conversation

@cursor

@cursor cursor Bot commented Nov 1, 2026

Copy link
Copy Markdown

Upstream quattro moved from d367a568 (omacom#17201, 31 Oct) to e2c7007c (omacom#17296, 1 Nov). 34 first-parent commits, all replayed onto fork quattro. No merge commits. Nothing skipped. Two content conflicts, plus the translation catalogs. Fork delta vs this tip is 215 paths (was 214). The extra path is .github/workflows/i18n-sync.yml from #106, already on quattro. Face, Grok Bot, and Cursor stay. FaceChromeCanvas stays immediately before FilterInput. Power profile stays on busctl, and the menu provider stays out. Cursor stays the official tarball. linux and linux-headers stay in install/omarchy-other.packages. Topic draft #94 was left alone. No other open sync.

Displays

The monitor panel can Extend or Mirror. Mirror puts the laptop picture on every external display, stacks them in the map, and stays off while the lid is shut (omacom#17226). A lone display hides the layout map; r still opens rotate (omacom#17232). Dropped displays apply at once, and the bar, background, and dock no longer blink after a move, because Hyprland 0.57 moves layer surfaces with the monitor (omacom#17229). Layout keys are ctrl+h/j/k/l, with a hint under the map. One IPC handler is enabled per target, and the next copy takes over when its monitor goes. Workspaces reconcile after a removed monitor's teardown finishes, rather than inside it (omacom#16750). The display key cycles workspace layout (omacom#17262).

Agents and local models

omarchy agent local use best picks a recipe for this machine's GPU and RAM from a signed catalog, checks the weights, and runs the runtime image as a rootless Podman unit on an internal network with no egress (omacom#17267). The agents panel shows the local model with start, stop, and launch. Install > AI offers the best model and a catalog picker. OpenCode 2 opens on Omarchy's theme (config/opencode/cli.json, migration 1793565796) (omacom#17293), and a local model opens through OpenCode's private server with the model set in config, because the interactive command rejects --model (omacom#17296). Herdr's agent integrations install from a mise postinstall hook the first time an agent is used (omacom#17281). podman and crun are in the base packages.

The panel still hides a paused collector with nothing to show, and a unified pool already drawn by another record. Coverage marks stay beside the name, and the plan label sits with them. Dragging a row uses the new settle animation. The drop index is mapped back onto the full provider list.

Keyboard, lock, and input

Setup > Keyboard holds keybindings, the layout picker, and input methods. Setup > Typing is gone (omacom#17270). New installs start hid_apple, hid_asus, and asus_wmi keyboards on the media keys. omarchy keyboard toprow reports or sets mediakeys or fnkeys and stays out of the menu (omacom#17258). The ASUS Zenbook A16 gets its firmware, text-console disk unlock, and suspend-to-idle (omacom#17083), and its keyboard boots with media keys on the top row.

After an NVIDIA suspend's VT switch, the lock password field takes focus again, and blanking waits until the panel is actually lit (omacom#17277). Update > Hardware > Trackpad releases a stuck button by cycling the device in Hyprland, on every platform (omacom#17280). omarchy-restart-trackpad rebinds only the device udev marks as a touchpad (omacom#17284). Clock ticks are scheduled from epoch time so the DST fold cannot flood the log (omacom#16684). The chosen locale is added with localedef instead of rebuilding every locale (omacom#16414). Revealing the desktop restores the X11 root cursor, so XWayland apps do not keep a transparent pointer (xorg-xsetroot, migration 1793512402) (omacom#14580).

Hardware, updates, and the bar

GB10 cores stay in idle state 0. The firmware's deeper states cost about 300 µs to leave, which made a DGX Spark desktop sluggish (omacom#17264). A battery whose sysfs current_now cannot be read keeps UPower's rate instead of showing 0W (omacom#17265). sshd starts and port 22 opens only after a key is authorized (omacom#14667). Factory-reset elevation keeps GUM's environment records (omacom#13316). User mise shims build with MISE_OFFLINE=true (omacom#16174). AUR builds during the Quattro upgrade keep mise's GOROOT out of the environment (omacom#16388). omarchy-bar put retries a shell that times out, then carries on, so an update does not fail the same migration forever (omacom#13468). Channel switching still uses omarchy-update -y for the start confirmation, and then offers a gum reboot because the user is at the terminal (OMARCHY_UPDATE_UNATTENDED=0) (omacom#17251). Tray icons line up with bar widget icons (omacom#16089). Dragging a widget over the tray highlights the whole tray (omacom#17291). Superwhisper configures itself in the background on first run (omacom#17286).

Fork resolutions

install/user/mise.sh takes the offline reshim and keeps the comment that Cursor is the official tarball. etc/mise/conf.d/omarchy-tools.toml still has no cursor-agent line (20 auto_update, 30 lazy). Catalogs through omacom#17289. agents.helpStartToSeeLimits stays out of every shell catalog, matching English. agents.hideProviderConfirm is in, including the new translations. Grok Bot and Cursor still update after AUR and before the boot check, on the shared sudo timestamp.

Tests

Passed: agents-panel, i18n, default-agent, update-sequence, channel-switch, bar, clock, battery-status, dictation, factory-reset-elevation, keyboard-toprow, restart-trackpad, setup-security-sshd, shell-ipc, sudoers, locale-sudoers, hyprland-monitor-workspaces, hyprland-startup-cursor, monitor-output-name, monitor-state, hardware-quirks, gb10-sleep, apple-silicon-quirks, agent-integrate-herdr, toggle-input-device. shell-ipc needed socat on this image; one case skipped with no compositor. The display-panel acceptance test was not run here.

Open in Web View Automation 

falkoro and others added 30 commits November 1, 2026 23:03
* Keep mise's GOROOT out of AUR package builds

* Name the upgrade as the caller that pairs system PATH with mise's GOROOT

omarchy-update keeps the caller's PATH since omacom#17000, so mise's go and GOROOT stay together there. omarchy-upgrade-to-quattro still runs the AUR step with its system-first package_path.

---------

Co-authored-by: Ryan Hughes <[email protected]>
…or over XWayland apps (omacom#14561) (omacom#14580)

* Restore X11 root cursor on desktop reveal to prevent transparent cursor over XWayland apps (omacom#14561)

- Reset the X11 root cursor via xsetroot during omarchy_startup_cursor_restore(true)
- Add xorg-xsetroot to base packages and migration for existing installs
- Update startup cursor test coverage

* Run the xsetroot migration after the newest quattro and 4.5 migrations

1791835389 sorted before migrations already on quattro and v4-5-0. Renamed with a fresh timestamp so it runs in order on both branches.

---------

Co-authored-by: Ryan Hughes <[email protected]>
* Carry omarchy-bar put past a timing-out shell

A transient 'is not responding' IPC timeout was fatal on the first
attempt, so an update whose shell kept missing the 2s window re-failed
the same migration on every run: no marker, 'Something went wrong
during the update!'. Retry the timeout inside the existing ask budget,
and carry on (stderr note, exit 0) when the shell never gives a
definitive answer - the same contract an absent shell already gets, and
the one the migration documents for itself.

Fixes omacom#13301

* Stop asking a shell that keeps timing out after five tries

Each timeout costs the whole 2s IPC window, so counting timeouts against the 50 ready attempts could hold an update for about 105s with nothing on screen. Timeouts now get their own budget of 5 (OMARCHY_SHELL_TIMEOUT_ATTEMPTS), about 10s, and the first one prints that put is asking again.

Co-Authored-By: Codex gpt-6.1-sol <[email protected]>

* Test that put asks again after a single timeout

The flapping case only proves put gives up. A branch that returned on the first timeout would pass it too, and that's the case that places Elsewhen during an update.

Co-Authored-By: Codex gpt-6.1-sol <[email protected]>

---------

Co-authored-by: AnPod <[email protected]>
Co-authored-by: Ryan Hughes <[email protected]>
Co-authored-by: Codex gpt-6.1-sol <[email protected]>
)

* Start sshd and open its port only once a key is authorized

The setup command enabled sshd and opened port 22 before asking for a key, so a cancelled prompt, a rejected key or a GitHub user with no keys left a reachable server accepting passwords. It now installs openssh and generates host keys, authorizes the key, writes and verifies the hardening drop-in, and only then enables sshd and opens the firewall. Host keys are generated up front because sshd -t refuses to validate without them, and on a fresh machine they would otherwise first appear when the server starts.

Co-Authored-By: Codex Medium <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Fail the sshd test when host keys come after validation

sshd -t and sshd -T exit without host keys, so on a fresh install setup only works if ssh-keygen -A runs first. The test only checked that ssh-keygen ran at all. The sshd stub now refuses to run until it has.

Co-authored-by: Donald Dunsmore <[email protected]>

* Make the cancelled sshd test prove it reached the prompt

On quattro the prompt labels come from omarchy-i18n, and the test only found it through an installed Omarchy. Without one, setup exited before gum and the test still passed. Put the checkout's bin on PATH and check that gum was called.

Co-Authored-By: Codex gpt-6.1-sol <[email protected]>

---------

Co-authored-by: Omarchybot <[email protected]>
Co-authored-by: Codex Medium <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Ryan Hughes <[email protected]>
Co-authored-by: Donald Dunsmore <[email protected]>
…om#13316)

* Pin factory-reset elevation to the packaged command

Use the installed executable for non-root self-elevation, including calls from a development checkout or symlink.

Reported-by: Aleksej <[email protected]>

* Test factory-reset elevation paths and arguments

* Refuse factory reset handoff to a different installed version

* Test factory reset version mismatches and packaged invocation

* Preserve GUM environment records during reset elevation

Reported-by: Sean Huber

* Test GUM record boundaries in reset elevation
* Add only the chosen locale instead of rebuilding them all

locale-gen ignores its argument: it deletes /usr/lib/locale/locale-archive and rebuilds every locale.gen entry, ignoring each localedef failure. On a nearly full disk that drops locales the machine already had and still exits 0, so omarchy language switched to a locale that was never built. localedef now adds just this one, honouring a /usr/local source override as locale-gen does, and the helper asks the archive whether it landed, because localedef exits 1 both for warnings and for a locale it could not add.

Co-Authored-By: Codex Medium <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Make the locale-generate tests hold on any host and fail for the right reason

The helper looks for a source under /usr/local/share/i18n/locales on whatever machine runs the test, so the exact `-i sv_SE` and `-i hi_IN` assertions failed on a host with an override there although the helper chose correctly. They now accept the override path as well as the packaged name.

The failure-path cases only checked the exit status, so a helper that refused `da` before ever calling localedef passed them. Each case now also checks localedef was asked for da_DK.UTF-8.

Co-Authored-By: Codex Medium <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Leave the caller's directory before generating a locale as root

localedef reads a bare-named source like sv_SE from the working directory before its installed locales, and sudo keeps the caller's directory. Through the passwordless rule, any process running as the user could plant a sv_SE there and have root compile it into the system locale archive, which the rule's own comment says it cannot do. The helper now changes to / once it holds root, beside the PATH pin that guards against the same kind of input.

Co-Authored-By: Codex Medium <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Drop the test that greps the helper for its own cd

It only checked that the line was there, which the house rules say not to test. The unprivileged suite cannot run the helper as root, so the cwd hardening is shown on a worker instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Name localedef in the root PATH probe instead of locale-gen

The locale helper no longer calls locale-gen, so poison the tool it does call and say what the sv probe now fails to write.

* Run the checkout's locale helper in the language test

omarchy-language asks sudo or pkexec for /usr/bin/omarchy-locale-generate, so wherever Omarchy is installed the test exercised the packaged helper. An older one called the real locale-gen, which the test no longer stubs, and failed. The elevation stubs now run this checkout's copy.

Co-Authored-By: Codex gpt-6.1-sol <[email protected]>

---------

Co-authored-by: Omarchybot <[email protected]>
Co-authored-by: Codex Medium <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Ryan Hughes <[email protected]>
* Name the mirrored monitor in the monitor panel state

Hyprland reports mirrorOf as the mirrored monitor's id, so the panel could
never match it to a display. Resolve it to the name, and report whether
Omarchy's own mirror toggle is on so the panel knows it can undo it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Switch between mirrored and extended displays without notifications

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Add Extend | Mirror to the monitor panel's layout

The current mode is bold in the accent, like the agents panel's
Autoswitch, and a mirrored display stacks behind the one it shows. It's
only offered for Omarchy's own mirror, which it can turn back off. The
display picker marks the shown display the same way, with an accent icon
instead of a filled button.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Show the monitor panel's display picker as plain icons

No box on hover or for the shown display: its icon is in the accent and
the others are dim until hovered or picked, like Extend | Mirror.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Don't drag a lone display or a mirrored stack in the layout map

With one box in the map there's nothing to reposition it against, so it
keeps the arrow cursor and stays put; a click still shows that display and
a right click still rotates it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Show a dropped display as "Moving…" before the layout applies

The box used to snap back to where it was on release, and then the
desktop blinked as Hyprland moved the outputs. Now it stays where it was
dropped, reads "Moving…", and the move applies half a second later, for
keyboard moves too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Drop the pipe between Extend and Mirror

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Show the mirrored stack as soon as Mirror is clicked

Mirroring reloads Hyprland, and the read after it could still see the old
layout, leaving the map extended until the next read seconds later. The
map now stacks the displays at once, as the mirror command will, and
reads again shortly until the real state matches, giving up after six
seconds.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Leave a mirrored stack in the layout map unhighlighted

With one box in the map there's nothing to move, so it takes no hover or
keyboard stop and no accent for the shown display. Right-clicking it
still rotates it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Make the monitor panel's rotate and vertical moves keyboard reachable

r opens the shown display's rotate menu from anywhere in the panel, and
j/k and Enter walk it, sharing one lit row with hover. ctrl+j/k on the
layout places the shown display above or below the rest, as h/l does to
either side.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Mirror the laptop display on every external one

Mirror used to put the laptop's picture on the first external display
only, leaving any others extended. Now every external shows it, as a Mac
mirrors all its displays, and the panel draws them all stacked behind
it. The panel also stops offering Mirror while the laptop display is shut
in clamshell, where turning it on would wake the closed screen.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Call off a waiting layout move when it no longer applies

A scale, mode, rotation or mirror change resizes the displays a waiting
move was worked out from, so committing it after could leave them
overlapping, saved that way. A move back to the current arrangement,
like right then left, now calls the waiting one off instead of being
ignored.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…#17083)

* Set up the ASUS Zenbook A16's firmware, disk unlock and sleep

Install asus-zenbook-a16-firmware ahead of the Qualcomm DSP guard, so the audio DSP that reports the battery can start and the Wi-Fi finds its board data; unlock the disk on the text console, where Plymouth leaves the panel black, with the keyboard, EC and USB chains in the initramfs; and keep the laptop from suspending, since resuming resets the SoC. A migration applies both to existing A16 installs and rebuilds the boot image once.

Co-Authored-By: Codex Medium <[email protected]>

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Let the ASUS Zenbook A16 suspend to idle instead of not at all

Resuming from deep sleep, the kernel's default PSCI system suspend, resets the SoC, but suspend to idle resumes cleanly with the session intact. Sleep that way rather than turning suspend off, so closing the lid suspends the laptop again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Say the Zenbook A16 migration also sets suspend to idle

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Keep the Zenbook A16 migration pending until its setup and rebuild finish

Run the root setup shell with errexit and pipefail like the migration itself, so a failed firmware or boot step is not hidden behind a later success, and check limine-mkinitcpio's output for a kernel it could not rebuild before recording the machine-wide marker, as 1791621765 does. Also rerun the Qualcomm initramfs setup, so an A16 installed before the Glymur pin control and interconnect drivers joined that list gets them in the rebuilt image.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: David Heinemeier Hansson <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
…nel (omacom#17229)

* Stop remapping the bar, background and dock when their monitor moves

Hyprland used to leave a mapped layer surface at its monitor's old
position, so ScreenMoveRemap unmapped and remapped these windows on every
move. Hyprland 0.57 moves the surfaces with their monitor, both for a
position change and for a neighbour shifting when one is disabled, so the
remap only made the bar and dock vanish for a moment after every move in
the display panel.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Enable one IPC handler per target instead of one per bar

Every bar builds its own copy of a widget, so each IPC target had a
handler per monitor and Quickshell warned about every one past the
first, at each start and each monitor change. Now only the first copy
that wants the target enables itself, and the next takes over when it
goes, as when its monitor is unplugged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Apply a layout move in the display panel at once

The half-second "Moving…" wait only warned of the blink while the bar and
dock were remapped after a move, which no longer happens. A dropped
display still stays where it was put until the state read catches up.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Show the display panel's layout keys under the map

h/l, ctrl+j/k and r had no mention anywhere. A quiet line under the map
names them while it's hovered or the keyboard is on it; a lone or
mirrored map, which isn't a keyboard stop, names r while the Mirror and
Extend row is.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Put Extend on the right of Mirror in the display panel

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Cover the display panel's layout keys in the acceptance suite

A temporary second monitor gives the layout map something to arrange:
the hint shows when the keyboard reaches it, ctrl+j/k place the shown
display below and above, and r, j and Enter rotate it a quarter turn.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Leave ShellIpc without a property of its own

Its active flag added an activeChanged signal, which Quickshell warns
about on an IPC handler. A handler that shouldn't answer now leaves its
target empty instead, and the registry passes it over.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Arrange displays with ctrl+h/j/k/l in the display panel

Plain h/l moved the shown display sideways while up and down took ctrl.
Now ctrl+h/j/k/l arrange in every direction, and plain h/j/k/l only move
the cursor, as everywhere else. The key catcher takes ctrl+h/l sideways
only for a panel that asks, so the agents panel's ctrl+j/k reorder is
unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Let h/l and j act like the arrows in confirm dialogs and dropdowns

The confirm dialog switched buttons on Left/Right but not h/l, and a
closed dropdown opened on Down but not j. Search fields keep typing them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Queue display panel actions instead of dropping them

A second layout key press or drop while the first move was still
applying started a Process that was already running, so it was lost:
the map showed it, then snapped back. Now each command waits its turn,
in order, and the state read follows the last.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Restore saved monitor settings after the display panel acceptance test

The layout and rotate commands save what they set, so restoring only the
live arrangement left the test's last layout to come back on the next
config load. Put back the original rotation and the settings file too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Name ctrl+arrows in the display panel's layout hint

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Show keyboard focus on the display panel's Mirror and Extend row

Arriving on the row picked the current choice, which already reads in
bold accent, so nothing changed. Now it picks the other, the one Enter
switches to, and a hovered or picked choice turns bold instead of
underlined. The current one, already bold, takes a soft underline when
picked.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Test the ShellIpc takeover in a real Quickshell

The registry test called leads() on plain objects, so it would still
pass if ShellIpc stopped registering or re-checking. Two real handlers
for one target now show that only the first answers, the second takes
over once the first is gone, and Quickshell never warns about it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Work out a queued display move from the state it lands in

A move queued behind a scale or rotation kept positions worked out from
the sizes before it, so after both ran the displays could overlap, saved
that way. A queued move now waits as the work to place it, and runs it
on a state read that started after everything before it landed. A read
already under way when a command ends reads again, so the map no longer
falls back to the arrangement from before the command.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
A map of one box had nothing to arrange; it stayed only so the display
could be rotated with a right click. The section now shows when there
are displays to arrange or one to mirror onto, and r opens the rotate
menu near the top of the panel when there's no map to open it over.

Co-authored-by: Claude Opus 5.5 <[email protected]>
omarchy-channel-set runs omarchy-update -y to skip the start confirmation,
but -y also set OMARCHY_UPDATE_UNATTENDED=1, so the required reboot after
switching channels printed "Run omarchy-system reboot when ready." instead
of offering a gum confirm. -y now respects an explicit
OMARCHY_UPDATE_UNATTENDED, and the channel switch passes 0 since the user
is still at the terminal.

Co-authored-by: Claude Opus 5.5 <[email protected]>
Firmware that doesn't know the present rate leaves current_now in place
but fails every read of it, so the readable-file check passed, the read
came back empty, and the draw showed as 0W. Only take the sysfs reading
when it is a number, and otherwise keep UPower's rate.

Co-authored-by: Claude Opus 5.5 <[email protected]>
* Keep GB10 CPU cores out of deep idle states

The GB10 firmware's ACPI _LPI table understates how long its deeper idle
states take to leave, so cpuidle parks idle cores there and every
cross-core wakeup costs ~300 us instead of ~10 us. On a DGX Spark that
made the desktop sluggish and Speedometer 3.1 score 10. A udev rule keeps
each core in state0 (WFI) on GB10 machines, with a migration for
existing installs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Apply the GB10 idle setting to the running cores

The CPUs are already added when the hardware setup runs on an image's
first boot, so the udev rule alone left deep idle on until the next
reboot. Write the running cores' idle states directly as well, which
also lets the migration drop its udev trigger. Fold the test into the
GB10 hardware test and check the cores' states instead of the rule text.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
* Gather keyboard settings under Setup > Keyboard

Keybindings, Keyboard Inputs (the layout picker) and Input Methods move into one Keyboard submenu, replacing Setup > Typing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Point the input-method failure message at Setup > Keyboard

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
…acom#17258)

* Boot the ASUS Zenbook A16 keyboard with media keys on the top row, as the laptop ships

hid-asus boots the A16's keyboard with F1-F12 whatever Fn+Esc was last set to, so fn lock never survived a reboot. Default it to media keys like the ProArt P14 and keep F1-F12 on Fn+Esc. A migration writes the option on existing A16 installs and rebuilds the boot image once, since hid-asus loads from the initramfs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Add omarchy keyboard fnkeys and start every host-kept Fn-lock on the media keys

hid_asus, asus_wmi and hid_apple keep Fn-lock on the host and set it again at every boot from a module option, so Fn+Esc never survives a reboot on those keyboards. omarchy keyboard fnkeys on|off sets all three in one file, switches hid_apple right away and rebuilds the boot image when a loaded keyboard driver is in it. New installs start on the media keys everywhere but Apple Silicon, which omarchy-mac owns; existing installs keep what they have, except the Zenbook A16, which the migration moves to media keys. This replaces the A16-only leaf.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Owe the fnkeys rebuild before changing anything, and keep any existing Fn-lock option at setup

Record the pending boot-image rebuild before touching modprobe.d, so an interrupted run still rebuilds on the next one. Setup now looks for any fn option for hid_apple, hid_asus or asus_wmi in modprobe.d, not just two file names, so an administrator's own asus_wmi choice stays.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Rename omarchy keyboard fnkeys on|off to omarchy keyboard toprow media|function

Neither choice is off: the top row always has both, and the setting only picks which comes without Fn. Naming the two values says that, and avoids reading fnkeys as the Fn key itself.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Switch the top-row command to media|function and the toprow names throughout

Completes the rename: the command takes media|function, and its config file, rebuild marker, callers, manual and tests use the toprow names.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Start keyboards on the media keys without a top-row command

Setup writes the media-key Fn-lock defaults for hid_apple, hid_asus and asus_wmi itself, and the A16 migration writes them and rebuilds the boot image once. omarchy keyboard toprow goes: the default stays media keys, and Fn+Esc still flips it until the next boot.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Offer media keys to a connected Lofree keyboard on existing installs

Asks with gum confirm only when a Lofree keyboard is connected and hid_apple.conf is still the F1-F12 file Omarchy wrote; on yes it switches it live and rebuilds the boot image once.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Bring back omarchy keyboard toprow as mediakeys|fnkeys instead of the Lofree migration

Setup still starts every install on the media keys, now through the command again. Without an argument it reports the mode the loaded driver booted with, or unsupported where Linux can't set Fn-lock. It stays out of the menu.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Fix Greptile's top-row findings

Report an Apple-style keyboard's mode without the ASUS drivers loaded, restore a drifted hid_apple mode on a repeat, keep an owed rebuild after the keyboard is unplugged, and keep the A16 migration pending when the boot image fails to rebuild.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Give the lock's password field its focus back after a VT switch

The NVIDIA driver forces a VT switch around every suspend, which takes the
keyboard away; Qt drops the field's focus with it and nothing restores it, so
typing after a lid-open resume went nowhere until the field was clicked.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Hold off blanking the lock for longer after a resume

The countdown restarts as the kernel thaws, seconds before the panel lights
on NVIDIA, so the lock went dark again just as it appeared.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Hold off the blank after a resume that found the lock already dark

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
…acom#17280)

The driver rebind only covers i2c_hid_acpi and intel_quicki2c, so on other
touchpads it did nothing. Cycling the device off and on in Hyprland first
makes libinput release a held button on every platform, without sudo.

Co-authored-by: Claude Opus 5.5 <[email protected]>
* Reset only the touchpad in omarchy-restart-trackpad

Rebinding every i2c_hid_acpi device also reset the keyboard and
touchscreen. Pick the device udev marks ID_INPUT_TOUCHPAD instead.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Test that restart-trackpad resets only the touchpad

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
…m#17281)

* Install herdr's agent integrations when an agent is first used

herdr only installs an integration into an agent's existing config
directory, which Omarchy's lazy agents don't have until their first run.
A mise postinstall hook now creates that directory and installs the
integration as the agent is installed, and again on each upgrade.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Keep the herdr integration migration pending when an install fails

--existing now exits non-zero when an integration fails, so the migration
running it retries instead of being marked complete. The mise hook still
always succeeds. The test also clears agent-home overrides so it can't
reach the developer's real agent homes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Skip agents whose herdr integration fails instead of stalling migrations

A failed install warns and moves on to the next agent, so one agent's
broken config can't hold this migration and every later one pending.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Simplify the herdr agent integration to the mise hook alone

Agents update themselves through mise, which reruns the postinstall hook,
so agents already in use get integrated on their next upgrade without a
migration. The helper now maps each tool straight to its herdr target and
config directory, honoring only the account homes Omarchy itself sets.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Honor XDG_CONFIG_HOME for herdr's opencode, devin and kilo integrations

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
* Add plan for running local models from recipes

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Revise local models plan after review

Tighten lifecycle, endpoint auth, client selection through launch-time
overlays, memory headroom checks, image supply chain, and cut phase 1
down to one measured recipe with OpenCode.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Generalize local model container contract with runtime definitions

Describe each backend by a runtime definition that maps the standard
inputs onto its own args or env, declares allowlisted run options and
its health probe, and carries a trust tier, so vetted third-party
images like halogen fit without rebuilding them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Add best-for-this-machine resolution and a separate recipe catalog

Resolve `use best` through a curated per-hardware-class list, move
recipes, runtimes and measurements into a signed catalog repo that
updates independently of Omarchy releases, keep weights on Hugging
Face, record the llama.cpp vs halogen measurements, and put phase 1
on the halogen runtime.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Harden local models plan after second review

Treat the catalog as a release channel and enforce outcomes in
Omarchy: internal network with no egress, post-start auth check,
reserved runtime switches, typed unit generation, per-file hash
manifests, signed catalog with rollback protection, and resolved
manifests per run. Drop ipc=host after halogen ran without it at the
same speed, and make best resolution deterministic.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Add podman and crun to the base packages

Local models run as rootless Podman containers under Quadlet units.
The migration installs both on existing machines.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Run local models for agents from a signed recipe catalog

omarchy agent local use best resolves this machine's GPU family and RAM
class against the catalog's recommendation, downloads hash-verified
weights from Hugging Face, and runs the runtime image pinned by digest
as a rootless Quadlet unit on an internal network with no egress,
read-only root, dropped capabilities and allowlisted devices. Switching
is transactional with post-start auth and model checks, every run keeps
a resolved manifest, and omarchy agent --local points OpenCode at it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Add local models to the menu with unavailable provider rows

Install > AI gets the best local model for this machine and a picker
fed from the cached catalog listing. Provider rows take an optional
fifth field, a reason the row can't be chosen here, shown dimmed and
without the installed checkmark.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Show the local model in the agents panel

A card follows status.json, which the model unit's start and stop hooks
rewrite, and offers start, stop, launch, switch and the recommended
model.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Record local models implementation status in the plan

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Host the local model catalog under omacom

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Launch pi on the local model and fall back when the default agent can't

pi gets a launch-time extension that registers the running model, so
omarchy agent --local works with it as with OpenCode. A default agent
with no overlay now opens the first one installed that has one, and
says so, instead of exiting where a panel launch can't show why.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Redesign the local model card like a provider, with inline switching

The card shows the model maker's logo, the name with its state, the
runtime and context where a plan sits, a play/pause button, and a
memory meter like a usage limit. Other recipes that fit the machine are
listed under it and switch in place when already downloaded.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Trim the local model card to what the controls don't already say

The play/pause button says whether it runs, the meter says how much of
the machine it holds, and the runtime is an implementation detail; the
card keeps only loading and failure states, the context size, and the
memory in GiB.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Move local model switching into the card header

A switch button beside play/pause opens the other models this machine
can run under the header; picking one switches and closes the list.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Put the local agent launch in the card header as a terminal icon

The header ends switch, play/pause, terminal; the context size and the
Launch agent link go.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Open the local model in pi without a notification

The default agent runs it when it can; otherwise pi does, quietly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Launch each subscription's own coding agent from its card

The panel header's terminal button moves to every subscription with a
harness of its own, opening that harness: Codex for OpenAI, Claude Code
for Anthropic. omarchy agent --agent launches a given agent through the
same per-agent launch and account handling as the default.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Show the subscription plan right after the provider name

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Set the subscription plan on the provider name's baseline

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Run each local model as its own unit so several can run at once

Every recipe gets its own Quadlet unit, container and stable loopback
port, its own current manifest, and its own autostart flag. use starts
a recipe without stopping others and rolls back only that recipe;
start, stop, autostart, bench and the agent overlays take a recipe,
defaulting to the last one started. stop and start write the
transition to status.json before waiting on systemd, so the panel
shows it at once, and the units' status hooks go through env since
systemd doesn't search PATH for them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Give every local model its own line in the agents panel

Each set-up model has a line like a subscription's: logo, name, play or
pause, a terminal while it runs, the memory it holds, and a loading bar
measured against its last load time while it starts. Local lines share
the subscriptions' drag order through local:<recipe> ids in order.json,
and Delete on a selected line confirms before removing a local model
or hiding a subscription, which keeps its credentials.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Preview agent line moves live while dragging

The dragged line follows the pointer and the others slide aside into
the slots they'll take, with Elsewhen's variable-height row math; a
drop settles into place before the order is written, and Escape
returns the line to where it started.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Document running several local models at once

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Free idle model weights from the page cache around starts and stops

A stopped model's weights stayed cached, leaving memory free in total
but in pieces, and halogen stalled reserving its KV pool in 2 MiB
blocks. Stopping a model now drops its weights from the page cache with
POSIX_FADV_DONTNEED, unprivileged, and a start does the same for every
model not running before checking headroom. Start also shows loading
before those checks rather than after them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Let the loading bar alone say a local model is loading

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Show why a local model can't start, and its stopping progress, inline

A failed start keeps a one-line reason per model, which the panel shows
in place of the progress bar until the next attempt; a memory refusal
clears itself once the model fits again. status.json says whether each
stopped model fits in free memory now, and the panel greys play out
with "Not enough memory" before anything is tried. Stops are timed per
model, and stopping gets a progress bar against the last one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Predict a local model's loading bar from its last start

Every start is timed from the click and the next one's bar runs against
it: starts read weights cold since stops evict them, so the last start
predicts the next (13.2 s twice running for Qwen3.8 27B) where the
setup run's warm 5 s did not. The bar runs to 90% at that time and then
creeps toward 98%, and loading and stopping drop their seconds.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Add local AI to the agents panel's Add another, and tidy its lines

Add another (the + tooltip and the picker's heading) offers Local AI
beside the subscriptions, listing the catalog's recipes that fit this
machine and aren't set up, recommended first; picking one sets it up in
a terminal. A line's keyboard stop is now its rightmost button, terminal
or play, and a memory refusal leaves no message since play is greyed
out before a start is tried. A finished start or stop fills its bar
before the line changes over.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Grey out Local AI when every eligible model is installed

Choosing it with nothing left to add did nothing at all; it now reads
as unavailable and says why on hover.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Fix review findings in local model lifecycle and status

- Validate a replayed manifest's files before writing anything, and keep
  every link inside its directory.
- Give each run's files their own immutable file-set directory, so a
  failed setup's rollback still has the previous files; prune older sets
  after the new run commits.
- Match run manifests to their recipe whole, so removing bar keeps
  foo-bar's history.
- Serialize start with use and remove, so concurrent starts can't both
  pass the memory check.
- Have the units' hooks report how the transition ended, since systemd
  still says activating or deactivating while they run, and collect and
  write status under one lock.
- Feed list.json to the panel again for Add another › Local AI.
- Shell-quote pi's key command.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Address Greptile review and drop catalog signing

- Build each file set from its resolved directory, so a model store
  moved to another disk through a symlink isn't refused.
- Give each recipe its own pi and OpenCode overlay file, so launches of
  two models close together can't swap them.
- Re-check whether stopped models fit once when the panel opens and one
  shows as not fitting, so play isn't held off by memory freed since.
- Drop catalog commit signing and the no-rollback check with it: the
  catalog repository's access control decides who may change it.
  allowed_signers and the trust setting go; a catalog still has to
  validate before it replaces the accepted one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Set up local models from the agents panel, not the Install menu

Install > AI's local model entries and their picker go, along with the
menu provider's unavailable-reason field only they used. Local AI is
added from the agents panel's Add another and run from its lines or
omarchy agent local.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Keep a greyed-out model play button closed to the keyboard too

Return started a model whose play was greyed out, since only the click
checked; the start action itself now refuses it. The keyboard cursor
on that button shows its "Not enough memory" tooltip, as hovering does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Make the Local AI picker keyboard-driven and show measured facts

Arrow keys now move through the recipes and the cursor starts on the first one. Only the vendor mark is lit, as on an agent's line, so the highlight no longer overflows the panel. Each card adds the measured memory, context and long-prompt speed for this machine class.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Show a progress bar while a local model is removed

Removal marks the model as removing for its whole run, stop and deletion alike, with an expected time from its last stop and the measured deletion rate, so the panel shows a Removing bar instead of a stopped model that lingers.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Show only a recipe's details on its Local AI card

Architecture, measured memory, context and speed for this machine class, instead of a prose summary. Recipes gain an optional architecture field (dense or moe), and the docs cover it along with the removing state.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Show image pulls as one progress line

Podman draws a redrawn bar per layer only on a terminal, which piles up into a wall of Copying blob lines. The pull now runs on a pseudo-terminal, its bars sum into the same progress line Hugging Face downloads use, and its own messages show only when it fails. The systemd notify variables are dropped from the pull's environment, so a large image isn't cut off by Podman's five-minute pull timeout under a unit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Install a local model even when it can't start yet

A setup whose memory is held by other running models used to download everything and then fail, leaving the files unregistered and the model missing from the panel. It now saves the setup stopped, says why it can't start and how to start it later, and finishes as done.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Fold the local model commands into one omarchy-agent-local

Like omarchy-audio-tuning and omarchy-bluetooth-device, one script takes the command as its first argument instead of a wrapper file per command. The panel calls start --setup directly instead of the switch wrapper, and generated units call omarchy-agent-local status from their hooks.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Let a flags-only command's options name their values

omarchy-agent's [--local-model <recipe>] and [--agent <id>] made the router stop treating it as flags-only, so omarchy agent account reached the launcher instead of listing the account commands.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Confirm a Delete in the agents panel with Return

The dialog opened on Cancel, so Delete then Return quietly did nothing while looking like a removal. It now starts on the action, like every other confirmation.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Drop a removed model's blobs that only a seed copy still links

Removal kept any blob with another hard link, so weights set up from a --seed copy stayed in the store after their recipe was gone. Only another recipe's files now keep a blob.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Centre a Local AI recipe's mark on its name and details

The mark sat beside the name alone, with the details hanging below it. It now sits beside both lines, which start at the same edge.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Size a Local AI recipe's mark to frame its name and details

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Address the latest Greptile review

An interrupted removal keeps the model's manifest; a removal in progress outranks the stop hook's status; a setup deferred for memory runs the post-start key and model checks on its first start, and only a first setup is deferred, so an update keeps its rollback; recipe card numbers follow the language; the command's examples show where each command's options are.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Address the latest Codex review

autostart on refuses a setup that was never started, since session autostart would skip its first-start checks, and an interrupted removal rewrites the status so the panel doesn't stay on Removing.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Run local models from the omarchy-local-ai package

The engine, the recipe catalog and their reference move to omacom/omarchy-local-ai and ship as the omarchy-local-ai package, which depends on Podman and crun. omarchy-agent-local becomes a thin command that runs it, installing it when a model is first set up from a terminal; the panel's Local AI does that when nothing is listed yet. Podman and crun leave the base packages, with their migration, and omarchy update refreshes the listing only where the package is installed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Refresh the local recipe listing when Add another opens

The listing is rewritten where it's read, instead of on every omarchy update, so an upgrade by any route shows up and the update knows nothing of local models.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Drop the local models plan

Its decisions live in the omarchy-local-ai package's reference and docs/local-models.md now.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Drop local model autostart and start --setup

Models start from the panel or omarchy agent local start, through the memory check; the panel's play calls plain start, since every model it lists is set up.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Refresh the local recipe listing whenever the picker shows

A blank slate opens the picker without the + button, so refreshing only from it missed a first setup.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Install omarchy-local-ai everywhere and offer Local AI only where it fits

With the engine and recipes on every machine, the agents panel lists Local AI only when a recipe fits this hardware. Podman and crun are now installed by omarchy agent local use the first time a model is set up, not with the package.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Load the local listing once the first refresh writes it

On a fresh account list.json and status.json don't exist when the panel starts watching them, and a missing file can't be watched, so Local AI stayed hidden until the shell restarted. The refresh now runs as a process and both files load when it finishes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Mark Groves <[email protected]>
omarchybot and others added 4 commits November 1, 2026 23:08
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mark Groves <[email protected]>
* Open OpenCode 2 with the Omarchy theme

OpenCode 2 reads its TUI theme from cli.json and ignores the theme key in
opencode.json, so fresh installs started on the stock theme. Ship cli.json
with the system theme and add it for existing users who haven't picked one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Drop the OpenCode 1 settings from opencode.json

OpenCode 2 ignores the theme key there, and spells the update policy
update: "disable". Keep only that, since 2.x still reads it from
opencode.json and would otherwise nag about updates mise owns.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
…t by config (omacom#17296)

* Open local models in OpenCode 2 on a private server with the model set by config

OpenCode 2's interactive command rejects --model, so the local launch
printed help and exited, and its sessions attach to a background service
that never sees the launch-time OPENCODE_CONFIG overlay.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* Trim the OpenCode local launch comment

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
@cursor
cursor Bot marked this pull request as ready for review November 1, 2026 23:11
@mark-groves
mark-groves merged commit ea59d10 into quattro Nov 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants