Skip to content

Releases

Codex Bridge v1.0.0

Choose a tag to compare

@rockyshi1993 rockyshi1993 released this 04 Dec 15:59

Codex Bridge v1.0.0

在 ChatGPT 中讨论需求、规划和审查,让 Windows 本机的 Codex 执行工作。Codex Bridge 转发请求,由 Codex 在原生权限下读取仓库、运行命令、修改代码和执行测试。

主要功能

  • 在已授权的工作区启动或续接 Codex 会话,并在 ChatGPT 中查看进展。
  • 刷新进度卡,在有原生耗时记录时查看任务耗时。
  • 在 ChatGPT 中回答受支持的原生 Plan 问题,并选择当前 Codex 安装支持的模型及推理强度。
  • 在卡片中核对人工审批请求。允许操作仍须在本机 Bridge 控制台独立确认。启用原生自动审查时,符合条件的请求可由 Codex 处理。

安装前

需要 Windows 11、PowerShell 7.2+、Node.js 22.13+ 及 npm,并在本机安装并登录 Codex CLI。你还需要已有且获授权的私有 ChatGPT Connector 及其 Tunnel。Bridge 无法开通这两项服务。Tunnel ID 和 Runtime Key 仅在本机 PowerShell 提示中输入,请勿发到聊天中。仅源码安装需要 Git。

安装并试用

从 GitHub Releases 下载 codex-bridge-1.0.0.tgz。其 SHA-256 为:

10f82745893b60bfe9a2e8e064a20e9b5463dd37702c111100a1f7d52e37f3ea

安装前先比对摘要。

Get-FileHash -Algorithm SHA256 .\codex-bridge-1.0.0.tgz
npm install -g --offline --ignore-scripts .\codex-bridge-1.0.0.tgz
codex-bridge --version

也可从发布标签安装源码:

git clone --branch v1.0.0 https://github.com/devcodex-labs/codex-bridge.git
cd codex-bridge

启动前,若 %LOCALAPPDATA%\CodexBridge\config.json 已存在,请先核对。没有显式配置且默认配置不存在时,Bridge 使用只读工作区。codex-bridge config edit 在文件缺失时创建高级模板,配置为 danger-full-access、on-request、auto_review 和 high。使用前先核对沙箱并设置精确的授权工作目录。

tarball 安装运行 codex-bridge start,源码安装运行 npm run start。离线 npm 安装仅涵盖该包。没有缓存时,启动器仍需下载固定版本的 Tunnel Runtime,并联网访问已授权的上游。在另一个终端按安装方式运行 codex-bridge doctor 或 npm run doctor。在 ChatGPT 中启用已有的私有 Connector,先请它检查 Bridge 是否就绪,再在 Authorized directories 列出的目录中试跑一个只读任务。

支持范围和许可证

首发路径为 Windows 11 和已有私有连接。全新 Connector 绑定、旧版本升级以及所有客户端变体尚未验证。可选浏览器和桌面工具取决于本机 Codex 环境。Windows MCP 已实测启动应用,完整桌面控制、真实浏览器登录后的续接尚未验证。审批卡不能单独完成远程批准。

Codex Bridge 源码采用 MIT 许可证,包内保留各依赖的许可证。Tunnel Runtime 单独获取,适用 Apache-2.0 并保留上游通知。参阅 Windows 指南和支持矩阵。


Codex Bridge v1.0.0

Use ChatGPT to discuss, plan and review work with Codex running on your Windows computer. Codex Bridge forwards requests to local Codex, which reads your repository and runs commands, edits and tests under its native permissions.

What you can do

  • Start or resume a Codex session in an authorized workspace and follow its progress from ChatGPT.
  • Refresh the progress card and see the native elapsed duration when available.
  • Answer supported native Plan questions in ChatGPT and choose a model and reasoning effort available in your Codex installation.
  • Review human approval requests in the card. To allow an action, review it and independently confirm in the local Bridge console. Native automatic review may handle eligible requests when configured.

Before you install

Use Windows 11, PowerShell 7.2+, Node.js 22.13+ with npm and a locally installed, signed-in Codex CLI. You also need an existing, authorized private ChatGPT Connector and Tunnel. Bridge cannot provision either. Keep the Tunnel ID and Runtime Key out of chat and enter them only at the local PowerShell prompts. Git is needed for the source installation only.

Install and try it

Download codex-bridge-1.0.0.tgz from GitHub Releases. Its SHA-256 is:

10f82745893b60bfe9a2e8e064a20e9b5463dd37702c111100a1f7d52e37f3ea

Compare that digest before installing.

Get-FileHash -Algorithm SHA256 .\codex-bridge-1.0.0.tgz
npm install -g --offline --ignore-scripts .\codex-bridge-1.0.0.tgz
codex-bridge --version

Alternatively, use the release source tag:

git clone --branch v1.0.0 https://github.com/devcodex-labs/codex-bridge.git
cd codex-bridge

Before starting, check %LOCALAPPDATA%\CodexBridge\config.json if it exists. With no explicit or default config, Bridge uses a read-only workspace. codex-bridge config edit creates an advanced template if the file is missing. It uses danger-full-access, on-request, auto_review and high. Review the sandbox and set your exact authorized working directories before using it.

Run codex-bridge start (tarball) or npm run start (source). The offline npm installation covers the package only. The launcher downloads the pinned Tunnel Runtime when absent from cache and needs network access to the authorized upstream service. In a second terminal, run codex-bridge doctor or npm run doctor as appropriate. Enable your existing private Connector in ChatGPT, ask it to check Bridge readiness, and then ask it to run a simple read-only task in a directory listed under Authorized directories.

Support and license

Windows 11 with an existing private connection is the first-release path. New Connector binding, upgrades from an older installation, and all client variants are not established. Optional browser and desktop tools depend on your Codex environment. Windows MCP app launch has been tested. Full desktop control and resuming after a live browser sign-in remain unverified. The approval card alone cannot authorize a remote request.

Codex Bridge source is licensed under MIT. The package preserves bundled dependency license files. The separately obtained Tunnel Runtime is distributed under Apache-2.0 and retains upstream notices. See the Windows guide and support matrix.