Skip to content

v0.2.2 - CLI query boundary fixes

Choose a tag to compare

@cnlnn cnlnn released this 21 Oct 06:38
· 85 commits to main since this release

Fixes

  • Treat option-shaped reference queries as query data, not CLI flags. Bind class/prefix
    option values and terminate option parsing before reference values, preventing output/help
    flags from changing CLI behavior or overwriting an unrelated file.
  • Normalize exact method/field class names consistently, including default-package names
    such as Login and their Dalvik form LLogin;. Fuzzy class patterns remain unchanged.
  • Lock development and CI to Droid ASC 0.1.2.post2. The declared minimum engine remains
    0.1.1.post1 and was also rechecked in a clean Linux wheel environment.
  • Add permanent boundary and invalid-regex regressions, an original Login APK fixture,
    and stdio/HTTP checks for sentinel preservation, query equivalence, and session recovery.
  • Start cancellation timing after MCP initialization; worker cleanup deadlines are unchanged.

Acceptance

  • Release commit: 0d5561059bd26c6d67b2253cae7f544605658a81.
  • Release-tag CI
    and main CI: all 14 jobs passed.
  • Native Windows and Linux, Python 3.10/3.11/3.12/3.13: 98 passed per job, zero skips.
  • Clean sdist and wheel installation: 98 passed for each artifact on each OS.
    Both OSes also passed two-worker stability and process/resource cleanup checks.
  • Local current-engine source and minimum-engine wheel: 98 passed each, zero skips.
  • Original defect probes, negative cases, and large-APK comparisons: 18 passed,
    including 24 reference-query comparisons across WeChat, Taobao, and Douyin over stdio/HTTP.
  • Three-APK stability, 300 seconds and two workers: 1,020 uncached metadata/class-list
    operations
    , zero errors, zero remaining child processes, file descriptors 5 to 5,
    and final host RSS growth of 745,472 bytes. This is not a transport throughput benchmark.

The attached wheel and sdist are the exact artifacts built and tested by release-tag CI,
not a subsequent local rebuild. SHA256SUMS covers both files.

Install

python -m pip install https://github.com/cnlnn/droidasc-mcp/releases/download/v0.2.2/droidasc_mcp-0.2.2-py3-none-any.whl

Boundaries

ASC's matching semantics are unchanged: string/type queries accept regular expressions,
and invalid patterns return tool errors. The exact query value --gui remains explicitly
rejected because the upstream CLI reserves it before argument parsing. Reference totals
count physical CLI output lines, not independently verified semantic references.

Windows/Linux and local single APKs are covered. macOS, complete split-APK composition,
AAB/XAPK, hostile-sample isolation, and multi-day unattended reliability are not claimed.
Commercial APKs were used locally as read-only base.apk inputs and are not redistributed.
This release is published on GitHub, not PyPI.