Repository navigation
Releases
dsh-codex-bridge 0.2.6
Codex 没有远程入口:会话、CLI、执行环境都在那台电脑上,人一走出门就断了。这个版本把它接进 DSH 侧栏,并修掉了 macOS 上每次任务空转约 100 秒的问题。
安装包 · Downloads
按系统下载对应包,在 DeepSeek Harness 的「插件」管理中从本地安装,然后重新打开 DeepSeek Harness。
| 系统 | 文件 |
|---|---|
| macOS | dsh-codex-bridge-0.2.6-macos.tgz |
| Windows | dsh-codex-bridge-0.2.6-windows.tgz |
两个包由同一份源码打出,内容一致(只有 package.json 的 os 字段不同)。分开只是为了让你拿到对的那个。差别在验证范围:本次在 macOS 上实测,Windows 包沿用上游的 PowerShell 代理逻辑、未在 Windows 机器上复测。
这个版本做了什么
-
新增 macOS 系统代理探测。Codex CLI 的 Responses WebSocket 不读 macOS 系统代理,没有代理时每轮先空转约 100 秒重连(
Reconnecting 1..5/5)才回落 HTTPS。新增macProxyAddress()用scutil --proxy读出启用的代理并注入HTTPS_PROXY/HTTP_PROXY/ALL_PROXY,NO_PROXY默认localhost,127.0.0.1,::1。同机同模型实测:场景 单次任务耗时 改前 115.4 秒 / 119.2 秒 改后 7.1 秒 / 15.7 秒 -
补齐发布所需文件:MIT
LICENSE、中英双语README.md。 -
补齐 npm 元数据:
author、keywords、repository、homepage、bugs、engines、publishConfig。
功能
- 按项目列出本机 Codex / ChatGPT 会话,读取
~/.codex/thread_history_1.sqlite(或$CODEX_HOME) - 在 DSH 内查看任意会话的消息
- 在后台继续会话:离开详情页任务仍会执行,回来能看到已等待时间和最近回复
- 远程入口(Codex 本身没有):把本机 Codex 会话接进 DSH 侧栏,面板走现有 DSH 登录连接,已配对的手机能列会话、读内容、派任务 —— 电脑留在家里或公司,出门在外接着推进
- 重启辅助:会话写锁被占用时可从侧栏重启 Codex 桌面端
要求
- 支持
node:sqlite与 Web 客户端扩展的 DeepSeek Harness(在 DSH 0.2.5-rc.5 的接口上验证) - Codex CLI:通过
CODEX_CLI_PATH、PATH或应用包查找。macOS 只装了 ChatGPT 时,会自动找到ChatGPT.app/Contents/Resources/codex-cli/CodexCLI.app/Contents/MacOS/codex - 已登录的 Codex 桌面端,且本地至少有一个会话
注意
- 代理探测只在系统代理开启时生效;关掉后行为回到上游原样,不报错。
- 若宿主进程已带
HTTPS_PROXY/HTTP_PROXY/ALL_PROXY,沿用环境变量,不做探测。 - 包名
dsh-codex-bridge在 npm 上被他人占用,本项目暂未发布到 npm。
macOS and Windows builds are packed from the same source (only package.json's os field differs) — grab the one for your OS. This release was verified on macOS; the Windows build carries upstream's unchanged PowerShell proxy path and was not re-tested on Windows hardware.
Enables the macOS proxy probe so the Codex CLI stops idling ~100 s per task: scutil --proxy → HTTPS_PROXY / HTTP_PROXY / ALL_PROXY, measured 115.4 s / 119.2 s → 7.1 s / 15.7 s. Also adds an MIT LICENSE, a bilingual README, and npm metadata.
MIT © qwdqd-dwqd