Skip to content

Releases

noracu 0.3.2

Choose a tag to compare

@sgInnora sgInnora released this 20 Nov 14:26

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.orca and 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 the ios_* tools look a simulator up with simctl. Before, they asked devicectl, which with Xcode 26.6 listed no simulators or gave no answer for 30 s; an iPhone is still looked up with devicectl.
  • browser_scroll reads 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 --doctor prints, and how to replace an entry an earlier install left (claude mcp remove noracu first). Claude Code's way to set a variable — -e NAME=value after the server name — is shown next to the JSON form, with the error the other order gives. mac_ax_state reads Finder with app: "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

Choose a tag to compare

@sgInnora sgInnora released this 19 Nov 03:25

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_app with the pids; name the one you mean as pid:<number>.
  • The client's Stop reaches a call that is already running, and browser_type stops 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_index stays 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_ocr and phone_find answer capture_failed instead.
  • initialize answers in the protocol revision the client asked for (2024-11-05, 2025-06-18 or 2025-11-25).
  • ax_empty says 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

Choose a tag to compare

@sgInnora sgInnora released this 15 Nov 00:37

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,iphone gives the 0.2.7 set.
  • browser_evaluate is off by default (it runs any script in the page); NORACU_ENABLE_EVAL=1 turns it on.

New

  • A stop switch: while the file named by NORACU_STOP_FILE exists, every Mac and iPhone input tool, and the browser tools that act on a page, return user_stopped and send nothing. touch it to stop; delete it to resume.
  • Per-app input rules: NORACU_DENY_APPS lists apps that never get input (by default the common terminal apps and IDEs with a built-in terminal), and an opt-in approval file NORACU_APPROVAL_FILE lists the apps that may.
  • Your own Chrome (opt-in, NORACU_ALLOW_CHROME=1): browser_launch with chrome: true works 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 route delivered it.
  • iPhone, XCUITest backend (experimental, opt-in): ios_* tools act by element_index on 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

Choose a tag to compare

@sgInnora sgInnora released this 08 Nov 02:16

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_active and 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_S sets the wait (default 2, 0–60). 0 turns both off, for a Mac dedicated to the agent. mac_status reports it as user_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_open opens apps with the top-field Spotlight (iOS 27 "Search or Ask"). There Spotlight shows no "Top Hit" card, and every phone_open failed with open_not_confirmed: … never showed up on the phone although 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, is app not found with 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 returned app not found. The "Open" completion is read in English only.
  • phone_type and phone_open wait 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_type returns focus_lost saying nothing was sent (or, with replace, that only the select-all went out), phone_open returns focus_lost without 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, the phone_type results OCR cannot confirm, and phone_open's open_not_confirmed now say the field may hold the phone's older clipboard; phone_open no longer claims the name was pasted. When another app or device writes the clipboard before ⌘V, phone_open goes 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_status reported live: null and every input returned mirror_state_unknown — even the delete that 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_lost call-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_active troubleshooting row and the NORACU_USER_IDLE_S setting; open_not_confirmed: … never showed up no 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

Choose a tag to compare

@sgInnora sgInnora released this 07 Nov 02:56

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_key with cmd or ctrl on 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 returns not_delivered with keyboard_layout and sends nothing. A plain character, or one with only shift / alt, is still typed through cliclick.
  • mac_paste sends ⌘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_type checks the Mac's keyboard layout before it sends ⌘V (and, with replace, ⌘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 returns keyboard_layout (not_delivered, retry=safe), sends nothing and leaves the clipboard alone. The Spotlight shortcut phone_open uses falls back to clicking the View menu item.
  • phone_type says 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 as delivered_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 at element_index instead of advising force:true or app, which mac_scroll does not take.
  • browser_snapshot marks 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_read and browser_evaluate mark cut text ([truncated: showing N of M chars]).

Changed

  • mac_type without element_index or app returns no_focus and sends nothing when the frontmost app reports no focused element. Before, it sent keystrokes wherever macOS routed them and called that "the focused element". Pass element_index, or app to type into that app anyway. A text view accessibility cannot write (a terminal) still gets keystrokes.
  • mac_type results name the app they typed into.
  • mac_clipboard_read marks Universal Clipboard content (copied on another device) with remote: true and notes that reading it makes macOS fetch it from that device.

Docs

  • README / README.zh-CN: the focus-guard paragraph states when mac_type sends keystrokes; Known limits list the keyboard layouts phone_type needs. SECURITY.md threat 16 notes the Universal Clipboard fetch. docs/usage.md lists no_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_key cmd-a / cmd-c / cmd-v / cmd-z and mac_paste in TextEdit; phone_open and phone_type (with and without replace) 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

Choose a tag to compare

@sgInnora sgInnora released this 07 Nov 01:40

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_paste sends ⌘V as the V key (key code 9) with ⌘ held, posted by the accessibility engine, instead of cliclick's kd: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 (reported delivered_unverified). Under a Dvorak layout, where key code 9 is K, mac_paste refuses (not_delivered) instead of sending ⌘K; "Dvorak - QWERTY ⌘" layouts are fine. mac_paste no 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_scroll scrolled a window whose center was under the Dock and a mac_click at 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 occluded by 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_scroll without element_index scrolls at the center of the frontmost app's front window, and only when that app's window is on top at that point — otherwise occluded (or no_window) and nothing is scrolled.
  • phone_type is delivered_verified only 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 is delivered_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_scroll that changed the screen is delivered_unverified: a notification or an animation changes the screen too.
  • phone_open taps 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_key still sends chords on a character key (such as cmd-c) through cliclick. On the tested Mac (Pinyin layout) the same cliclick call that mac_key "cmd-v" makes typed a plain "v" into TextEdit, while cmd-a selected all; use mac_paste to paste.
  • Otherwise unchanged from 0.2.4.

noracu 0.2.4

Choose a tag to compare

@sgInnora sgInnora released this 06 Nov 23:08

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_verified only when the field changed into exactly what the write should leave: for mac_set_value, the value given (line endings unified, leading and trailing white space ignored); for mac_type, the text over the selection that was there, the old value plus the text, or — with replace — the text itself; for mac_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 is delivered_unverified (insertion_point_unreadable), and one that shows it elsewhere is delivered_unverified (not_at_insertion_point).
  • mac_set_value with the value the field already shows, and mac_type with replace and the text already there, send nothing and report not_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_type into 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_open finds 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 as app not found again, instead of open_not_confirmed: … never showed up on the phone after a 15 s wait (on the test iPhone, iOS 27: about 9–11 s per call, down from about 26 s).
  • phone_open with a one- or two-letter name such as X no longer runs into its time limit (about 31 s, reported as "the Mac may be under heavy load"). It reports open_not_confirmed instead (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 names pyobjc-framework-Cocoa, which provides AppKit; the iPhone driver's own pyproject.toml had 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_value with 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.md lists them). They are hints for the client, not permissions: NORACU_READ_ONLY=1 is unchanged and still decides what is refused. browser_launch, browser_fill, phone_launch and phone_home are 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_verified fails 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_confirmed after 16 s; a name that is not installed and Pinduoduo → app not found after 10–11 s; Settings and 拼多多 reported opened … delivery=delivered_verified.

Known limits

  • Unchanged from 0.2.3.

noracu 0.2.3

Choose a tag to compare

@sgInnora sgInnora released this 06 Nov 13:33

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_index from 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 that mac_get and a physical mac_click both return element_no_longer_valid and 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_scroll without an element_index has no topmost-window check.

noracu 0.2.2

Choose a tag to compare

@sgInnora sgInnora released this 06 Nov 12:56

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_verified when the target changed in between. For mac_click on an element without a semantic action, or with mechanism: "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 return occluded, and nothing is sent. After the click, delivered_verified needs 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 gives delivered_unverified with a note. mac_drag re-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 as delivered_verified; 0.2.2 reports them as delivered_unverified, and an undisturbed click is still delivered_verified.

Security

  • element_index is bound to its window. An index read with surface: "app" (or found by mac_find with surface: "app") records the CGWindowID of its window. A window that is closed and reopened with the same name, text and position now gives element_no_longer_valid.
  • Windows without a CGWindowID are refused. An element in such a window returns policy_denied instead 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_state and mac_find mark such a window with window_identity: "unverifiable" and a hint. A physical click whose hit test is inconclusive and whose window has no CGWindowID is refused with occluded.

Tests

  • NORACU_TEST_PHYSICAL_GAP_MS is 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_scroll without an element_index scrolls the frontmost window's centre without the topmost-window check.

noracu 0.2.1

Choose a tag to compare

@sgInnora sgInnora released this 06 Nov 11:11

noracu 0.2.1

A patch release with three Mac-layer fixes found while driving Chrome from Claude Code in iTerm2.

Fixed

  • mac_key Return 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 as cmd-arrow-up presses 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_accessibility says what the window holds. Google Chrome refuses AXManualAccessibility, so 0.2.0 reported unsupported even when Chrome's pages were readable (Chrome started with --force-renderer-accessibility). It now reports exposed in that case, and unsupported only when no web content is found, together with a web_accessibility_hint: use the browser_* tools, or restart Chrome with --force-renderer-accessibility. mac_find reports web_accessibility too.

Security

  • mac_click at raw x,y checks what is on top first. The click is sent only when the topmost on-screen window at the point belongs to app (new, optional; default: the frontmost app; the menu bar counts as the frontmost app's). Otherwise it returns occluded, naming the owner and window layer of what covers the point, and sends nothing. force: true skips 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_accessibility values.

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_scroll without an element_index scrolls 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.