reactive-resume
amruthpillai
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Yu-tao-Li/dsh-computer-use-win
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
给 DeepSeek Harness 装上 Windows 电脑操控能力——MCP stdio 服务器 + PowerShell/UIA 桌面引擎,22 个工具让 agent 能看(UIA 无障碍树、窗口裁剪截图、OCR 词框)也能做(鼠标、键盘、UIA 语义动作、窗口管理)真实的 Windows 桌面应用。
通过 DSH 内置的 @deepseek-ai/dsh-mcp-client 桥接,不改 DSH 本体,零运行时依赖。
① 文件资源管理器:find 定位 + 语义 invoke 选中文件(状态栏"选中 1 个项目") |
② type_text 写入真实文档(剪贴板路径,verifyValue 回读) |
③ UWP 计算器:find 定位按钮 + 语义 Invoke 点击(25×4=100) |
|---|---|---|
![]() |
![]() |
![]() |
control/content/raw);按 name/automationId/类名/值找控件,不靠猜像素。元素 id 用 UIA RuntimeId(UI 刷新后仍稳定,过期报 stale 而非点错地方)。PrintWindow(非前台窗口也能抓)→ WGC(Windows.Graphics.Capture,DirectComposition/被遮挡窗口)→ 屏幕区域兜底(带 occludedPossible 标记)。窗口裁剪 + 降采样 + imageScale/origin 坐标映射,PNG 30 分钟自动清理。SetCursorPos + SendInput + 剪贴板 / KEYEVENTF_UNICODE)/ 后台(PostMessage 直进窗口消息队列,不抢前台;投递未验证,如实 verified:false——Chromium/Electron/WinUI 会静默丢合成消息,工具会明说)。Windows.Media.Ocr(csc 编译的 C# WinRT 助手);返回文字 + 逐词屏幕坐标词框,query 命中后自动回查匹配词下的控件(ControlFromPoint)。homed:{dx,dy}EMERGENCY STOP),只有人把鼠标移开才恢复windowTitle 操作时窗口 HWND/PID 变了就拒绝(identity_changed)Win+R/X/L/S 类组合按设计拦截# 从 GitHub(--profile 指定装进哪个 profile)
dsh plugin --profile web add github:Yu-tao-Li/dsh-computer-use-win
# 或在 DSH 设置的插件市场(dshmarket)搜索 dsh-computer-use-win
重启 dsh web,工具以 mcp__wincu__windows_computer_use_* 出现。
bundle 在安装时自解析路径(
cordis.patch.yml用!!js相对包目录),任何 profile /$DSH_HOME都能装,无硬编码路径。同一 profile 只保留一个serverName: wincu行。
mcp__wincu__)| 分组 | 工具 |
|---|---|
| 观察 | health · snapshot(树+截图)· accessibility_tree · list_windows · find · element_info · ocr |
| 动作 | click · double_click · move · drag · scroll · type_text(clipboard/sendinput/background)· keypress · focus · invoke · set_value |
| 窗口 | activate_window · move_window · close_window(WM_CLOSE,应用可弹保存框否决)· wait_for · wait |
所有工具都支持可选窗口定位(windowTitle 子串 / processId / nativeWindowHandle)+ activate: true;不指定 = 当前前台窗口。
DSH agent
│ 模型看到 mcp__wincu__windows_computer_use_* 工具
▼
@deepseek-ai/dsh-mcp-client ← DSH 内置桥接(官方 MCP SDK StdioClientTransport)
│ JSON-RPC 2.0 over stdio(按行分帧)
▼
mcp/server.mjs ← 本仓库:MCP 服务器(Node ≥22,零依赖)
│ 保活一个持久化后端;JSON 行协议
▼
scripts/windows-uia.ps1 ← 本仓库:桌面引擎(PowerShell 5.1 兼容)
├─ UI Automation 程序集 → 无障碍树
├─ user32 P/Invoke(C# 缓存 DLL)→ 鼠标/键盘/窗口操作
├─ Windows.Media.Ocr(C# WinRT)→ OCR
└─ Windows.Graphics.Capture → WGC 窗口捕获
snapshot;重要窗口用 windowTitle 明确限定。verified:false 是诚实上报,不是成功)。这类目标走前台/剪贴板路径。mcp/server.mjs MCP stdio 服务器 + 持久化后端管理
scripts/windows-uia.ps1 桌面引擎(one-shot 与 -Persistent 双模式)
test/ self-test / MCP 协议 / Notepad E2E / 功能综合 / 延迟基准
docs/wiki/ 上游架构文档(见 THIRD_PARTY.md)
docs/dev-notes.md 设计原理、踩坑记录、性能数据、测试记录
node mcp/server.mjs --self-test # 全栈自检(仅 Windows)
node test/mcp-test.mjs # initialize → tools/list → tools/call
node test/notepad-e2e.mjs # 真实输入端到端(会开记事本)
CI(.github/workflows/ci.yml)在每次 push/PR 时于 windows-latest 跑自检 + 协议测试。
MIT,见 LICENSE。本项目是 cgissing/windows-computer-use(MIT)的衍生作品,上游版权声明保留于 THIRD_PARTY.md。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: mcp。