Skip to content

v0.9.17 — DevTools 2.x Stable support, function-style evaluate, faster open

Choose a tag to compare

@WaterTian WaterTian released this 04 Sep 03:57
· 20 commits to main since this release

Highlights

  • DevTools 2.x is now the official Stable channel (since 2026-08-18; 1.06 withdrawn from the download page). This release passed a full real-machine regression on Stable 2.02.2608060, covering every action of all 7 tools.
  • fn_source for evaluate: pass full function source plus args_json, mirroring the official automation_evaluate. Root-cause fix for multi-statement expression silently running only the first statement; the response now reports mode.
  • Windows 1.x/2.x dual-runtime detection using the same probes as the official installer (code\package.nw vs resources\app.asar.unpacked); Electron uses the two-step open. Not yet verified on a Windows machine.
  • status reports official_mcp: a read-only heartbeat probe of the MCP server built into IDE 2.x. When reachable, basic operations can go to the official tools while this project focuses on stitched long-page screenshots, structured CDP logs and task-level SOPs.
  • Speed-ups: open and compile wait on readiness signals instead of fixed sleeps. Real-machine open went from about 28s to 7.6s.
  • Robustness fixes: open falls back to WECHAT_PROJECT_PATH when project_path is omitted; compile filters the new CLI's Node punycode deprecation noise; start re-runs cli auto up to 3 rounds when the port does not come up; quit waits for the process to exit and returns exited; automator connection failures carry a recovery hint; call_method errors include the page path.
  • Docs: README trimmed to 167 lines with history moved to CHANGELOG; SKILL and tool reference verified field-by-field against the code (15 corrections). Config examples now register the server as wechat-devtools-mcp to avoid clashing with the wechat-devtools name that DevTools 2.x uses for its own built-in bridge.

Tests

  • 250 Python tests passed (pytest tests/ -q)
  • 4 Node scripts, 46 assertions passed

Install

uv tool install "wechat-devtools-mcp==0.9.17" --force --refresh

PyPI: https://pypi.org/project/wechat-devtools-mcp/0.9.17/