usage

usage 0.28.13

工具與目錄
在這頁

新功能 1 項

01

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

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

官方原文

**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.