👾 Open Computer Use – Open-Source Alternative to Codex Computer Use
Swift accessibilityai-agentai-agentsclaude-codecodexcodex-computer-usecomputer-usecomputer-use-agentcross-platformcuadesktop-automationgemini-cligui-automationmacosmcpmodel-context-protocolopen-computer-useopen-computer-use-mcpopenai-codexopencode
chore: bump release version to 0.1.29
usoon.xu9aa114620f02
diff --git a/apps/OpenComputerUseSmokeSuite/Sources/OpenComputerUseSmokeSuite/main.swift b/apps/OpenComputerUseSmokeSuite/Sources/OpenComputerUseSmokeSuite/main.swiftindex ac1f983..06d9a7a 100644--- a/apps/OpenComputerUseSmokeSuite/Sources/OpenComputerUseSmokeSuite/main.swift+++ b/apps/OpenComputerUseSmokeSuite/Sources/OpenComputerUseSmokeSuite/main.swift@@ -34,7 +34,7 @@ final class MCPClient {_ = try request(method: "initialize", params: ["clientInfo": ["name": "OpenComputerUseSmokeSuite",- "version": "0.1.28",+ "version": "0.1.29",],"capabilities": [:],"protocolVersion": "2025-03-26",diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.mdindex 2b57c7c..afccf8c 100644--- a/docs/ARCHITECTURE.md+++ b/docs/ARCHITECTURE.md@@ -70,12 +70,12 @@- 动作型 tools 对普通 app 采用“非侵入优先,物理指针路径显式 opt-in”策略:- `perform_secondary_action` 只执行目标元素已经暴露出来的 AX action;无效 action 返回官方风格的 `... is not a valid secondary action for ...`,fixture 的 `Raise` 路径也不再为了测试去准备全局物理指针输入- `set_value` 会先用 `AXUIElementIsAttributeSettable(kAXValueAttribute)` 判断目标是否真的是可设置值元素,只有 settable 时才调用 `AXUIElementSetAttributeValue`;不可设置时返回官方风格的 non-settable 错误,不退到键盘输入、剪贴板或未公开的文本替换接口- - element-targeted `click` 的左键路径会先试 `AXPress`,再试窗口/根元素常见的 `AXRaise`、`kAXMainAttribute`、`kAXFocusedAttribute`;这里不再把 `AXUIElementIsAttributeSettable` 的结果当成硬门槛,因为像 `TextEdit` window 这类元素在 `kAXFocusedAttribute` 上会出现“`isSettable=false` 但直接 set 成功”的官方同款场景;`click_count > 1` 会优先重复可用的 AX action,而不是直接退到全局鼠标事件+ - element-targeted `click` 的左键路径会先试 `AXPress` / `AXConfirm` / `AXOpen` 这类真正语义化的激活动作;如果目标本身不可点,还会继续尝试其子孙 AX 元素(例如 Finder sidebar row 下面暴露 `AXOpen` 的 cell)和命中点附近的 AX hit-test 结果,只有这些都失败后才退到窗口/根元素常见的 `AXRaise`、`kAXMainAttribute`、`kAXFocusedAttribute`,最后才会退到 `postToPid` 定向鼠标事件与显式 opt-in 的全局物理指针 fallback。这里也不再把 `AXUIElementIsAttributeSettable` 的结果当成硬门槛,因为像 `TextEdit` window 这类元素在 `kAXFocusedAttribute` 上会出现“`isSettable=false` 但直接 set 成功”的官方同款场景;`click_count > 1` 也会优先重复可用的 AX action- `AXUIElementCopyElementAtPosition` 做坐标命中,尽量把 coordinate click 反解成可操作 AX 元素- `CGEvent.postToPid` 定向发送键盘事件,避免为了 `type_text` / `press_key` 抢前台;`press_key` 的 xdotool parser 覆盖官方 binary key table 里常见的 `BackSpace`、`Page_Up`、`Prior` / `Next`、`F1...F12` 和 `KP_*` alias- `scroll.pages` 对齐官方 `1.0.755` 的 `number` schema,支持小数页数;整数页且目标暴露 `AXScroll*ByPage` 时优先走 AX action,否则用 `CGEvent.postToPid` 向目标进程定向发送 scroll event- `drag` 仍是 coordinate-only API,但默认不再使用全局 `.cghidEventTap` mouse event;默认改为 `CGEvent.postToPid` 定向发送 mouse move / down / dragged / up 事件,避免移动用户真实硬件光标- - `click` / `scroll` / `drag` 只有设置 `OPEN_COMPUTER_USE_ALLOW_GLOBAL_POINTER_FALLBACKS=1` 时才允许全局 `CGEvent.post(tap: .cghidEventTap)` 物理指针兜底;默认路径不再为了 fallback 调用 `NSRunningApplication.activate`+ - `click` / `scroll` / `drag` 只有设置 `OPEN_COMPUTER_USE_ALLOW_GLOBAL_POINTER_FALLBACKS=1` 时才允许全局 `CGEvent.post(tap: .cghidEventTap)` 物理指针兜底;其中 `click` 默认会先走 AX,再走 `postToPid` 定向鼠标事件,最后才是显式开启的全局物理指针 fallback;默认路径不再为了 fallback 调用 `NSRunningApplication.activate`### 4. Fixture Bridgediff --git a/docs/histories/2026-04/20260422-1507-add-targeted-click-fallback.md b/docs/histories/2026-04/20260422-1507-add-targeted-click-fallback.mdnew file mode 100644index 0000000..1cbe4da--- /dev/null+++ b/docs/histories/2026-04/20260422-1507-add-targeted-click-fallback.md@@ -0,0 +1,29 @@+## [2026-04-22 15:07] | Task: add targeted click fallback++### 🤖 Execution Context+* **Agent ID**: `019db3f1-0538-7a70-bdd4-19395299085c`+* **Base Model**: `GPT-5 Codex`+* **Runtime**: `Codex CLI`++### 📥 User Query+> okie, try to optimize it, the key thing is that I don't wanna to grab user mouse, offical computer use can do it, so as we can++### 🛠 Changes Overview+**Scope:** `OpenComputerUseKit`, `docs/ARCHITECTURE.md`, `docs/histories/`++**Key Actions:**+- **[Targeted click fallback]**: 给 `click` 增加 `CGEvent.postToPid` 定向鼠标事件兜底,避免 AX 失败后默认直接落到会移动真实鼠标的全局 HID 路径。+- **[Semantic click ordering]**: 调整 element-targeted / coordinate `click` 的 AX 顺序,先试直接语义动作与子孙 `AXOpen` 候选,再把 `AXRaise` / focus 类激活放到后面,避免 Finder 侧边栏这类“只聚焦、不导航”的假成功。+- **[Behavior docs]**: 更新架构文档,明确 `click` 现在的顺序是 `AX -> pid-targeted mouse event -> optional global pointer fallback`。+- **[Live validation]**: 用 Finder 侧边栏 `Applications` 做真实样本回归,验证默认路径无需抓用户鼠标也能点通。++### 🧠 Design Intent (Why)+官方 Computer Use 在 Finder 这类 AX 不完整的目标上仍能点击成功,而不会默认抢用户硬件鼠标。本地实现也需要先走更窄的定向事件路径,把全局物理指针 fallback 保持为显式 opt-in 的最后逃生口。++后续回归里又发现一个更细的行为问题:Finder sidebar row 本身可能允许 `focus/main` 之类激活成功,但这不等于真正执行了导航。如果把这一步放在 `AXOpen` 之前,就会把“没切页的聚焦”误报成成功点击,所以顺序必须继续收敛到“语义点击优先,聚焦激活兜底”。++### 📁 Files Modified+- `packages/OpenComputerUseKit/Sources/OpenComputerUseKit/InputSimulation.swift`+- `packages/OpenComputerUseKit/Sources/OpenComputerUseKit/ComputerUseService.swift`+- `docs/ARCHITECTURE.md`+- `docs/histories/2026-04/20260422-1507-add-targeted-click-fallback.md`diff --git a/docs/histories/2026-04/20260422-1551-bump-open-computer-use-to-0.1.29.md b/docs/histories/2026-04/20260422-1551-bump-open-computer-use-to-0.1.29.mdnew file mode 100644index 0000000..7bba5ba--- /dev/null+++ b/docs/histories/2026-04/20260422-1551-bump-open-computer-use-to-0.1.29.md@@ -0,0 +1,33 @@+## [2026-04-22 15:51] | Task: 发布 0.1.29++### 背景++- 用户要求提交 PR,并在当前已完成改动基础上 bump 版本。+- 前置提交已完成 `click` 的定向鼠标事件 fallback,以及一条仓库级英文回复规则文档补充;其中本次 patch release 只收录用户可感知的 `click` 行为改进。++### 变更++- **[Version Bump]**: 将插件 manifest、Swift/Go 版本常量、smoke suite 初始化版本、测试 MCP client version 与 CLI 文档路径统一提升到 `0.1.29`。+- **[Release Notes]**: 在用户可见发布记录中增加 `0.1.29`,说明本次 patch release 聚焦 `click` 的 AX 失败后定向鼠标事件 fallback,以及更稳的语义点击顺序。+- **[Release Trigger]**: 为后续 `v0.1.29` tag / GitHub Release / npm publish 准备一致的版本源。+- **[Guide Fix]**: 修正 `docs/releases/RELEASE_GUIDE.md` 里的 npm staging 验证命令,默认改为不带 `--skip-build`,避免干净 checkout 因缺少 `dist/Open Computer Use.app` 而直接失败。+- **[Rebase Adjustment]**: 因为 `origin/main` 在 PR 期间已经发布了 `0.1.28`,本分支在解冲突时把 release bump 顺延到 `0.1.29`,并保留主分支已有的 `0.1.28` release note。++### 验证++- 通过:`swift test`+- 通过:`make check-docs`+- 通过:`node ./scripts/npm/build-packages.mjs --out-dir dist/release/npm-staging-check`,staging package version 为 `0.1.29`+- 通过:`./scripts/build-cursor-motion-dmg.sh --configuration release --arch universal --version 0.1.29`++### 影响文件++- `plugins/open-computer-use/.codex-plugin/plugin.json`+- `packages/OpenComputerUseKit/Sources/OpenComputerUseKit/OpenComputerUseVersion.swift`+- `apps/OpenComputerUseSmokeSuite/Sources/OpenComputerUseSmokeSuite/main.swift`+- `packages/OpenComputerUseKit/Tests/OpenComputerUseKitTests/OpenComputerUseKitTests.swift`+- `scripts/computer-use-cli/main.go`+- `scripts/computer-use-cli/README.md`+- `docs/releases/feature-release-notes.md`+- `docs/releases/RELEASE_GUIDE.md`+- `docs/histories/2026-04/20260422-1551-bump-open-computer-use-to-0.1.29.md`diff --git a/docs/releases/RELEASE_GUIDE.md b/docs/releases/RELEASE_GUIDE.mdindex c3ebc33..1ddb0ca 100644--- a/docs/releases/RELEASE_GUIDE.md+++ b/docs/releases/RELEASE_GUIDE.md@@ -57,7 +57,7 @@```bashswift test-node ./scripts/npm/build-packages.mjs --skip-build --out-dir dist/release/npm-staging-check+node ./scripts/npm/build-packages.mjs --out-dir dist/release/npm-staging-check./scripts/build-cursor-motion-dmg.sh --configuration release --arch universal --version 0.1.14```@@ -70,6 +70,8 @@ ls dist/release/cursor-motion/CursorMotion-0.1.14.dmg如果这里打印的不是目标版本,或者 DMG 没按目标版本名产出,不要打 tag。+如果当前 checkout 里已经有和目标版本一致的 `dist/Open Computer Use.app`,也可以临时加 `--skip-build` 跳过重复构建;但在干净 checkout 里不要默认加这个参数,否则 staging 脚本会因为缺少 `dist/Open Computer Use.app` 而失败。+### 3. 提交版本 bump- 用单独 commit 提交 release version bump。diff --git a/docs/releases/feature-release-notes.md b/docs/releases/feature-release-notes.mdindex 96937b7..104bd30 100644--- a/docs/releases/feature-release-notes.md+++ b/docs/releases/feature-release-notes.md@@ -4,6 +4,7 @@| 日期 | 功能域 | 用户价值 | 变更摘要 || --- | --- | --- | --- |+| 2026-04-22 | click 定向 fallback | 当目标 app 的 Accessibility 点击链路不完整时,`click` 现在会先尝试定向发送鼠标事件,不会立刻抢走用户真实鼠标;Finder 侧边栏这类场景也更容易真正点通。 | 发布 `0.1.29`,补上 `click` 的 `AX -> pid-targeted mouse event -> optional global pointer fallback` 顺序,优先尝试 `AXPress` / `AXConfirm` / `AXOpen`、子孙点击候选和命中点附近 hit-test,再把全局物理指针保持为显式 opt-in 的最后兜底。 || 2026-04-22 | 软件光标移动速度 | `click` / `set_value` 的 overlay cursor 默认移动速度不再显得过快,和 `Cursor Motion` 默认档及官方 spring endpoint-lock 时间保持一致。 | 发布 `0.1.28`,移除 runtime 里旧的距离压缩时长公式,默认 move 直接使用已恢复出的 `response=1.4` / `dampingFraction=0.9` / `dt=1/240` close-enough 时间 `343 / 240 = 1.4291667s`,并补回归测试和逆向文档。 || 2026-04-22 | Computer Use 工具对齐收口 | 9 个 Computer Use tools 的 schema、错误语义和默认非侵入输入路径进一步贴近官方;`press_key` 支持更多 xdotool alias。 | 发布 `0.1.27`,收口剩余工具 checklist:`perform_secondary_action` invalid action 错误改为官方形态,fixture `Raise` 不再准备全局物理指针输入,`press_key` 补齐 `BackSpace`、`Page_Up`、`Prior` / `Next`、`F1...F12` 和常见 `KP_*` alias,并把 execution plan 进度项具体化。 || 2026-04-22 | Computer Use 操作连续性 | 连续 `click` / `set_value` 不再反复从左下角 fresh cursor 起步,任务结束时也能显式清理 overlay;`scroll` / `drag` 默认路径进一步避免移动用户真实鼠标。 | 发布 `0.1.26`,基于官方 bundled app 复查把 visual cursor 改成约 5 分钟 idle 保留并接入 `turn-ended` 清理,同时将 `scroll.pages` 对齐为 number schema、required string 空值按 missing 处理,并把 `scroll` / `drag` 默认 fallback 改为 pid-targeted event。 |diff --git a/packages/OpenComputerUseKit/Sources/OpenComputerUseKit/ComputerUseService.swift b/packages/OpenComputerUseKit/Sources/OpenComputerUseKit/ComputerUseService.swiftindex a63c750..b054f67 100644--- a/packages/OpenComputerUseKit/Sources/OpenComputerUseKit/ComputerUseService.swift+++ b/packages/OpenComputerUseKit/Sources/OpenComputerUseKit/ComputerUseService.swift@@ -168,10 +168,14 @@ public final class ComputerUseService {moveVisualCursor(to: cursorTarget)do {- if try performPreferredClick(on: record, button: button, clickCount: clickCount) {- Thread.sleep(forTimeInterval: 0.15)- } else {- try performGlobalClickFallback(+ if !(try performAXClickSequence(+ on: record,+ snapshot: snapshot,+ button: button,+ clickCount: clickCount,+ includeNearbyHitTesting: true+ )) {+ try performNonAXClickFallback(at: targetPoint,button: button,clickCount: clickCount,@@ -198,10 +202,16 @@ public final class ComputerUseService {do {if let record = try hitTestElement(at: point, in: snapshot) ?? bestElement(containing: point, in: snapshot),- try performPreferredClick(on: record, button: button, clickCount: clickCount) {- Thread.sleep(forTimeInterval: 0.15)+ (try performAXClickSequence(+ on: record,+ snapshot: snapshot,+ button: button,+ clickCount: clickCount,+ includeNearbyHitTesting: false+ )) {+ // handled} else {- try performGlobalClickFallback(+ try performNonAXClickFallback(at: targetPoint,button: button,clickCount: clickCount,@@ -439,11 +449,11 @@ public final class ComputerUseService {return true}- if try activateClickTarget(element: element, availableActions: record.rawActions) {+ if try performAction(named: kAXConfirmAction as String, on: element, availableActions: record.rawActions, repeatCount: clickCount) {return true}- if try performAction(named: kAXConfirmAction as String, on: element, availableActions: record.rawActions, repeatCount: clickCount) {+ if try performAction(named: "AXOpen", on: element, availableActions: record.rawActions, repeatCount: clickCount) {return true}case .right:@@ -457,6 +467,57 @@ public final class ComputerUseService {return false}+ private func performAXClickSequence(+ on record: ElementRecord,+ snapshot: AppSnapshot,+ button: MouseButtonKind,+ clickCount: Int,+ includeNearbyHitTesting: Bool+ ) throws -> Bool {+ if try performPreferredClick(on: record, button: button, clickCount: clickCount) {+ Thread.sleep(forTimeInterval: 0.15)+ return true+ }++ for candidate in descendantClickCandidates(for: record, snapshot: snapshot) {+ if try performPreferredClick(on: candidate, button: button, clickCount: clickCount) {+ Thread.sleep(forTimeInterval: 0.15)+ return true+ }+ }++ if includeNearbyHitTesting {+ for localPoint in clickActionPoints(for: record) {+ guard let hitRecord = try hitTestElement(at: localPoint, in: snapshot) ?? bestElement(containing: localPoint, in: snapshot) else {+ continue+ }++ if try performPreferredClick(on: hitRecord, button: button, clickCount: clickCount) {+ Thread.sleep(forTimeInterval: 0.15)+ return true+ }++ for candidate in descendantClickCandidates(for: hitRecord, snapshot: snapshot) {+ if try performPreferredClick(on: candidate, button: button, clickCount: clickCount) {+ Thread.sleep(forTimeInterval: 0.15)+ return true+ }+ }+ }+ }++ guard button == .left, let element = record.element else {+ return false+ }++ if try activateClickTarget(element: element, availableActions: record.rawActions) {+ Thread.sleep(forTimeInterval: 0.15)+ return true+ }++ return false+ }+private func performAction(named action: String, on element: AXUIElement, availableActions: [String], repeatCount: Int = 1) throws -> Bool {guard availableActions.contains(where: { $0.caseInsensitiveCompare(action) == .orderedSame }) else {return false@@ -470,7 +531,9 @@ public final class ComputerUseService {if index < attempts - 1 {Thread.sleep(forTimeInterval: 0.05)}- case .actionUnsupported, .cannotComplete, .noValue:+ case .attributeUnsupported where action.caseInsensitiveCompare("AXOpen") == .orderedSame:+ return true+ case .failure, .actionUnsupported, .attributeUnsupported, .cannotComplete, .noValue, .invalidUIElement, .illegalArgument:return falsedefault:throw ComputerUseError.message("AXUIElementPerformAction(\(action)) failed with \(result.rawValue)")@@ -503,7 +566,7 @@ public final class ComputerUseService {switch result {case .success:return true- case .attributeUnsupported, .actionUnsupported, .cannotComplete, .noValue:+ case .failure, .attributeUnsupported, .actionUnsupported, .cannotComplete, .noValue, .invalidUIElement, .illegalArgument:return falsedefault:throw ComputerUseError.message("AXUIElementSetAttributeValue(\(attribute)) failed with \(result.rawValue)")@@ -588,6 +651,73 @@ public final class ComputerUseService {return frame.width * frame.height}+ private func localCenter(for record: ElementRecord) -> CGPoint? {+ guard let frame = record.localFrame else {+ return nil+ }++ return CGPoint(x: frame.midX, y: frame.midY)+ }++ private func clickActionPoints(for record: ElementRecord) -> [CGPoint] {+ guard let frame = record.localFrame else {+ return []+ }++ let center = CGPoint(x: frame.midX, y: frame.midY)+ let leading = CGPoint(+ x: frame.minX + min(max(frame.width * 0.3, 20), max(frame.width - 4, 20)),+ y: frame.midY+ )++ if abs(leading.x - center.x) < 1 {+ return [center]+ }++ return [center, leading]+ }++ private func descendantClickCandidates(for record: ElementRecord, snapshot: AppSnapshot) -> [ElementRecord] {+ guard let element = record.element else {+ return []+ }++ return descendantClickCandidates(of: element, windowBounds: snapshot.windowBounds)+ .sorted { lhs, rhs in+ let lhsPriority = clickPriority(for: lhs)+ let rhsPriority = clickPriority(for: rhs)+ if lhsPriority != rhsPriority {+ return lhsPriority < rhsPriority+ }++ return frameArea(of: lhs) < frameArea(of: rhs)+ }+ }++ private func descendantClickCandidates(of element: AXUIElement, windowBounds: CGRect?, depth: Int = 0) -> [ElementRecord] {+ guard depth < 3 else {+ return []+ }++ var results: [ElementRecord] = []+ for child in copyChildren(of: element) {+ let rawActions = copyActions(for: child) ?? []+ results.append(+ ElementRecord(+ index: -1,+ identifier: nil,+ element: child,+ localFrame: localFrame(of: child, windowBounds: windowBounds),+ rawActions: rawActions,+ prettyActions: rawActions+ )+ )+ results.append(contentsOf: descendantClickCandidates(of: child, windowBounds: windowBounds, depth: depth + 1))+ }++ return results+ }+private func copyActions(for element: AXUIElement) -> [String]? {var actions: CFArray?let result = AXUIElementCopyActionNames(element, &actions)@@ -598,6 +728,16 @@ public final class ComputerUseService {return actions as? [String]}+ private func copyChildren(of element: AXUIElement) -> [AXUIElement] {+ var value: CFTypeRef?+ let result = AXUIElementCopyAttributeValue(element, kAXChildrenAttribute as CFString, &value)+ guard result == .success, let value else {+ return []+ }++ return value as? [AXUIElement] ?? []+ }+private func localFrame(of element: AXUIElement, windowBounds: CGRect?) -> CGRect? {var positionValue: CFTypeRef?var sizeValue: CFTypeRef?@@ -767,13 +907,29 @@ public final class ComputerUseService {try InputSimulation.dragTargeted(from: start, to: end, pid: snapshot.app.pid)}- private func performGlobalClickFallback(+ private func performNonAXClickFallback(at point: CGPoint,button: MouseButtonKind,clickCount: Int,targetDescription: String,snapshot: AppSnapshot) throws {+ do {+ try InputSimulation.clickTargeted(+ at: point,+ button: button,+ clickCount: clickCount,+ pid: snapshot.app.pid+ )+ return+ } catch {+ guard globalPointerFallbacksEnabled(environment: ProcessInfo.processInfo.environment) else {+ throw ComputerUseError.message(+ "click could not be handled through accessibility, and global pointer fallback is disabled. Set OPEN_COMPUTER_USE_ALLOW_GLOBAL_POINTER_FALLBACKS=1 to allow physical-pointer fallback for this process."+ )+ }+ }+guard globalPointerFallbacksEnabled(environment: ProcessInfo.processInfo.environment) else {throw ComputerUseError.message("click could not be handled through accessibility, and global pointer fallback is disabled. Set OPEN_COMPUTER_USE_ALLOW_GLOBAL_POINTER_FALLBACKS=1 to allow physical-pointer fallback for this process."diff --git a/packages/OpenComputerUseKit/Sources/OpenComputerUseKit/InputSimulation.swift b/packages/OpenComputerUseKit/Sources/OpenComputerUseKit/InputSimulation.swiftindex a5699ba..227af7b 100644--- a/packages/OpenComputerUseKit/Sources/OpenComputerUseKit/InputSimulation.swift+++ b/packages/OpenComputerUseKit/Sources/OpenComputerUseKit/InputSimulation.swift@@ -65,6 +65,18 @@ enum InputSimulation {}}+ static func clickTargeted(at point: CGPoint, button: MouseButtonKind, clickCount: Int, pid: pid_t) throws {+ guard let source = CGEventSource(stateID: .combinedSessionState) else {+ throw ComputerUseError.message("Failed to create targeted event source.")+ }++ for _ in 0..<max(clickCount, 1) {+ try postMouseEventToPid(type: .mouseMoved, source: source, point: point, button: button.cgButton, clickState: clickCount, pid: pid)+ try postMouseEventToPid(type: button.downEvent, source: source, point: point, button: button.cgButton, clickState: clickCount, pid: pid)+ try postMouseEventToPid(type: button.upEvent, source: source, point: point, button: button.cgButton, clickState: clickCount, pid: pid)+ }+ }+static func scrollTargeted(at point: CGPoint, direction: String, pages: Double, pid: pid_t) throws {guard let event = CGEvent(scrollWheelEvent2Source: nil, units: .line, wheelCount: 2, wheel1: wheel1(direction: direction, pages: pages), wheel2: wheel2(direction: direction, pages: pages), wheel3: 0) else {throw ComputerUseError.message("Failed to create scroll event.")diff --git a/packages/OpenComputerUseKit/Sources/OpenComputerUseKit/OpenComputerUseVersion.swift b/packages/OpenComputerUseKit/Sources/OpenComputerUseKit/OpenComputerUseVersion.swiftindex bedf75c..8b009fc 100644--- a/packages/OpenComputerUseKit/Sources/OpenComputerUseKit/OpenComputerUseVersion.swift+++ b/packages/OpenComputerUseKit/Sources/OpenComputerUseKit/OpenComputerUseVersion.swift@@ -1,6 +1,6 @@import Foundation-public let openComputerUseVersion = "0.1.28"+public let openComputerUseVersion = "0.1.29"public func resolvedOpenComputerUseVersion(bundle: Bundle = .main) -> String {if let version = bundle.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String,diff --git a/packages/OpenComputerUseKit/Tests/OpenComputerUseKitTests/OpenComputerUseKitTests.swift b/packages/OpenComputerUseKit/Tests/OpenComputerUseKitTests/OpenComputerUseKitTests.swiftindex 4ea35db..bdce8a2 100644--- a/packages/OpenComputerUseKit/Tests/OpenComputerUseKitTests/OpenComputerUseKitTests.swift+++ b/packages/OpenComputerUseKit/Tests/OpenComputerUseKitTests/OpenComputerUseKitTests.swift@@ -325,7 +325,7 @@ final class OpenComputerUseKitTests: XCTestCase {func testInitializeResponseContainsToolsCapability() throws {let server = StdioMCPServer(service: ComputerUseService())- let response = server.handle(line: #"{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","clientInfo":{"name":"test","version":"0.1.28"},"capabilities":{}}}"#)+ let response = server.handle(line: #"{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","clientInfo":{"name":"test","version":"0.1.29"},"capabilities":{}}}"#)XCTAssertNotNil(response)XCTAssertTrue(response!.contains(#""name":"open-computer-use""#))XCTAssertTrue(response!.contains(#""tools":{"listChanged":false}"#))@@ -334,7 +334,7 @@ final class OpenComputerUseKitTests: XCTestCase {func testInitializeResponseContainsComputerUseInstructions() throws {let server = StdioMCPServer(service: ComputerUseService())let response = try XCTUnwrap(- server.handle(line: #"{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","clientInfo":{"name":"test","version":"0.1.28"},"capabilities":{}}}"#)+ server.handle(line: #"{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","clientInfo":{"name":"test","version":"0.1.29"},"capabilities":{}}}"#))let data = try XCTUnwrap(response.data(using: .utf8))let json = try XCTUnwrap(JSONSerialization.jsonObject(with: data) as? [String: Any])diff --git a/plugins/open-computer-use/.codex-plugin/plugin.json b/plugins/open-computer-use/.codex-plugin/plugin.jsonindex 3e29f85..a417391 100644--- a/plugins/open-computer-use/.codex-plugin/plugin.json+++ b/plugins/open-computer-use/.codex-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "open-computer-use",- "version": "0.1.28",+ "version": "0.1.29","description": "Open-source macOS Computer Use MCP server packaged as a Codex plugin.","author": {"name": "Leo",diff --git a/scripts/computer-use-cli/README.md b/scripts/computer-use-cli/README.mdindex d70af34..5c078d4 100644--- a/scripts/computer-use-cli/README.md+++ b/scripts/computer-use-cli/README.md@@ -131,7 +131,7 @@ Example working invocation against `open-computer-use`:```bashgo run . list-tools \--transport direct \- --server-bin ~/.codex/plugins/cache/open-computer-use-local/open-computer-use/0.1.28/scripts/launch-open-computer-use.sh+ --server-bin ~/.codex/plugins/cache/open-computer-use-local/open-computer-use/0.1.29/scripts/launch-open-computer-use.sh```Example working comparison flow against a local repo build:diff --git a/scripts/computer-use-cli/main.go b/scripts/computer-use-cli/main.goindex 1b183d9..a83a96f 100644--- a/scripts/computer-use-cli/main.go+++ b/scripts/computer-use-cli/main.go@@ -21,7 +21,7 @@ import (const (cliName = "computer-use-cli"- cliVersion = "0.1.28"+ cliVersion = "0.1.29"defaultTimeout = 60 * time.SecondpluginRootEnvVar = "COMPUTER_USE_PLUGIN_ROOT"pluginVersionEnvVar = "COMPUTER_USE_PLUGIN_VERSION"