feat: surface the exact Claude prompt in the update message#31
Merged
Conversation
The 'Update available: <tag>' line previously trailed the repo URL, which is clickable but requires the reader to then figure out what to do (clone, pull, paste, ...). Replace the URL with the exact Claude Code prompt to run — 'Find my installed status bar and update it' — so a Pro/Max user can copy-paste straight into Claude and let it run the documented update flow. Align the README's Updating section with the same wording.
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
The
Update available: <tag>line the status line prints when a new release is out previously trailed the repo URL. That is clickable but leaves the reader to figure out what to do next (clone? pull? paste?). Replace the URL with the exact Claude Code prompt to run, so a Pro/Max user can copy-paste straight into Claude and let it follow the documented update flow.Before
After
Code changes
statusline.sh:483— Replace the trailing URL with the Claude prompt.statusline.ps1:460— Same change, using PowerShell's backtick-escaped quotes.README.md:40— Align the "Updating" section's suggested prompt with the same wording the status line now surfaces, so the docs and the runtime message are consistent.How to test
VERSION="1.0.0"(or any value below the latest tag) instatusline.sh/statusline.ps1.rm /tmp/claude/statusline-version-cache.json.Update available: <tag> → Tell Claude: "Find my installed status bar and update it".VERSION.