文件最后提交记录最后更新时间
fix: handle ConversationTruncated and UndoFailed events in headless CLI match 1 天前
fix(telemetry): 引入 partial/ready 两阶段写入和 sending 标记,防止读取未写完的 segment 及多进程重复发送 1 个月前
fix(lints): silence platform-specific dead-code on Windows cargo build on Windows surfaced four warnings against code that's only callable on a subset of targets — none reachable from a Windows binary, but the symbols must still exist for portable unit tests: * EscOutcome::{Cancelled, OtherInput} variants (auth/oauth.rs): constructed only by the Unix wait_for_esc_or_timeout. The Windows path stubs to thread::sleep + Timeout, but the test suite (classify_input_*) exercises all variants on every target. Suppress dead_code on the enum for windows only. * classify_input fn (auth/oauth.rs): same story — Unix-only call site, portable tests. cfg_attr-scoped allow. * find_executable_on_path fn (notify.rs): only the macOS branch of spawn_system_notification looks up terminal-notifier on PATH. Linux uses notify-send, Windows shells out to powershell.exe. The test missing_executable_lookup_returns_none runs on every target, so the function stays callable; allow dead_code on non-macOS. * uninstall.rs build_context's let mut rc_files: the mut is only used by the #[cfg(unix)] populate block. Suppress unused_mut on non-unix instead of duplicating the let with cfg gates. All four are #[cfg_attr]-scoped — Unix builds keep the lints active so a future genuinely-dead symbol still gets flagged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> 26 天前