Merged

dhh opened omacom/omarchy#19856 at 05:39 UTC and merged it at 07:31 (commit omacom/omarchy@9b695d73a9c0). Before this change, most panel lines could only be hidden, and the account currently in use could not be removed at all. Now omarchy agent account remove works for every agent. For Claude, Codex and Grok it hands sessions or the primary login to another account first. Gemini's keyring entry and token file are cleared. Cursor and Muse run their own logout. OpenCode-backed keys are logged out under every id the agent's usage is read from. Copilot gets a terminal running its own logout. An agent is hidden only after its last sign-in is gone, and any successful sign-in shows it again.

greptile-apps[bot] raised a string of data-loss and correctness issues, and dhh answered each with a fix the same morning. Delete on a Cursor line could have removed a Claude account named cursor, so the panel now passes --agent (omacom/omarchy#19856:discussion_r4662486197, omacom/omarchy#19856:discussion_r4662576319). A failed registry save while promoting a Codex or Grok account could let a retry delete the surviving login. Logins are now copied, and old homes are deleted only after the save (omacom/omarchy#19856:discussion_r4662587357, omacom/omarchy#19856:discussion_r4662613455). A keyring error could have passed for a missing Gemini sign-in. It now fails the removal (omacom/omarchy#19856:discussion_r4662587366, omacom/omarchy#19856:discussion_r4662613736). Two removals at once could undo each other's hidden flags, so changes now go through a showAgent IPC call to the panel (omacom/omarchy#19856:discussion_r4662486219, omacom/omarchy#19856:discussion_r4662576768).

A follow-up commit at 08:48, omacom/omarchy@7403022b0736, fixed a related bug. The shell passes IPC arguments as text, so a bool parameter read the string false as true. As a result, removing an agent's last sign-in never actually hid it.