Skip to content

v0.9.20 — Synchronous wx API calls and documentation audit

Choose a tag to compare

@WaterTian WaterTian released this 26 Oct 10:01
· 9 commits to main since this release

Highlights

  • call_wx now routes synchronous wx APIs (*Sync, create*, *Manager, and info getters such as getSystemSetting / getAppBaseInfo / getWindowInfo / getDeviceInfo / canIUse) through evaluate in the logic layer and returns sync: true. Previously the automator's callWxMethod waited for a success callback that never comes and timed out after a fixed 10s. Verified live: the three sync APIs went from 10.0s timeouts to 0.0s; async APIs are unchanged. For sync APIs outside the list, a timeout now carries a hint pointing to evaluate.
  • Documentation audited field by field against the code: README (prerequisites including Node.js ≥ 18, separate install and upgrade commands, a self-check step, FAQ in current terms), MCP_DOC (screenshot parameters, navigate project_path, expected_path, return fields of status / open / compile / screenshot / navigate), SKILL (self-check rows, recovery guidance). Schema descriptions for cdp_port and project_path now match behaviour. The Node.js floor message goes from 8 to 18.
  • A 10-minute idle observation with no clients attached showed a stable project window and zero close events on DevTools 2.x; window closes always have an external cause.

Tests

  • 316 pytest cases pass; the 5 standalone JS scripts pass (61 assertions).
  • Verified live on WeChat DevTools 2.02.2608060 (macOS).

Install

uv tool install wechat-devtools-mcp --force --refresh

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