👾 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(release): 发布 0.3.1
tisfeng8dd6707412cf
diff --git a/apps/OpenComputerUseLinux/main.go b/apps/OpenComputerUseLinux/main.goindex 00aa147..32b2ee2 100644--- a/apps/OpenComputerUseLinux/main.go+++ b/apps/OpenComputerUseLinux/main.go@@ -20,7 +20,7 @@ import ("time")-var version = "0.3.0"+var version = "0.3.1"var clickMethodValues = []string{"auto", "accessibility", "app_post", "sky_click", "global"}diff --git a/apps/OpenComputerUseSmokeSuite/Sources/OpenComputerUseSmokeSuite/main.swift b/apps/OpenComputerUseSmokeSuite/Sources/OpenComputerUseSmokeSuite/main.swiftindex 03c6bb6..3bf6a90 100644--- a/apps/OpenComputerUseSmokeSuite/Sources/OpenComputerUseSmokeSuite/main.swift+++ b/apps/OpenComputerUseSmokeSuite/Sources/OpenComputerUseSmokeSuite/main.swift@@ -35,7 +35,7 @@ final class MCPClient {_ = try request(method: "initialize", params: ["clientInfo": ["name": "OpenComputerUseSmokeSuite",- "version": "0.3.0",+ "version": "0.3.1",],"capabilities": [:],"protocolVersion": "2025-03-26",diff --git a/apps/OpenComputerUseWindows/main.go b/apps/OpenComputerUseWindows/main.goindex 1a1c0a9..7cb1fd7 100644--- a/apps/OpenComputerUseWindows/main.go+++ b/apps/OpenComputerUseWindows/main.go@@ -17,7 +17,7 @@ import ("time")-var version = "0.3.0"+var version = "0.3.1"var clickMethodValues = []string{"auto", "accessibility", "app_post", "sky_click", "global"}diff --git a/docs/histories/2026-07/20260730-1608-bump-v0.3.1.md b/docs/histories/2026-07/20260730-1608-bump-v0.3.1.mdnew file mode 100644index 0000000..82657ed--- /dev/null+++ b/docs/histories/2026-07/20260730-1608-bump-v0.3.1.md@@ -0,0 +1,32 @@+## [2026-07-30 16:08] | Task: Bump release version to v0.3.1++### Execution Context+* **Agent ID**: `Codex`+* **Base Model**: `GPT-5`+* **Runtime**: `Codex desktop`++### User Query+> 将已合并的 Chrome snapshot 可点击节点边界修复发布为新的 npm 与 GitHub Release 版本。++### Changes Overview+**Scope:** Release version sources and user-facing release documentation.++**Key Actions:**+- Bumped the plugin manifest, Swift version constant, Linux and Windows runtime versions, smoke initialization metadata, test fixtures, and helper CLI version from `0.3.0` to `0.3.1`.+- Updated the helper CLI README cache path example to use the `0.3.1` directory.+- Added the `0.3.1` release note for preserving generic action boundaries in Chrome accessibility snapshots.++### Design Intent+This release delivers a backward-compatible snapshot bug fix, so it advances the patch version. Keeping every exposed version string aligned ensures npm staging, CLI output, MCP metadata, Git tags, and user-facing release notes describe the same release.++### Files Modified+- `plugins/open-computer-use/.codex-plugin/plugin.json`+- `packages/OpenComputerUseKit/Sources/OpenComputerUseKit/OpenComputerUseVersion.swift`+- `apps/OpenComputerUseLinux/main.go`+- `apps/OpenComputerUseWindows/main.go`+- `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/histories/2026-07/20260730-1608-bump-v0.3.1.md`diff --git a/docs/releases/feature-release-notes.md b/docs/releases/feature-release-notes.mdindex b08f5bc..d222cb1 100644--- a/docs/releases/feature-release-notes.md+++ b/docs/releases/feature-release-notes.md@@ -4,6 +4,7 @@| 日期 | 功能域 | 用户价值 | 变更摘要 || --- | --- | --- | --- |+| 2026-07-30 | Web 可点击选项边界 | Chrome 等 Web 页面中的多个文本选项即使位于同一个摘要容器内,也能分别保留可操作的 `element_index`;BOSS 直聘转发弹窗中的“站内同事”“转发至其他”和“邮件转发”可以被独立定位。 | 发布 `0.3.1`,让带 `AXPress`、`AXConfirm` 或 `AXOpen` 的紧凑通用节点成为文本摘要边界并渲染为 `button`;普通纯文本压缩以及零尺寸、大面积通用节点过滤保持不变。 || 2026-07-27 | 可配置与后台点击 | 调用方可以显式选择点击实现,并在 macOS 上对被遮挡的同 Space 窗口执行后台点击,同时保持真实鼠标、前台应用、窗口焦点和层级不变。 | 发布 `0.3.0`,为 `click` 新增 `click_method`,提供 `auto`、`accessibility`、`app_post`、`global` 和 macOS-only `sky_click`;默认 `auto` 行为保持不变,显式模式失败时不静默切换实现,`global` 继续要求环境授权。 || 2026-07-20 | 匿名 Web 图标控件 | Chrome 等 Web 页面里的纯图标按钮即使没有可读名称,也能在 snapshot 中保留可点击的 `element_index`,Agent 可以更稳定地操作 icon-only 控件。 | 发布 `0.2.1`,保留具有 `AXPress` / `AXConfirm` / `AXOpen` 主动作且 frame 紧凑有效的匿名 `AXGroup` / `AXUnknown`,渲染为 `button`;同时继续过滤零尺寸节点和大面积通用点击容器。 || 2026-07-08 | 快照预算与长文本控制 | 长网页、长列表和复杂表格可以显式提高 accessibility tree 预算,读取长消息或文档时也能按需选择更大的文本上限或全文模式。 | 发布 `0.2.0`,三端默认 tree budget 统一为 1200/64,并为 `get_app_state` / `snapshot` 增加 `max_tree_nodes`、`max_tree_depth` 与 `text_limit` / `--text-limit`;`show_full_text` / `--show-full-text` 已由 `text_limit: "max"` / `--text-limit max` 替代。 |diff --git a/packages/OpenComputerUseKit/Sources/OpenComputerUseKit/OpenComputerUseVersion.swift b/packages/OpenComputerUseKit/Sources/OpenComputerUseKit/OpenComputerUseVersion.swiftindex b9ccb49..3c452b9 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.3.0"+public let openComputerUseVersion = "0.3.1"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 e720978..4ab7d21 100644--- a/packages/OpenComputerUseKit/Tests/OpenComputerUseKitTests/OpenComputerUseKitTests.swift+++ b/packages/OpenComputerUseKit/Tests/OpenComputerUseKitTests/OpenComputerUseKitTests.swift@@ -568,7 +568,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.3.0"},"capabilities":{}}}"#)+ let response = server.handle(line: #"{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","clientInfo":{"name":"test","version":"0.3.1"},"capabilities":{}}}"#)XCTAssertNotNil(response)XCTAssertTrue(response!.contains(#""name":"open-computer-use""#))XCTAssertTrue(response!.contains(#""tools":{"listChanged":false}"#))@@ -577,7 +577,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.3.0"},"capabilities":{}}}"#)+ server.handle(line: #"{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","clientInfo":{"name":"test","version":"0.3.1"},"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 a01569a..693fa14 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.3.0",+ "version": "0.3.1","description": "Open-source cross-platform 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 8c55200..48d8e00 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.3.0/scripts/launch-open-computer-use.sh+ --server-bin ~/.codex/plugins/cache/open-computer-use-local/open-computer-use/0.3.1/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 27a6267..9616b48 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.3.0"+ cliVersion = "0.3.1"defaultTimeout = 60 * time.SecondpluginRootEnvVar = "COMPUTER_USE_PLUGIN_ROOT"pluginVersionEnvVar = "COMPUTER_USE_PLUGIN_VERSION"