988hj7tczd-oss/dsh-computer-use ↗★ 34
dsh-computer-use
Computer Use 插件:虚拟鼠标真人操作 + 原生视觉模型接入(deepseek-v4-flash-vision-exp 直读截图),screen_observe 等 12 个模型友好工具 适合需要让Agent通过视觉模型直接观察并操作桌面系统的用户。
같은 패키지 이름의 다른 저장소
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:988hj7tczd-oss/dsh-computer-use方式一:使用 harness-desktop
普通桌面用户建议先下载 harness-desktop。它是一个开箱即用的 DeepSeek Harness 桌面客户端,支持 macOS、Windows 和 Linux。
1. 下载并启动 harness-desktop
2. 完成首启配置
3. 安装本插件
4. 重启 harness-desktop
5. 在对话中让 Agent 操作桌面
先预演,不写入配置
./install.sh --dry-run
配置
插件配置位于 DSH 的用户级 patch 层:
- id: dsh-computer-use
config:
ttlMs: 30000
maxElements: 500
allowedApps: []
cursorTheme: com.dsh.computeruse.rainbow
nativeImage: auto
visionProvider: deepseek-official
visionModel: deepseek-v4-flash-vision-exp
| 配置项 | 默认值 | 说明 |
|---|---|---|
ttlMs | 30000 | 观察快照有效期,单位毫秒;多步任务建议显式设置 30000-60000 |
maxElements | 500 | 单次观察最多返回的编号元素数量 |
allowedApps | [] | 空数组表示不限制;非空时只允许列表中的应用 |
cursorTheme | com.dsh.computeruse.rainbow | 虚拟光标主题;空字符串使用引擎默认主题 |
nativeImage | auto | auto 自动降级;full 原图;compact 始终使用小图 |
visionProvider | deepseek-official | vision 模式使用的 provider |
visionModel | deepseek-v4-flash-vision-exp | vision 模式使用的视觉模型 |
安装脚本或 bundle patch 可能覆盖代码层默认值。请以实际生成的
$DSH_HOME/cordis.patch.yml为准;多步任务建议显式写入ttlMs,不要依赖隐式默认值。
Configuration
- id: dsh-computer-use
config:
ttlMs: 30000
maxElements: 500
allowedApps: []
cursorTheme: com.dsh.computeruse.rainbow
nativeImage: auto
visionProvider: deepseek-official
visionModel: deepseek-v4-flash-vision-exp
| Option | Default | Description |
|---|---|---|
ttlMs | 30000 | Observation lifetime in milliseconds |
maxElements | 500 | Maximum indexed elements returned by observation |
allowedApps | [] | Empty means unrestricted; otherwise only listed apps are allowed |
cursorTheme | com.dsh.computeruse.rainbow | Virtual cursor theme; empty uses the engine default |
nativeImage | auto | auto, full, or compact screenshot strategy |
visionProvider | deepseek-official | Provider used by vision mode |
visionModel | deepseek-v4-flash-vision-exp | Image-capable observer model |
If an installer or bundle patch overrides the code-level default, the generated $DSH_HOME/cordis.patch.yml is authoritative. For multi-step tasks, set ttlMs explicitly instead of relying on an implicit default.