Skip to content

v0.2.11 — GUI display_info + move_path GuiAction (Issues #43 #44)

Latest

Choose a tag to compare

@dahai80 dahai80 released this 06 Sep 14:01
b78f770

Patch release v0.2.11

Fixes the last 2 open issues (#43, #44). Merged via PR #45 (squash).

#43 — Expose scale_factor / display capability query in GuiResult

  • New GuiAction::DisplayInfo{} enumerates active displays via CGDisplay::active_displays() → JSON [{id, scale, bounds:{x,y,w,h}, primary}] exposed as additive GuiResult.displays: Option<String>.
  • Trusted-independent (no TCC required).
  • Shared compute_scale_factor() now fills scale_factor in inspect_tree + screenshot (was screenshot-only) — removes hardcoded 2.0 reliance.

#44 — Batch mouse-move (waypoint path) GuiAction

  • New GuiAction::MovePath{points, duration_ms} — N-waypoint path in single atomic UDS round-trip (avoids N hover round-trips). Linear interp, 8 frames/segment, <2 points reject.

Safety

  • 0 new unsafe blocks (core-graphics 0.24 safe wrappers within fe-gui crate-level scope). GuiAction 18→20 variants.

Verification

  • 528 Rust + 231 Python (1 skip TCC) tests green.
  • clippy --all-targets -D warnings clean (only upstream block v0.1.6). fmt/ruff clean. maturin builds.

Version

3-point SSOT bump 0.2.10 → 0.2.11.