Skip to content

v0.4.4 — 运行诊断增强与启动版本提示

Choose a tag to compare

@Rice-dog Rice-dog released this 09 Oct 10:40
· 15 commits to main since this release
cc16715

简体中文

本版让 Runtime Information 更清楚地回答“哪一步出错、花了多久、上下游发生了什么”,并加入启动后的版本提示。通过 Code-Codex → Runtime Information → Copy Details,可复制当前选中运行的完整保留记录。

更新内容

  • 插件下载记录缓存检查、资源选择、可信重定向、HTTP 状态、接收进度、大小与 SHA-256 校验、缓存提交及模块加载,使用操作编号和请求编号串联过程。
  • 网络失败提供脱敏错误链、错误分类、超时、已接收字节和代理配置线索;发送失败后可进行独立 DNS 检查,并明确它不是原请求的网络计时。保留现有网络、安全校验与下载策略。
  • 补全 Bridge/App Server、项目切换、目录分页与监听、预览、Git、更新及可观察全局异常的过程和结果;成功的高频轮询保持静默。
  • 运行信息采用缩进详情并统计失败/中断事件。Copy Details 和 Export 在日志刷新失败时停止,避免提供旧内容。继续保留最近 10 次运行,每次最多 5 MiB,超过限制删除该次最旧事件。
  • 修复同版本再次激活时新菜单与复用组件的日志连接不一致;共享最新日志连接,并保持单个事件发送器和仅限日志的接口权限。
  • 每次启动后台检查一次新版本:有更新时彩虹淡入最新版本号,显示 1.5 秒后恢复当前版本并保留更新圆点;已是最新则短暂绿色确认。失败采用中性提示,不自动下载安装。
  • 修正 Windows PowerShell 5.1 打包清单的数组展开,保持资产清单扁平且可校验。

升级与插件

运行本版安装器升级即可;本机验证采用更新方式,未退出正在运行的官方 Codex。已有参数、个人素材和已验证插件缓存保留。

24 个插件代码和资源均未变化,继续从已公开的 v0.3.96 插件资产 按需下载;本 Release 只提供五项核心附件,不重复上传插件。已缓存且通过校验的插件无需重新下载。

验证与兼容范围

  • UI 构建/类型检查、390 项 Rust 测试通过(3 项忽略)、13 项诊断专项、58 项市场检查、20 项版本提示检查,以及十种预览模块、Home、日志与脱敏回归通过。
  • Windows x64 本机升级及组件 SHA-256、版本指针、注册表、快捷方式核对通过;官方 Codex 包版本 26.1002.7124.0 的既有会话中文件树和运行信息可用。宿主检查使用了临时 CDP focus 模拟,测试后已撤销。
  • 实际 GitHub Aurora 下载完整阶段验证来自本轮中间 v0.4.3,最终 v0.4.4 重验诊断及核心回归。未重新验证官方完整冷启动、独立 MSI GUI 安装或所有 GPU/文件格式。
  • 日志仅涵盖可观察事件,不保证一次报告能定位所有官方内部故障,也不提供原请求的独立 DNS/TCP/TLS 阶段计时;复制前仍可检查报告内容。

下载

  • 推荐:CodeCodex-0.4.4-x64-setup.exe
  • 备选:CodeCodex-0.4.4-x64.msi
  • 便携包:CodeCodex-0.4.4-x64.zip
  • 卸载器:Uninstall-CodeCodex.exe
  • 校验:SHA256SUMS.txt

用 Get-FileHash 计算下载文件的 SHA-256,并与本 Release 校验文件中的同名条目比较。

English

This release makes Runtime Information explain which stage failed, how long it took and what happened around it, and adds per-launch version feedback. Use Code-Codex → Runtime Information → Copy Details to copy the complete retained log for the selected run.

Changes

  • Plugin downloads record cache checks, asset selection, trusted redirects, HTTP status, transfer milestones, size/SHA-256 verification, cache commit and module loading, correlated by operation and request IDs.
  • Network failures include redacted cause chains, classifications, timeouts, received bytes and proxy configuration metadata. A send failure can trigger an independent DNS probe, explicitly distinguished from the original request. Existing network, integrity and trust policies remain.
  • Extends Bridge/App Server, workspace switches, directory pagination/watchers, previews, Git, updates and observable global errors with process and outcome records. Successful high-frequency polls remain quiet.
  • Runtime Information displays indented details and failure/interruption counts. Copy Details and Export stop when log refresh fails, preventing stale reports. Retention remains the latest 10 runs, up to 5 MiB per run; the oldest events of that run are removed at the limit.
  • Fixes logging-connection sharing between a reinjected menu and a reused same-version component, with a single event pump and logging-only shared dispatcher permissions.
  • Checks for updates once in the background per launch. An available version fades in with rainbow colors, remains for 1.5 seconds, then returns to the installed version with an update dot. An equal release gets brief green confirmation; failures stay neutral. Nothing downloads or installs automatically.
  • Fixes root-array enumeration in Windows PowerShell 5.1 packaging so the asset inventory remains flat and verifiable.

Upgrade and plugins

Run this installer to upgrade. The local update was verified without quitting the running official Codex process. Existing settings, personal media and verified plugin caches are retained.

All 24 plugin packages/resources are unchanged and continue downloading on demand from the published v0.3.96 plugin assets. This release contains five core attachments only, without duplicating plugins. Verified cached plugins do not need to be downloaded again.

Validation and compatibility

  • UI production build/typecheck; 390 Rust tests passed, 3 ignored; 13 diagnostic, 58 market and 20 version-feedback checks; ten preview modules, Home, runtime-log and redaction regressions passed.
  • Windows x64 upgrade, installed-component SHA-256, version pointer, registry and shortcut checks passed. The tree and Runtime Information worked in an existing official Codex 26.1002.7124.0 session. Native renderer checks used temporary CDP focus emulation, disabled afterward.
  • An actual GitHub Aurora download with complete stage records was verified in the intermediate v0.4.3 build; diagnostic/core regressions were rerun for final v0.4.4. Full official cold startup, independent MSI GUI installation and all GPUs/file formats were not revalidated.
  • Records cover observable events, not all official internals; one report cannot guarantee diagnosis of every failure. Separate timings for the original request's DNS/TCP/TLS stages are unavailable. Reports can still be reviewed before sharing.

Downloads

  • Recommended: CodeCodex-0.4.4-x64-setup.exe
  • Alternative: CodeCodex-0.4.4-x64.msi
  • Portable: CodeCodex-0.4.4-x64.zip
  • Uninstaller: Uninstall-CodeCodex.exe
  • Checksums: SHA256SUMS.txt

Compute SHA-256 with Get-FileHash and compare it with the matching entry in this release's checksum file.

Full changelog: v0.4.0...v0.4.4