Repository navigation
Releases
XYZLCU v0.8.1 — explicit practical window capture
Explicit practical window screenshot assurance, with strict remaining the default.
screenshot --assurance practical --request-fd N --output-dir DIR --jsoncompares the full caller-bound process/signature/executable and window before/after exact-window ScreenCaptureKit capture (macOS 14.2+).- Protected-app denial remains active. AX, input/actions, activation/open-app, legacy routes and consumer admission remain refused. No global events or TCC requests.
- Private0700 ACL-free/no-follow output directory, exclusive0600 ACL-free image, schema-versioned proof with nonce, timestamps, observed values, encoded-byte and normalized raw-pixel SHA-256.
- Residual millisecond-scale same-process window-ID reuse and embedded-sensitive-content risks are explicit; practical is observation evidence, not atomic window incarnation or authenticated consumer authority.
Validation: universal arm64+x86_64 binaries with strict ad-hoc signature verification; 86 XCTest (24 practical), 239 CLI/client/MCP/batch assertions; owned-background-fixture practical integration34PASS/0SKIP/0FAIL with real420×252 PNG encoded/raw hash checks. Runtime validation was native Apple Silicon. Independent precommit security review completed and findings fixed. No Actions/CI.
Side-by-side installs preserve unversioned0.8.0. See README and docs/IDENTITY_PROOF_PRACTICAL.md for the exact contract, errors, private output requirements, TCC notes and versioned wrapper paths. Release signatures are local ad-hoc content identity, not Developer ID/notarization.
XYZLCU v0.8.0 — fail-closed identity protocol
XYZLCU 0.8.0 adds execution-time process identity diagnostics, a strict proof/schema module, protected-app owner policy, and local fixture verification.
- Native expected-process revalidation compares boot/PID/exact kernel start time, executable path/device/inode/digest, runtime/static signatures and architecture before and after. Canonical request nonces are echoed; mismatches fail closed.
- Closed JSON parsing/schema, single-use execution ledger, independent revoke/dispatch ordering and host pending-response consumption are covered by injectable-provider tests. User policy uses a fixed account-home path, no-follow directory descriptors, owner/mode/link/size checks and overlay continuity.
- A bounded owner catalog reports redacted protected entries and per-entry thumbnail unavailability. Native SCK exact-window capture and NSWorkspace no-argument background launch primitives are compiled behind unavailable reviewed-provider gates.
- Legacy content reads, input/PID/global routes, activation, broad capture, permission requests, aliases and MCP/batch paths now refuse before dispatch. Display prewarm is disabled; no global override or core environment override enables these paths.
Scope: XYZStudio consumer operations remain unavailable. Generic window/element/surface continuity, authenticated consumer bootstrap, no-prompt system launch trust and exact checked-code launch are deferred. Consequently this release does not provide production screenshots/thumbnails, AX content/actions or open-app dispatch. Diagnostic process observations are not content Success proofs or permission grants.
Validation: 62 Swift XCTest cases, 239 CLI/client/MCP assertions, and owned-background-fixture integration with 21 passes, 5 explicit SKIPs (4 provider limitations and 1 external pointer contention observation) and 0 failures. The current actual execution context had AX and Screen Recording grants; skips were due to missing reviewed providers, not permission requests. No global input, other-app activation, TCC interaction, CI or firewall changes were used.
The ZIP contains universal arm64+x86_64 client/core binaries with locally verified ad-hoc signatures and SHA-256 checksums. Runtime acceptance covers the native Apple Silicon slice on macOS 27.2.1; Intel and macOS 13/14 runtime behavior is not accepted. This is not a Developer ID/notarized distribution. See docs/IDENTITY_PROOF_VERIFICATION.md for evidence and limitations.
安装后需重连原有 MCP 宿主会话以加载新执行器。TCC 取决于实际执行路径和负责宿主;当前环境未申请或重新授予权限,其他宿主/新 ad-hoc 内容可能需要 owner 手动处理授权。XYZStudio 应继续保持电脑工具关闭。
XYZLCU 0.7.1: single-window background control + global input safety gate
0.7.1 — 2026-11-14
- Add an unlocked global input safety gate across CLI, daemon and MCP: HID/session keyboard events, HID mouse click/move/drag/scroll, and activation (including implicit/open-to-front) require explicit
--allow-globalor an intended--app/--pidalready frontmost. Recheck immediately before each event batch and stop if the frontmost target changes. Refuse before creating a global CGEvent with non-zero status,ok:false,GLOBAL_INPUT_REFUSED, and the actual frontmost app. AX-only andpostToPidroutes are unchanged; auto routing cannot bypass the gate. - Never accept
XYZLCU_ALLOW_GLOBAL=1as authorization. MCP tools that can emit global input exposeallowGlobal(boolean, defaultfalse) and use the same gate. - A failed
lock, including bad/empty window IDs, unknown options or missing targets, writes a persistentlock-failedtombstone and updates daemon state. Subsequent input fails withLOCK_FAILEDuntil explicitunlockor a successfullock. Empty/missing option values are hard argument errors and never consume the next option. - Keep health/check/probe diagnostics passive: they never emit global keyboard/mouse input.
- Extend permission-free selftests with CLI/C-client/MCP refusal paths, failed-lock chaining, option validation and rejected environment bypass. Tests never emit global input or activate apps. Keep background AX/pid routes intact; GUI acceptance remains a separate check.
0.7.0 — 2026-11-14
- Make Single-window background control the headline feature.
lock/ MCPlockdefault to strict process+window scope: AX/pid only, no activation/raise, pointer warp, global HID, clipboard fallback, broad app menus or silent foreground fallback. Reject conflicting target selectors and unsafe--no-lockbypasses; corrupt/unreadable lock state fails closed, and an exited target retains its lock until explicit recovery. Errors includeerror: "refused: would use global input"and an actionablehint. - Add command-local
--allow-foreground/--allow-global(MCPallow_foreground/allow_global) and persistentlock --unsafe/ MCPunsafe. Global HID still checks the intended frontmost target. Strict menus allow only scoped edit commands; app-wide/unknown menus,check --probe, permission requests, open/activate/hide/movewin/replay/move/drag are refused unless explicitly relaxed. Both READMEs contain the side-effect audit. - Use ScreenCaptureKit
SCContentFilter(desktopIndependentWindow:)exclusively for every targeted/locked window screenshot, including pid/window-id targeting. Covered and partly off-screen windows use the OS backing surface. Window screenshots/diffs report window-relative coordinates and a separate global window frame. No desktop crop, full-display or CLI capture fallback. Window capture supports macOS 13 through a one-frame SCStream and macOS 14+ through SCScreenshotManager/live streams;--cliwith a window target is refused. Minimized/other-Space capture remains OS-dependent. - Harden public
CGEvent.postToPidmouse/Unicode/key/scroll routes: confirm the target AX key window, convert window points to event global locations, tag window-number fields, hold down/up events, and avoid shared HID event state. No private SLEvent posting symbols. Reportroute,verifiedand a reason when delivery/effect cannot be verified; bounded AX state change does not prove the semantic outcome of a command. - Add
set-text(aliassettext): AX-focus within the target app, AXValue write/readback, then AXSelectedText or pid Unicode where supported; backgroundtypeuses the same focus-first routes. Stop on an ambiguous accepted AX write instead of risking duplicate fallback. Pid replacement requires readable text and verified full selection. Explicit paste is globally guarded before touching the clipboard. - Add
frontmostBefore,frontmostAfterandcontentionsnapshots to JSON objects.--assert-no-contention/ MCPassert_no_contentionfails on observed pointer/frontmost changes. Snapshots do not prove continuous isolation or prevent an app from activating itself; async worker completion and later app effects/contending input are outside the parent response's observation interval; list/plain/binary formats keep their existing shape. - Add isolated manual
scripts/bg_selftest.sh:open -ga temporary TextEdit document, strict lock, AX text, pid Unicode, AX range selection/readback, window capture and value/frontmost/pointer assertions with a PASS/FAIL/SKIP table. Disabled inactive-app menus are an expected SKIP. Poll a unique document title, handle a blocking Open panel, and close only the disposable AX window without quitting TextEdit. It never sends global input, does not overwrite an existing lock and retains artifacts. Run only with real GUI/TCC permissions. - Fix pid-only screenshot selector conflicts; rank app owners and windows by usable on-screen layer-0 windows, title and area, excluding transparent/tiny/off-screen helpers. Retain explicit window-ID targeting and report chosen ID/title/frame. Add synthetic ranking and conflict regressions.
- Add
--pidtargeting; deeppress --nth/--list/--async, native popupselect,scroll-to/scroll --ax,wait-textand text-onlyobserve; preserve old command forms and JSON fields where safety permits. - Add click/key holds (60 ms click, 75 ms hover, 30 ms key by default), structured responsible-process TCC diagnostics,
request --open, focused compact AX output, half-scale JPEG MCP screenshots andmax_side. - Add permission-free CLI/C-client/MCP selftests for parsing, targeting and safety policy. GUI behavior remains a separate acceptance gate.
Build and pure-logic tests are separate from real-app acceptance. GUI behavior and timing need verification on a Mac with the appropriate AX/TCC permissions; historical benchmark tables are not v0.7.0 measurements.
XYZLCU 0.6.1: window-locked background mode
XYZLCU 0.6.1 — window-locked background mode: the agent works inside one app window while you keep using the Mac. The pointer never moves and the app is never activated.
Highlights (English): xyzlcu lock --app Safari [--window-title T | --window-id N] (or --background, XYZLCU_BACKGROUND=1, the MCP lock tool / background: true). After that, screenshot / ax / find / click / click-el / type / key / scroll act only on that window. Coordinates are window-relative and every result has a route field plus cursorMoved / frontmostChanged. Routes: window-only ScreenCaptureKit screenshots (covered windows too); clicks via Accessibility (focus / press / select / show menu), then posted to the process; typing via AX, then process keys; ⌘ combos via the matching menu item; Esc / Return via the dialog's Cancel / default button; scrolling via the scroll bar. drag / move / activate are refused (exit 6) unless --allow-foreground. Tested on TextEdit, Finder and Safari, with the honest limits documented: App Nap delays in background apps, document menu items disabled in the background, posted mouse events ignored by Safari web content, no drag, no minimized windows. Also: screenshot -o alias, content-first ax --compact, panel routing for key / type --app. Download xyzlcu-macos-universal.zip (Apple Silicon + Intel). Docs: Background / window-locked mode.
SHA-256 (xyzlcu-macos-universal.zip): 9fdf2f5eeefa9b4e4b21d84f89e797dbd19cea4a6f76676b34ecd3e5e2dfee9e
XYZLCU 0.6.1:锁定窗口的后台模式
xyzlcu lock --app Safari 之后,智能体只在这一个窗口里操作,你照常用电脑:鼠标不动、应用不被激活。
实测(目标窗口被别的应用挡住,鼠标和前台应用全程没变):
| 应用 | 操作 | 路线 | 耗时 |
|---|---|---|---|
| 文本编辑 | 点文本区 / 输入 / 回车 | ax-focus / ax-selected-text / pid-keys |
14 / 10 / 2–3 毫秒 |
| 文本编辑 | 打开面板里按 Esc | ax-press-cancel |
232 毫秒 |
| 访达 | 切换列表显示 / 点搜索 / 输入 | ax-press / ax-press / ax-selected-text |
131 / 104 / 33 毫秒 |
| Safari | 点地址栏 / 输入网址 / 回车 | ax-focus / ax-selected-text / pid-keys |
171 / 15 / 3 毫秒 |
| Safari | 点链接 / 滚动 / 截窗口 | ax-press / ax-scrollbar / sck-window |
7 / 5 / 约 68 毫秒 |
限制(如实写明)
- 后台应用会被 App Nap 节流:发给后台文本编辑的 ⌘S 有时几秒后才生效,请读回核对,或用
--allow-foreground。 - 作用于文稿的菜单项在后台时常常不可用(如 Safari「关闭标签页」)。
- Safari 网页不理直接投递的鼠标点击和滚轮,所以辅助功能路线优先;
ax-focus不会把光标放到点击位置。 - 悬停才出现的控件、拖放、最小化窗口、其他桌面上的窗口不支持。
其他
screenshot -o等同--out;以-开头的输出路径报错。key/type --app在有别的进程托管的打开 / 存储面板时发给面板进程。ax --compact先列内容区,跳过滚出可视范围的控件(访达 183 → 43 行)。- 修复:
record --duration/--no-moves被当成输出路径;按 id 找窗口时误报已关闭。
v0.6.0 — faster daemon queries, ax --compact (macOS computer-use CLI & MCP server)
XYZLCU 0.6.0 — fast, zero-dependency macOS computer-use CLI & MCP server for AI agents (Claude, Codex, ChatGPT, Grok, DeepSeek).
Highlights (English): the daemon keeps its own app table (apps 9.5 → 3.2 ms, ax 26.9 → 5.3 ms, find 20.6 → 7.9 ms); uncovered windows are cropped from the always-on display stream (first window screenshot 114 → 25 ms); new ax --compact + click-el --ref N for token-efficient accessibility-tree automation (Finder menu tree 13.7 KB → 0.4 KB; also in the MCP ax / click_element tools); --window-id; a stale daemon restarts itself after upgrade. Download xyzlcu-macos-universal.zip (Apple Silicon + Intel). Full English docs: README.
XYZLCU 0.6.0:守护进程查询更快,控件列表更省 token
0.5.0 和 0.6.0 两个守护进程同时跑、交替调用,每项 21 次,中位数(毫秒):
| 操作 | 0.5.0 | 0.6.0 |
|---|---|---|
apps |
9.5 | 3.2 |
ax 文本编辑(焦点窗口) |
26.9 | 5.3 |
ax Finder --menu |
52.1 | 23.0 |
find 找到 / 找不到 |
20.6 / 26.9 | 7.9 / 12.9 |
| 窗口截图(流已开) | 14.7–17.2 | 6.2–6.4 |
| 第一次截没被挡住的窗口 | 113.6 | 25.3 |
windows / --fast |
3.4 / 8.9 | 3.3 / 8.9(没变) |
新功能
- 应用表:守护进程自己维护运行中的应用(通知更新,最多 10 秒整体刷新),不再每次逐个问 LaunchServices(这是
apps/find/ax慢的主因)。 - 控件树批量读:每个控件一次 IPC 取全部属性。
ax --compact:只列可操作的控件,一行一个、带编号和中心点;配合click-el --ref N按编号点。ax Finder --menu13.7 KB → 0.4 KB。MCPax加compact/menu/text/max,click_element加ref。- 窗口截图从主屏流裁:窗口没被挡住时直接裁主屏常驻流(
method: "display-stream-crop",XYZLCU_WINDOW_CROP=0关闭);新增--window-id N(MCPwindow_id)。 - 旧守护进程自动重启:升级后发现守护进程更旧就自动重启(需要当前进程有辅助功能 + 录屏权限;
XYZLCU_AUTO_RESTART=0关闭)。
修复
- 版本不一致退回进程内执行时,
batch从标准输入读的脚本会丢失。 run/batch里第二张--stdout图会悄悄覆盖第一张,现在明确报错。
没改的(实话)
- 不开守护进程时约 13 毫秒的固定开销是加载 Swift 运行时和系统框架,代码里省不掉;用守护进程 + C 客户端(约 3 毫秒)。
--fast已经是 GPU 直接出小图,约 9 毫秒,没变。- 被别的窗口挡住的窗口,第一次截图仍约 80 毫秒(裁出来会带上前面的窗口,所以不裁)。
- 预热流保持 60 fps(空闲约 1.9% 单核、9.6 MB,只在最后一次截图后 10 分钟内)。
安装
下载 xyzlcu-macos-universal.zip(Apple Silicon + Intel,两个文件 xyzlcu 和 xyzlcu-core 放同一个目录),或者 ./build.sh --install。已在跑旧守护进程的话,第一次调用会自动重启它。
SHA-256: ff7a2a4cbd5ffda443bd259d0a2152d7baa6afda13057f02ad16d3c5810c948e
XYZLCU 0.5.0
XYZLCU 0.5.0
速度大改。安装包里现在有两个文件:xyzlcu(很小的 C 客户端)和 xyzlcu-core(Swift 主程序),都要放进 ~/.local/bin。更新前先 xyzlcu serve --stop,更新后 xyzlcu serve --background。
新功能
- C 小客户端:有守护进程时直接转发(空调用 8 → 3 ms),没有就
exec同目录的xyzlcu-core;权限归属不变。macctl软链接照常可用。 - 截图编码:并行 PNG 编码(全尺寸 171 → 31 ms,像素与 ImageIO 一致,保留 ICC),新增
--format heic;--fast/ 内存出图默认 JPEG。 - 预热主屏:守护进程启动即开好主屏原尺寸和半尺寸截图流,第一次截图 190–220 → 24–37 ms。代价:守护进程运行时菜单栏一直有录屏指示,约 45 MB 内存。
XYZLCU_PREWARM=0关闭,XYZLCU_PREWARM_SCALES/XYZLCU_PREWARM_IDLE可调。 - 按缩放比例分流:每个缩放比例一个 ScreenCaptureKit 流,GPU 缩放。
- 二进制协议:客户端与守护进程之间图片按原始字节传,不再 base64(对外 JSON / MCP 不变)。
- MCP
batch工具 和screenshot diff;命令行screenshot --diff只返回变化区域。 - 守护进程只会有一个:文件锁,
serve可重复运行(返回 0),处理kill -9留下的旧套接字,新增serve --background,serve --stop能停旧版本。
修复
- 未知的
--选项不再被当成截图文件名。
速度(守护进程,中位数 / p90,Apple Silicon,15 次)
| 0.4.2 | 0.5.0 | |
|---|---|---|
version(空调用) |
8 / 9 | 3 / 3 |
cursor |
6 / 6 | 2 / 2 |
| 整屏全尺寸 PNG | 171 / 180 | 31 / 34 |
| 整屏全尺寸 JPEG | 48 / 50 | 30 / 33 |
| 整屏半尺寸 PNG | 50 / 52 | 12 / 15 |
--fast --base64 |
20 / 24 | 10 / 10 |
| 窗口截图(内存) | 24 / 32 | 18 / 24(LCU 51) |
click / type / key |
11 / 10 / 10 | 6 / 5 / 4 |
一次 run 3 步 |
25 / 26 | 12 / 15 |
| 重启后第一次截图 | 190–220 | 24–37 |
完整表格和说明见 README。
Download
xyzlcu-macos-universal.zip (Apple Silicon + Intel; xyzlcu + xyzlcu-core), SHA-256 f9f3667dbd8d374c8187cbe4e41f16ee63e075b5fac8980e6b146e9997172a73
XYZLCU 0.4.2
XYZLCU 0.4.2
通用,不绑定任何智能体:任何能执行 shell 命令、读 JSON 输出的智能体都能用;只支持 MCP 的客户端用 xyzlcu mcp。见 README 的「支持的智能体」。
新功能
- 内存截图:
screenshot --base64(图片放在 JSON 里)、--stdout(原始字节到 stdout、元数据到 stderr),不写文件;--out同时写文件,--timing输出各阶段耗时。 - 截图流:守护进程按需为截过的窗口 / 屏幕保持 ScreenCaptureKit 截图流,重复截图直接取最新一帧;最多 3 个,闲置 20 秒自动关闭(
XYZLCU_STREAM_IDLE),XYZLCU_STREAM=0关闭。 - MCP 服务器:
xyzlcu mcp(stdio,13 个工具,截图直接返回图片),有守护进程时直接转发,不为每次调用起新进程。 - 缓存屏幕录制权限检查和窗口内容列表;输入读回轮询 5 毫秒。
修复
- 客户端只连上不发请求就断开时,守护进程会因 SIGPIPE 退出。
速度(守护进程,中位数,Apple Silicon)
| 0.4.1 | 0.4.2 | LCU 0.13.4 | |
|---|---|---|---|
| 窗口截图(内存) | 68 ms(写 PNG) | 23 ms | 51 ms |
| 窗口截图(写 PNG) | 68 ms | 35 ms | — |
--fast 整屏 |
60 ms | 13 ms | — |
| 整屏 PNG | 233 ms | 180 ms | — |
Download
xyzlcu-macos-universal.zip (Apple Silicon + Intel), SHA-256 9c6499f1be57b40d08259ebc155cbf87d2d72d423e1a04096b187d2570dc991a
v0.4.1
v0.4.1
- 进程内截图修复:等 ScreenCaptureKit 回调时会处理主线程事件;同一个 xyzlcu 的守护进程在运行时,进程内(
XYZLCU_DAEMON=0)截图拿不到回调,以前会卡 10 秒以上,现在只等 1.5 秒就改用screencapture,并在输出里给出warning。 - 守护进程里的
apps不再固定等 20 毫秒(42 → 17 ms)。 - 新增和 LCU 的对比测试:
scripts/bench.py --lcu、scripts/bench_lcu.mjs,结果和测法见 README 的「性能对比」。 - README 新增「致谢」:XYZLCU 借鉴自 Amont Labs 的 LCU(MIT,Copyright (c) 2026 Amont Labs),感谢开源。
- In-process screenshot fix: pumps the main run loop while waiting for ScreenCaptureKit. While a daemon of the same binary is running, in-process captures get no callback; this used to stall 10+ s, now it waits 1.5 s, falls back to
screencaptureand reports awarning. appsin the daemon no longer waits a fixed 20 ms (42 → 17 ms).- New benchmark against LCU (
scripts/bench.py --lcu,scripts/bench_lcu.mjs); results and method in the README "Benchmark" section. - README Acknowledgements: XYZLCU is inspired by and borrows ideas from LCU by Amont Labs (MIT, Copyright (c) 2026 Amont Labs).
Universal binary (arm64 + x86_64). SHA-256 of xyzlcu-macos-universal.zip: eb1da74ee55191917a5847bdfb7a46eaaf08fac5d73a2efffa49e154e35659f7
v0.4.0
多条输入路径 / Multiple input paths
v0.4.0 先实测事件流是否卡住,再自动挑一条走得通的输入路径,输出 JSON 写明实际走的路(path)和是否读回核对(verified)。
v0.4.0 actively probes whether the event stream is stuck, then picks a working input path and reports which one it used (path) and whether it was verified by read-back (verified).
- 健康检查 / Health check:除了读
CGGetEventTapList统计,每次实测一个无副作用的标记事件走完整条事件流的时间(400 ms 超时);统计过时的监听列为staleTapStats。check --probe连鼠标也测,XYZLCU_PROBE=0关闭。/ besides tap stats, a harmless tagged event is timed through the whole stream (400 ms timeout); stale stats are reported asstaleTapStats. type --via auto|ax|events|pid|paste:卡住时ax(AXSelectedText)→pid(CGEventPostToPid)→paste(剪贴板 + 「编辑>粘贴」菜单),每步读回核对;全部失败退出码 4。新增--window 标题:焦点不在该窗口就拒绝输入。/ when blocked: ax → pid → paste, each verified; new--windowguard.key --via auto|events|menu|pid:卡住时先按快捷键相同的菜单项(如 cmd+a → 编辑>全选),没有菜单项的键用 CGEventPostToPid;都不行给出明确错误。/ when blocked: matching menu item first, then CGEventPostToPid, else a clear error.menu不再激活应用 / no longer activates the app:后台也能按应用级菜单项;作用于文稿的菜单项(全选等)在后台被系统置灰,需要时加--activate。/ document-level items need--activate.record/replay:只监听(listenOnly)录制键鼠,文件 0600 只存本机,密码框和锁屏时不录按键;按原节奏回放,事件流卡住或锁屏时拒绝/停止。不加抖动,不做反检测。/ listen-only recording, local 0600 file, no keys in secure input or while locked; replay with original timing, refuses when the stream is blocked, stops on lock. No jitter, no anti-detection.check新增paths(各路径可用性和 probeMs)、typeOrder、keyOrder;taps新增blocking。build.sh --install改为临时文件 + mv,避免覆盖正在使用的已签名二进制时新进程被 SIGKILL。/ install via temp file + mv to avoid SIGKILL.
安装 / Install: 下载 xyzlcu-macos-universal.zip,解压后放到 ~/.local/bin/;如果守护进程在运行,先 xyzlcu serve --stop。
v0.3.1
键盘被卡住时也能输入 / Input when keyboard events are blocked
当系统里有卡住的键盘事件监听(event tap)时,合成的按键送不到应用。v0.3.1 新增不经过键盘事件的输入方式:
When a stuck event tap swallows synthetic key events, v0.3.1 adds input paths that skip the keyboard event stream:
xyzlcu insert "App" [--window T] "文字":用辅助功能在焦点处插入(AXSelectedText),写完读回核对 / insert at the caret via Accessibility, verified by read-backxyzlcu settext "App" [--role R --title T --window W] "文字":整体替换(AXValue)/ replace the whole valuexyzlcu value "App" [...]:读回元素的值 / read the value backxyzlcu menu "App" "文件>存储":按菜单路径按下菜单项,代替快捷键(中英文都可,文件|File)/ press a menu item by path instead of a shortcuttype --via auto|events|ax|paste:默认 auto,检测到卡住的键盘监听时自动改用辅助功能写值 / auto switches to Accessibility writes when a blocked keyboard tap is detectedxyzlcu check新增keyboardBlockedBy/checknow reportskeyboardBlockedBy--via paste:剪贴板 + 菜单「粘贴」,结束后恢复剪贴板 / clipboard + Edit>Paste menu, clipboard restored afterwards
限制:菜单动作需要应用处理事件队列,事件流整体卡住时可能不生效。详见 README「键盘被卡住时」。
Limitation: menu actions need the app to process its event queue and may not take effect while the whole pipeline is stuck. See "When keyboard events are blocked" in the README.
安装 / Install: curl -L -o x.zip https://github.com/brandy2015/XYZLCU/releases/download/v0.3.1/xyzlcu-macos-universal.zip && unzip -o x.zip -d ~/.local/bin