feat(herdr): add herdr topic installer to dot workflow#49
Merged
Conversation
Add a `herdr/` topic that installs the herdr CLI via the upstream curl installer when missing, and self-updates it via the built-in `herdr update` command on `dot update`. Wired into bin/dot's cmd_install and cmd_update via the existing DOT_MODE branching pattern. Failures warn and continue, never aborting the broader dot run. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new herdr/ topic and wires it into the dot install/update workflow so the herdr CLI can be installed (or self-updated) as part of standard dotfiles maintenance.
Changes:
- Add
herdr/install.shto install via the upstream curl installer and runherdr updateduringdot update. - Source the herdr installer from
bin/dotin bothcmd_installandcmd_update. - Document the new topic in
CLAUDE.mdand add a Changesets minor bump entry.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
herdr/install.sh |
New topic installer that installs or updates herdr depending on DOT_MODE. |
bin/dot |
Sources the herdr installer during install and update workflows. |
CLAUDE.md |
Adds documentation for the herdr topic behavior and assumptions. |
.changeset/herdr-installer.md |
Records a minor version bump for the new topic installer feature. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
akornmeier
added a commit
that referenced
this pull request
May 20, 2026
- herdr/install.sh: check PIPESTATUS[1] for the curl|sh installer pipeline and verify the binary at $HOME/.local/bin/herdr directly instead of the PATH-dependent `command -v` post-check - CLAUDE.md: reword herdr PATH note to not imply ~/.local/bin is on $PATH during the bash-driven dot run Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- herdr/install.sh: check PIPESTATUS[1] for the curl|sh installer pipeline and verify the binary at $HOME/.local/bin/herdr directly instead of the PATH-dependent `command -v` post-check - CLAUDE.md: reword herdr PATH note to not imply ~/.local/bin is on $PATH during the bash-driven dot run Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
30ad442 to
c27bb3d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a
herdr/topic that brings the herdr CLI (terminal workspace manager for AI coding agents) into thedotinstall/update workflow. herdr is distributed only via a curl installer — no Homebrew formula — so it gets a topicinstall.shlikefnm/anditerm2/.Behavior
dot install/dot bootstrap— installs herdr viacurl -fsSL https://herdr.dev/install.sh | shifcommand -v herdrfails; otherwise skips.dot/dot update— installs if missing, otherwise self-updates via herdr's built-inherdr updatecommand.dotrun.Wired into
bin/dot'scmd_installandcmd_updateusing the existingDOT_MODEbranching pattern, mirroringiterm2/install.sh.Changes
herdr/install.sh(new) — topic installerbin/dot— twosourcelines (install + update modes)CLAUDE.md— new### herdr CLIdoc section.changeset/herdr-installer.md—minorbumpTesting
bash -nclean onherdr/install.shandbin/dot🤖 Generated with Claude Code