Skip to main content

cloak-bridge

Use when a user-driven CloakBrowser profile needs MV3 Chrome writes/events through the native messaging bridge.

Quellinformationen

Repository
code-yeongyu/omowright
Letzte Quellaktivität
23. September 2026 um 05:10
Erkannte Sprache von SKILL.md
Englisch
Sterne
4
Forks
2

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
cloak-bridge
description
Use when a user-driven CloakBrowser profile needs MV3 Chrome writes/events through the native messaging bridge.
# CloakBrowser bridge Opt-in, zero-TCP extension channel. Load `bridge/extension` as an MV3 unpacked extension; install the native host with the exact 32-character extension ID. The host manifest needs an absolute executable path and exactly one `chrome-extension://<id>/` allowed origin. **STDOUT IS PROTOCOL-ONLY; DIAGNOSTICS GO TO STDERR.** ```js import { createBridgeClient, createChromeApi } from "omowright"; const bridge = createBridgeClient({ extensionId, stdin, stdout }); const chrome = createChromeApi(connection, { profilePath, bridge }); ``` Launch the pinned binary `~/.cloakbrowser/chromium-145.0.7632.109.2/Chromium.app/Contents/MacOS/Chromium` with `--load-extension=/absolute/path/to/bridge/extension` and optionally exactly one `--silent-debugger-extension-api` — it only suppresses the warning; it is not authorization. ## Support matrix | API | Bridge behavior | |---|---| | bookmarks.create/move/remove | Supported only when negotiated | | history.deleteUrl/deleteRange | Supported only when negotiated | | tabGroups.update | Supported only when negotiated | | debugger.attach/detach | Supported only when negotiated, numeric tab IDs only | | notifications, tabGroups, tabs, windows events | Forwarded without replay | | bookmarks.update/removeTree | Unsupported | | history.addUrl | Unsupported | | downloads.pause/resume/cancel/erase | Unsupported | | standalone reads and downloads.download | Existing CDP/profile behavior | **NEVER RETRY A MUTATION AFTER DISCONNECT — COMPLETION IS INDETERMINATE.** Subscribe to events before triggering actions. CloakBrowser native-host registration requires a verified `nativeMessagingHostDir`; the product directory **CANNOT** be guessed from `--user-data-dir` or the application filename.
Auf GitHub ansehen