feat(statusline): show update indicator when new GSD version available

Adds SessionStart hook that checks npm in background, caches result.
Statusline shows "⬆ /gsd:update │" when update available.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Lex Christopherson
2026-01-16 12:53:45 -06:00
parent 2569be698d
commit 7a451e6410
4 changed files with 71 additions and 6 deletions

View File

@@ -85,6 +85,12 @@ npx get-shit-done-cc --global
```
Capture output. If install fails, show error and STOP.
Clear the update cache so statusline indicator disappears:
```bash
rm -f ~/.claude/cache/gsd-update-check.json
```
</step>
<step name="fetch_changelog">