Skip to content

Better-Codex v1.0.0

Latest

Choose a tag to compare

@MaxMiksa MaxMiksa released this 28 Nov 08:24
· 10 commits to main since this release

Highlights / 主要更新

Single-Runtime Convergence & Lighter Portable Package / 单一运行时收敛与便携包瘦身

  • Node.js 24 + thin Windows native C# helper: Converged the supervisor, per-window session statistics collector (including magpie integration), 5-day SQLite runtime history (node:sqlite), startup diagnostics, graceful Restart Manager recovery, and build/test tooling onto a single Node.js 24 runtime plus a 61 KB zero-SDK Windows native helper (BetterCodexNative.exe).
  • Removed Python runtime dependency: Eliminated bundled Python, psutil, pywin32, and per-window Python collector child processes. Portable ZIP size dropped from 55.6 MB → 37.2 MB (~33% smaller).
  • Feature-First modular TypeScript + CSS frontend: Reorganized all 8 UI enhancements into self-contained src/features/<name>/ modules with strict TypeScript, separated CSS stylesheets, esbuild bundling, and per-feature fault isolation.

Included UI & Preview Improvements / 同步包含的界面与预览优化

  • Auto-hide composer: Added smooth first-key typing expand animation and preserved text selection dragging without focus stealing.
  • Native file-page breadcrumb: Stabilized truncation so fixed-width toolbars no longer oscillate.
  • Workspace preview bridge: Reduced decoding/staging overhead with EXIF orientation probing, larger images, extended raster formats, and native PDF preview alignment.

Breaking Changes & Lossless Upgrade / 升级与迁移说明

  • Retired legacy tools/token-hud-local/ compatibility bridges in favor of direct src/ entries and package.json scripts.
  • Simplified runtime layout to flat .runtime/settings.json, .runtime/state/, and .runtime/launchers/.
  • Automatic lossless migration: Upgrading from v0.5.x automatically preserves all existing preferences and recovery records while leaving the previous folder untouched as backup. See docs/UPGRADE-v1.md.

Verification / 验收摘要

  • Isolated checks: node scripts/check.mjs --all — 28/28 suites (1,089 assertions) passed.
  • Package checks: node scripts/verify-package.mjs — 30/30 checks passed (restricted PATH, Unicode/space relocation, legacy migration, zero Python/legacy files).

Downloads & Checksums / 下载与校验

  • Portable (recommended for Windows 11 x64): better-codex-v1.0.0-windows-x64-portable.zip (37.22 MB, bundled Node.js 24 — no Python or npm needed)
  • Source: better-codex-v1.0.0-source.zip (1.54 MB)
  • Checksums: SHA256SUMS.txt