繁體中文

新功能

離席自動起跑,現在真的會啟動也不會誤響

你離開電腦前開啟 Auto-start 5-hour Session(下個 5 小時階段自動啟動),它現在就會準時啟動。Mac App 的 PATH 很窄,找指令的名單漏掉原生安裝器放置 claude CLI(從終端機下指令操作 Claude 的工具)的 ~/.local/bin/claude,背景 ping 找不到可執行項目便放棄;已補上。它也只信任 statusLine hook(會提供終端機底部狀態列資料、在特定事件觸發的小程式)的即時資料來判斷重設時間,避免備援來源把缺少的 resets_at 當成剛解析時間,下一次刷新又誤認額度已過期。到期滿兩分鐘才 ping,濾掉誤報,離席自動啟動不會明顯變慢。像定時洗衣機終於找得到插座,也不會把剛按下的按鈕誤當成洗完。說明視窗改成先講睡眠會暫停、醒來會恢復;睡眠設定改用 System Settings 搜尋。

English

FEATURE

Away-time auto-start now runs reliably without false alarms

Turn on Auto-start 5-hour Session before stepping away, and it will now fire on time. The Mac app's .app bundle has a narrow PATH, and its command lookup list had omitted ~/.local/bin/claude, where the native installer puts the claude CLI. The background ping could find nothing to run and quietly give up; that location is now included. The reset-time check also now trusts only live statusLine hook data, supplied by a small program that is triggered by particular events and feeds the terminal's bottom status bar, rather than fallback data that can treat a missing resets_at value as the parsing time and later mistake it for an expired session. It waits until expiry is at least two minutes old before pinging, filtering that false alarm without meaningfully delaying a real away-time auto-start. Think of a timed washing machine that can finally find its outlet and no longer mistakes a freshly pressed button for a completed wash. The dialog now leads with the important bit: it pauses during sleep and resumes on wake. Sleep instructions send you to System Settings search, so you do not have to hunt through differently named panes on different Macs or macOS versions.

原始 CHANGELOG

Original changelog離席自動起跑,現在真的會啟動也不會誤響
**Auto-start 5-hour Session now actually fires**: the `claude` CLI resolution list was missing `~/.local/bin/claude` (where the native installer puts it), so inside the `.app` bundle's narrow `PATH` the ping silently found nothing to run and gave up. Also hardened against a false "expired" read: the reset-time check now only trusts the live statusLine hook data source (fallback sources can default a missing `resets_at` to parse time, which the next refresh would misread as already-expired) and requires the expiry to be at least 2 minutes old before firing, filtering out that false positive without meaningfully delaying a real away-from-keyboard ping. Dialog copy from 0.28.12 also simplified — leads with "pauses on sleep, resumes on wake, nothing to manage" and routes the sleep-setting instructions through System Settings search (the exact pane/wording varies by Mac model and macOS version) with a fallback suggestion to ask Claude Code to walk through it.