Skip to content

Codux v0.4.0

Choose a tag to compare

@github-actions github-actions released this 23 Apr 03:14
· 958 commits to main since this release

中文

Changed

  • 将终端后端切换为 Ghostty,并完成后续工作区接入收口,让分屏、浮窗终端、项目切换以及恢复后的终端会话统一运行在同一条渲染链路上。
  • 将应用、终端、AI 统计、Git、设置、历史索引和宠物等多个超大模块继续拆分为更聚焦的小单元,降低后续维护成本和回归风险。
  • 调整 AI 历史索引配置与 Ghostty 外观处理,包括内置 Ghostty 主题收口以及后台索引的低占用策略。
  • 调整宠物成长、属性评分、多语言属性提示和实时刷新链路,让宠物状态更稳定地跟随领蛋后的实际使用行为,也更容易持续维护。

Fixed

  • 修复 Ghostty 终端在项目切换、浮窗、终端恢复、桥接刷新以及浮出/收回过程中的生命周期问题,避免工作区切换时出现终端内容、输入或滚动异常。
  • 修复实时 AI 统计链路中的会话串值和重复计数问题,工具切换、完成态、历史 indexed 叠加以及项目总量显示现在不会再继承旧会话 token、重复叠加 overlay 或在实时/历史之间漂移。
  • 修复宠物成长和 AI 统计依赖的历史会话时间过滤语义,跨 cutoff 持续中的会话现在会按正确时间边界统计,而不会整条丢失或混入不该计入的旧 token。
  • 修复 Ghostty 内置主题颜色解析问题,内置主题在重启后现在可以正确解析并生效。
  • 修复宠物成长账本、水位清理和属性刷新边界问题,孵蛋、经验和属性状态不再因为孤儿实时会话或刷新边界而出现漂移或异常放大。

English

Changed

  • Replaced the terminal backend with the Ghostty stack and completed the follow-up workspace integration work so split panes, detached terminal windows, project switching, and restored terminal sessions now run on one consistent rendering path.
  • Split several oversized app, terminal, AI stats, Git, settings, history-indexing, and pet modules into smaller focused units to keep the codebase easier to maintain and reduce future regression risk.
  • Tuned AI history indexing profiles and Ghostty appearance handling, including curated bundled Ghostty themes and lower-overhead background indexing behavior.
  • Refined pet progression, trait scoring, localized trait tooltips, and realtime refresh flow so pet state follows post-claim activity more consistently and remains easier to reason about.

Fixed

  • Fixed Ghostty terminal lifecycle issues across project switching, floating windows, restored terminals, bridge refreshes, and detached terminal handoff so terminal content, input, and scrolling stay stable during workspace transitions.
  • Fixed live AI runtime accounting so tool switching, completed turns, indexed-history overlays, and realtime project totals no longer leak old session totals, double-count overlays, or drift between live and indexed views.
  • Fixed historical AI session queries used by pet progression and statistics so post-cutoff session buckets are counted with the correct time boundary semantics instead of dropping ongoing sessions or mixing in the wrong totals.
  • Fixed bundled Ghostty theme color parsing so selected built-in themes now resolve and apply correctly after relaunch.
  • Fixed pet progression bookkeeping, stale session-watermark cleanup, and trait refresh edge cases so egg, XP, and trait state no longer drift or get inflated by orphaned realtime session state.