mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-20 11:19:56 +08: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:
12
SKILL.md
12
SKILL.md
@@ -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)
|
## SETUP (run this check BEFORE any browse command)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
BROWSE_OUTPUT=$(browse/bin/find-browse 2>/dev/null || ~/.claude/skills/gstack/browse/bin/find-browse 2>/dev/null)
|
B=$(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)
|
|
||||||
if [ -n "$B" ]; then
|
if [ -n "$B" ]; then
|
||||||
echo "READY: $B"
|
echo "READY: $B"
|
||||||
[ -n "$META" ] && echo "$META"
|
|
||||||
else
|
else
|
||||||
echo "NEEDS_SETUP"
|
echo "NEEDS_SETUP"
|
||||||
fi
|
fi
|
||||||
@@ -39,13 +36,6 @@ If `NEEDS_SETUP`:
|
|||||||
2. Run: `cd <SKILL_DIR> && ./setup`
|
2. Run: `cd <SKILL_DIR> && ./setup`
|
||||||
3. If `bun` is not installed: `curl -fsSL https://bun.sh/install | bash`
|
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
|
## IMPORTANT
|
||||||
|
|
||||||
- Use the compiled binary via Bash: `$B <command>`
|
- Use the compiled binary via Bash: `$B <command>`
|
||||||
|
|||||||
Reference in New Issue
Block a user