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
{{ message }}
Repository navigation
Switch between named herdr sessions from the app #3183
I run several named herdr sessions (herdr --session <name>), one per client or project. Ovis shows only one: the session in HERDR_SOCKET, or else the one that started the plugin first. To see another session from my phone, I edit the plugin's .env on the PC and restart Ovis, which drops every open browser and phone connection.
Proposal
List the PC's herdr sessions (herdr session list --json: name, running, socket) in the app, for example in the sidebar header or the command palette. Picking a running session switches the server's herdr connection to that socket, with no restart. The app reloads its workspaces, and the choice stays across restarts. Stopped sessions show greyed out. HERDR_SOCKET in the config still pins the session and hides the picker.
Where
Sidebar / command palette, server herdr client.
Where it exists today
herdr itself: herdr session list and herdr session attach <name> switch the TUI between sessions. Ovis's PC list already switches between herdr instances on other machines, so a local session could be one more entry in it.
Workarounds and alternatives
Now: a script that rewrites HERDR_SOCKET in the plugin .env and runs plugin.ts stop plus the start action. An alternative is to add each local session as a "PC" over SSH to localhost (the SSH target has a session field). That needs sshd and adds a hop.
Activity