diff --git a/extension/CHANGELOG.md b/extension/CHANGELOG.md index c820f91..358fcd1 100644 --- a/extension/CHANGELOG.md +++ b/extension/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.0.77 + +### Changes + +- **Use `workspace:^` for local Playwriter dependency**: Switched `playwriter` from `workspace:*` to `workspace:^` in `extension/package.json` to avoid pinned workspace versions when package metadata is packed. + ## 0.0.76 ### Bug Fixes diff --git a/extension/manifest.json b/extension/manifest.json index 11bbf7c..cca49f6 100644 --- a/extension/manifest.json +++ b/extension/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "Playwriter", - "version": "0.0.76", + "version": "0.0.77", "description": "Automate your Browser using Cursor, Claude, VS Code. More capable and context efficient than Playwright MCP.", "permissions": [ "debugger", diff --git a/extension/package.json b/extension/package.json index 79bbcdc..d8bbff5 100644 --- a/extension/package.json +++ b/extension/package.json @@ -1,6 +1,6 @@ { "name": "mcp-extension", - "version": "0.0.72", + "version": "0.0.77", "description": "Playwright MCP Browser Extension", "private": true, "repository": { @@ -29,7 +29,7 @@ "vite-plugin-static-copy": "^3.1.1" }, "dependencies": { - "playwriter": "workspace:*", + "playwriter": "workspace:^", "zustand": "^5.0.8" } } diff --git a/package.json b/package.json index 24ea687..e242f26 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,6 @@ "author": "remorses ", "license": "", "dependencies": { - "mcp-extension": "workspace:*" + "mcp-extension": "workspace:^" } } diff --git a/playwriter/CHANGELOG.md b/playwriter/CHANGELOG.md index 65401cc..34cd57b 100644 --- a/playwriter/CHANGELOG.md +++ b/playwriter/CHANGELOG.md @@ -1,52 +1,10 @@ # Changelog -## 0.0.88 +## 0.0.89 -### Improvements - -- **Inline download behavior normalization in relay**: Removed the standalone `toPageDownloadBehavior` helper and inlined the `allowAndName -> allow` mapping at the call site to keep the download-behavior forwarding path more direct. - -## 0.0.87 - -### Improvements - -- **Simplify relay download compatibility path**: Extracted Browser-download compatibility emission into a focused helper and simplified download-behavior mapping logic in the relay, while keeping dual `Page.download*` + `Browser.download*` forwarding behavior and improving test assertions to include `Page.setDownloadBehavior` forwarding. - -## 0.0.86 - -### Bug Fixes - -- **Fix extension-mode downloads for Playwright clients**: Relay now translates `Browser.setDownloadBehavior` into per-target `Page.setDownloadBehavior`, caches the behavior for future page targets, and emits both `Page.download*` and synthetic root-session `Browser.download*` events so `page.waitForEvent('download')` works while preserving backward compatibility for clients that still rely on `Page.downloadWillBegin`/`Page.downloadProgress`. - -## 0.0.85 - -### Bug Fixes - -- **Revert ghost cursor init-script persistence**: Removed the `Page.addScriptToEvaluateOnNewDocument` cursor injection path (`addGhostCursorInitScript`) and restored direct per-page injection behavior used before, since the init-script approach did not work reliably in practice. - -## 0.0.84 - -### Docs - -- **Remove click-timeout section from `skill.md` mistakes list**: Deleted the dedicated post-click timeout section per docs cleanup request and renumbered the following mistake item. - -## 0.0.83 - -### Docs - -- **Correct click-timeout guidance in `skill.md`**: Replaced the incorrect "SPA does not fire load" explanation with the actual behavior: click succeeds, then Playwright times out during post-click navigation waiting when action timeout budget is exceeded. - -## 0.0.82 - -### Improvements - -- **Increase default action timeout to 60s**: Raised `context.setDefaultTimeout` from `5000ms` to `60000ms` to avoid false click failures on slower real-world flows where the interaction succeeds but Playwright post-action navigation waiting exceeds short budgets. - -## 0.0.81 - -### Improvements - -- **Increase default action timeout to 5s**: Raised `context.setDefaultTimeout` from `2000ms` to `5000ms` to reduce false `locator.click()` timeouts on slower navigation flows (for example GitHub/Turbo links) where the click succeeds but post-click navigation settling exceeds 2 seconds. Default navigation timeout remains `10000ms`. +1. **More reliable downloads in extension mode** — download behavior now stays compatible with both `Page.download*` and `Browser.download*` event paths, so Playwright flows like `page.waitForEvent('download')` work consistently when connected through the relay. +2. **Default action timeout is now 60 seconds** — reduced false click failures on slower, real-world pages where the interaction succeeds but post-action waiting previously exceeded short timeout budgets. +3. **Ghost cursor injection is more stable** — recording flows now use direct per-page cursor injection again, avoiding the unreliable init-script persistence path used in prior builds. ## 0.0.80 diff --git a/playwriter/package.json b/playwriter/package.json index d061527..bfaad47 100644 --- a/playwriter/package.json +++ b/playwriter/package.json @@ -1,7 +1,7 @@ { "name": "playwriter", "description": "", - "version": "0.0.88", + "version": "0.0.89", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -37,7 +37,7 @@ "devtools-protocol": "^0.0.1568893", "image-size": "^2.0.2", "marked": "^17.0.1", - "mcp-extension": "workspace:*", + "mcp-extension": "workspace:^", "vite-node": "^5.0.0", "vitest": "^4.0.8" },