mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-19 19:02:29 +08:00
feat: rename /connect-chrome → /open-gstack-browser
- Rename skill directory + update frontmatter name and description - Update SKILL.md.tmpl to reference GStack Browser branding/stealth - Create connect-chrome symlink for backwards compatibility - Setup script creates /connect-chrome alias in .claude/skills/ - Fix package.json version sync (0.14.5.0 → 0.14.6.0)
This commit is contained in:
@@ -95,7 +95,8 @@ gstack/
|
|||||||
├── cso/ # /cso skill (OWASP Top 10 + STRIDE security audit)
|
├── cso/ # /cso skill (OWASP Top 10 + STRIDE security audit)
|
||||||
├── design-consultation/ # /design-consultation skill (design system from scratch)
|
├── design-consultation/ # /design-consultation skill (design system from scratch)
|
||||||
├── design-shotgun/ # /design-shotgun skill (visual design exploration)
|
├── design-shotgun/ # /design-shotgun skill (visual design exploration)
|
||||||
├── connect-chrome/ # /connect-chrome skill (headed Chrome with side panel)
|
├── open-gstack-browser/ # /open-gstack-browser skill (launch GStack Browser)
|
||||||
|
├── connect-chrome/ # symlink → open-gstack-browser (backwards compat)
|
||||||
├── design/ # Design binary CLI (GPT Image API)
|
├── design/ # Design binary CLI (GPT Image API)
|
||||||
│ ├── src/ # CLI + commands (generate, variants, compare, serve, etc.)
|
│ ├── src/ # CLI + commands (generate, variants, compare, serve, etc.)
|
||||||
│ ├── test/ # Integration tests
|
│ ├── test/ # Integration tests
|
||||||
|
|||||||
1
connect-chrome
Symbolic link
1
connect-chrome
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
open-gstack-browser
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
---
|
---
|
||||||
name: connect-chrome
|
name: open-gstack-browser
|
||||||
version: 0.1.0
|
version: 0.2.0
|
||||||
description: |
|
description: |
|
||||||
Launch real Chrome controlled by gstack with the Side Panel extension auto-loaded.
|
Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in.
|
||||||
One command: connects Claude to a visible Chrome window where you can watch every
|
Opens a visible browser window where you can watch every action in real time.
|
||||||
action in real time. The extension shows a live activity feed in the Side Panel.
|
The sidebar shows a live activity feed and chat. Anti-bot stealth built in.
|
||||||
Use when asked to "connect chrome", "open chrome", "real browser", "launch chrome",
|
Use when asked to "open gstack browser", "launch browser", "connect chrome",
|
||||||
"side panel", or "control my browser".
|
"open chrome", "real browser", "launch chrome", "side panel", or "control my browser".
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
@@ -47,7 +47,7 @@ echo "TELEMETRY: ${_TEL:-off}"
|
|||||||
echo "TEL_PROMPTED: $_TEL_PROMPTED"
|
echo "TEL_PROMPTED: $_TEL_PROMPTED"
|
||||||
mkdir -p ~/.gstack/analytics
|
mkdir -p ~/.gstack/analytics
|
||||||
if [ "${_TEL:-off}" != "off" ]; then
|
if [ "${_TEL:-off}" != "off" ]; then
|
||||||
echo '{"skill":"connect-chrome","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basename "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null || echo "unknown")'"}' >> ~/.gstack/analytics/skill-usage.jsonl 2>/dev/null || true
|
echo '{"skill":"open-gstack-browser","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basename "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null || echo "unknown")'"}' >> ~/.gstack/analytics/skill-usage.jsonl 2>/dev/null || true
|
||||||
fi
|
fi
|
||||||
# zsh-compatible: use find instead of glob to avoid NOMATCH error
|
# zsh-compatible: use find instead of glob to avoid NOMATCH error
|
||||||
for _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do
|
for _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do
|
||||||
@@ -420,10 +420,10 @@ Then write a `## GSTACK REVIEW REPORT` section to the end of the plan file:
|
|||||||
file you are allowed to edit in plan mode. The plan file review report is part of the
|
file you are allowed to edit in plan mode. The plan file review report is part of the
|
||||||
plan's living status.
|
plan's living status.
|
||||||
|
|
||||||
# /connect-chrome — Launch Real Chrome with Side Panel
|
# /open-gstack-browser — Launch GStack Browser
|
||||||
|
|
||||||
Connect Claude to a visible Chrome window with the gstack extension auto-loaded.
|
Launch GStack Browser — AI-controlled Chromium with the sidebar extension,
|
||||||
You see every click, every navigation, every action in real time.
|
anti-bot stealth, and custom branding. You see every action in real time.
|
||||||
|
|
||||||
## SETUP (run this check BEFORE any browse command)
|
## SETUP (run this check BEFORE any browse command)
|
||||||
|
|
||||||
@@ -490,10 +490,11 @@ echo "Pre-flight cleanup done"
|
|||||||
$B connect
|
$B connect
|
||||||
```
|
```
|
||||||
|
|
||||||
This launches Playwright's bundled Chromium in headed mode with:
|
This launches GStack Browser (rebranded Chromium) in headed mode with:
|
||||||
- A visible window you can watch (not your regular Chrome — it stays untouched)
|
- A visible window you can watch (not your regular Chrome — it stays untouched)
|
||||||
- The gstack Chrome extension auto-loaded via `launchPersistentContext`
|
- The gstack sidebar extension auto-loaded via `launchPersistentContext`
|
||||||
- A golden shimmer line at the top of every page so you know which window is controlled
|
- Anti-bot stealth patches (sites like Google and NYTimes work without captchas)
|
||||||
|
- Custom user agent and GStack Browser branding in Dock/menu bar
|
||||||
- A sidebar agent process for chat commands
|
- A sidebar agent process for chat commands
|
||||||
|
|
||||||
The `connect` command auto-discovers the extension from the gstack install
|
The `connect` command auto-discovers the extension from the gstack install
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
---
|
---
|
||||||
name: connect-chrome
|
name: open-gstack-browser
|
||||||
version: 0.1.0
|
version: 0.2.0
|
||||||
description: |
|
description: |
|
||||||
Launch real Chrome controlled by gstack with the Side Panel extension auto-loaded.
|
Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in.
|
||||||
One command: connects Claude to a visible Chrome window where you can watch every
|
Opens a visible browser window where you can watch every action in real time.
|
||||||
action in real time. The extension shows a live activity feed in the Side Panel.
|
The sidebar shows a live activity feed and chat. Anti-bot stealth built in.
|
||||||
Use when asked to "connect chrome", "open chrome", "real browser", "launch chrome",
|
Use when asked to "open gstack browser", "launch browser", "connect chrome",
|
||||||
"side panel", or "control my browser".
|
"open chrome", "real browser", "launch chrome", "side panel", or "control my browser".
|
||||||
allowed-tools:
|
allowed-tools:
|
||||||
- Bash
|
- Bash
|
||||||
- Read
|
- Read
|
||||||
@@ -16,10 +16,10 @@ allowed-tools:
|
|||||||
|
|
||||||
{{PREAMBLE}}
|
{{PREAMBLE}}
|
||||||
|
|
||||||
# /connect-chrome — Launch Real Chrome with Side Panel
|
# /open-gstack-browser — Launch GStack Browser
|
||||||
|
|
||||||
Connect Claude to a visible Chrome window with the gstack extension auto-loaded.
|
Launch GStack Browser — AI-controlled Chromium with the sidebar extension,
|
||||||
You see every click, every navigation, every action in real time.
|
anti-bot stealth, and custom branding. You see every action in real time.
|
||||||
|
|
||||||
{{BROWSE_SETUP}}
|
{{BROWSE_SETUP}}
|
||||||
|
|
||||||
@@ -52,10 +52,11 @@ echo "Pre-flight cleanup done"
|
|||||||
$B connect
|
$B connect
|
||||||
```
|
```
|
||||||
|
|
||||||
This launches Playwright's bundled Chromium in headed mode with:
|
This launches GStack Browser (rebranded Chromium) in headed mode with:
|
||||||
- A visible window you can watch (not your regular Chrome — it stays untouched)
|
- A visible window you can watch (not your regular Chrome — it stays untouched)
|
||||||
- The gstack Chrome extension auto-loaded via `launchPersistentContext`
|
- The gstack sidebar extension auto-loaded via `launchPersistentContext`
|
||||||
- A golden shimmer line at the top of every page so you know which window is controlled
|
- Anti-bot stealth patches (sites like Google and NYTimes work without captchas)
|
||||||
|
- Custom user agent and GStack Browser branding in Dock/menu bar
|
||||||
- A sidebar agent process for chat commands
|
- A sidebar agent process for chat commands
|
||||||
|
|
||||||
The `connect` command auto-discovers the extension from the gstack install
|
The `connect` command auto-discovers the extension from the gstack install
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "gstack",
|
"name": "gstack",
|
||||||
"version": "0.14.5.0",
|
"version": "0.14.6.0",
|
||||||
"description": "Garry's Stack — Claude Code skills + fast headless browser. One repo, one install, entire AI engineering workflow.",
|
"description": "Garry's Stack — Claude Code skills + fast headless browser. One repo, one install, entire AI engineering workflow.",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
8
setup
8
setup
@@ -570,6 +570,14 @@ if [ "$INSTALL_CLAUDE" -eq 1 ]; then
|
|||||||
# reads the correct (patched) name: values for symlink naming
|
# reads the correct (patched) name: values for symlink naming
|
||||||
"$SOURCE_GSTACK_DIR/bin/gstack-patch-names" "$SOURCE_GSTACK_DIR" "$SKILL_PREFIX"
|
"$SOURCE_GSTACK_DIR/bin/gstack-patch-names" "$SOURCE_GSTACK_DIR" "$SKILL_PREFIX"
|
||||||
link_claude_skill_dirs "$SOURCE_GSTACK_DIR" "$INSTALL_SKILLS_DIR"
|
link_claude_skill_dirs "$SOURCE_GSTACK_DIR" "$INSTALL_SKILLS_DIR"
|
||||||
|
# Backwards-compat alias: /connect-chrome → /open-gstack-browser
|
||||||
|
_OGB_LINK="$INSTALL_SKILLS_DIR/connect-chrome"
|
||||||
|
if [ "$SKILL_PREFIX" -eq 1 ]; then
|
||||||
|
_OGB_LINK="$INSTALL_SKILLS_DIR/gstack-connect-chrome"
|
||||||
|
fi
|
||||||
|
if [ -L "$_OGB_LINK" ] || [ ! -e "$_OGB_LINK" ]; then
|
||||||
|
ln -snf "gstack/open-gstack-browser" "$_OGB_LINK"
|
||||||
|
fi
|
||||||
if [ "$LOCAL_INSTALL" -eq 1 ]; then
|
if [ "$LOCAL_INSTALL" -eq 1 ]; then
|
||||||
echo "gstack ready (project-local)."
|
echo "gstack ready (project-local)."
|
||||||
echo " skills: $INSTALL_SKILLS_DIR"
|
echo " skills: $INSTALL_SKILLS_DIR"
|
||||||
|
|||||||
Reference in New Issue
Block a user