Skip to content

feat: cross-platform bridge for macOS and Linux - #7

Merged
liutingqiu merged 1 commit into
mainfrom
feat/cross-platform-bridge
Oct 23, 2026
Merged

liutingqiu merged 1 commit into
mainfrom
feat/cross-platform-bridge

Conversation

@liutingqiu

Copy link
Copy Markdown
Owner

Summary

Adds first-class extension-bridge installation for macOS and Linux while keeping the Windows path unchanged.

  • New scripts/install-edge-bridge.mjs: resolves the host RID, downloads/verifies the release host, installs it under ~/.raw/edge-bridge/current/, preserves bridge tokens, and writes the Chrome/Edge Native Messaging manifests. On Windows it delegates to install-edge-bridge.ps1.
  • Release workflow now publishes linux-x64, linux-arm64, osx-x64 and osx-arm64 hosts alongside win-x64, with one SHA256SUMS.txt.
  • CI adds a bridge-host-posix job on Ubuntu and macOS: publish single-file host, native-host smoke, then a real installer pass into a disposable home.
  • Browser discovery adds Chrome Beta/Canary, Chromium, Edge Beta/Dev/Canary, /opt and snap Chromium paths.
  • Docs, changelog, version (0.7.0) and social card updated.

Test plan

  • npm run check — 55 tests, typecheck, build, browser smoke
  • npm run smoke:bridge — Windows native-host smoke
  • WSL Ubuntu 24.04: linux-x64 single-file host + installer download/checksum path; checksum mismatch rejected; upgrade keeps tokens; manifests/config permissions verified; native-host smoke passed
  • osx-x64 / osx-arm64 cross-published as Mach-O
  • macOS bridge-host-posix CI job (this PR)
  • Real Chrome/Edge extension handshake on a physical Mac

Notes

  • WSL caveat: a host installed in WSL cannot drive a Windows Chrome. Use the Windows installer for the Windows browser, or install a Linux Chrome/Edge in WSL (with WSLg) and use the Linux installer there. Snap/Flatpak-confined browsers are documented as unsupported.
  • Version is prepared as 0.7.0 so the release workflow can attach the new host assets; no tag or npm publish is included in this PR.

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

- add scripts/install-edge-bridge.mjs; Windows delegates to the existing PowerShell installer
- publish linux-x64, linux-arm64, osx-x64 and osx-arm64 hosts in releases
- run native-host smoke and a real installer pass on Ubuntu and macOS CI
- expand Chrome/Edge/Chromium discovery paths on every platform
- prepare version 0.7.0 and update docs, changelog and social card

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@liutingqiu
liutingqiu merged commit 43c8af3 into main Oct 23, 2026
28 checks passed
@liutingqiu
liutingqiu deleted the feat/cross-platform-bridge branch October 23, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant