/herdr-server-update:herdr-server-updatefrom herdr-server-update
herdr 패널 안의 세션에서 herdr 서버를 최신 버전으로 올린다(macOS). `herdr update` 가 "run `herdr update` outside herdr after detaching from the session" 으로 거부될 때, launchd 일회성 작업으로 `herdr update --handoff` 를 실행한다. "herdr 업데이트", "herdr server 최신 버전으로", "herdr 서버 올려" 요청에 사용.
Ships in herdr-server-update. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
herdr 패널 안에서 herdr update 를 부르면 update failed: run herdr update outside herdr after detaching from the session 으로 끝난다. launchd 가 띄운 프로세스는 herdr 밖이므로 거기서 herdr update --handoff 를 실행한다. 환경 변수를 지워 패널 안에서 우회하는 방법은 쓰지 않는다.
herdr status — 현재 버전과 restart_needed 를 본다.herdr agent list — working·blocked 인 다른 에이전트가 있으면 사용자에게 알린다.bash "${CLAUDE_PLUGIN_ROOT}/skills/herdr-server-update/update.sh"
Bash 도구 timeout 은 360000 으로 준다. 스크립트가 하는 일:
HOME·PATH·SHELL·LANG 등)을 작업에 옮긴다. 새 서버가 작업의 환경을 물려받는다.<경로>-<버전>.bak 으로 복사한다.AbandonProcessGroup 을 켠 local.herdr-update-once 작업을 launchctl bootstrap 한다(KeepAlive 없음).bootout 한다.live handoff complete for session default 가 있다.herdr status 의 client·server 버전이 같고 restart_needed: no.herdr agent list 의 패널 ID 가 실행 전과 같다.화면이 끊긴 클라이언트는 herdr 로 다시 붙는다. 백업은 문제없음을 확인한 뒤 사용자가 지운다.
launchctl bootstrap 직후에는 작업이 아직 running 이 아니다. state = running 이 사라질 때까지 기다리는 루프는 바로 빠져나온다. last exit code 가 숫자가 되는 것을 기다린다.PATH 에는 공백이 든 항목이 있을 수 있다(Visual Studio Code.app). ps eww 출력을 공백으로 자르면 PATH 가 잘린다.herdr update 는 herdr server stop 과 다르다. 실패해도 서버를 임의로 멈추지 않는다.2026-11-29, macOS 27.0.1 · herdr 0.9.0 → 0.9.5(프로토콜 22 동일) · 패널 3개와 이 절차를 실행한 세션이 유지됨. 이름 있는 세션이 여러 개인 구성과 Linux 는 확인하지 않았다.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub rockheung/plugings --plugin herdr-server-update