48 Commits

Author SHA1 Message Date
Tommy D. Rossi 9a92c840d9 docs: add @xmorse/playwright-core API guide to AGENTS.md
Documents the full type generation pipeline (markdown docs → overrides.d.ts →
generator → types.d.ts) with an 8-step checklist and format examples for
methods, properties, and standalone types. Prevents future APIs from being
added to source without updating the type surface.
2026-02-28 14:45:24 +01:00
Tommy D. Rossi eb420dabff docs: verify relay port cleanup in local CLI instructions
Replace the macOS kill one-liner with a zsh-safe array pattern and add explicit post-kill verification commands for macOS and Windows. This prevents false positives where port 19988 remains occupied after an attempted shutdown.
2026-02-25 17:14:29 +01:00
Tommy D. Rossi f87b0243cd format 2026-02-22 15:21:38 +01:00
Tommy D. Rossi 539aeaac91 rename accessibilitySnapshot to snapshot for shorter agent usage
The function is now exposed as `snapshot()` in the executor sandbox scope.
`accessibilitySnapshot` remains as a backward-compatible alias pointing to
the same function, so existing agents and saved commands continue to work.

Updated all code examples across skill.md, README, PLAYWRITER_AGENTS,
docs, tests, and the extension welcome page to use the shorter name.
2026-02-18 17:13:57 +01:00
Tommy D. Rossi e9e9c2de08 agents 2026-02-11 16:43:36 +01:00
Tommy D. Rossi be94434c3c Update PLAYWRITER_AGENTS.md 2026-02-07 09:51:10 +01:00
Tommy D. Rossi 682bde5c14 Update PLAYWRITER_AGENTS.md 2026-02-06 18:03:58 +01:00
Tommy D. Rossi d6adb460d5 fix: move log dir from /tmp/playwriter to ~/.playwriter (fixes #44) 2026-02-06 10:44:28 +01:00
Tommy D. Rossi d3a87cab2c agents 2026-02-05 22:31:09 +01:00
Tommy D. Rossi d9c3362dd9 Update PLAYWRITER_AGENTS.md 2026-02-05 22:28:56 +01:00
Tommy D. Rossi 9e88bcd64e agents 2026-02-05 22:26:47 +01:00
Tommy D. Rossi 2bc851e37b Update PLAYWRITER_AGENTS.md 2026-02-05 22:14:35 +01:00
Tommy D. Rossi afd0840523 chore: wire forked playwright-core into workspace 2026-02-05 17:06:08 +01:00
Tommy D. Rossi 67d017237e fix(cdp): isolate extension builds and keep oopif auto-attach 2026-01-27 16:05:15 +01:00
Tommy D. Rossi 6364acf316 agents updates 2026-01-26 13:42:44 +01:00
Tommy D. Rossi a64fc2d8a0 add cdp jsonl logging and update log docs 2026-01-26 13:28:18 +01:00
Tommy D. Rossi 905288a790 Update PLAYWRITER_AGENTS.md 2026-01-26 12:24:15 +01:00
Tommy D. Rossi 4bce98bdae Update PLAYWRITER_AGENTS.md 2026-01-26 12:23:36 +01:00
Tommy D. Rossi 45cdc372a8 refactor: move SKILL.md to src, add playwriter skill command
- Move skills/playwriter/SKILL.md to playwriter/src/skill.md (source of truth)
- Add 'playwriter skill' CLI command to output full docs
- Make skills/playwriter/SKILL.md a lightweight stub pointing to CLI
- Generate prompt.md to dist/ instead of src/
- Strip CLI-only content from MCP prompt
2026-01-25 16:18:23 +01:00
Tommy D. Rossi e96c401078 tell to kill relay when testing locally 2026-01-25 14:34:19 +01:00
Tommy D. Rossi 0cd0001ffe Use root-relative paths in dev workflow docs 2026-01-25 11:36:32 +01:00
Tommy D. Rossi b9d0571823 Document test log file location in testing section 2026-01-25 11:35:24 +01:00
Tommy D. Rossi 3c47ad3869 Add development workflow docs to AGENTS.md
Closes #36

- Document how to run MCP locally with tsx
- Document how to run CLI locally with tsx and -e
- Document extension reload workflow with stable dev ID
2026-01-25 11:30:12 +01:00
Tommy D. Rossi a15b06082b Add stable extension ID for development builds
Inject manifest key via vite plugin for dev/test builds (not production).
This ensures all developers get the same extension ID: pebbngnfojnignonigcnkdilknapkgid

- Update vite.config.mts to inject key when !PRODUCTION
- Update release script to use PRODUCTION=true
- Replace old hardcoded dev extension ID in all files
2026-01-25 11:19:51 +01:00
Tommy D. Rossi 5469af0d30 Add playwriter logfile command and fix documentation paths 2026-01-24 18:31:33 +01:00
Tommy D. Rossi b7edfb52b1 refactor: make SKILL.md source of truth, generate prompt.md from it 2026-01-24 12:21:22 +01:00
Tommy D. Rossi 7fa6049b88 Update PLAYWRITER_AGENTS.md 2026-01-21 21:22:35 +01:00
Tommy D. Rossi 415c9f839f Update PLAYWRITER_AGENTS.md 2026-01-14 17:56:37 +01:00
Tommy D. Rossi 3ae65a2dd6 update agents 2026-01-13 00:13:19 +01:00
Tommy D. Rossi cc128236eb agents.md 2026-01-01 12:00:10 +01:00
Tommy D. Rossi 237f24d3f8 Generate MCP resources at build time and host on playwriter.dev
- Add build-resources.ts script to generate markdown API docs
- Resources now use https://playwriter.dev/resources/*.md URLs
- Output to both playwriter/dist/ and website/public/resources/
- Simplify mcp.ts resource handlers to read pre-built files
2025-12-30 14:30:30 +01:00
Tommy D. Rossi f9a3c5b924 Update PLAYWRITER_AGENTS.md 2025-12-30 13:54:06 +01:00
Tommy D. Rossi b7d0fcf365 Update PLAYWRITER_AGENTS.md 2025-12-28 12:02:55 +01:00
Tommy D. Rossi ba8096fd74 reset tabs on disconnect 2025-12-21 16:26:13 +01:00
Tommy D. Rossi 5b474087eb use waitforloadstate 2025-12-19 19:09:19 +01:00
Tommy D. Rossi 1681c76ede how to debug mcp 2025-11-25 12:38:36 +01:00
Tommy D. Rossi 0df52a08c0 removed relayConnection.ts. added diff for ai snapshot. use search param 2025-11-25 10:35:39 +01:00
Tommy D. Rossi a40c03461e Update PLAYWRITER_AGENTS.md 2025-11-25 09:09:49 +01:00
Tommy D. Rossi d168c1191f changelogs 2025-11-24 16:41:49 +01:00
Tommy D. Rossi 167b5919c9 about testing 2025-11-24 12:01:11 +01:00
Tommy D. Rossi 96b1f8a4c8 capabilities 2025-11-22 14:52:40 +01:00
Tommy D. Rossi 8e3ebcf080 nn 2025-11-22 14:40:48 +01:00
Tommy D. Rossi fb1d06edaa add support for logging from extension 2025-11-22 13:41:21 +01:00
Tommy D. Rossi 8d7ca02fde Update PLAYWRITER_AGENTS.md 2025-11-22 12:46:47 +01:00
Tommy D. Rossi 27172cf7ca concurrent tabs test works 2025-11-22 12:43:52 +01:00
Tommy D. Rossi 3964b17fa1 more info 2025-11-22 11:18:17 +01:00
Tommy D. Rossi b1830b2714 more agents 2025-11-22 09:58:53 +01:00
Tommy D. Rossi ac5322e580 agents 2025-11-13 19:29:49 +01:00