Repository navigation
sessfork v0.1.3
Fix macOS headless Chrome multi-origin storageState crashes by auto-pinning Playwright's chrome-headless-shell.
Fixed
- macOS Multi-Origin Headless Crash (
mcp_setup.py): Added shallow Playwright cache discovery (find_playwright_headless_shell()) that selects the highest numericchromium_headless_shell-<rev>binary for the host architecture (skipping symlinks and non-executable files) and automatically appends--executable-path=<chrome-headless-shell>inbuild_playwright_mcp_entry()on macOS. This avoids system Chrome's--headless --isolated --storage-statecrash (Mach rendezvous failed/Target page, context or browser has been closed) when hydrating many LocalStorage origins. SupportsPLAYWRIGHT_BROWSERS_PATHandSESSFORK_BROWSER_EXECUTABLE_PATH(includingsystem/noneto disable auto-pinning, or an explicit executable path on any OS). - MCP Diagnostics & Setup Guidance (
mcp_setup.py,cli.py): Addedinspect_mcp_headless_shell()and surfacedplaywright_headless_shell, pinned/unpinned/stale MCP config status, and actionable macOS/override warnings insessfork --status(text and--json) andsessfork --setup.
Recovery on macOS
If sessfork-browser previously failed with Target page, context or browser has been closed:
npx -y playwright-core install chromium-headless-shell
sessfork --setupThen reload sessfork-browser once in your AI editor.