Repository navigation
Releases
WebCodex v0.5.12
WebCodex v0.5.12
- Desktop clears the stale green Tunnel indicator when polling stops. It shows Tunnel polling and local MCP availability separately.
- The Tunnel reconnects faster when polling recovers in the same process. Recovery uses short polls and quicker retries after transport failures, with periodic longer polls for slow routes. It still honors the server’s
Retry-Afterinstructions.
中文
- 轮询停止后,桌面端会清除残留的绿色隧道连接提示,并分别显示隧道轮询状态和本地 MCP 的可用状态。
- 隧道在同一进程内恢复轮询时,重连更快。恢复期间会使用短轮询,传输失败后也会更快重试,同时定期使用更长的等待时间照顾慢线路。服务端发出
Retry-After时,仍按其要求等待。
WebCodex v0.5.11
WebCodex v0.5.11
- Space the connection cards and the first-read guide consistently in Desktop.
- Accept the cached ChatGPT
runtime_statusandtool_manifestnames. Route cachedfinish_coding_taskandshow_changescalls through current MCP admission, including support for the old recording session field on the affected calls. - Restore the complete stable update catalog for Windows, macOS and Linux.
Windows users on v0.5.10 should run the v0.5.11 Full installer for their architecture for the first upgrade. The installer can upgrade the existing installation and retain its configuration and data. If the Desktop manages a local Runtime with a manually patched component, quit Desktop and run the v0.5.11 Desktop setup over the existing installation. Later complete stable releases are discoverable in Desktop.
中文
- 调整桌面连接卡片与 ChatGPT 试读提示之间的间距。
- 兼容旧 ChatGPT 连接缓存的
runtime_status、tool_manifest、finish_coding_task和show_changes调用。在受影响的请求上按现有规则校验旧的会话记录字段。 - 恢复 Windows、macOS 和 Linux 的完整稳定版更新清单。
Windows 上使用 v0.5.10 的用户,首次升级请运行对应架构的 v0.5.11 完整安装包。安装器支持原位升级并保留配置和数据。如果本机运行时由桌面端管理,且其中有手动打过补丁的组件,请先从托盘退出应用,再用 v0.5.11 桌面安装包装到原目录。之后有新的完整稳定版时,可在桌面端检查更新。
WebCodex v0.5.10
WebCodex v0.5.10
English
This Windows-first release provides x64 and ARM64 packages. Linux and macOS will follow in a later full release (v0.5.11 or higher). The previous full-platform release remains latest.
- Explain
edit_conflictresults with concrete conflict details and recovery guidance, preserving edit validation and execution-authority boundaries. - Record Tunnel terminal-upload failures after retries are exhausted, without classifying healthy unsettled work as failed.
- Clarify safe Tunnel recovery guidance while preserving Tunnel identity and receipts. Uncertain delivery does not authorize replay.
- Update Cargo current-layout test fixtures and fix Windows test-lock handling, retaining validation and lock-contention checks.
The historical MCP 408 root cause remains unproven. The observed connection recovered after reconnecting; this release does not claim a root-cause repair for that incident.
Choose the Windows installer matching your x64 or ARM64 architecture. Publication is GitHub-only to 9holy/webcodex; no npm package is published.
中文
本次先发布 Windows x64 和 ARM64 安装包。Linux 和 macOS 将随后续完整版本(v0.5.11 或更高)发布;此前的全平台版本继续保持为 latest。
- 为
edit_conflict提供具体冲突信息和恢复提示,保留编辑校验与执行权限边界。 - 在重试耗尽后记录 Tunnel 终态上传失败,不将健康但尚未结束的工作标为失败。
- 澄清安全的 Tunnel 恢复提示,保留 Tunnel 身份及回执。交付结果不确定不代表获得重放授权。
- 更新当前 Cargo 布局的测试夹具并修复 Windows 测试锁处理,保留校验与锁竞争检查。
历史 MCP 408 的根因仍未得到证明。已观察到的连接通过重新连接恢复;本版本不宣称修复了该事件的根因。
请选择与 Windows x64 或 ARM64 架构匹配的安装包。本次仅向 9holy/webcodex 发布 GitHub 版本,不发布 npm 包。
WebCodex v0.5.9
WebCodex v0.5.9
English
This all-platform release includes the merged PR #18 and PR #19 repairs for file import, saved Desktop startup configuration, SSH waiting and diagnostics across the supported Linux, macOS and Windows distribution.
Repairs and compatibility
- Mount each previously unvisited Settings category only on its first visit. Previously visited categories remain mounted, preserving drafts, pending operations and identity boundaries.
- Release the adapter preparation lock explicitly when preparation ends, even if a duplicated or inherited file descriptor remains open. Real lock contention and modified-resource refusal remain enforced. The deterministic duplicate-descriptor regression, focused Linux tests and native CI validation passed for the lock repair. Release-branch push CI run 42718386992 also passed on source b079; the final selected source must still pass its own exact-source gates.
- Accept the cached ChatGPT tool-import alias at the direct MCP boundary, while retaining the existing provenance, trust and permission checks. Alias compatibility does not authorize an otherwise rejected transfer.
- Backfill missing file-import defaults when Desktop restarts a saved Server configuration. This migration is cross-platform, preserves explicit
falsechoices, and retains existing credentials and profile settings. - Avoid creating selectionMotion visual mirrors for zero-size hidden items, and rebuild those mirrors when the items become visible. Observation, selection and cleanup semantics remain intact.
- Make SSH waiting follow the effective timeout rather than an inconsistent requested wait.
- Provide bounded resource and activity diagnostics. Evidence that an operation did not execute is reported only where the relevant gate proves nonexecution; diagnostics do not turn an uncertain effect into permission to retry.
Earlier Windows installer payload-consistency and bounded error-diagnostic fixes are retained. Installation ownership, private-state preservation, program hashes and execution authority checks remain enforced. Upgrade using the installer matching your operating system and architecture; existing installation and Environment state must be preserved. The earlier Windows-only v0.5.8 release and its published bytes remain unchanged.
Candidate validation
The selectionMotion deterministic regression suite failed 3 of 22 checks against the original implementation and passed all 22 against the candidate. The full Desktop (837), runtime (424), admin (107) and docx (23) suites, plus generation checks, passed. Native Intel A/B run 42719151171 passed all 837 Desktop tests in each of its three groups, including the candidate. Because all three groups passed, this does not establish that the optimization caused every earlier timeout to disappear. Final exact-source CI and release evidence are still required.
The two new Settings retention regressions failed against the previous logic. The candidate passed the complete 839-test Desktop suite, native Intel validation of all 839 tests and the 98-test retention suite. In native A/B/A run 42728398443, both baseline groups passed all 837 tests, so these results do not establish that the changes causally eliminate every Intel timeout. Final exact-source release qualification remains required.
Known validation limit
Live ChatGPT Host-to-real-Runner file transfer has not yet been verified. Source-level regression tests cover the repaired contracts but do not prove that real end-to-end transfer succeeds. The formal release gates below do not substitute for that missing live-host verification. Browser diagnostic run 42721404006 (job 129515987176), pinned to PR #24 commit c9e2899, passed all 14 real-geometry checks in Chromium on Linux with no page errors and a clean tracked source tree. This covers the exact shared module and production CSS in synthetic DOM fixtures with real layout; it does not verify native WebView or backend integration.
Validation and publication requirements
Final source 48f9b5ed9d7769f2c0d5013ac9fe5da501d626fe passed exact-source push CI 42731428931 and release-source evidence 42731428947, both attempt 1. The source tree is 03ceb24f7298ad0218fa88d3bbc652d8b8225c57. Tagged artifacts and public installer acceptance remain separate gates.
Exact-source CI and release-source evidence, the tagged six-platform formal build, persistent native macOS signing, and frozen public prerelease-byte verification are required. Windows x64 and ARM64 must each pass five real full-installer scenarios: fresh installation, unconfigured and configured upgrades from upstream v0.5.0, and unconfigured and configured upgrades from fork v0.5.4. Configured upgrades verify the running old Runtime, candidate source and four-program hashes, preserved state, service restart and cleanup.
Only after both same-attempt native reports pass may the same Release become stable/latest. Server image verification and the Intel macOS Desktop DMG/checksum pair are also required before completion. Publication is GitHub-only; no npm package is published. These are acceptance requirements, not claims that pending checks have passed. No new breaking installation-format change is intended; native acceptance remains the gate for compatibility.
中文
本次全平台版本包含已合并的 PR #18 与 PR #19 修复,涉及文件导入、Desktop 已保存启动配置、SSH 等待与诊断,纳入所支持的 Linux、macOS 和 Windows 发行版。
修复与兼容性
- Settings 中尚未访问的分类仅在首次访问时挂载;已访问分类继续保留挂载状态,保持草稿、待完成操作及身份边界。
- 适配器准备结束时显式释放准备锁,即使复制或继承的文件描述符仍保持打开。真实锁竞争与资源已修改时的拒绝机制继续保留。锁修复的确定性重复描述符回归、定向 Linux 测试与原生 CI 验证均已通过;源码 b079 的发布分支 push CI 42718386992 也已通过。最终选定源码仍须通过自身的精确源码关卡。
- 在直接 MCP 边界接受 ChatGPT 缓存的工具导入别名,同时保留现有来源证明、信任与权限检查。别名兼容不为原本应拒绝的传输授予权限。
- Desktop 重启已保存的 Server 配置时,补齐缺失的文件导入默认值。此迁移适用于跨平台,保留显式
false选择、现有凭据和配置档设置。 - selectionMotion 不再为零尺寸隐藏项创建视觉镜像,并在项目变为可见时重建镜像,保留观察、选择与清理语义。
- SSH 等待遵循实际生效的超时,而不是与之不一致的请求等待值。
- 提供有界的资源与活动诊断。仅当对应检查关卡能够证明未执行时,才报告未执行证据;诊断不会将不确定的执行结果转化为重试权限。
此前 Windows 安装包载荷一致性与有界错误诊断修复继续保留。安装归属、私有状态保留、程序摘要和执行权限校验继续严格执行。请按操作系统和架构选择安装包升级,现有安装目录与 Environment 状态必须保留。此前仅 Windows 的 v0.5.8 及其已发布字节保持不变。
候选验证
selectionMotion 确定性回归套件在原实现上 22 项中有 3 项失败,候选实现 22 项全部通过。完整 Desktop(837 项)、runtime(424 项)、admin(107 项)和 docx(23 项)套件及生成检查均已通过。原生 Intel A/B 运行 42719151171 的三组(包括候选组)均通过全部 837 项 Desktop 测试;由于三组全部通过,不能据此因果证明此优化消除了此前所有超时。最终精确源码 CI 与发布证据仍须通过。
新增的两项 Settings 保留状态回归在旧逻辑下失败;候选通过完整 Desktop 839 项、原生 Intel 839 项及 retention 98 项验证。原生 A/B/A 运行 42728398443 的前后 baseline 均通过 837 项,因此不能据此因果宣称这些变更消除了全部 Intel 超时。最终精确源码发布验收仍须完成。
已知验证限制
尚未验证真实 ChatGPT Host 到真实 Runner 的文件传输。 源码级回归测试覆盖修复后的契约,但不能证明真实端到端传输成功。下述正式发布关卡不能替代尚缺失的真实 Host 验证。浏览器诊断运行 42721404006(job 129515987176)固定于 PR #24 提交 c9e2899,已在 Linux Chromium 中通过全部 14 项真实几何检查,无页面错误,受跟踪源码保持清洁。范围是精确共享模块与生产 CSS 在合成 DOM 场景中的真实布局,不代表原生 WebView 或 backend 集成验证。
验收与发布要求
最终源码 48f9b5ed9d7769f2c0d5013ac9fe5da501d626fe 已通过精确源码 push CI 42731428931 与发布分支证据 42731428947,均为第 1 次尝试;源码树为 03ceb24f7298ad0218fa88d3bbc652d8b8225c57。标签产物与公开安装验收仍是独立关卡。
必须通过精确源码 CI、发布分支证据、固定标签的六平台正式构建、持久 macOS 原生签名及公开预发布字节校验。Windows x64 与 ARM64 各需通过五项真实完整安装场景:全新安装、从上游 v0.5.0 未配置及已配置安装升级、从本分支 v0.5.4 未配置及已配置安装升级。已配置升级核对旧 Runtime 的实际运行、候选源码及四程序摘要、状态保留、服务重启与清理。
仅在同次尝试的两份原生报告全部通过后,才能将同一 Release 推广为 stable/latest;完成发布还要求 Server 镜像验证和 Intel macOS Desktop DMG/校验文件对齐。本次仅通过 GitHub 发布,不发布 npm 包。以上描述验收要求,不表示尚待运行的检查已经通过。不计划引入新的不兼容安装格式变更,兼容性仍以原生验收为准。
WebCodex v0.5.8
WebCodex v0.5.8 — Windows
This is a Windows-only release with complete x64 and ARM64 installers. macOS, Linux, Server images, and npm publication are not included. The existing all-platform latest is not replaced; choose the Windows installer from this release page.
Changes
- Correct the v0.5.7 Unified Installer diagnostic mismatch: the CLI emits a JSON error envelope (
{"error":"installer_owner: ...","ok":false}) but the NSIS classifier previously recognized only rawinstaller_owner:text. - Recognize fixed JSON and legacy text error-code prefixes without exposing raw diagnostic text, account names, private file paths, or credential values.
- Provide distinct English/Chinese messages for ownership, registration, ACL, Environment state, unsafe paths, and missing installed programs. Native Windows NSIS regression tests cover actual JSON-shaped CLI errors and spoofed codes.
- Keep the original Windows account, registered installation path, Owner/DACL, Environment contents, process ownership, admission and recovery constraints. No automatic deletion, ACL weakening, privilege bypass, or forced overwrite is permitted.
Scope of this fix: the known error-classification defect is corrected. The underlying rejection reason on the user's historical v0.5.4 installation is still unknown; this release is not proof that that specific machine will accept an upgrade. If admission is denied, preserve the original installation and capture the new bounded diagnostic category.
Windows release verification
Source: 9d9200a9da040e1c72f8f627b077285cf954d02b on release/v0.5.8.
Exact-source CI: 42523755555.
Exact-source readiness: 42523756080.
Stable promotion is gated on public asset SHA-256 and size verification, native Windows x64/ARM64 builds, and five real complete-installer scenarios per architecture: fresh, upstream v0.5.0 unconfigured and configured, and this fork's v0.5.4 unconfigured and configured. Configured upgrades start with a running Runtime. All ten must succeed before publication is finalized.
Run the architecture-matched complete installer as the original Windows account and privilege level. Fully exit Desktop and its tray process, retain its registered directory, and back up important data.
中文说明
本版仅发布 Windows x64、ARM64 完整安装包,不发布 macOS、Linux、Server 镜像或 npm 包,也不接管全平台 latest。
- 修复旧版统一安装器把 CLI JSON 错误
{"error":"installer_owner: ...","ok":false}误识别为installer_classify_failed的问题。错误消息仅显示固定类别,不泄露账户、路径或其他私有信息。 - 新增 Windows 原生 NSIS 回归测试,覆盖真正的 JSON 错误格式、已有纯文本格式及伪造代码。
- 严格保留原账户、安装目录、Owner、ACL、Environment、安全验证与恢复保护,不通过绕过校验保证升级成功。
- 用户电脑上 v0.5.4 的实际底层拒绝原因尚无证据,因此本版不能声称已经彻底解决该机器的升级问题。
- 正式版必须通过 x64/ARM64 各五种真实安装场景及公开安装包 SHA-256 校验;升级时请使用原账户和原权限级别,完全退出托盘程序并保留原有安装目录。
WebCodex v0.5.7
WebCodex v0.5.7 — Windows
This release provides complete Windows x64 and ARM64 installers. macOS, Linux and Server images are outside this delivery. It does not replace the repository's all-platform latest release; download the Windows installer from this page and run it manually.
Fixes
- Installation and upgrades: accepts legitimate Windows OWNER RIGHTS permissions while retaining the original account, registered installation directory, admitted program owner and other-writer checks. Upgrade recovery preserves the original Owner and DACL. The full installer reuses the exact standard Desktop NSIS package whose four installed program hashes were captured.
- Diagnostic export: grants the main window the save-dialog permission required by Export support bundle. A dialog failure now identifies that stage and offers copying the diagnostic report. Cancellation stays silent; file-writing failures keep their original specific error codes.
- Call failure details: preserves existing structured reasons for unsupported execution-target options, unavailable capabilities and runtime errors through the activity view. Execution state remains separate: a rejected request is not reported as executed. A Windows application update cannot remove a safety check performed by OpenAI before a tool call reaches WebCodex.
- Codex discovery: retains support for the standard Windows standalone location and npm installations. Codex CLI is installed separately and needs the user's login or API configuration. The adapter requires Python 3.10 or newer; npm installations also require Node.js.
- SSH verification: retains the last connection verification result and time across Runner restarts. Existing entries without a stored verification record can use Verify connection again.
- Local components: distinguishes uninspected files, unavailable running-version evidence and the absence of an update candidate. Use Settings → About & updates → Inspect installed files for a real inspection.
Release validation
The Windows-only release self-check now isolates each updater test fixture's own platform scope from the workflow environment. This preserves checks for both all-platform and Windows-only bundles. The v0.5.6 attempt stopped at build preflight before any native build or Release was produced; its tag and failed-run evidence remain unchanged. This version follows the normal exact-source qualification, build and public-installer acceptance gates.
Updating
Choose the installer for the machine's architecture and run it under the original Windows account and installation privilege level. Exit the old Desktop, including its tray process, and retain the registered installation directory. The complete installer coordinates the verified, owned Runtime and preserves Environment state during an accepted upgrade.
Publication first exposes a prerelease. Stable promotion requires five scenarios on each native Windows architecture: fresh installation, unconfigured and configured upgrades from upstream v0.5.0, and unconfigured and configured upgrades from this fork's v0.5.4. Both configured scenarios start with a running Runtime. All ten scenarios use the actual public full installers; the v0.5.4 inputs are fixed by architecture, SHA-256 and size. Published v0.5.4 and v0.5.5 files remain unchanged.
中文说明
本版仅提供 Windows x64 和 ARM64 完整安装包,macOS、Linux 和 Server 镜像不随本次发布更新。为保留其他平台的现有更新入口,本版不接管仓库的全平台 latest;请从本页下载 Windows 安装包,手动运行升级。
- **安装与升级:**修正对合法 OWNER RIGHTS 权限的误判,保留账户、注册目录、程序所有者和其他写入者检查。完整包复用同一标准 Desktop 安装包,校验实际安装后的四个程序。
- **发布自检:**隔离更新器测试夹具的平台范围,防止继承 Windows-only 工作流环境后误判全平台样例;两种发布范围的检查都保留。v0.5.6 构建停在 preflight,尚未进入原生构建,也未生成 Release,其 tag 与失败记录保持不变。本版重新按正常流程完成准确源码资格、构建和公开安装包验收。
- **诊断导出:**补上保存对话框所需权限;对话框失败时明确提示并可先复制报告。取消操作不报错,文件写入错误继续显示具体原因。
- **执行失败提示:**保留“不支持的目标选项”“能力不可用”“运行时错误”等已有结构化原因,不再统一丢失为“原因不可用”。拒绝、已执行失败和结果未知仍分别显示。OpenAI 在工具调用送达 WebCodex 前执行的安全检查,无法通过更新这个 Windows 软件解除。
- **Codex:**保留独立安装及 npm 安装的识别修复。Codex CLI 需另行安装并登录或配置 API;适配器需 Python 3.10+,npm 方式还需 Node.js。组件表中的 WebCodex CLI 与 OpenAI Codex CLI 是两个程序。
- **SSH:**保留上次验证结果与时间,重启 Runner 后仍可查看;缺少历史记录的旧连接点一次“重新验证连接”。
- **本机组件:**到“设置 → 关于与更新 → 检查已安装文件”执行真实检查;尚未检查、运行版本不可用和没有候选更新分别呈现。
升级时使用原 Windows 账户及原安装权限级别,从托盘完全退出旧 Desktop,保留原注册安装目录。每个 Windows 架构均须通过五种真实完整包场景:全新安装、从上游 0.5.0 未配置及已配置升级、从本分支 0.5.4 未配置及已配置升级。两种已配置场景均先运行后台 Runtime;0.5.4 旧包按架构、SHA-256 和大小固定。两个架构共十种场景全部通过后才能推广为稳定版。
WebCodex v0.5.5
WebCodex v0.5.5
Windows full-installer payload consistency
The Windows full installer is built around the same native Desktop NSIS package used to collect its source manifest. Reusing that exact package keeps the installed Desktop and Runtime bytes tied to the four program hashes in the published manifest, without a second Desktop compilation under another bundle configuration.
The existing Windows Environment path, installation ownership, private-state preservation, and recovery checks remain required. Program hash verification remains strict for Desktop and all three Runtime programs.
Desktop setup and status
- Windows Codex setup discovers standard npm installations and the default standalone installation, with distinct guidance for a missing CLI, unavailable Node.js, and an unsupported or incomplete launcher. Codex CLI must still be installed separately and uses your existing Codex login or API configuration; models and account access are not bundled.
- SSH connections retain their latest verification time and result and provide an explicit action to verify again. Existing connections without saved verification history need one new verification.
- Local component status distinguishes an unavailable update candidate from a component that has not been checked, and reports the observed state of the Runtime owned by Desktop.
Acceptance required before stable publication
Stable publication requires successful exact-source CI and native evidence, a successful formal release build, and verification of the frozen public prerelease assets. Native Windows x64 and ARM64 must each pass fresh installation, upgrade from an unconfigured upstream v0.5.0 Desktop, and upgrade from a configured upstream v0.5.0 Desktop with its owned Runtime running.
Those checks must verify the actual full installer, all four installed program hashes, source identity, preserved installation and Environment state, unrelated process survival, service restart, and owned cleanup. Both same-attempt reports must be retained and verified before the same Release can become stable/latest. Image publication and the Intel macOS Desktop DMG/checksum pair remain required final checks.
These are the release requirements; this note does not assert that any pending build, installation scenario, or publication has already succeeded. The existing v0.5.4 prerelease and its artifacts remain unchanged.
WebCodex v0.5.4
WebCodex v0.5.4
Windows 完整安装包升级
- 修复旧 Desktop 保存的 Windows 路径与安装器传入路径表示不同导致的安装身份核验失败。
- 兼容原账户使用管理员令牌安装、程序由 Administrators 组拥有的合法旧安装;仍严格核对原用户、注册安装目录和私有 Environment,回滚恢复旧程序时保留原所有者与 DACL。
- 完整包继续使用原安装目录,并保留已有 Environment、连接配置和授权数据。
- 安装受阻时显示受限诊断代码,便于区分身份核验失败与需要退出旧 Desktop 的情况;诊断不包含凭据或原始子进程输出。
本版本先作为预发布公开固定安装包。Windows x64 和 ARM64 都完成真实新安装、未配置旧安装升级和已配置旧安装升级验收后,同一 Release 才推广为正式版。
请使用与本机架构一致的 Windows 完整安装包,按原 Windows 账户和原安装时的权限级别运行,退出旧 Desktop 后安装到原目录。已有 v0.5.3 的 tag、安装包和下载地址保持不变。
Windows installer upgrade
- Accept equivalent Windows path representations without relaxing the existing Environment identity and path safety checks.
- Support legitimate existing installations created under the original account's administrator token with Administrators-owned programs. The original user, registered installation directory, and private Environment remain strictly verified; rollback restores the old programs' original owner and DACL.
- Keep the original installation directory and existing Environment, connections, and credentials during an upgrade.
- Show bounded diagnostic codes when installation is blocked, without exposing credentials or raw child-process output.
The immutable preview assets must pass native Windows x64 and ARM64 fresh-install and upgrade acceptance before this same Release becomes stable/latest.
Run the matching Windows full installer under the original Windows account and the same privilege level used for the existing installation. Quit the old Desktop and keep its original installation directory.
WebCodex v0.5.3
WebCodex v0.5.3
这次更新修复 Runner 连接失去响应后需要手动重启才能恢复的问题,完善 SSH 登录配置、Chat 部署所需的授权入口,以及 Windows 安装目录选择和从上游版本直接升级的流程。活动页面会展示可用的失败原因、执行状态和下一步建议;关于与更新页面也明确使用本分支的发布来源,并保留上游致谢。
Runner:连接失去响应后自动恢复
已注册的 WebSocket 或 QUIC 连接如果连续 90 秒没有收到有效的应用层消息,Runner 会丢弃旧连接并自动重连,不再无限等待操作系统报告断网。正常 Pong 或其他合法入站消息会续期;本地成功发出 Ping 不代表对端仍在响应。单帧发送最长等待 30 秒;注册消息发送和等待确认分别限时 10 秒。
恢复保留同一 Runner 实例和现有 Job inventory,继续使用已有任务状态协调机制。它不会重启任务、更改授权或重放命令。普通请求在连接中断时若丢失结果,仍需核对执行现场;绑定旧连接的持久 Shell 按既有规则关闭,不会悄悄重建。上述期限是开始恢复的时间,实际恢复还取决于网络、认证和退避。
新增回归测试复现了旧实现的静默连接卡住,并验证修复后自动恢复、健康连接不会误断,以及部分写入超时后旧结果不会重复发送或转投新连接。
编码代理在中断、超时或初始化失败后的清理会在既有期限内等待直接子进程完成回收,覆盖进程树已经退出、直接子进程却还未完成回收的短暂间隔。清理仍限于任务拥有的进程树,并沿用原有清理期限。
活动记录:看清失败原因、结果和耗时
- Desktop 与 Web 活动详情显示安全的错误分类及下一步建议,区分连接权限不足、任务会话只读、Chat 独立审核、Runner 不可用、SSH 认证或主机身份问题等情况。没有可安全展示的记录时,会明确说明原因不可用。
- “请求已被拒绝,未开始执行”只用于已有明确未开始记录的调用;“执行失败”用于已记录的命令失败结果。缺少执行记录的旧调用显示“调用失败”,结果尚未确定时显示“结果尚未确认”,不会推断操作从未发生。
- 任务收尾调用失败会单独说明:这不能证明部署或后台进程失败。结果不确定时,下一步是查看原作业或任务会话、核对实际效果,再决定是否重试;界面不会自动重放操作。
- “距此次调用/返回”使用秒、分钟或小时显示,含义是记录的时间间隔。“Server 处理耗时”和更具体的状态分类放在可展开的技术详情中,避免把等待后续调用的时间误认为命令执行耗时,也不会把 Server 已返回响应解释为 Chat 已收到结果。
- 这些说明统一提供简体中文、繁体中文、英语、日语、韩语、德语和法语。新增的失败说明只使用有限的状态与错误分类,不读取或展示原始请求正文、凭据或完整错误日志。
Windows:选择安装目录,直接升级已有上游安装
- 完整安装包提供中英文安装向导。首次安装可以选择目录,也支持标准
/D=参数;目标文件夹尚不存在时可以正常创建。 - 已有 WebCodex 安装会自动识别并显示原目录。正常升级保留应用身份、设置、项目和凭据,不需要先卸载;移动已有运行环境属于单独的迁移操作。
- 从上游版本升级时,由新安装包内已经校验的 CLI 完成升级事务,避免旧版本的发布来源限制拒绝本次安装包。原有环境所有权、目录、服务和升级凭据检查继续生效。
- 安装器检查选定目录的具体程序文件。需要退出 Desktop 时会明确提示;完整安装包协调原有后台服务的停启,不会按通用程序名结束其他位置的同名进程。
- 升级失败时,可从外置候选 CLI 恢复被替换、损坏或缺失的原程序。正在执行且需要被恢复的 CLI/Desktop 会在产生恢复效果前被识别,防止程序锁住自己的恢复目标。
- 已安装上游版本或启用了后台运行环境的用户,建议使用完整安装包直接升级。标准安装包保留上游维护界面,正常升级应保留已有安装,不要选择先卸载。
SSH:直接填写服务器信息
- Desktop 的 SSH 表单默认展示主机或 IP、端口、用户名和登录方式;连接类型、已有 SSH 别名和默认工作目录放在高级设置中。支持已有系统认证、密码或本机密钥文件,以及加密密钥的口令。
- 资源名称会根据主机或别名建议一个简短的合法名称,仍可手动修改;手动修改后不会再被自动覆盖,已有同名资源也不会被自动改指另一台主机。
- 先检查服务器主机密钥指纹,由用户明确选择,再使用选定认证方式测试登录,测试成功后才能保存。修改连接信息或认证方式后需要重新验证。主机密钥变化、认证失败和连接超时分别返回可操作的错误;失败的连接不会保存成可用配置。
- 密码和密钥口令只通过专用 operator 接口传递,保存在 Runner 所在机器受访问权限保护的文件中,不放入模型工具参数、聊天记录或常规审计输出。界面和模型工具不回读这些秘密。
- 保存的连接继续使用同一套 managed SSH 资源。模型通过资源名称调用
run_shell或run_job;需要保持远端目录、环境变量等状态时使用持久 Shell。已有高级 SSH 别名配置继续可用。 - 固定的无输入登录探测改为显式使用
ssh -n,保留原有 15 秒期限、严格主机密钥检查和认证方式;普通远端命令与持久 Shell 的输入传输保持原样。发布前必须通过 Windows 原生客户端的密码、普通及加密密钥登录,以及保存重启和 MCP 远程执行验收。 - 修复 Windows 原生 SSH 在较长中文或其他多字节密钥路径下的口令提示匹配。系统会转换被截断的提示字符;WebCodex 现在对已选密钥的预期提示应用相同表示,再精确匹配。完整私钥绑定、主机身份验证和口令的一次消费规则保持不变。
- Windows 原生 SSH 的密钥文件和主机指纹文件路径通过 Unicode 参数传递,正确保留中文、空格以及路径中作为普通字符的百分号和美元符号。口令辅助程序使用已选 Runner 的准确程序名及目录,支持 Runner 位于中文目录或被重命名的场景,并避免从调用方目录误启动同名程序。无法完整表示的超长命令会在启动前拒绝。
- 已结束的私有文件租约主动释放文件锁,避免其他进程启动期间偶然继承的描述符延长旧租约、阻止废弃 SSH 文件清理。其他仍在使用该文件的独立租约继续保护文件,凭据访问控制和主机身份验证保持有效。
独立授权长时间后台进程
Desktop 的 设置 → 文件访问与权限 → 长期后台部署进程 提供授权入口。需要在启动调用结束后继续运行的后台进程,使用独立的 job:detach 权限。普通 job:run 权限本身不包含这项授权。
授权仍由用户明确操作,并绑定当前连接和账户。Chat 若使用另一份 OAuth 或 token 凭据,需要更新那份连接;给 Desktop 本地连接授权不会自动修改其他凭据。
OAuth 配置界面可以明确选择后台进程、SSH 和编码代理所需权限。已有客户端需要替换凭据并重新授权时,界面会给出新客户端信息和后续连接步骤,避免仅重新连接却继续使用旧的权限范围。
Codex:准备时选择网络访问
Prepare Codex / 准备 Codex 增加默认关闭的“允许网络访问”选项,用于下载依赖、推送代码或访问部署服务。CLI 可使用:
webcodex coding-agent prepare-codex --experimental --network --json选择网络访问后,Codex 仍使用精确 Project 范围内的 workspace-write 沙箱和 on-request 审批。准备结果保持禁用,保存、启用并应用 Runner 配置后,后续任务才使用新设置。此选项不会扩大写入目录、自动批准工具调用,或自动添加 GitHub、SSH agent、部署平台的登录凭据。
关于与更新:明确本分支来源,保留上游致谢
关于页面显示当前构建实际使用的发布仓库,并提供项目主页、问题反馈、文档、发布说明和下载入口。本分支发行版默认指向 9holy/webcodex;源码和 Docker 构建的默认发布来源也保持一致,自行构建时明确指定的发布仓库仍按原设置保留。更新检查、版本比较、下载来源和安装包校验继续遵守同一发布来源约束。
关于页面和中英文 README 明确说明本仓库派生自 yyjeqhc/webcodex,感谢上游作者与贡献者,并保留 Apache 2.0 许可证与原有署名。独立的上游项目链接用于说明项目来源,不会把更新下载切换到另一仓库。
更明确的权限恢复指引
因缺少请求权限而在执行前拒绝时,响应会明确标记任务尚未开始。提示区分固定 token、OAuth 连接、项目凭据和共享连接,给出相应的授权、换发凭据或重新连接入口。主机端工具拒绝、Runner 策略、Codex 联网或审批、SSH 登录、服务器系统权限和部署平台登录分别处理,避免把某一层的拒绝误报成全面禁止执行。
升级与兼容性
- 使用新 SSH 配置能力时,请升级 Desktop、Server 和目标 Runner。旧 Runner 缺少对应 capability 时会明确提示升级,不会收到它无法识别的新请求。
- Runner 所在机器需要可用的 OpenSSH 客户端;密钥路径指向 Runner 机器上的文件。
- Codex app-server 集成仍为实验性功能,需要 Python 3.10+、兼容的 Codex CLI,以及对应系统账户下的 Codex 登录。兼容性准备不代表模型账户、外部 MCP 服务或操作系统沙箱已经就绪。
- 已发布 v0.5.2 的 tag 和安装包保持不变;本次使用新的 v0.5.3 发布身份。
源码与验收记录
本版本源码固定为 883fe91ec125440a689827eb8857d04718331461。发布前要求该候选的 PR 集成检查 完成,包括原生 Windows SSH、实际安装和上游直接升级。发布流程还会绑定并复核同一源码的 push CI 与 补充发布验证 的准确成功尝试,再构建正式安装包;安装包名称、架构、大小、校验和和来源清单核验一致后才公开下载。补充验证覆盖 Windows ARM64、Linux ARM64、Intel Mac、端到端流程与两种架构的服务镜像。
保存 SSH 连接并重启 Runner 的验收现在先确认替换实例已完成项目目录同步,项目路径和根身份与重启前一致,并确认保存的连接已由该实例加载,然后只发出一次工作请求和远端执行。等待期间只读取就绪状态;未知项目、实例变化、身份不匹配或超时仍使验收失败。仅有 SSH 配置已加载不能替代完整项目就绪,旧版本或旧源码的成功结果也不能替代本候选验收。
安装与升级指南 · Runner 与 SSH · Codex 适配器
这是 9holy/webcodex 的 GitHub 安装包发行版,不更新上游 npm 包。
WebCodex v0.5.2
WebCodex 0.5.2
本版本为 9holy/webcodex 的 GitHub 安装包发行版,包含 Codex 原生接入、可操作的权限审批和安装发布修复。
这次更新
- Codex 原生接入(实验功能):Desktop 可自动查找本机 Python 和 Codex,检查实际安装版本与协议兼容性,并保存经过验证的代理配置。运行中的 Codex 使用自身工具和已配置的 MCP 服务。
- 权限审批界面:Desktop 和浏览器 Runtime Console 可以展示待审批操作的完整内容、项目、代理和过期时间,并提交该请求支持的单次决定。过期请求、重复提交和结果不确定的写入不会被自动重放。
- 权限问题诊断:区分调用凭据、项目范围、Runner 能力和代理审批,显示当前实际生效的权限信息,帮助定位拒绝原因。
- 安装与更新修复:安装包与服务镜像使用本仓库作为发布来源;完善 macOS 打包、跨平台配置准备和发布前校验。
开始使用
下载与电脑系统及架构对应的安装包,打开 Desktop。已有环境可保留配置、服务身份和项目,正常升级;不需要删除环境或重新配对。
要启用 Codex,进入 扩展 → 编程代理 → 配置 Codex(实验功能),选择 检查并准备,然后 保存并启用 Codex,按提示重启 Runner。本机需要 Python 3.10+、Codex CLI,以及本人已有的 Codex 登录或 API 配置。
需要处理审批时,在同一页面点击 查看权限审批,或在浏览器打开 Runtime → 权限审批。执行权限和审批权限分别管理;操作系统授权仍由系统确认。
Codex 接入范围
本版支持单次任务的启动、事件与工具活动观察、完成、取消,以及已适配的命令、文件和权限审批。接入会核验本机 Codex 版本、协议和二进制;升级 Codex 后可能需要重新准备。
本版尚不提供会话恢复、分叉、运行中 steer、动态工具注入或通用交互问答,也不包含 ChatGPT 平台内部的私有工具。兼容性准备成功不等于账号、模型服务和操作系统沙箱已经完成实际推理验证。
源码验证
本次源码已通过完整 PR CI(18/18 项)、发布源码 CI(18/18 项)和补充发布验证(11/11 项)。覆盖 Windows x64/ARM64 与 macOS Apple Silicon/Intel 的桌面程序构建和安装运行检查,以及 Linux ARM64、端到端流程和两种架构的服务镜像检查。
完整说明:Desktop 使用指南 · Codex 适配器说明
安装包附带校验和与来源清单。此发行版通过 GitHub 分发,不更新上游 npm 包。
安装包汇总记录
原生程序和安装包来自原生产运行,各平台生产任务均已成功。该运行的最终汇总因校验清单中的目录前缀不一致而停止;本次恢复运行保留原 tag 和安装包字节,仅规范化未公开的校验文件路径,并重新执行完整汇总与文件验收。