SheepofSheep/dsh-doyourweb ↗★ 4

dsh-doyourweb

在DSH中引用和控制浏览器标签页 适合需要让智能体直接读取或控制现有Chrome/Edge网页内容的任务。

包名
dsh-doyourweb
兼容性
待验证
版本
0.1.0
许可证
MIT
最近更新
2026年10月13日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SheepofSheep/dsh-doyourweb

Configuration

Defaults are declared in cordis.patch.yml:

SettingDefaultPurpose
port43187Local bridge port
snapshotChars2400Page-read and initial reference-context budget
idleTimeoutMs120000Idle time before releasing the debugger connection

The data directory is /browser-tabs/, or ~/.dsh/browser-tabs/ when DSH_HOME is unset. An explicit plugin home setting takes precedence. Set environment variables on the DSH process; the plugin does not require its own model API key.

Usage

After referencing a page, you can ask:

Read the result list on this page and collect its titles and links. Do not submit any forms.

Model toolUse
browser_readRead a snapshot; narrow with selector, query or depth; use cursor for remaining content. limit accepts 400-8,000 characters.
browser_actUse the latest snapshot ID to click, fill, press, select, check, hover, scroll, navigate, go back/forward, wait or extract.
browser_captureSave a screenshot when visual inspection is needed.

When multiple tabs are authorized, pass the selected tab's reference as tab.

Tool example: read a page, then extract a short result list

Call browser_read for the single authorized tab:

{
  "depth": 8,
  "limit": 2400
}

Use the returned snapshot ID in browser_act. Replace the selector with one from the actual page:

{
  "snapshot": "",
  "observe": "summary",
  "steps": [
    {
      "op": "extract",
      "selector": "a.result-title",
      "fields": ["text", "href"],
      "maxRows": 10
    }
  ]
}

These are model-tool arguments, not shell commands. summary does not return a new snapshot; read again before another action call.