mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-01 19:25:10 +02:00
chore: regenerate SKILL.md from template
v0.3.3 updated SKILL.md.tmpl but the generated output was stale. Removes deprecated META:UPDATE_AVAILABLE setup flow.
This commit is contained in:
@@ -23,12 +23,9 @@ Auto-shuts down after 30 min idle. State persists between calls (cookies, tabs,
|
||||
## SETUP (run this check BEFORE any browse command)
|
||||
|
||||
```bash
|
||||
BROWSE_OUTPUT=$(browse/bin/find-browse 2>/dev/null || ~/.claude/skills/gstack/browse/bin/find-browse 2>/dev/null)
|
||||
B=$(echo "$BROWSE_OUTPUT" | head -1)
|
||||
META=$(echo "$BROWSE_OUTPUT" | grep "^META:" || true)
|
||||
B=$(browse/bin/find-browse 2>/dev/null || ~/.claude/skills/gstack/browse/bin/find-browse 2>/dev/null)
|
||||
if [ -n "$B" ]; then
|
||||
echo "READY: $B"
|
||||
[ -n "$META" ] && echo "$META"
|
||||
else
|
||||
echo "NEEDS_SETUP"
|
||||
fi
|
||||
@@ -39,13 +36,6 @@ If `NEEDS_SETUP`:
|
||||
2. Run: `cd <SKILL_DIR> && ./setup`
|
||||
3. If `bun` is not installed: `curl -fsSL https://bun.sh/install | bash`
|
||||
|
||||
If you see `META:UPDATE_AVAILABLE`:
|
||||
1. Parse the JSON payload to get `current`, `latest`, and `command`.
|
||||
2. Tell the user: "A gstack update is available (current: X, latest: Y). OK to update?"
|
||||
3. **STOP and wait for approval.**
|
||||
4. Run the command from the META payload.
|
||||
5. Re-run the setup check above to get the updated binary path.
|
||||
|
||||
## IMPORTANT
|
||||
|
||||
- Use the compiled binary via Bash: `$B <command>`
|
||||
|
||||
Reference in New Issue
Block a user