Skip to content

feat(herdr): add herdr topic installer to dot workflow#49

Merged
akornmeier merged 2 commits into
mainfrom
feat/herdr-installer
May 20, 2026
Merged

feat(herdr): add herdr topic installer to dot workflow#49
akornmeier merged 2 commits into
mainfrom
feat/herdr-installer

Conversation

@akornmeier
Copy link
Copy Markdown
Owner

Summary

Adds a herdr/ topic that brings the herdr CLI (terminal workspace manager for AI coding agents) into the dot install/update workflow. herdr is distributed only via a curl installer — no Homebrew formula — so it gets a topic install.sh like fnm/ and iterm2/.

Behavior

  • dot install / dot bootstrap — installs herdr via curl -fsSL https://herdr.dev/install.sh | sh if command -v herdr fails; otherwise skips.
  • dot / dot update — installs if missing, otherwise self-updates via herdr's built-in herdr update command.
  • Failures warn and continue — never abort the broader dot run.

Wired into bin/dot's cmd_install and cmd_update using the existing DOT_MODE branching pattern, mirroring iterm2/install.sh.

Changes

  • herdr/install.sh (new) — topic installer
  • bin/dot — two source lines (install + update modes)
  • CLAUDE.md — new ### herdr CLI doc section
  • .changeset/herdr-installer.mdminor bump

Testing

  • bash -n clean on herdr/install.sh and bin/dot
  • Install-mode run correctly detected an existing install and skipped (no side effects)

🤖 Generated with Claude Code

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>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.sh to install via the upstream curl installer and run herdr update during dot update.
  • Source the herdr installer from bin/dot in both cmd_install and cmd_update.
  • Document the new topic in CLAUDE.md and 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.

Comment thread herdr/install.sh
Comment thread herdr/install.sh
Comment thread CLAUDE.md Outdated
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>
@akornmeier akornmeier force-pushed the feat/herdr-installer branch from 30ad442 to c27bb3d Compare May 20, 2026 15:39
@akornmeier akornmeier merged commit 954a6f4 into main May 20, 2026
2 checks passed
@akornmeier akornmeier deleted the feat/herdr-installer branch May 20, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants