v2.2.10
·
1168 commits
to master
since this release
Highlights
- You can now switch and refresh backends more reliably: agent settings are correctly scoped to the active backend, and backend selection stays consistent in modals and after page refreshes (#181).
- Fixed idle-runtime cleanup for Claude and Codex so unused runtimes are evicted more safely without disrupting active or queued sessions (#180).
- Fixed several race conditions in agent cleanup and teardown logic, reducing cases where runtime state could become inconsistent during automatic cleanup.
Changes
Changed
- Scope agent settings to the active backend to prevent cross-backend setting leakage (#181).
- Normalize the selected backend after refresh for more consistent routing behavior.
- Normalize the visible modal backend and prefer the visible backend when resolving modal data.
- Preserve non-Slack backend options when updating routing state.
- Centralize shared agent defaults.
Fixed
- Evict idle Claude and Codex runtimes with safer state handling (#180).
- Revalidate idle teardown state during cleanup to avoid stale teardown decisions.
- Close race windows in idle cleanup flows for agents.
- Harden idle eviction race handling during cleanup.
- Skip Codex cleanup when Codex is disabled.
- Keep queued Claude sessions active during runtime management.
- Track Claude runtime session keys more accurately.
- Guard Codex idle eviction state to avoid invalid cleanup transitions.
Full Changelog: v2.2.9...v2.2.10
Highlights
- 你现在可以更稳定地切换和刷新后端:Agent 设置会正确绑定到当前激活的后端,刷新页面或打开弹窗时,后端选择也会保持一致(#181)。
- 修复了 Claude 和 Codex 的空闲运行时清理逻辑:现在可以更安全地回收未使用的运行时,同时避免误伤仍在运行或排队中的会话(#180)。
- 修复了多处 Agent 清理与回收过程中的竞态问题,减少自动清理时状态异常或不一致的情况。
Changes
Changed
- 将 Agent 设置限定到当前激活的后端,避免不同后端之间的设置相互串用(#181)。
- 统一刷新后的已选后端状态,提升路由行为一致性。
- 统一弹窗中显示的后端,并在解析弹窗数据时优先使用当前可见后端。
- 保留非 Slack 后端的配置选项,避免路由状态更新时丢失。
- 集中管理共享的 Agent 默认配置。
Fixed
- 修复 Claude 和 Codex 空闲运行时的回收逻辑,提升状态处理的安全性(#180)。
- 在清理过程中重新校验空闲 teardown 状态,避免基于过期状态做出错误回收。
- 修复 Agent 空闲清理流程中的竞态窗口问题。
- 加强清理过程中对空闲回收竞态的处理。
- 修复 Codex 被禁用时仍触发清理的问题。
- 修复 Claude 排队中的会话被错误视为空闲的问题。
- 修复 Claude 运行时会话键追踪不准确的问题。
- 修复 Codex 空闲回收状态保护不足的问题,避免非法状态切换。
Full Changelog: v2.2.9...v2.2.10