feat: add headed/headless mode option to test-browser

- Add Step 0 asking user if they want to watch browser tests
- Headed mode opens visible browser window
- Headless mode runs faster in background
- Bump version to 2.25.0

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Kieran Klaassen
2026-01-14 16:20:54 -08:00
parent 31bd85f60b
commit 43f6804b17
3 changed files with 51 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "compound-engineering",
"version": "2.24.0",
"version": "2.25.0",
"description": "AI-powered development tools. 27 agents, 20 commands, 14 skills, 1 MCP server for code review, research, design, and workflow automation.",
"author": {
"name": "Kieran Klaassen",

View File

@@ -5,6 +5,40 @@ All notable changes to the compound-engineering plugin will be documented in thi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.25.0] - 2026-01-14
### Added
- **`agent-browser` skill** - Browser automation using Vercel's agent-browser CLI
- Navigate, click, fill forms, take screenshots
- Uses ref-based element selection (simpler than Playwright)
- Works in headed or headless mode
### Changed
- **Replaced Playwright MCP with agent-browser** - Simpler browser automation across all browser-related features:
- `/test-browser` command - Now uses agent-browser CLI with headed/headless mode option
- `/feature-video` command - Uses agent-browser for screenshots
- `design-iterator` agent - Browser automation via agent-browser
- `design-implementation-reviewer` agent - Screenshot comparison
- `figma-design-sync` agent - Design verification
- `bug-reproduction-validator` agent - Bug reproduction
- `/review` workflow - Screenshot capabilities
- `/work` workflow - Browser testing
- **`/test-browser` command** - Added "Step 0" to ask user if they want headed (visible) or headless browser mode
### Removed
- **Playwright MCP server** - Replaced by agent-browser CLI (simpler, no MCP overhead)
- **`/playwright-test` command** - Renamed to `/test-browser`
### Summary
- 27 agents, 20 commands, 14 skills, 1 MCP server
---
## [2.23.2] - 2026-01-09
### Changed

View File

@@ -43,6 +43,22 @@ See the `agent-browser` skill for detailed usage.
## Main Tasks
### 0. Ask Browser Mode
<ask_browser_mode>
Before starting tests, ask user if they want to watch the browser:
Use AskUserQuestion with:
- Question: "Do you want to watch the browser tests run?"
- Options:
1. **Headed (watch)** - Opens visible browser window so you can see tests run
2. **Headless (faster)** - Runs in background, faster but invisible
Store the choice and use `--headed` flag when user selects "Headed".
</ask_browser_mode>
### 1. Determine Test Scope
<test_target> $ARGUMENTS </test_target>