Upgrades a Homebrew-installed Claude Code before it launches, then execs into it with your args intact. When the "Update available! Run: brew upgrade claude-code@latest" notice shows up, quit and claude --resume: you land back in the same session on the new version.
mkdir -p ~/.local/bin
curl -fsSL https://gist.githubusercontent.com/xrl/0fe06cc8c78e0859fc228b38cb33ec81/raw/claude-boot -o ~/.local/bin/claude-boot
chmod +x ~/.local/bin/claude-boot