Releases: tdi/herdr-worktree-setup
Releases · tdi/herdr-worktree-setup
Release list
v0.3.0
Changes since 0.2.0
- feat (#3): report setup status to the herdr sidebar. The plugin publishes a
setupworkspace metadata token —setup: runningbefore the steps, thensetup: doneorsetup: failed— so a new worktree no longer looks ready whilepnpm installis still running. Every status carries a TTL (5s fordone, an hour for the others), so a killed setup leaves no permanently stale token. Reporting never changes setup's exit code, and repos with no matched steps publish nothing. - 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 status report just logs a warning.- Displaying the status needs herdr 0.7.4+, where
workspace report-metadataand$namesidebar tokens landed.
Showing the status
One-time opt-in in ~/.config/herdr/config.toml — merge $setup into your own rows rather than replacing them:
[ui.sidebar.spaces]
rows = [
["state_icon", "workspace"],
["branch", "git_status", "$setup"],
]Then herdr config check and herdr server reload-config.
Install
herdr plugin install tdi/herdr-worktree-setup --ref v0.3.0
v0.2.0
First tagged release of the herdr worktree-setup plugin.
Changes since 0.1.0
- fix (#1): handle herdr 0.7.3
worktree list --jsonshape in the CLI fallback path — worktrees are now nested underresult.worktreesand the workspace id field was renamed toopen_workspace_id. Backward-compatible with older shapes.
Compatibility
min_herdr_version:0.7.0(works on 0.7.x incl. 0.7.3)
Install
herdr plugin install tdi/herdr-worktree-setup