dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
A DSH browser sidebar plugin with an isolated Chrome profile for every conversation, live interaction, and agent automation.
中文 · English
DeepSeek Harness(DSH)的侧边栏浏览器插件。每个对话使用独立的 Chrome 和 profile:你在边栏中登录、填写表单后,智能体会在同一浏览器中继续操作,其他对话无法访问登录状态。
browser_* 工具,供智能体浏览、读取和操作网页。将以下内容加入 $DSH_HOME/profiles/<profile>/cordis.patch.yml,并替换为仓库实际绝对路径:
- insert:
- id: dsh-browser-plugin
name: "file:///D:/desktop/repos/dsh-browser-plugin/lib/index.js"
- id: dsh-browser-gate
name: "file:///D:/desktop/repos/dsh-browser-plugin/lib/gate.js"
也可以安装仓库:
dsh plugin add --profile web /path/to/dsh-browser-plugin
安装或更新后重启 dsh web;只改客户端界面时刷新 DSH 页面即可。
browser_* 工具继续操作同一页面。当状态栏显示智能体正在使用浏览器时,边栏操作会等待当前调用结束,避免互相覆盖。
完整配置见 src/config.ts。
| 配置 | 默认值 | 说明 |
|---|---|---|
chromePath | 系统 Chrome 路径 | Chrome/Chromium 可执行文件路径。 |
isolation | 'session' | 每个对话独立浏览器;设为 'shared' 时全部对话共用。 |
maxBrowsers | 4 | 同时保留的浏览器上限。 |
stealth | false | 默认使用隐身模式。 |
paneQuality | 'perf' | 初始画质:'perf' 或 'hd'。 |
allowSubagents | false | 是否允许子智能体操作浏览器。 |
需要 Node.js 20 或更高版本。
npm run build
npm test
修改 src/ 后需重新构建并提交 lib/ 产物。
MIT,见 package.json。