VincentJiang06/dsh-mp-automator

VincentJiang06★ 0JavaScriptLast synced: 2026-08-16

Open on GitHub

WeChat Mini Program automated testing for DeepSeek Harness (dsh) — selector-addressed actions, build-freshness gates, geometry-first assertions for text-only models, real screenshots on vision routes · 微信小程序自动化测试 dsh 插件

README excerpt

dsh-mp-automator 微信小程序自动化测试 · DeepSeek Harness (dsh) 插件 WeChat Mini Program automated testing for dsh agents 让 dsh 智能体驱动微信开发者工具里 真实运行 的小程序:读页面、点元素、截图、看控制台。 你只需要在小程序项目目录里开一个 dsh 会话,然后用自然语言下测试任务: 你 :测试首页的"立刻开始"按钮能进入扫码页 agent : (mp query 确认按钮可见 → mp act 点击 → 验证路由已跳转 → mp console 确认无报错) ✅ 按钮可见、可点、路由跳转正确、无控制台错误 Eight mp tools let a dsh agent drive a real Mini Program in WeChat DevTools. The correctness discipline is built into the tools — not into prompts the model may ignore. 目录 · Contents 1. 工作原理 · How it works 2. 快速开始 · Quick start 3. 八个工具 · The eight tools 4. 为什么可信:三种静默失败与对应的门 · Why trust it 5. 截图:双路径与图片经济 · Screenshots 6. 配置 · Configuration 7. 配套技能 · Companion skill 8. 排障 · Troubleshooting 9. 设计笔记 · Design notes 1. 工作原理 · How it works 分层职责 · Layering: vince-mp-cli 拥有自动化事实(DevTools 连接、元素解析、路径策略);本插件拥有 面向智能体的纪律 (什么时候拒绝执行、输出多少字节、图片何时该进上下文)。The CLI owns automation truth; this plugin owns agent-facing discipline. 2. 快速开始 · Quick start 前置 · Prerequisites :macOS · 微信开发者工具 (在 设置 → 安全设置 里开启 服务端口 )· Node ≥ 20 · dsh ≥ 0.1.0-rc.5 ④ 直接下测试任务。其余 mp 工具会自动起会话;模型不需要任何前置仪式。 Open the session inside the Mini Program project — tools resolve the project from the session's working directory — then just de…

View full README on GitHub →
Agentsautomation-testingdeepseek-harnessdsh-pluginwechat-miniprogramagentvision

Category