Skip to content

v0.6.0

Latest

Choose a tag to compare

@tdi tdi released this 11 Sep 09:45

Changes since 0.5.0

  • feat: label the worktree's workspace with its Linear issue. Creating or opening an issue worktree publishes a linear workspace 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: runCmd now returns res.error, so ENOENT and timeouts stop looking like exit 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-metadata and $name sidebar 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