Skip to content

v0.9.18 — Windows 2.x verified on a real machine, robustness fixes

Choose a tag to compare

@WaterTian WaterTian released this 04 Sep 08:25
· 14 commits to main since this release

Highlights

  • Windows 2.x verified end-to-end on a real machine (Windows 11, DevTools Stable 2.02.2608060): four smoke rounds at 19/19 plus the full pytest suite. The installer was also unpacked statically to confirm the layout; see docs/windows-internals.md.
  • State-file directory on Windows 2.x: the IDE keeps .ide / .cli / .ide-status under %LOCALAPPDATA%\微信开发者工具\User Data\<hash>\Default\. ide_state now probes each candidate root with and without the User Data layer.
  • open readiness on Windows Electron: the stale .ide port is no longer a readiness criterion. Readiness is "CDP listening + an IDE shell target in /json/list", and open proceeds even if that port never listens, deferring to the actual cli open result. open also returns miniprogram_targets_ready; when no mini-program target appears on the CDP port within 8s the message carries a warning (single-instance-lock race probe) without failing.
  • Noise filters: the startup health check ignores the 2.x extension-injected inspectee MPPage errors and access_token expired; the compile warning filter matches the --trace-deprecation hint by content instead of executable name (it is 微信开发者工具 on Windows).
  • quit / kill on Windows now poll tasklist /FO CSV until the process is gone, independent of the console code page; quit returns exited.
  • Tooling: new cross-platform real-machine smoke script tests/manual/smoke_ide.py (JSON report with checkpoints); two Windows unit tests decoupled from the real install directory.

Tests

  • 266 Python tests passed (pytest tests/ -q), on macOS and Windows 11
  • 4 Node scripts, 46 assertions passed

Install

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

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