Skip to main content

cloak-bridge

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

来源信息

仓库
code-yeongyu/omowright
最近来源活动
2026年9月23日 05:10
检测到的 SKILL.md 语言
英语
星标
7
Forks
3

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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.
在 GitHub 查看