Repository navigation
Conversation
Contributor
Author
|
你好,想简短跟进一下这个 Windows 本机 Codex 发现与调用的 PR。之前已同步包含 Office 适配的 main,目前仍等待审阅。方便时想请你看看这个范围是否合适,或者是否需要补充某项验证;有需要我可以继续调整。感谢! 本条跟进由 Codex 辅助整理,按贡献者请求发布。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
已安装并登录 Codex 的 Windows 用户此前仍可能看到本机服务不可用:bridge 只搜索几个 macOS 路径,直接启动命令也无法正确处理 npm 的
.cmd入口。本次基于main完善安装发现、调用和退出处理,让 Windows 可以通过现有 bridge 使用本机 Codex 翻译和问答。关联 #5,接续已合并的 #6;已同步包含阶段 C(#8)的
main(a116081)。改动
PAPERLENS_CODEX_PATH优先,否则搜索 PATH;支持 Windows 原生可执行文件及标准 npm 入口,保留 macOS 应用和 Homebrew 路径。npm 入口通过当前 Node 执行对应 JavaScript 文件,参数不经过 shell 拼接。EPERM与持续权限错误的回归测试。增加独立模拟 CLI 测试,替换原来依赖 Unix shebang 和个人 Skill 文件的两项测试前置条件。rm参数写法的源码文本断言;临时文件清理由现有转换器运行测试验证。验证
上游 PR CI 和 Fork CI 在同步提交
44bc37b上各四组全部通过:Windows/macOS × Node 22/24,均执行完整测试、类型检查和 lint。2026-09-19 同步验收,Windows 11 x64、Node 24.17.0、默认 npm shell:
npm test:170 项,169 通过、0 失败、1 项 POSIX 符号链接测试按平台跳过;包括构建、Codex/Office 模拟测试和真实开发/生产启动检查。npm run typecheck、npm run lint:通过。2026-09-14 的真实 Codex 验收记录(本次同步未重新调用模型):
codex.exe0.154.0-alpha.6.2:显式路径、版本与登录检查通过;该安装方式尚未单独做模型推理验收。真实 Codex 验收使用 bridge 接口的单页数据,不等同于浏览器中导入并阅读真实 PDF 的全流程测试。Office 转换已由 #8 合入,本次保持其实现及测试;iPad USB 仍需独立适配和验收。
与连接分支衔接
维护者已在 Issue #5 回复,说明
codex/paperlens-local-connectors近期不会合入 main,并欢迎继续推进。本次将发现和执行集中在bridge/codex-cli.mjs,连接分支可以在适配接口后复用;没有引入其账户界面或 app-server 协议改动。当前 PR 基于main,后续可按维护者的分支安排调整集成位置。