Commit Graph

538 Commits

Author SHA1 Message Date
Tommy D. Rossi d4e49b2d5d nn 2026-01-25 14:58:00 +01:00
Tommy D. Rossi ee1f9729d6 add sse test to make sure responses are not buffered 2026-01-25 14:54:08 +01:00
Tommy D. Rossi b769df94e3 wait for extension only if ws restarted 2026-01-25 14:44:35 +01:00
Tommy D. Rossi e96c401078 tell to kill relay when testing locally 2026-01-25 14:34:19 +01:00
Tommy D. Rossi 316a10e9c9 remove Network.enable buffering override 2026-01-25 14:22:34 +01:00
Tommy D. Rossi baac31ab6a add test for notion.so not loading 2026-01-25 14:12:42 +01:00
Tommy D. Rossi 26a353e3bc use waitForPageLoad inall examples 2026-01-25 13:48:04 +01:00
Tommy D. Rossi 28f5734b31 Remove remote agent mention from MCP section 2026-01-25 12:09:42 +01:00
Tommy D. Rossi 2cb3a95e52 Note CLI + skill is preferred in MCP section 2026-01-25 12:01:43 +01:00
Tommy D. Rossi 5a5531c3cd Update README CLI step text 2026-01-25 12:00:33 +01:00
Tommy D. Rossi 5a5266b687 Add CLI quick start step to README installation 2026-01-25 11:58:36 +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 77ea5512d0 Increase default execution timeout from 5s to 10s 2026-01-24 18:44:16 +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 0b2ef17040 slop 2026-01-24 18:25:54 +01:00
Tommy D. Rossi a5ca23f063 Update SKILL.md 2026-01-24 18:18:30 +01:00
Tommy D. Rossi 7c23766311 Update SKILL.md 2026-01-24 18:18:11 +01:00
Tommy D. Rossi 82ec762a3b Update SKILL.md 2026-01-24 18:15:42 +01:00
Tommy D. Rossi fefb6296c0 Update SKILL.md 2026-01-24 18:15:05 +01:00
Tommy D. Rossi 4cbb3102f8 fix: pass cwd to executor in MCP so file operations use correct directory 2026-01-24 18:07:34 +01:00
Tommy D. Rossi a12b3737e2 docs: simplify editor example with hardcoded URL 2026-01-24 15:26:21 +01:00
Tommy D. Rossi d64229c1ab docs: fix editor example to use grep and proper URL/string format 2026-01-24 15:25:09 +01:00
Tommy D. Rossi 157c3a62d6 docs: add sandbox variables explanation to Examples 2026-01-24 15:23:31 +01:00
Tommy D. Rossi ab113914cd docs: use waitForResponse instead of networkidle 2026-01-24 15:21:34 +01:00
Tommy D. Rossi 2d060a6c59 docs: simplify examples by removing redundant -s flag 2026-01-24 15:21:15 +01:00
Tommy D. Rossi 6f19ec6b29 docs: use waitForLoadState instead of waitForTimeout 2026-01-24 15:20:07 +01:00
Tommy D. Rossi 7d8ab09f70 docs: add examples section, fix state usage, move Playwright API to bottom 2026-01-24 15:18:10 +01:00
Tommy D. Rossi e9ea0061bd docs: clarify session is stateful sandbox 2026-01-24 15:14:48 +01:00
Tommy D. Rossi 38b1b6d3ed docs: improve session isolation, extract MCP to separate file, add remote CLI 2026-01-24 15:10:53 +01:00
Tommy D. Rossi ad6ce1c2a8 remove old md files 2026-01-24 14:29:47 +01:00
Tommy D. Rossi 43ff16d941 Update README.md 2026-01-24 14:28:45 +01:00
Tommy D. Rossi 31bfddef74 chore: release playwriter@0.0.53 2026-01-24 14:26:26 +01:00
Tommy D. Rossi e11322905e add colors to CLI setup messages 2026-01-24 14:25:20 +01:00
Tommy D. Rossi 1d744e7995 fix CLI relay server startup and extension reconnection
- detect source vs compiled via __filename.endsWith('.ts') instead of env var
- add waitForExtension() to poll for extension connection after server start
- CLI waits up to 10s for extension to reconnect before executing commands
2026-01-24 14:23:50 +01:00
Tommy D. Rossi c8e0022790 update readme. show usage with cli first 2026-01-24 14:22:16 +01:00
Tommy D. Rossi fe28456719 Update .gitignore 2026-01-24 14:21:13 +01:00
Tommy D. Rossi 1474b2c38c chore: release playwriter@0.0.52 2026-01-24 13:36:13 +01:00
Tommy D. Rossi 61b0ced02f Update .gitignore 2026-01-24 13:34:44 +01:00
Tommy D. Rossi 2a62fa60d6 add snapshot format option with deduplication for accessibility snapshots
- add compactSnapshot, interactiveSnapshot, deduplicateSnapshot functions
- add format option to accessibilitySnapshot() with default 'interactive-dedup'
- deduplication removes redundant parent names that repeat child content
- compression stats: HN 72% smaller, GitHub 68% smaller vs raw
- add format documentation comment explaining expected aria snapshot structure
2026-01-24 13:32:25 +01:00
Tommy D. Rossi 19d8c78d90 delete files 2026-01-24 13:19:36 +01:00
Tommy D. Rossi 53758bc68c Update .gitignore 2026-01-24 13:19:32 +01:00
Tommy D. Rossi 7c1f00f0f6 refactor tests functions into utils 2026-01-24 13:19:27 +01:00
Tommy D. Rossi de3941da48 add aria snapshots functions 2026-01-24 13:19:13 +01:00
Tommy D. Rossi c2766cb386 feat: pass PLAYWRITER_AUTO_ENABLE when CLI starts relay server 2026-01-24 13:01:57 +01:00
Tommy D. Rossi f391eda881 Update package.json 2026-01-24 12:57:57 +01:00
Tommy D. Rossi 3ef771240a Update package.json 2026-01-24 12:57:41 +01:00
Tommy D. Rossi 1af5aac0cc feat: add session management CLI commands with @xmorse/cac
- Replace cac with @xmorse/cac for space-separated commands
- Add 'playwriter session new' to get new session ID
- Add 'playwriter session list' to show sessions and state keys
- Add 'playwriter session reset <id>' to reset a session
- Update SKILL.md with new CLI docs and multiline examples
- Put -s flag before -e in all examples
2026-01-24 12:57:21 +01:00