Sync the outer terminal window/tab title to the focused Herdr workspace, tab, and agent session.
This is useful for terminals and clients that track the terminal title, similar to tmux set-titles.
I made this because I wanted Herdr sessions to show useful titles in Moshi. Tmux already updates the terminal title, so resumed sessions are easy to recognize. Herdr did not do that in the same way, and 1 was not enough context.
herdr plugin install rjyo/herdr-window-title-syncFor local development:
herdr plugin link .The plugin chooses the first available title:
- Herdr pane metadata title, when an integration reports one.
- Herdr display agent and custom status.
- Latest user prompt from local Codex or Claude Code session files.
- Herdr's detected agent name.
- The focused tab as a fallback, numbered by its switch order (prefix + N).
The focused workspace name is appended in parentheses. Examples:
codex: Implement title sync (app-ios)
claude (app-ios)
tab 2 (app-ios)
tab 5 / sim (app-ios)
herdr plugin action invoke rjyo.window-title-sync.refreshThe plugin runs locally and does not send data over the network. As a fallback, it reads local Codex and Claude Code session JSONL files to find a useful title when Herdr does not expose one directly. That means prompt text may appear in your terminal window/tab title.
- Herdr
0.7.0or newer - Bun available on
PATH - macOS or Linux
MIT