Feature Request
Add --loop=codex to npx playwright init-agents so the Playwright Test Agents (planner, generator, healer) work in OpenAI Codex (CLI and desktop app).
Why now
Codex now supports project-scoped custom subagents via .codex/agents/*.toml. Docs: https://developers.openai.com/codex/subagents
Previous request #38530 was closed because Codex did not yet ship subagents.
Example
npx playwright init-agents --loop=codex
Writes .codex/agents/{planner,generator,healer}.toml using the Codex schema (name, description, sandbox_mode, developer_instructions, mcp_servers.playwright-test with command/args/enabled_tools).
Feature Request
Add
--loop=codextonpx playwright init-agentsso the Playwright Test Agents (planner, generator, healer) work in OpenAI Codex (CLI and desktop app).Why now
Codex now supports project-scoped custom subagents via
.codex/agents/*.toml. Docs: https://developers.openai.com/codex/subagentsPrevious request #38530 was closed because Codex did not yet ship subagents.
Example
Writes
.codex/agents/{planner,generator,healer}.tomlusing the Codex schema (name, description, sandbox_mode, developer_instructions, mcp_servers.playwright-test with command/args/enabled_tools).