Commit Graph

7 Commits

Author SHA1 Message Date
Garry Tan 510bc4782a chore: rename skill from browse to gstack-browse
Update all paths from ~/.claude/skills/browse/ to
~/.claude/skills/gstack-browse/ in SKILL.md and cli.ts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 14:25:09 -07:00
Garry Tan 63bd25ed88 chore: ignore bun.lock
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 14:23:45 -07:00
Garry Tan ed758169c0 docs: Claude Code skill definition (SKILL.md)
Teaches Claude Code how to use the browse tool: command reference,
speed rules, decision table, multi-step workflow examples, and
architecture overview.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 14:23:45 -07:00
Garry Tan 27b28b048d test: 40 integration tests with fixture server
Tests all commands against local Bun test server serving HTML fixtures.
Covers navigation, content extraction, JS/CSS inspection, form interaction,
SPA rendering, console/network buffers, tabs, screenshots, responsive,
diff, chain, and storage.

40 pass, 0 fail, 2s runtime.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 14:23:45 -07:00
Garry Tan 9e03049de1 feat: 40+ browser commands (read, write, meta)
Read: text, html, links, forms, accessibility, js, eval, css, attrs,
console, network, cookies, storage, perf
Write: goto, back, forward, reload, click, fill, select, hover, type,
press, scroll, wait, viewport, cookie, header, useragent
Meta: tabs, tab, newtab, closetab, status, url, stop, restart,
screenshot, pdf, responsive, chain, diff

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 14:23:45 -07:00
Garry Tan 564599e58b feat: persistent Chromium daemon with CLI wrapper
Bun-powered HTTP server on localhost keeps headless Chromium alive
between commands. CLI auto-starts server on first call (~3s), subsequent
commands ~100-200ms. Bearer token auth, 30 min idle shutdown, auto-restart
on Chromium crash.

Architecture: compiled CLI binary → HTTP POST → Bun.serve → Playwright

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 14:23:44 -07:00
Garry Tan 3b79ca5684 Initial commit 2026-03-11 14:22:45 -07:00