Skip to content

Releases

cua-ycwang ycwang-x11-v0.57.6

Choose a tag to compare

@YuchengWang YuchengWang released this 26 Nov 07:08

develop branch fork release (ycwang-x11-v0.57.6, Linux x86_64):

  • Isolated cua-ycwang namespace + pkexec allowlisted out-of-band elevation (cua-elevated-helper)
  • Linux X11 multi-virtual-screen pool (Xvfb :99..:199), XComposite offscreen capture, XTest + ImeGuard, batch_foreground & preserve_host
  • Token-gated loopback CDP proxy (Scheme C) + automated approve_browser_consent
  • Strong-versioned AppRecipe with atomic auto_upgrade_recipe_version(), OS event bus (poll_os_events), match_and_act_dialog, and probe_webview_targets
  • Zero-plaintext resolve_auth_site, type_secret_from_env, and type_totp_from_env
  • Verified: cua-driver-core (1437 passed), platform-linux (1237 passed), schema_consistency_test (4 passed), cargo build --release -p cua-driver
  • SHA-256 (cua-ycwang-linux-x86_64-v0.57.6.tar.gz): 19cb2853bba525f00dd87418b3e0d08e582a1f447d4c8009a6fa039f86e56099

ycwang-x11-v0.57.4

Choose a tag to compare

@YuchengWang YuchengWang released this 24 Nov 00:08

ycwang-x11-v0.57.2

Choose a tag to compare

@YuchengWang YuchengWang released this 22 Nov 09:48

What's Changed

  • Chrome Hybrid Tiering: Route DOM/file-upload/network operations through chrome_devtools CDP while using the cua-ycwang OS layer for native bubbles, Incognito/window management, clipboard paste/read, and ROI chrome verification.
  • Real Chrome Version & fp8 Tracking: Track real Chrome version (157.0.8103.78-1 via dpkg / --version) and fp8 in app_inspector.rs.
  • Curated google-chrome.json Recipe Execution: Support curated google-chrome.json recipe execution via run_app_recipe and acquire_app_data, while keeping generate_app_recipe exempt for DOM reverse-engineering.

cua-ycwang v0.57.1 — App Recipes, 4-Tier acquire_app_data, Out-of-Band Secret Typing & X11 Hardening

Choose a tag to compare

@YuchengWang YuchengWang released this 22 Nov 09:10

Upstream Attribution & License

This project (cua-ycwang) is forked from trycua/cua in full compliance with the MIT License and all upstream component licenses.

What's New (cua-ycwang v0.57.1 on develop)

  • Strong-Versioned AppRecipe & Layered inspect_app_flow (R1–R3):
    • Added inspect_app_flow, generate_app_recipe, and run_app_recipe MCP tools with <app_id>_v<ver>_<fp8>.json version gating (VersionGate), AppRecipeCache disk-stamp invalidation, and merge_curated_overlay() merging curated <app_id>.json overlays onto version-pinned base recipes.
    • Added tech_stack, atspi_blind (including is_shell_only_atspi() for java_install4j apps), recommended_interaction, and launch_isolation_hints detection across Java install4j (TWS / Thinkorswim), Electron, .NET / Avalonia, and AT-SPI2 semantic apps.
  • 4-Tier acquire_app_data & SafetyLevel Gate:
    • Added acquire_app_data MCP tool (R3 / app.data.acquire) with 4-tier capability routing (file_export, clipboard/API, screenshot_roi cropping via roi_norm, automatic fallback), read_clipboard / set_clipboard / verify_file_export artifact actions, inline format_artifacts_summary(), pid/window_id/app_path resolution, and runtime SafetyLevel gate (read_only / auth_only / restricted / blocked_flows).
  • Out-of-Band Secret Typing (type_secret_from_env):
    • Added type_secret_from_env MCP tool and recipe flow action with strict CUA_YCWANG_ key-prefix validation, .env resolution, zeroize::Zeroizing memory handling, and zero-leak output.
  • X11 Virtual Desktop, -xkb, D-Bus Isolation & Swing Hardening:
    • Added -xkb by default on x11vnc when vnc_interactive=true (and -viewonly otherwise), should_unset_dbus_for_launch() (DBUS_SESSION_BUS_ADDRESS isolation for thinkorswim / jxbrowser), and 1920x1080 default virtual screen resolution.
    • Hardened Java Swing / TWS xtest_type_text(), xtest_hotkey(), xtest_press_key(), and xtest_focus_window() (sticky-modifier release, 10ms press/release separation, clipboard settle timings, CJK support, and dismiss_modals targeted modal handling), plus zombie reaping (terminate_children() / reap_pid_with_timeout()).

Verification

  • cargo clippy -p cua-driver-core -p platform-linux -p cua-driver --all-targets -- -D warnings: passed
  • cargo test -p cua-driver-core --lib, cargo test -p platform-linux --lib, cargo test -p cua-driver --test schema_consistency_test: passed
  • Live stdio MCP (cua-ycwang mcp) E2E verification on virtual screen: passed

Personal Use & Disclaimer

This software is provided "AS IS", without warranty of any kind, express or implied. It is intended strictly for personal learning and authorized local use. Never pass plaintext passwords or sensitive credentials into LLM prompts or MCP tool arguments.

cua-ycwang v0.57.0 — Isolated Linux X11 Virtual Desktop & Full Takeover

Choose a tag to compare

@YuchengWang YuchengWang released this 22 Nov 03:44

Upstream Attribution & License

This project (cua-ycwang) is forked from trycua/cua in full compliance with the MIT License and all upstream component licenses. Sincere thanks to the original Cua team for building and open-sourcing the foundational computer-use platform.


What's New (cua-ycwang)

  • Multi-Virtual-Screen Lifecycle & Scheduling:
    • Added VirtualScreenManager and X11ScreenPool with MCP tools create_virtual_screen, list_virtual_screens, destroy_virtual_screen, and launch_in_virtual_screen.
    • Runs isolated Xvfb + openbox + dbus-daemon (AT-SPI) sessions with 0600 XAUTHORITY (-nolisten tcp -s 0 -dpms, no -ac).
  • Offscreen XComposite Capture:
    • Implemented XCompositeRedirectWindow + XCompositeNameWindowPixmap with RAII PixmapGuard, including the Pixmap visual=0 decoding fix for reliable offscreen rendering.
  • Full X11 Background Interaction:
    • XTest input injection inside virtual screens for Java/Swing and Electron applications.
    • OverrideRedirect popup and menu enumeration.
    • Non-ASCII / CJK clipboard-assisted type_text along with isolated clipboard tools (get_clipboard, set_clipboard, sync_clipboard).
    • Primary screen lock / DPMS guard.
    • run_steps enhancements: wait_for_stable_frame and dismiss_modal_and_retry.
  • Side-by-Side Deployment & Diagnostics:
    • Non-conflicting side-by-side installation (cua-ycwang vs upstream cua-driver).
    • Centralized Linux configuration (deploy/linux/ -> ~/.config/cua-ycwang/).
    • cua-ycwang doctor --json diagnostics.
    • Structured elevation_required response and pkexec allowlisted out-of-band elevation.

Verification

  • cargo clippy -- -D warnings: passed
  • Unit tests: passed
  • schema_consistency_test: 4/4 passed
  • Xorg E2E: M2 4/4, M3 2/2, M4 2/2 passed
  • Stdio MCP JSON-RPC E2E: passed

Personal Use & Disclaimer

This software is provided "AS IS", without warranty of any kind, express or implied. It is intended strictly for personal learning and authorized local use. Never pass plaintext passwords or sensitive credentials into LLM prompts or MCP tool arguments.