xiaoheizi1212/dsh-computer-use1

dsh-computer-use

Model-agnostic Computer Use capability for DeepSeek Harness: isolated browser first, provider-neutral observation, text planner + third-party vision perception.

AI 分析

核心用途是赋予 Agent 模拟人类操作电脑和浏览器的能力。适合需要执行自动化网页操作、屏幕视觉感知和复杂规划任务的用户;需安装 Playwright。

パッケージ
dsh-computer-use
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/14

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xiaoheizi1212/dsh-computer-use

ドキュメント

README 全文を読む ↗

Configuration

All options live on the dsh-computer-use/plugin row (config:), for example in your profile's cordis.patch.yml:

- id: computer-use
  name: dsh-computer-use/plugin
  config:
    provider: playwright
    visionProvider: xiaomi
    visionModel: mimo-v2.5

You can also flip the whole capability on/off live from the DeepSeek Harness GUI — the plugin registers a computer-use settings section (Settings → computer-use), so enabled, provider, and the browser/import options above are editable without editing YAML.

Core

OptionDefaultMeaning
enabledtrueMaster toggle — false turns the whole capability off
providerfakeBackend: fake (tests) | playwright (browser) | windows (desktop)
toolstrueRegister the model-facing tools
confirmActionstrueOne-shot confirmation before risky computer_act calls
visionProvider / visionModelllm-pi-ai route + model used by computer_perceive analyze
visionMaxTokens2000Vision output token cap
allowedDomains[]Hostnames the browser may act inside (empty = no restriction)
windowsHelperCommand''Native helper executable (defaults to the bundled lib/native/win32-x64/dsh-computer-use-helper.exe)

Browser (Playwright) session

OptionDefaultMeaning
browserHeadlesstrueHeadless (default) or a visible window. false = 正常模式(弹窗)
browserWindowStatenormalVisible-window state: normal | maximized | minimized(先 launch、后应用状态)
reuseBrowserProfilefalseUse a persistent (dedicated) browser profile instead of an isolated context
browserUserDataDirPersistent profile's "User Data" ROOT dir (non-default; e.g. ~/.dsh/browser-profiles/main)
browserProfileNameDefaultProfile directory name inside browserUserDataDir
importCookiesfalseImport cookies so the isolated browser shares the user's logins
importPasswordsfalseImport saved passwords for autofill
importHistoryfalseImport browsing history as injected context
cookiesFilePlaywright storage-state JSON ({ "cookies": [...] }) loaded when importCookies
passwordManagerCsvPassword-manager CSV export (name,url,username,password) when importPasswords

Windows (desktop) provider

OptionDefaultMeaning
windowsWindowStatenormalTarget-window state: normal | maximized | minimized(minimized = 先激活后最小化)