LianPing-cyber/dsh-browser-full-access--packages-browser-bridge-browser ↗★ 0

@yuxianglin/dsh-bridge-browser

为浏览器扩展提供令牌认证的 WebSocket 通道,并暴露文本型浏览器工具。 适合需通过扩展驱动本机 Chrome 完成浏览器任务的用户。

包名
@yuxianglin/dsh-bridge-browser
兼容性
待验证
Harness 依赖范围
^0.1.1-rc.1
Cordis 依赖范围
^4.0.1
版本
0.0.3
许可证
MIT
最近更新
2026年8月29日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:LianPing-cyber/dsh-browser-full-access#0b26a4c8839c6dc6c4b60c0f2b2c75bb701ace6a&path:packages/browser/bridge-browser

Usage

The remote installer downloads an installer-managed workspace, builds the plugin, and registers its official bundle in the local dsh web profile. It requires neither Git nor a local clone:

curl -fsSL https://raw.githubusercontent.com/Lum1104/dsh-browser/refs/heads/main/scripts/install.sh | bash
cd ~/.dsh/dsh-browser && pnpm start

On Windows, run the PowerShell installer instead:

$s="$env:TEMP\dsh-install.ps1"; irm https://raw.githubusercontent.com/Lum1104/dsh-browser/refs/heads/main/scripts/install.ps1 -OutFile $s; powershell -NoProfile -ExecutionPolicy Bypass -File $s
cd $HOME\.dsh\dsh-browser; pnpm start

Developers can instead clone the repository and run ./scripts/install.sh followed by pnpm start from that checkout. The local mode uses the current branch without downloading or overwriting source files. Both installation modes register the same profile bundle; build tools resolve only from the selected workspace and never from a parent checkout or parent node_modules directory.

The latest public runtime also loads the registered bundle:

npx @deepseek-ai/dsh web

The installer copies the unpacked extension to ~/.dsh/browser-extension and opens chrome://extensions. Load that stable directory in Chrome and use the side panel. Loopback connections are discovered automatically and require no token entry; non-loopback deployments still require the configured bearer token.