Repository navigation
Releases
noracu 0.3.2
noracu 0.3.2
Three fixes — the default deny list, finding a simulator with Xcode 26, and what browser_scroll reports on a busy machine — and clearer setup docs; no tool was added or removed.
- Orca gets no input by default. Orca, an agent IDE whose terminals run a shell, is on the default deny list — by its bundle id
com.stablyai.orcaand by name — and a client running in one of its terminals is recognised as hosted by it. Before, with the defaults, an agent could type into a shell in Orca. - XCUITest backend: a simulator is found with Xcode 26 too.
npx noracu ios-setup --udid <simulator>and theios_*tools look a simulator up withsimctl. Before, they askeddevicectl, which with Xcode 26.6 listed no simulators or gave no answer for 30 s; an iPhone is still looked up withdevicectl. browser_scrollreads the page once it has had the wheel. It used to read the position 80 ms after sending the wheel. On a busy machine, or with the server running at background priority (a launchd job, a CI runner), the page could take half a second to get it: the result then said that a scroll that went through did not move, took the late end of the scroll before for its own (delivered_verified), or missed a navigation the wheel started. Now it waits until the page reports the wheel and the position stops changing (up to 3 s). It verifies a movement only when the one wheel the page had was this call's and every earlier wheel that may have reached that page was verified (a page loaded again starts afresh, unless it came in while a wheel may still have been on its way), and never when the wheel was over a frame; two calls on one page take turns; the result says which of these kept it from verifying.- Setup docs. The Quickstart says to paste what
npx noracu --doctorprints, and how to replace an entry an earlier install left (claude mcp remove noracufirst). Claude Code's way to set a variable —-e NAME=valueafter the server name — is shown next to the JSON form, with the error the other order gives.mac_ax_statereads Finder withapp: "Finder"without bringing it forward, and the README says that reading an Electron or Chromium app tries to turn on its web accessibility (Google Chrome refuses it).
Upgrading: npm install noracu@0.3.2 in the folder you installed it in, then quit and reopen your client. If you use the XCUITest backend (NORACU_PHONE_BACKEND=xcuitest), run npx noracu ios-setup once more, with the same flags as the first time: the runner's sources changed (in comments only), and until it is built again ios_* answers runner_version_mismatch.
Everything else: CHANGELOG.md. Security notes: SECURITY.md.
noracu 0.3.1
noracu 0.3.1
Fixes and stricter checks on top of 0.3.0; no tool was added or removed. The ten that matter most:
- A call whose text holds U+2028 or U+2029 is answered. In 0.3.0 such a call never got an answer.
- An app name that two running apps share is not resolved to one of them. The answer is
ambiguous_appwith the pids; name the one you mean aspid:<number>. - The client's Stop reaches a call that is already running, and
browser_typestops when the stop file appears. - Keystrokes and pastes wait for the person at the Mac right before they go out, not only when the call starts.
- An
element_indexstays with its row. A number that names an item is part of its identity, and two look-alike buttons in one list row stay tied to that row. - iPhone (XCUITest): nothing is sent while Control Center covers the app, and input named for the Home Screen is not sent into an app that is still in front.
- iPhone (Mirroring): no old picture of a minimized mirror.
phone_screenshot,phone_ocrandphone_findanswercapture_failedinstead. initializeanswers in the protocol revision the client asked for (2024-11-05, 2025-06-18 or 2025-11-25).ax_emptysays when an app's windows are off screen — on another Space, minimized or hidden — and what to do next. Windows on another Space still cannot be read.- Docs: a short README that starts with
npx noracu --doctor, a page of known issues, the apps noracu was run against, and an error reference that names every code.
Several results also claim less than before: mac_scroll, browser_fill and browser_scroll report success only for what was seen, and mac_wait no longer reports something gone while the app is not answering.
Upgrading with the XCUITest backend: the runner changed in this version. ios_* answers runner_version_mismatch until the runner is built again with npx noracu ios-setup (the same flags as the first time).
Everything else: CHANGELOG.md. What is known not to work: docs/known-issues.md. Security notes: SECURITY.md.
noracu 0.3.0
noracu 0.3.0
Two behaviour changes first, then what is new. Everything else, with the review and device-run fixes, is in the CHANGELOG.
Breaking
- The experimental iPhone layer is off by default: the server lists the Mac and browser tools only.
NORACU_LAYERS=mac,browser,iphonegives the 0.2.7 set. browser_evaluateis off by default (it runs any script in the page);NORACU_ENABLE_EVAL=1turns it on.
New
- A stop switch: while the file named by
NORACU_STOP_FILEexists, every Mac and iPhone input tool, and the browser tools that act on a page, returnuser_stoppedand send nothing.touchit to stop; delete it to resume. - Per-app input rules:
NORACU_DENY_APPSlists apps that never get input (by default the common terminal apps and IDEs with a built-in terminal), and an opt-in approval fileNORACU_APPROVAL_FILElists the apps that may. - Your own Chrome (opt-in,
NORACU_ALLOW_CHROME=1):browser_launchwithchrome: trueworks in tabs it opens in the Chrome you are signed in to. - Background input: a native app gets clicks and named keys posted to its process, so the pointer does not move and the app need not be in front; each result says which
routedelivered it. - iPhone, XCUITest backend (experimental, opt-in):
ios_*tools act byelement_indexon a cable-connected iPhone without using the Mac's pointer or keyboard. A locked iPhone, or one with a system prompt up, gets no input.
Fixed before release (a whole-code audit by three models, each point checked against the code)
- A stop file made, or a cancel sent, while noracu reads whether you are using the Mac now stops the input; double and triple clicks are real ones; an element that cannot be read after an action is no longer reported as verified; a checkbox slow to show its new state is not pressed twice. The rest is in the CHANGELOG under Fixed.
Security notes and what is not mitigated: SECURITY.md. Full list of changes: CHANGELOG.md.
noracu 0.2.7
noracu 0.2.7
noracu now shares the Mac with the person sitting at it: Mac and iPhone input waits while you are using the keyboard or mouse, and the pointer goes back where it was after a click. The experimental iPhone layer also gets fixes: phone_open works again with the iOS 27 Spotlight that puts the search field at the top, typing through iPhone Mirroring is more careful about Universal Clipboard, and the phone keyboard's candidate bar no longer blocks input. No new tools; one new setting, NORACU_USER_IDLE_S.
Changed
- The person at the Mac goes first. Before a Mac or iPhone input tool acts, noracu checks how long ago the Mac's keyboard or mouse was last used. If that was less than 2 s ago and not noracu's own input, the call returns
user_activeand sends nothing (delivery=not_delivered, retry=safe) — the agent retries after a pause. Read-only tools and the browser layer are not held up. - The pointer goes back. After a physical Mac click, drag or scroll, and after a phone gesture, the pointer returns to where it was — unless someone moved it in the meantime.
NORACU_USER_IDLE_Ssets the wait (default 2, 0–60).0turns both off, for a Mac dedicated to the agent.mac_statusreports it asuser_idle_s.- Limits: the check runs once, before the call acts; a key pressed or the mouse moved while noracu's previous input was still running is not seen (noracu's own events reset the same idle time macOS keeps).
Fixed
phone_openopens apps with the top-field Spotlight (iOS 27 "Search or Ask"). There Spotlight shows no "Top Hit" card, and everyphone_openfailed withopen_not_confirmed: … never showed up on the phonealthough the name had been pasted (0.2.6 too). It now reads the search field, which shows the query completed as " — Open", and taps the exact label just under the field only when that completion names exactly this app; any other completion, or none, isapp not foundwith nothing tapped. In a device run (iOS 27, macOS 27.2) Calculator 2/2 and Clock 2/2 opened back to back, and an unknown name returnedapp not found. The "Open" completion is read in English only.phone_typeandphone_openwait for Universal Clipboard. iPhone Mirroring pastes through Universal Clipboard, which tells the phone about new Mac clipboard content with a delay. A ⌘V that arrived first could paste the phone's own older clipboard instead of the new text (seen once in about 30 pastes on macOS 27.2). Both tools now wait at least 1.5 s between writing the clipboard and ⌘V. The 1.5 s is a judgement, not a measured delay: it is meant to let the new text reach the phone first and does not rule the race out, and it does not help when the phone shows "Pasting from …" and then pastes nothing. Each call takes about 1.5 s longer.- The screen count that decides whether a paste showed up — and whether your clipboard is put back — is read right before ⌘V, after the wait, so text that appears during the wait cannot pass for the paste.
- ⌘V is called off instead of stealing focus. If another app (or another Space) comes to the front during the wait — checked right after the wait and again right before ⌘V — noracu no longer brings iPhone Mirroring back to paste:
phone_typereturnsfocus_lostsaying nothing was sent (or, withreplace, that only the select-all went out),phone_openreturnsfocus_lostwithout going back to the Home Screen, and your clipboard is put back unless something else copied meanwhile. - Honest results after an unconfirmed paste.
type_not_confirmed, thephone_typeresults OCR cannot confirm, andphone_open'sopen_not_confirmednow say the field may hold the phone's older clipboard;phone_openno longer claims the name was pasted. When another app or device writes the clipboard before ⌘V,phone_opengoes back to the Home Screen and says so instead of ending with an input error. The phone's "Pasting from …" box also counts when OCR splits it over two lines. - The phone keyboard's candidate bar no longer hides the mirror window. While the phone keyboard was composing (for example a Pinyin letter still underlined), iPhone Mirroring showed a small candidate-bar window that the window lookup took for the phone:
phone_statusreportedlive: nulland every input returnedmirror_state_unknown— even thedeletethat ends the composition. The lookups now use the iPhone Mirroring window itself, and a failed bounds read is retried once.
Security
- SECURITY.md threat 18 (clipboard on the phone path) describes the wait and the
focus_lostcall-off, and lists what remains: an early ⌘V can still paste the phone's own older clipboard (possibly something once pasted on the phone), an older clipboard that contains the typed text can pass for the paste, and the "Pasting from" box is recognized only in English.
Docs
- README (English and Chinese): a "Shares the Mac with you" section, a
user_activetroubleshooting row and theNORACU_USER_IDLE_Ssetting;open_not_confirmed: … never showed upno longer reads as "the name did not arrive" only, and the known limits describe the top-field Spotlight.
Upgrade
npm install noracu@0.2.7 (or update the version your MCP client runs), then fully quit and reopen the client app so it starts the new server.
noracu 0.2.6
noracu 0.2.6
Key chords and pastes now go out on the key that types the character in your keyboard layout, mac_type no longer types into an app it cannot see a focused field in, and several results say more precisely what happened.
Fixed
mac_keywithcmdorctrlon a character key (cmd-c,cmd-v,cmd-z,cmd-shift-v) is posted by the accessibility engine on the key that types that character in the current keyboard layout, with each modifier pressed and released around it. Before, these chords went through cliclick (kd:cmd t:v ku:cmd), the sequence that on macOS 27.2 with the Pinyin input source typed a plain "v" into TextEdit instead of pasting. If no key in the layout types the character, the call returnsnot_deliveredwithkeyboard_layoutand sends nothing. A plain character, or one with onlyshift/alt, is still typed through cliclick.mac_pastesends ⌘V on the key that types V in the current layout. Before, it refused Dvorak layouts, and on other layouts that move V (Workman) it sent ⌘ with the key where V sits on U.S. keyboards.phone_typechecks the Mac's keyboard layout before it sends ⌘V (and, withreplace, ⌘A) to iPhone Mirroring. When the key a chord is sent from types another character — French AZERTY has Q where ⌘A is sent from, Dvorak has K where ⌘V is — it returnskeyboard_layout(not_delivered,retry=safe), sends nothing and leaves the clipboard alone. The Spotlight shortcutphone_openuses falls back to clicking the View menu item.phone_typesays why a paste whose screen change it saw is not confirmed, when the reason is known: a text of fewer than four characters is never confirmed by OCR, and a text OCR saw appear only in the strip at the top of the screen cannot be told from a notification banner. Both return at once asdelivered_unverified, instead of an extra check of up to 15 s that could then report the text "showed up late".mac_scroll's refusals point atelement_indexinstead of advisingforce:trueorapp, whichmac_scrolldoes not take.browser_snapshotmarks a cut ARIA snapshot ([aria snapshot truncated: showing N of M chars …]) and says when it could not list the clickable elements, instead of returning an empty list.browser_readandbrowser_evaluatemark cut text ([truncated: showing N of M chars]).
Changed
mac_typewithoutelement_indexorappreturnsno_focusand sends nothing when the frontmost app reports no focused element. Before, it sent keystrokes wherever macOS routed them and called that "the focused element". Passelement_index, orappto type into that app anyway. A text view accessibility cannot write (a terminal) still gets keystrokes.mac_typeresults name the app they typed into.mac_clipboard_readmarks Universal Clipboard content (copied on another device) withremote: trueand notes that reading it makes macOS fetch it from that device.
Docs
- README / README.zh-CN: the focus-guard paragraph states when
mac_typesends keystrokes; Known limits list the keyboard layoutsphone_typeneeds. SECURITY.md threat 16 notes the Universal Clipboard fetch. docs/usage.md listsno_focus.
Tested
- macOS 27.2, Node 26.10.0, one iPhone on iOS 27 (English) through iPhone Mirroring; U.S. layout with the Pinyin input source.
- With hardware cases: 158/158 in the repository and again from the packed tarball installed in an empty directory. Without hardware (
NORACU_CI=1): 142/142. Engine unit tests: 159/159. iPhone driver smoke tests: 50/50. - On the device:
mac_keycmd-a/cmd-c/cmd-v/cmd-zandmac_pastein TextEdit;phone_openandphone_type(with and withoutreplace) in the iPhone Settings search field.
Known limits
- The keyboard-layout handling was tried on a device only with the U.S. layout and the Pinyin input source. AZERTY, Dvorak and Workman are covered by unit tests that stand in for the layout lookup, not by a device run.
- Otherwise unchanged from 0.2.5.
noracu 0.2.5
noracu 0.2.5
mac_paste now sends a real ⌘V; the check of which window is on top reads the Dock and notification banners correctly; and iPhone results claim only what the screen shows. SECURITY.md opens with what noracu hands to your model and what it can reach.
Fixed
mac_pastesends ⌘V as the V key (key code 9) with ⌘ held, posted by the accessibility engine, instead of cliclick'skd:cmd t:v ku:cmd. On macOS 27.2 with the Pinyin keyboard layout cliclick's version reached TextEdit as nothing, or as a plain "v" typed into the document, so the text was never pasted (reporteddelivered_unverified). Under a Dvorak layout, where key code 9 is K,mac_pasterefuses (not_delivered) instead of sending ⌘K; "Dvorak - QWERTY ⌘" layouts are fine.mac_pasteno longer needs cliclick.- A point under the Dock no longer counts as the window behind it. On macOS 27.2 the Dock is one full-display window that lets clicks through, and the on-top check skipped it, so
mac_scrollscrolled a window whose center was under the Dock and amac_clickat x,y there would have been sent. The strip each display keeps for the Dock now counts as covered by the Dock (occluded, nothing sent). The same check guards physical clicks and drags on an element. - While a notification banner shows, a point away from it is no longer
occludedby Notification Center, which on macOS 27.2 then keeps a full-display window above everything. Only a banner's or alert's own frame counts as covered; when those frames cannot be read, or the notification list is open, the whole screen still counts as covered.
Changed
mac_scrollwithoutelement_indexscrolls at the center of the frontmost app's front window, and only when that app's window is on top at that point — otherwiseoccluded(orno_window) and nothing is scrolled.phone_typeisdelivered_verifiedonly when OCR sees the typed text, within its 2.5 s check, at a spot where it was not before the paste, below the strip where the status bar and notification banners are drawn. Text that shows up only later isdelivered_unverified, and the result says OCR cannot tell the paste from a line repeating it (such as a search result). A text of one to three characters (spaces and case aside) is never confirmed by a sighting and never puts the clipboard back.phone_scrollthat changed the screen isdelivered_unverified: a notification or an animation changes the screen too.phone_opentaps nothing when Spotlight's Top Hit card shows the app name at two or more spots:open_not_confirmed, back on the Home Screen.
Docs
- SECURITY.md: a new section on what noracu hands to your model and what it can reach — text returned to the model, the clipboard, privacy-consent and authorization dialogs, secrets an app displays, browser cookies, the iPhone Mirroring session — and its boundaries (macOS permissions belong to the host app; noracu does not constrain the host's own shell; tool annotations restrict nothing). New threat 18: the clipboard on the phone path.
Tested
- macOS 27.2, Node 26.10.0, one iPhone on iOS 27 (English) through iPhone Mirroring.
- With hardware cases: 153/153 in the repository and again from the packed tarball installed in an empty directory. Without hardware (
NORACU_CI=1): 137/137. Engine unit tests: 156/156. iPhone driver smoke tests: 49/49. - The fixes above came from attended device runs on this Mac and iPhone.
Known limits
mac_keystill sends chords on a character key (such ascmd-c) through cliclick. On the tested Mac (Pinyin layout) the same cliclick call thatmac_key "cmd-v"makes typed a plain "v" into TextEdit, whilecmd-aselected all; usemac_pasteto paste.- Otherwise unchanged from 0.2.4.
noracu 0.2.4
noracu 0.2.4
Text writes on the Mac are reported as delivered_verified only when the field changed into exactly what the write should leave; every tool now reports MCP tool annotations; and the iPhone layer gets fixes for phone_open, Home Screen page swipes and the pyobjc install hint.
Changed
- A text write counts as
delivered_verifiedonly when the field changed into exactly what the write should leave: formac_set_value, the value given (line endings unified, leading and trailing white space ignored); formac_type, the text over the selection that was there, the old value plus the text, or — withreplace— the text itself; formac_paste, the focused field's value becoming the text pasted over the selection that was there. A field that merely contains the text somewhere no longer counts: the text may have been there before. When the insertion point cannot be read, a changed value that shows the text isdelivered_unverified(insertion_point_unreadable), and one that shows it elsewhere isdelivered_unverified(not_at_insertion_point). mac_set_valuewith the value the field already shows, andmac_typewithreplaceand the text already there, send nothing and reportnot_delivered(already, retry safe).- A paste over a selection that already held the same text leaves the value unchanged and is
delivered_unverified(value_unchanged): a moved caret is no proof that ⌘V was handled. mac_typeinto a field that takes text only by rewriting its whole value refuses (not_delivered) when that value cannot be read, instead of replacing what is there with the text.
Fixed
phone_openfinds Spotlight's search field where iOS 27 now draws it. The field floats about a fifth of the way up from the bottom on some screens (it was looked for only at the very bottom), and a long name may differ from what OCR reads there by a letter or two. A name the Top Hit card does not show is reported asapp not foundagain, instead ofopen_not_confirmed: … never showed up on the phoneafter a 15 s wait (on the test iPhone, iOS 27: about 9–11 s per call, down from about 26 s).phone_openwith a one- or two-letter name such asXno longer runs into its time limit (about 31 s, reported as "the Mac may be under heavy load"). It reportsopen_not_confirmedinstead (about 15 s on the test iPhone): OCR could not read the name, nothing was tapped, and the app may still be installed — open it from its Home Screen icon.- The pyobjc install command in the
imctl unavailable …message and in the READMEs named a package that does not exist on PyPI (pyobjc-framework-AppKit), so pip stopped without installing anything. It now namespyobjc-framework-Cocoa, which provides AppKit; the iPhone driver's ownpyproject.tomlhad the same wrong dependency. - Home Screen page swipes from the iPhone driver (
imctl page left|right) start in the empty strip just above the Dock instead of the middle of the screen. iPhone Mirroring delivers a drag as pointer input, so a swipe that starts on an app icon picks the icon up: on the test iPhone two such swipes dropped an icon on another one and made a folder.phone_swipe's description and the READMEs now say where to start a page swipe. mac_set_valuewith an empty or blank value on a numeric field (a stepper or a number field) wrote the number 0, and counted a field already at 0 as set. Only a written-out decimal number is compared and written as a number now; anything else is sent as text.
Added
- Every tool reports the four MCP tool annotations —
readOnlyHint,destructiveHint,idempotentHint,openWorldHint— set by what the tool does (docs/tools.mdlists them). They are hints for the client, not permissions:NORACU_READ_ONLY=1is unchanged and still decides what is refused.browser_launch,browser_fill,phone_launchandphone_homeare marked not idempotent until measured otherwise.
Tests
- The iPhone driver's smoke tests run all 48 cases when run as a script (
npm run test:imctl); a hand-kept list ran 28 of them. CI installs pyobjc and runs them. - The local "gap" cases count only an attempt whose click was actually sent; a click refused before sending is repeated (up to 5 attempts), any
delivered_verifiedfails at once, and every attempt's full result is printed. A local case this Mac cannot run — the notification banner case while a Focus mode holds banners back — is reported as not run.
Tested
- macOS 27.2, cliclick 5.1, Node 26.10.0, one iPhone on iOS 27 (English) through iPhone Mirroring.
- With hardware cases: 151/151 in the repository and again from the packed tarball installed in an empty directory. Without hardware (
NORACU_CI=1): 136/136. Engine unit tests: 151/151. iPhone driver smoke tests: 48/48. - On the device,
phone_open:X→open_not_confirmedafter 16 s; a name that is not installed andPinduoduo→app not foundafter 10–11 s;Settingsand拼多多reportedopened … delivery=delivered_verified.
Known limits
- Unchanged from 0.2.3.
noracu 0.2.3
noracu 0.2.3
A test-only release. The server, the Mac accessibility engine and the iPhone driver are unchanged from 0.2.2.
Tests
- The local test suite now also covers an
element_indexfrom a window-level snapshot (the default surface), not only from an app-level one. The case reads an index in a TextEdit window, closes the window and reopens it with the same name, text and position, then checks thatmac_getand a physicalmac_clickboth returnelement_no_longer_validand that no click is sent.
Tested
- macOS 27.2, cliclick 5.1, Node 26.10.0: the full test suite including hardware cases passed 148/148 in the repository and again from the packed tarball installed in an empty directory; engine unit tests 129/129. Without hardware (
NORACU_CI=1) the suite runs 133 checks, as in 0.2.2.
Known limits
- Unchanged from 0.2.2: a short gap remains between the last check and a physical click; a click that opens another window of the same app at the click point is reported
delivered_unverified;mac_scrollwithout anelement_indexhas no topmost-window check.
noracu 0.2.2
noracu 0.2.2
A patch release that closes the gap between a physical click's hit test and the click itself, and stops an element_index from outliving its window. Prompted by a review comment on the r/mcp launch post.
Fixed
- A physical click is not reported
delivered_verifiedwhen the target changed in between. Formac_clickon an element without a semantic action, or withmechanism: "physical", the window on top at the point is checked again right before the click is sent; anything that came on top since makes the call returnoccluded, and nothing is sent. After the click,delivered_verifiedneeds the element to still be there, to have changed, and its own window to still be on top at the click point; a vanished element or another window there givesdelivered_unverifiedwith a note.mac_dragre-checks both ends the same way.
On a device run that covered, moved or closed the target in that gap, 0.2.1 reported all three asdelivered_verified; 0.2.2 reports them asdelivered_unverified, and an undisturbed click is stilldelivered_verified.
Security
element_indexis bound to its window. An index read withsurface: "app"(or found bymac_findwithsurface: "app") records the CGWindowID of its window. A window that is closed and reopened with the same name, text and position now giveselement_no_longer_valid.- Windows without a CGWindowID are refused. An element in such a window returns
policy_deniedinstead of being matched by title and frame, because a closed and reopened window could not be told apart. Finder's desktop, the only such window seen on the test Mac, is exempt.mac_ax_stateandmac_findmark such a window withwindow_identity: "unverifiable"and a hint. A physical click whose hit test is inconclusive and whose window has no CGWindowID is refused withoccluded.
Tests
NORACU_TEST_PHYSICAL_GAP_MSis a test hook, never set in normal use. It waits between the last check and the click and reports the wait on stderr. The local test suite uses it to cover, move and close the target in that gap, and to close and reopen a window under an app-level index.
Tested
- macOS 27.2, cliclick 5.1, Node 26.10.0: the full test suite including hardware cases passed 147/147 in the repository and again from the packed tarball installed in an empty directory; engine unit tests 129/129; imctl smoke tests 47/47.
Known limits
- A short gap remains between the last check and the click.
- A click that opens another window of the same app at the click point is reported
delivered_unverified. mac_scrollwithout anelement_indexscrolls the frontmost window's centre without the topmost-window check.
noracu 0.2.1
noracu 0.2.1
A patch release with three Mac-layer fixes found while driving Chrome from Claude Code in iTerm2.
Fixed
mac_keyReturn works in Chrome's address bar. Named keys (return, esc, tab, space, delete, arrows, home/end, page keys, F1–F16) are now sent as HID key events by the accessibility engine; Chrome's address bar ignored cliclick 5.1's Return. A chord such ascmd-arrow-uppresses and releases each modifier around the key, so no modifier is left held afterwards. Chords on a character key (cmd-c) still go through cliclick.web_accessibilitysays what the window holds. Google Chrome refusesAXManualAccessibility, so 0.2.0 reportedunsupportedeven when Chrome's pages were readable (Chrome started with--force-renderer-accessibility). It now reportsexposedin that case, andunsupportedonly when no web content is found, together with aweb_accessibility_hint: use thebrowser_*tools, or restart Chrome with--force-renderer-accessibility.mac_findreportsweb_accessibilitytoo.
Security
mac_clickat raw x,y checks what is on top first. The click is sent only when the topmost on-screen window at the point belongs toapp(new, optional; default: the frontmost app; the menu bar counts as the frontmost app's). Otherwise it returnsoccluded, naming the owner and window layer of what covers the point, and sends nothing.force: trueskips the check. A short gap remains between the check and the click.
Docs
- SECURITY.md (threat 2), README.md / README.zh-CN.md, docs/architecture.md and docs/tools.md describe the raw-coordinate check, the HID key path and the
web_accessibilityvalues.
Tested
- macOS 27.2, cliclick 5.1, Node 26.10.0: the full test suite including hardware cases passed 140/140 in the repository and again from the packed tarball installed in an empty directory; engine unit tests 124/124; imctl smoke tests 47/47.
- The Chrome checks used a separate Chrome instance with a temporary profile.
Known limits
mac_scrollwithout anelement_indexscrolls the frontmost window's centre without the topmost-window check.- Whether turning on Web accessibility at chrome://accessibility exposes Chrome's pages was not tested.