Skip to content

sessfork v0.1.3

Choose a tag to compare

@wasabihu wasabihu released this 22 Nov 23:16
· 45 commits to main since this release

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 numeric chromium_headless_shell-<rev> binary for the host architecture (skipping symlinks and non-executable files) and automatically appends --executable-path=<chrome-headless-shell> in build_playwright_mcp_entry() on macOS. This avoids system Chrome's --headless --isolated --storage-state crash (Mach rendezvous failed / Target page, context or browser has been closed) when hydrating many LocalStorage origins. Supports PLAYWRIGHT_BROWSERS_PATH and SESSFORK_BROWSER_EXECUTABLE_PATH (including system / none to disable auto-pinning, or an explicit executable path on any OS).
  • MCP Diagnostics & Setup Guidance (mcp_setup.py, cli.py): Added inspect_mcp_headless_shell() and surfaced playwright_headless_shell, pinned/unpinned/stale MCP config status, and actionable macOS/override warnings in sessfork --status (text and --json) and sessfork --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 --setup

Then reload sessfork-browser once in your AI editor.