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
herdr-core mode: hc connect autostarts the core with the Herdr TUI pane's HERDR_* variables #3285
On Linux with herdr-core 0.1.18 and Ovis at 9974f099 in herdr-core mode, Ovis's hc connect can be the first hc call after login. hc then autostarts the core, and the core keeps the caller's whole environment for every terminal it creates (herdrdev/herdr-core#86). Ovis runs as a Herdr TUI plugin, so that environment includes the TUI pane's identity:
Every Herdr app terminal opened afterwards carries these. Programs there take them for a Herdr TUI pane: herdr CLI calls target pane wBE:p2, and scripts that support both TUI and app see two identities. The core's environment file has PWD set to Ovis's plugin checkout, which is how we traced it to Ovis.
Proposed fix
In server/herdr-core/connection.ts (spawnHcConnect), spawn hc connect with the Herdr TUI pane and plugin variables removed: HERDR_ENV, HERDR_PANE_ID, HERDR_TAB_ID, HERDR_WORKSPACE_ID and HERDR_PLUGIN_*. The same goes for any other hc invocation that can start the core. hc doesn't need any of them, and herdrdev/herdr-core#86 is the root fix on hc's side.
Fixed in #3342: hc connect is now started without the Herdr TUI pane and plugin variables (HERDR_ENV, HERDR_PANE_ID, HERDR_TAB_ID, HERDR_WORKSPACE_ID, HERDR_PLUGIN_*), so a core it starts no longer hands them to its terminals.
Activity
devswha commentedon Nov 11, 2026
Fixed in #3342:
hc connectis now started without the Herdr TUI pane and plugin variables (HERDR_ENV,HERDR_PANE_ID,HERDR_TAB_ID,HERDR_WORKSPACE_ID,HERDR_PLUGIN_*), so a core it starts no longer hands them to its terminals.