Repository navigation
Changes since 0.5.0
- feat: label the worktree's workspace with its Linear issue. Creating or opening an issue worktree publishes a
linearworkspace metadata token (BIT-1234), so the sidebar entry says which issue the worktree is for — useful where the branch name buries the identifier (tdi/bit-1234-fix-thing) or truncates before it. No TTL: the label stays for the life of the workspace. Reporting never affects the exit code; if herdr rejects it the plugin warns and the worktree is created all the same. - fix:
runCmdnow returnsres.error, so ENOENT and timeouts stop looking likeexit 1.
Compatibility
min_herdr_version:0.7.0— unchanged. Older herdr keeps working; the label report just logs a warning.- Displaying the label needs herdr 0.7.4+, where
workspace report-metadataand$namesidebar tokens landed.
Showing the label
One-time opt-in in ~/.config/herdr/config.toml — merge $linear into your own rows rather than replacing them:
[ui.sidebar.spaces]
rows = [
["state_icon", "workspace", "$linear"],
["branch", "git_status"],
]Then herdr config check and herdr server reload-config.
Install
herdr plugin install tdi/herdr-worktree-from-linear --ref v0.6.0