👾 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: migrate repository identity to open-computer-use (#107)
Leo5d948fc5846d
diff --git a/AGENTS.md b/AGENTS.mdindex 0145e31..eaf4c6b 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -1,4 +1,4 @@-# open-codex-computer-use+# open-computer-use这个仓库是一个面向 Agent 协作开发的基础模板。diff --git a/Makefile b/Makefileindex 5ecf8c6..8666f1d 100644--- a/Makefile+++ b/Makefile@@ -17,7 +17,7 @@ app:test:swift test- node --test scripts/node-repl/*.test.mjs+ node --test scripts/node-repl/*.test.mjs scripts/tests/*.test.mjssmoke:./scripts/run-tool-smoke-tests.shdiff --git a/README.md b/README.mdindex 137451d..596d5a4 100644--- a/README.md+++ b/README.md@@ -2,9 +2,9 @@[](./README.md)[](./README.zh-CN.md)-[](https://github.com/iFurySt/open-codex-computer-use/releases)-[](https://deepwiki.com/iFurySt/open-codex-computer-use)-<a href="https://llmapis.com?source=https%3A%2F%2Fgithub.com%2FiFurySt%2Fopen-codex-computer-use" target="_blank"><img src="https://llmapis.com/api/badge/iFurySt/open-codex-computer-use" alt="LLMAPIS" width="20" /></a>+[](https://github.com/iFurySt/open-computer-use/releases)+[](https://deepwiki.com/iFurySt/open-computer-use)+<a href="https://llmapis.com?source=https%3A%2F%2Fgithub.com%2FiFurySt%2Fopen-computer-use" target="_blank"><img src="https://llmapis.com/api/badge/iFurySt/open-computer-use" alt="LLMAPIS" width="20" /></a>> [!TIP]> Interested in Browser Use? Check out [open-browser-use](https://github.com/iFurySt/open-codex-browser-use).@@ -82,14 +82,14 @@ Install the skill directly:```bash# Install for Codex-npx skills add iFurySt/open-codex-computer-use -g -a codex --skill open-computer-use -y+npx skills add iFurySt/open-computer-use -g -a codex --skill open-computer-use -ynpx skills ls -g -a codex | rg 'open-computer-use'```Install for Claude Code:```bash-npx skills add iFurySt/open-codex-computer-use -g -a claude-code --skill open-computer-use -y+npx skills add iFurySt/open-computer-use -g -a claude-code --skill open-computer-use -y```Update an existing global install, including the Codex install created above:@@ -198,17 +198,17 @@ Find controls by text or role without taking a screenshot. See [query usage](doc## Cursor Motion-Cursor Motion is an open-source cursor motion system for macOS, based on public information shared by members of the Software.Inc team. You can download the app from the [Releases page](https://github.com/iFurySt/open-codex-computer-use/releases).+Cursor Motion is an open-source cursor motion system for macOS, based on public information shared by members of the Software.Inc team. You can download the app from the [Releases page](https://github.com/iFurySt/open-computer-use/releases).[](https://youtu.be/KRUq5GUHv1Q)## Star History-<a href="https://www.star-history.com/?repos=iFurySt%2Fopen-codex-computer-use&type=date&legend=top-left">+<a href="https://www.star-history.com/?repos=iFurySt%2Fopen-computer-use&type=date&legend=top-left"><picture>- <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=ifuryst/open-codex-computer-use&type=date&theme=dark&legend=top-left" />- <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=ifuryst/open-codex-computer-use&type=date&legend=top-left" />- <img alt="Star History Chart for open-computer-use" src="https://api.star-history.com/chart?repos=ifuryst/open-codex-computer-use&type=date&legend=top-left" />+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=ifuryst/open-computer-use&type=date&theme=dark&legend=top-left" />+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=ifuryst/open-computer-use&type=date&legend=top-left" />+ <img alt="Star History Chart for open-computer-use" src="https://api.star-history.com/chart?repos=ifuryst/open-computer-use&type=date&legend=top-left" /></picture></a>diff --git a/README.zh-CN.md b/README.zh-CN.mdindex 97d1524..77214c7 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -2,9 +2,9 @@[](./README.md)[](./README.zh-CN.md)-[](https://github.com/iFurySt/open-codex-computer-use/releases)-[](https://deepwiki.com/iFurySt/open-codex-computer-use)-<a href="https://llmapis.com?source=https%3A%2F%2Fgithub.com%2FiFurySt%2Fopen-codex-computer-use" target="_blank"><img src="https://llmapis.com/api/badge/iFurySt/open-codex-computer-use" alt="LLMAPIS" width="20" /></a>+[](https://github.com/iFurySt/open-computer-use/releases)+[](https://deepwiki.com/iFurySt/open-computer-use)+<a href="https://llmapis.com?source=https%3A%2F%2Fgithub.com%2FiFurySt%2Fopen-computer-use" target="_blank"><img src="https://llmapis.com/api/badge/iFurySt/open-computer-use" alt="LLMAPIS" width="20" /></a>> [!TIP]> 对 Browser Use 感兴趣的话,可以看看 [open-browser-use](https://github.com/iFurySt/open-codex-browser-use)。@@ -82,13 +82,13 @@ ocu install-codex-mcp```bash# 安装到 Codex-npx skills add iFurySt/open-codex-computer-use -g -a codex --skill open-computer-use -y+npx skills add iFurySt/open-computer-use -g -a codex --skill open-computer-use -ynpx skills ls -g -a codex | rg 'open-computer-use'```安装到 Claude Code```-npx skills add iFurySt/open-codex-computer-use -g -a claude-code --skill open-computer-use -y+npx skills add iFurySt/open-computer-use -g -a claude-code --skill open-computer-use -y```更新已有的全局安装,包括上面安装到 Codex 的那份:@@ -149,17 +149,17 @@ ocu -h## Cursor Motion-Cursor Motion 是一个面向 macOS 的开源光标运动系统,基于 Software.Inc 几位大佬的公开信息实现的开源版本,也可以到 [Releases 页面](https://github.com/iFurySt/open-codex-computer-use/releases) 下载 app 运行。+Cursor Motion 是一个面向 macOS 的开源光标运动系统,基于 Software.Inc 几位大佬的公开信息实现的开源版本,也可以到 [Releases 页面](https://github.com/iFurySt/open-computer-use/releases) 下载 app 运行。[](https://youtu.be/KRUq5GUHv1Q)## Star History-<a href="https://www.star-history.com/?repos=iFurySt%2Fopen-codex-computer-use&type=date&legend=top-left">+<a href="https://www.star-history.com/?repos=iFurySt%2Fopen-computer-use&type=date&legend=top-left"><picture>- <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=ifuryst/open-codex-computer-use&type=date&theme=dark&legend=top-left" />- <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=ifuryst/open-codex-computer-use&type=date&legend=top-left" />- <img alt="open-computer-use Star History 趋势图" src="https://api.star-history.com/chart?repos=ifuryst/open-codex-computer-use&type=date&legend=top-left" />+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/chart?repos=ifuryst/open-computer-use&type=date&theme=dark&legend=top-left" />+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/chart?repos=ifuryst/open-computer-use&type=date&legend=top-left" />+ <img alt="open-computer-use Star History 趋势图" src="https://api.star-history.com/chart?repos=ifuryst/open-computer-use&type=date&legend=top-left" /></picture></a>diff --git a/apps/OpenComputerUseLinux/go.mod b/apps/OpenComputerUseLinux/go.modindex 5a944d8..a7cd6d6 100644--- a/apps/OpenComputerUseLinux/go.mod+++ b/apps/OpenComputerUseLinux/go.mod@@ -1,3 +1,3 @@-module github.com/iFurySt/open-codex-computer-use/apps/opencomputeruselinux+module github.com/iFurySt/open-computer-use/apps/opencomputeruselinuxgo 1.22diff --git a/apps/OpenComputerUseWindows/go.mod b/apps/OpenComputerUseWindows/go.modindex bdb1994..6cf0038 100644--- a/apps/OpenComputerUseWindows/go.mod+++ b/apps/OpenComputerUseWindows/go.mod@@ -1,3 +1,3 @@-module github.com/iFurySt/open-codex-computer-use/apps/opencomputerusewindows+module github.com/iFurySt/open-computer-use/apps/opencomputerusewindowsgo 1.22diff --git a/docs/exec-plans/active/20261017-repository-rename.md b/docs/exec-plans/active/20261017-repository-rename.mdnew file mode 100644index 0000000..94054a1--- /dev/null+++ b/docs/exec-plans/active/20261017-repository-rename.md@@ -0,0 +1,48 @@+# 仓库改名为 open-computer-use++## 目标++将 GitHub 仓库从 `iFurySt/open-codex-computer-use` 改名为 `iFurySt/open-computer-use`,同步 npm、plugin、skill、发布校验和当前文档,保持现有安装与 App 身份兼容。++## 范围与约束++- 更新当前仓库引用、Go module 路径和本地 origin。+- 核对三个既有 npm 包的 Trusted Publisher;账号登录或两步验证由用户完成。+- 保留三个 npm 包名、CLI 别名、MCP 旧配置迁移、App Bundle ID、签名与制品命名。+- 保留 histories、已完成计划、已发布 release notes 和逆向样本的历史原文;发布校验兼容旧仓库链接。+- 此任务更新发布配置,不以发布新版本作为验证手段。++## 风险与缓解++- npm provenance 要求包内 repository.url 与实际仓库一致:同步包生成脚本,并检查真实 staging 包。+- Trusted Publisher 与 GitHub 仓库身份绑定:检查账号设置,保持 workflow 为 release.yml。+- 旧链接依赖 GitHub 重定向:验证旧地址与新地址对应同一 repository ID,不复用旧仓库名。+- 历史发布校验可能被新地址破坏:增加兼容性测试,覆盖新旧地址及无关仓库拒绝。++## 验证方式++- 仓库基础 CI、发布 notes 校验及 Go runtime 测试。+- npm staging / pack 检查三个包的元信息、命令别名、内置 runtime 和 App Bundle ID。+- GitHub 新旧 API / Git 地址、既有 Release 下载重定向检查。+- npm Trusted Publisher 账号侧读取与迁移结果检查;不把 dry-run 当成真实发布授权证明。++## 进度记录++- [x] 已同步远端,基于最新 main 建立独立工作目录,确认 GitHub ADMIN 权限。+- [x] 确认当前项目没有 Homebrew formula/cask,现有 npm 直接内置 runtime。+- [x] 完成当前引用和发布校验迁移。+- [x] 完成验证:40 个本地 Node 测试、Linux / Windows Go 测试、14 个 Linux Python 测试、DSH 安装回归、文档与 Action pinning 检查;三个 npm 包真实 staging / pack、签名组件和 App 身份检查通过。同步并发合入的 #100 后,在 GitHub Linux runner 上再次验证两个 Go runtime、14 个 Python 测试与 4 个 release-notes 测试。+- [x] GitHub 改名并更新共享 origin;新旧 GitHub API 与 Git 地址对应同一仓库,旧 Release 下载返回 HTTP 200。+- [x] 提交并推送改动,代码迁移通过 [PR #107](https://github.com/iFurySt/open-computer-use/pull/107) 交付。+- [ ] 完成 npm Trusted Publisher 迁移;旧连接虽显示 Valid,真实 OIDC token exchange 三个包均返回 404,新连接保存正在等待用户完成 npm 安全密钥验证。++## 验证边界++- 基础 `scripts/ci.sh` 被 main 已有的 repo-hygiene 检查阻断:缺少模板要求的 11 个文件,包括 `.editorconfig` 与旧 CI workflows。没有为改名任务补回这些无关模板;相关测试已分别执行。+- npm staging 复用 registry 已发布的 1.1.1 原生 runtime,验证本次包元信息与封装,没有重建或发布 App。+- 首次真实 OIDC 检查:[Actions run 39011291883](https://github.com/iFurySt/open-computer-use/actions/runs/39011291883),证明只检查页面状态不足以发现改名后的认证问题。+- 同步 #100 后的 Linux 平台验证:[Actions run 39011557748](https://github.com/iFurySt/open-computer-use/actions/runs/39011557748) 的 platform tests step 通过;该 run 后续仍因尚未完成 npm 账号迁移而失败。新增 bridge 测试要求 Linux,不能以 macOS 本地执行结果替代。++## 决策记录++- 2026-10-17:仓库名采用全小写 open-computer-use;现有产品与包身份保持稳定。保留历史原文,避免改写已发布记录。diff --git a/docs/histories/2026-10/20261017-1449-rename-open-computer-use.md b/docs/histories/2026-10/20261017-1449-rename-open-computer-use.mdnew file mode 100644index 0000000..92753a3--- /dev/null+++ b/docs/histories/2026-10/20261017-1449-rename-open-computer-use.md@@ -0,0 +1,45 @@+## [2026-10-17 14:49] | Task: Rename repository to open-computer-use++### Execution Context++- Agent ID: `/root`+- Base Model: GPT-6 family(运行时未暴露精确模型标识)+- Runtime: Codex desktop++### User Query++将仓库改名为 Open Computer Use,并同步 npm 发布相关设置,确认既有包、App 与分发链路的兼容性。++### Changes Overview++- 将 GitHub 仓库迁移到 `iFurySt/open-computer-use`,保持仓库 ID、Stars、Issues、Git 历史和 Release 制品;共享 origin 使用新地址。+- 更新双语 README、徽章、skill 安装地址、plugin 和 npm 元信息、Go module 路径与发布模板。+- 保留三个 npm 包名、CLI 别名、旧 MCP 配置迁移、App Bundle ID 和签名身份。+- 发布 notes 校验接受规范地址与原始历史地址;新增回归,拒绝无关仓库、相似 URL 和错误 tag。+- 同步发布指南和功能记录;histories、已完成计划、已发布 notes 和逆向样本保留原文。++### Design Intent++让仓库地址与跨 Agent、跨平台的产品身份一致,同时保持已有安装和历史发布兼容。npm Trusted Publisher 的页面状态不能替代真实 OIDC 认证验证。++### Validation++- Node REPL / CLI / release notes:40 tests passed。+- Linux / Windows Go runtime:`go test ./...` passed;Linux Python:14 tests passed;DSH 安装回归 passed。同步并发合入的 #100 后,在真实 GitHub Linux runner 上补跑两个 Go runtime、14 个 Python 测试与 4 个 release-notes 测试,platform tests step 全部通过(run 39011557748);本机 macOS 不满足新增 bridge 测试的 Linux 平台要求。+- `make check-docs`、Action SHA pinning、shell syntax 与 `git diff --check` passed。+- 基于已发布 1.1.1 runtime 生成并 pack 三个 npm 包,规范 repository / homepage / bugs 地址与四个 CLI 入口检查通过;universal App 的四个 Locked Use 组件签名验证通过,App 身份保持不变;`ocu capabilities --json` 全部可用。+- 新旧 GitHub API / Git 地址指向同一仓库;已有 macOS Release 下载返回 HTTP 200。+- 基础 CI 的 repo-hygiene 检查因 main 既有的 11 个模板文件缺失而失败;相关检查已分别执行,没有扩大本次改名范围。+- npm 旧 Trusted Publisher 页面在改名后仍显示 Valid,但三个包的真实 OIDC token exchange 均返回 HTTP 404。正在迁移到新仓库名,保存连接需要账号所有者完成 npm 安全密钥验证。++### Files Modified++- `README.md`、`README.zh-CN.md`、`AGENTS.md`+- `scripts/npm/build-packages.mjs`+- `scripts/validate-github-release-notes.mjs`、`scripts/tests/release-notes.test.mjs`+- `scripts/ci.sh`、`scripts/init-project.sh`、`Makefile`+- `plugins/open-computer-use/.codex-plugin/plugin.json`+- `apps/OpenComputerUseLinux/go.mod`、`apps/OpenComputerUseWindows/go.mod`+- `skills/open-computer-use/references/installation.md`+- `docs/releases/RELEASE_GUIDE.md`、`docs/releases/github/TEMPLATE.md`、`docs/releases/feature-release-notes.md`+- `docs/exec-plans/active/20261017-repository-rename.md`diff --git a/docs/releases/RELEASE_GUIDE.md b/docs/releases/RELEASE_GUIDE.mdindex 16e09f3..d08e72c 100644--- a/docs/releases/RELEASE_GUIDE.md+++ b/docs/releases/RELEASE_GUIDE.md@@ -19,6 +19,12 @@## 当前 release 入口+GitHub 仓库规范地址是 `https://github.com/iFurySt/open-computer-use`。仓库改名不改变三个既有 npm 包名、CLI 别名、App Bundle ID 或签名团队。新 release notes 使用当前地址;校验器仍接受已发布 notes 的旧仓库链接,历史正文不批量改写。兼容性回归可运行 `node --test scripts/tests/release-notes.test.mjs`。++npm staging 的 `repository.url` 必须与发布所在的 GitHub 仓库一致,否则 provenance / Trusted Publishing 可能失败。改名后应逐个核对 `open-computer-use`、`open-computer-use-mcp`、`open-codex-computer-use-mcp` 的 npm Trusted Publisher,workflow 文件仍为 `release.yml`。`npm publish --dry-run` 和 `npm whoami` 不能验证 GitHub OIDC;可在同一 workflow 文件的临时分支上,使用 GitHub OIDC 向 npm 官方 token-exchange API 验证三个包均返回 HTTP 201,不输出、保存或使用返回的 token,不执行 publish。该检查证明认证可用,完整构建 / provenance / 发布仍以实际发版为准。++publisher 即使已绑定仓库不可变身份、页面仍显示 Valid,也不能据此推断改名后的认证可用:本次迁移的旧名称连接在真实 token exchange 中返回 HTTP 404。应以新仓库名新增连接,沿用原有权限,并验证真实认证;在新连接生效前保留旧连接,验证成功后再清理。创建连接需要账号所有者完成 npm 的安全密钥二步验证。参考 [npm 官方 Trusted Publishing 文档](https://docs.npmjs.com/trusted-publishers/)与 [npm Registry API](https://api-docs.npmjs.com/)。+- 本地 staging / 打 tgz:`./scripts/release-package.sh`- 本地重新封装 GitHub Release assets:`./scripts/package-github-release-assets.sh --version <version>`- 本地构建 Cursor Motion DMG:`./scripts/build-cursor-motion-dmg.sh --configuration release --arch universal --version <version>`@@ -157,8 +163,8 @@ workflow 会使用 `docs/releases/github/<tag>.md` 创建新 Release;如果 Re### 1. 先看最新 run```bash-gh run list -R iFurySt/open-codex-computer-use --limit 10-gh run view -R iFurySt/open-codex-computer-use <run-id> --log-failed+gh run list -R iFurySt/open-computer-use --limit 10+gh run view -R iFurySt/open-computer-use <run-id> --log-failed```### 2. 重点看哪一类错误diff --git a/docs/releases/feature-release-notes.md b/docs/releases/feature-release-notes.mdindex 337ff98..c9c4354 100644--- a/docs/releases/feature-release-notes.md+++ b/docs/releases/feature-release-notes.md@@ -4,6 +4,7 @@| 日期 | 功能域 | 用户价值 | 变更摘要 || --- | --- | --- | --- |+| 2026-10-17 | 仓库名称统一 | 项目地址与现有 npm 包、CLI 和 App 名称保持一致,方便多个 Agent 使用。 | 仓库迁移到 `iFurySt/open-computer-use`,同步当前安装说明、npm / plugin 元信息与发布模板;保留原有包名、命令、App 签名身份和历史发布链接兼容。 || 2026-10-17 | macOS 软件光标窗口跟随 | 目标窗口移动后,行进、点击反馈和等待中的软件光标继续跟随,避免停在旧位置。 | 接入窗口相对锚点,修复 idle / pulse 的旧落点、行进中止后的可见位置及重复计时器;AX 帧读取改为后台串行缓存,限制为最多 30 Hz / 一个请求,并在清理时释放追踪。 || 2026-10-15 | 1.1.1 修复发布 | Locked Use 安装更新更可靠,降低认证与后台 IPC 开销。 | 统一版本为 1.1.1,发布授权宿主、安装加载检查、旧组件卸载与连接生命周期修复;完整双屏遮罩、自动解锁、点击验证和重锁实测通过。 || 2026-10-15 | Locked Use 安装与性能修复 | 减少认证和 IPC 开销,旧系统组件也能正常移除并重装。 | 非 UI 插件使用 privileged host,安装前验证真实加载;修复系统缓存卸载与转交 socket 的生命周期,降低空闲唤醒,status 提示组件版本差异。 |diff --git a/docs/releases/github/TEMPLATE.md b/docs/releases/github/TEMPLATE.mdindex a7308fd..bb58915 100644--- a/docs/releases/github/TEMPLATE.md+++ b/docs/releases/github/TEMPLATE.md@@ -2,4 +2,4 @@* Describe one user-visible change in reviewed English. Link the related pull request when one exists.-**Full Changelog**: https://github.com/iFurySt/open-codex-computer-use/compare/vPREVIOUS...vNEXT+**Full Changelog**: https://github.com/iFurySt/open-computer-use/compare/vPREVIOUS...vNEXTdiff --git a/plugins/open-computer-use/.codex-plugin/plugin.json b/plugins/open-computer-use/.codex-plugin/plugin.jsonindex 5a03f9a..96dd219 100644--- a/plugins/open-computer-use/.codex-plugin/plugin.json+++ b/plugins/open-computer-use/.codex-plugin/plugin.json@@ -6,8 +6,8 @@"name": "Leo","url": "https://github.com/iFurySt"},- "homepage": "https://github.com/iFurySt/open-codex-computer-use",- "repository": "https://github.com/iFurySt/open-codex-computer-use",+ "homepage": "https://github.com/iFurySt/open-computer-use",+ "repository": "https://github.com/iFurySt/open-computer-use","license": "MIT","keywords": ["computer-use",@@ -28,9 +28,9 @@"Read","Write"],- "websiteURL": "https://github.com/iFurySt/open-codex-computer-use",- "privacyPolicyURL": "https://github.com/iFurySt/open-codex-computer-use/blob/main/SECURITY.md",- "termsOfServiceURL": "https://github.com/iFurySt/open-codex-computer-use/blob/main/LICENSE",+ "websiteURL": "https://github.com/iFurySt/open-computer-use",+ "privacyPolicyURL": "https://github.com/iFurySt/open-computer-use/blob/main/SECURITY.md",+ "termsOfServiceURL": "https://github.com/iFurySt/open-computer-use/blob/main/LICENSE","defaultPrompt": ["Inspect the current UI state of this desktop app without stealing focus when possible","Open a new local document with keyboard shortcuts first, then type content without moving my real pointer unless required",diff --git a/scripts/ci.sh b/scripts/ci.shindex 76cb3e7..f535c13 100755--- a/scripts/ci.sh+++ b/scripts/ci.sh@@ -17,7 +17,7 @@ while IFS= read -r file; donode --check "$file"done < <(find "${repo_root}/scripts" -type f -name '*.mjs' | sort)-node --test "${repo_root}"/scripts/node-repl/*.test.mjs+node --test "${repo_root}"/scripts/node-repl/*.test.mjs "${repo_root}"/scripts/tests/*.test.mjs(cd "${repo_root}/apps/OpenComputerUseLinux"diff --git a/scripts/init-project.sh b/scripts/init-project.shindex 1aad4f2..000fdaa 100755--- a/scripts/init-project.sh+++ b/scripts/init-project.sh@@ -10,7 +10,7 @@ fiproject_name="$1"repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"-perl -0pi -e "s/open-codex-computer-use/${project_name}/g; s/harness-template/${project_name}/g" \+perl -0pi -e "s/open-(?:codex-)?computer-use/${project_name}/g; s/harness-template/${project_name}/g" \"${repo_root}/README.md" \"${repo_root}/AGENTS.md"diff --git a/scripts/npm/build-packages.mjs b/scripts/npm/build-packages.mjsindex f49be81..23dd197 100644--- a/scripts/npm/build-packages.mjs+++ b/scripts/npm/build-packages.mjs@@ -340,7 +340,7 @@ open-computer-use install-codex-plugin- Linux requires a signed-in desktop session with AT-SPI2 / D-Bus accessibility available for real app control.- Windows requires a signed-in desktop session for UI Automation access.-Source repository: https://github.com/iFurySt/open-codex-computer-use+Source repository: https://github.com/iFurySt/open-computer-use`;}@@ -363,13 +363,13 @@ function renderMetaPackageJson(packageName, version) {version,description: "Cross-platform Computer Use MCP server launcher. After install, configure open-computer-use mcp.",license: "MIT",- homepage: "https://github.com/iFurySt/open-codex-computer-use",+ homepage: "https://github.com/iFurySt/open-computer-use",repository: {type: "git",- url: "git+https://github.com/iFurySt/open-codex-computer-use.git",+ url: "git+https://github.com/iFurySt/open-computer-use.git",},bugs: {- url: "https://github.com/iFurySt/open-codex-computer-use/issues",+ url: "https://github.com/iFurySt/open-computer-use/issues",},keywords: packageKeywords(),engines: {diff --git a/scripts/tests/release-notes.test.mjs b/scripts/tests/release-notes.test.mjsnew file mode 100644index 0000000..54ad4c2--- /dev/null+++ b/scripts/tests/release-notes.test.mjs@@ -0,0 +1,45 @@+import assert from "node:assert/strict";+import { spawnSync } from "node:child_process";+import { mkdtempSync, rmSync, writeFileSync } from "node:fs";+import os from "node:os";+import path from "node:path";+import { fileURLToPath } from "node:url";+import { test } from "node:test";++const validator = fileURLToPath(new URL("../validate-github-release-notes.mjs", import.meta.url));++function validateChangelog(url) {+ const directory = mkdtempSync(path.join(os.tmpdir(), "ocu-release-notes-"));+ const notesPath = path.join(directory, "notes.md");+ try {+ writeFileSync(notesPath, `## What's Changed\n\n* Keep existing installations compatible after the repository rename.\n\n**Full Changelog**: ${url}\n`);+ return spawnSync(process.execPath, [validator, "--tag", "v1.1.2", "--notes-only", "--notes-path", notesPath], {+ encoding: "utf8",+ });+ } finally {+ rmSync(directory, { recursive: true, force: true });+ }+}++for (const repository of ["open-computer-use", "open-codex-computer-use"]) {+ test(`accepts release notes from ${repository}`, () => {+ const result = validateChangelog(`https://github.com/iFurySt/${repository}/compare/v1.1.1...v1.1.2`);+ assert.equal(result.status, 0, result.stderr);+ });+}++test("rejects changelogs from unrelated repositories and lookalike URLs", () => {+ for (const repository of ["other/open-computer-use", "iFurySt/open-computer-use-other"]) {+ const result = validateChangelog(`https://github.com/${repository}/compare/v1.1.1...v1.1.2`);+ assert.equal(result.status, 1);+ assert.match(result.stderr, /Full Changelog must use/);+ }+});++test("keeps previous-tag and target-tag checks after the rename", () => {+ for (const comparison of ["v1.1.1...v1.1.3", "v1.1.2...v1.1.2", "main...v1.1.2"]) {+ const result = validateChangelog(`https://github.com/iFurySt/open-computer-use/compare/${comparison}`);+ assert.equal(result.status, 1);+ assert.match(result.stderr, /Full Changelog must/);+ }+});diff --git a/scripts/validate-github-release-notes.mjs b/scripts/validate-github-release-notes.mjsindex e9e2949..bb3051c 100644--- a/scripts/validate-github-release-notes.mjs+++ b/scripts/validate-github-release-notes.mjs@@ -5,7 +5,9 @@ import path from "node:path";import { fileURLToPath } from "node:url";const repoRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");-const repositoryURL = "https://github.com/iFurySt/open-codex-computer-use";+const repositoryURL = "https://github.com/iFurySt/open-computer-use";+// Published notes retain their original URLs across the repository rename.+const legacyRepositoryURL = "https://github.com/iFurySt/open-codex-computer-use";const tagPattern = /^v?(\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?)$/;const cjkPattern = /[\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]/u;@@ -72,14 +74,16 @@ function validateNotes({ notesPath, tag }) {fail("What's Changed must contain 1 to 3 user-visible bullet items");}- const changelogPrefix = `**Full Changelog**: ${repositoryURL}/compare/`;const changelogLines = lines.filter((line) => line.startsWith("**Full Changelog**:"));if (changelogLines.length !== 1) {fail("Release notes must contain exactly one Full Changelog line");}const changelogLine = changelogLines[0];- if (!changelogLine.startsWith(changelogPrefix) || !changelogLine.endsWith(`...${tag}`)) {+ const changelogPrefix = [repositoryURL, legacyRepositoryURL]+ .map((url) => `**Full Changelog**: ${url}/compare/`)+ .find((prefix) => changelogLine.startsWith(prefix));+ if (!changelogPrefix || !changelogLine.endsWith(`...${tag}`)) {fail(`Full Changelog must use ${repositoryURL}/compare/<previous-tag>...${tag}`);}diff --git a/skills/open-computer-use/references/installation.md b/skills/open-computer-use/references/installation.mdindex 5801b14..22c278d 100644--- a/skills/open-computer-use/references/installation.md+++ b/skills/open-computer-use/references/installation.md@@ -143,14 +143,14 @@ For any other MCP client, add a stdio server manually:Install the skill for Codex:```sh-npx skills add iFurySt/open-codex-computer-use -g -a codex --skill open-computer-use -y+npx skills add iFurySt/open-computer-use -g -a codex --skill open-computer-use -ynpx skills ls -g -a codex | rg 'open-computer-use'```Install the skill for Claude Code:```sh-npx skills add iFurySt/open-codex-computer-use -g -a claude-code --skill open-computer-use -y+npx skills add iFurySt/open-computer-use -g -a claude-code --skill open-computer-use -y```Update an existing global skill install: