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后效果更稳定。
같은 패키지 이름의 다른 저장소
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TEGONG00/dsh-plugin-browser配置
cordis.patch.yml 里 insert 条目的 config:
| 字段 | 默认 | 说明 |
|---|---|---|
headless | true | 无头运行 Chromium |
viewport.width/height | 1280×800 | 初始视口(面板会实时跟随面板尺寸) |
cdpEndpoint | — | 改为连接已运行的浏览器(--remote-debugging-port) |
executablePath | — | 自定义 Chromium 路径 |
jpegQuality | 80 | 画面流与截图的 JPEG 质量(1-100) |
navigationTimeoutMs | 30000 | 导航超时 |
hardwareAcceleration | auto | GPU 加速 flags:auto(检测到 /dev/dxg 才启用)/ on / off。headless 下常静默回退软件渲染,属尽力而为 |
userDataDir | ~/.cache/dsh-plugin-browser/profile | 持久化浏览器档案(缓存/Cookie 跨重启保留,二次加载同站明显提速) |