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