Skip to content

v0.9.22 — 截图 wait_for_selector + build 工具描述补全

Latest

Choose a tag to compare

@WaterTian WaterTian released this 18 Nov 05:49
· 1 commit to main since this release

Highlights

  • wechat_screenshot 新增 wait_for_selector(配 wait_timeout_ms,默认 5000):数据异步加载的页面,先等指定元素出现,再量页面高度、再截图,避免拍到骨架屏。
  • 等不到不判失败:超时照常出图,返回 selector_found: false 与 selector_waited_ms,message 以 ⚠ 明示图里可能是加载中或空状态。
  • wechat_build 工具描述补全:逐 action 写明行为与副作用(compile 返回什么并自动重连 automator、upload 属生产操作、build_npm 何时必须跑、cache_clean 的 all 慎用)。

Tests

  • pytest 322 passed
  • macOS 真机冒烟 21/21(Stable 2.02.2609250)

Install

uvx wechat-devtools-mcp            # 或 uv tool install wechat-devtools-mcp==0.9.22

Skill 同步更新,已安装的项目请重跑 npx -y skills add WaterTian/wechat-devtools-mcp/.agents/skills/wechat-devtools。

完整说明见 CHANGELOG.md / CHANGELOG_EN.md。