Skip to content

Codewhale Computer Use v0.16.4

Latest

Choose a tag to compare

@Hmbown Hmbown released this 01 Dec 01:06
· 2 commits to main since this release
  • Model ergonomics, context efficiency, and richer browser CDP actions.
    • Tightened tools/list schema descriptions while keeping the 37-tool advertised surface and adding 4 hidden browser wire aliases (browser_snapshot, browser_scroll, browser_key, browser_wait), cutting advertised schema JSON from ~54 KB to ~30 KB (~44% fewer upfront tokens).
    • Added browser {action:"snapshot"} (interactive DOM elements with unique CSS selectors, redacting password values, plus visible page text), browser {action:"scroll"}, browser {action:"key"}, browser {action:"wait"}, and clear:true on browser {action:"type"}.
    • Added interactive and exact filters to get_app_state (and exact to wait_for and run_actions find), leaner compact element rows (omitting empty/default fields), role_counts and focused_element orientation metadata on truncated states, query/limit filters on list_apps and list_windows, observe on open_application, up to 5 ref-annotated candidates on run_actions element_ambiguous, and stripped redundant computer/ts/switched:false fields from nested run_actions step receipts.
    • Defaulted screenshot captures to max_dimension: 1568 across macOS (JPEG), Windows, and Linux (configurable via CODEWHALE_CU_DEFAULT_MAX_DIMENSION; Linux skips auto-scaling when no resizer binary is installed, and explicit caller path stays unscaled unless max_dimension is passed; Linux scaled full-screen points/scale now keep pre-scale display geometry).
    • Extended Windows UIA (HasKeyboardFocus) and Linux AT-SPI (focused / enabled) state fields, broadened list_apps/list_windows query matching across Windows title and Linux wm_class/process, added win/super modifiers in browser {action:"key"}, and made open_application {observe:true} resolve safely on Windows and Linux without inventing unsupported selectors.
  • A missing helper is reported as needing repair instead of connected (CW-8266). When the registered Computer Use helper app is gone from its registered path and no helper is answering on the local socket, initialize carries serverInfo.health (status, code, reason, repair) and leads its instructions within the 4096-byte budget with the repair step for this Mac while noting remote computers are unaffected, and every app_missing or app_setup_required refusal repeats that step as repair. For a desktop-managed helper the step is Settings, Connectors, This Mac, "Set up Computer Use on this Mac".
  • Hardened app_script script policy parsing. Comment, string, template, regular-expression, destructured/chained bracket, identifier-alias and CR continuation forms that previously obscured target apps or denied APIs in AppleScript and JXA are now parsed consistently or refused before reaching osascript.
  • The helper's hello reply now reports macOS Accessibility and Screen Recording grants. On macOS, hello includes app.grants with accessibility and screen_recording booleans read directly from the helper's own OS grant state without triggering a screen capture or permission prompt, and omits grants on other platforms or when the native check is unavailable (CW-8195).

Qualification

  • Source commit: 7881869e8c9b20bbea3bb65e216c2fffa563eb6c
  • Runtime fingerprint: ff20d43592a60481
  • 3-OS Verify Computer Use CI (run 46549784973): macOS 582/611 pass (0 fail, 29 skipped), Linux 562/611 pass (0 fail, 49 skipped), Windows 543/611 pass (0 fail, 68 skipped)
  • CodeQL (run 46549774637): passed
  • macOS universal ZIP & DMG signed (5RDNSHA5TY), notarized, stapled, and Gatekeeper verified

Written by Antigravity (AI), working with Hmbown.