You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
[1.0.1] - 2026-12-01
English
Fix permanent LOCK_CONFLICT / 30-second handoff timeouts after an abnormal exit or reboot when the OS reuses a stale session.lock PID (#61, thanks to @Xiong-SJ). Newly acquired locks now record optional boot and process-start identity on Linux and macOS (and detect dead/zombie owners on Linux) while preserving backward compatibility with legacy locks and fail-closed safety on Windows and permission errors.
Add stale-lock recovery guidance to the handoff timeout error message and bilingual FAQ (docs/faq.md, docs/faq.zh.md).
中文
修复旧会话异常退出或系统重启后、操作系统将原 PID 复用给其他进程(或新 pi 自身)导致 /wechat start 永久报锁冲突并等待 30 秒交接超时的问题(#61,感谢 @Xiong-SJ)。新写入的 session.lock 在 Linux / macOS 上附加可选的开机标识与进程启动标识(Linux 同时识别僵尸/已死进程),兼容升级前旧锁,并在 Windows 及无权限场景继续保守回退不误抢活锁。
在 30 秒交接超时报错与中英文 FAQ(docs/faq.md、docs/faq.zh.md)中补充确认无其他运行中 pi 会话后的 session.lock 清理恢复指引。