TEGONG00/dsh-plugin-browser ↗★ 0

dsh-plugin-browser

Built-in browser panel for the dsh web client: live screencast view, element picker attached to the composer, and Playwright-driven browser tools 适合需要边浏览边调试会话的用户;需可用Chromium和Playwright,配置CDP后效果更稳定。

Package
dsh-plugin-browser
Compatibility
Unverified
Version
0.1.0
License
MIT
Last updated
Sep 13, 2026

Other repositories with this package name

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TEGONG00/dsh-plugin-browser

配置

cordis.patch.yml 里 insert 条目的 config:

字段默认说明
headlesstrue无头运行 Chromium
viewport.width/height1280×800初始视口(面板会实时跟随面板尺寸)
cdpEndpoint—改为连接已运行的浏览器(--remote-debugging-port)
executablePath—自定义 Chromium 路径
jpegQuality80画面流与截图的 JPEG 质量(1-100)
navigationTimeoutMs30000导航超时
hardwareAccelerationautoGPU 加速 flags:auto(检测到 /dev/dxg 才启用)/ on / off。headless 下常静默回退软件渲染,属尽力而为
userDataDir~/.cache/dsh-plugin-browser/profile持久化浏览器档案(缓存/Cookie 跨重启保留,二次加载同站明显提速)