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:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "compound-engineering",
|
"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.",
|
"description": "AI-powered development tools. 27 agents, 20 commands, 14 skills, 1 MCP server for code review, research, design, and workflow automation.",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Kieran Klaassen",
|
"name": "Kieran Klaassen",
|
||||||
|
|||||||
@@ -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/),
|
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).
|
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
|
## [2.23.2] - 2026-01-09
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
@@ -43,6 +43,22 @@ See the `agent-browser` skill for detailed usage.
|
|||||||
|
|
||||||
## Main Tasks
|
## 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
|
### 1. Determine Test Scope
|
||||||
|
|
||||||
<test_target> $ARGUMENTS </test_target>
|
<test_target> $ARGUMENTS </test_target>
|
||||||
|
|||||||
Reference in New Issue
Block a user