Repository navigation
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.