nostrings

v0.7.0
io.github.vpatel9202/nostrings Checked 11 hours ago Published 7 days ago

Computer use on your Mac and Android phone: JS scripts, accessibility diffs, background input.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

js

Run JavaScript in a persistent computer-use session. Put a whole step in one call: several actions, then one read. Top-level const/let/function/await persist across calls until js_reset (redeclaring is fine). const calc = await ui.getApp("Calculator"); // name, bundle id, or "pid:123"; launches if needed, does not steal focus await calc.pressKey("Escape"); // xdotool syntax: Return, Tab, ctrl+a, super+c (super = Cmd) await calc.typeText("12*3="); // "\n" presses Return await calc.getAXState(); // text accessibility tree; later reads ret…

ParameterTypeDescription
code *stringJavaScript to run. Top-level await is supported.
timeout_msintegerTime limit in milliseconds (default 120000).
titlestringA few words naming this step, for the action log.

js_reset

Restart the session and drop every binding. Use when a script is stuck or you want a clean slate.