繁體中文

新功能

離席時,讓下一個 5 小時額度窗口先起跑

要離開電腦吃飯或出門,卻不想回來才開始等下一輪 Claude 額度嗎?usage 新增可自行開啟的「Auto-start 5-hour Session」選項。它發現 5 小時 quota window(Claude 額度每 5 小時重新計算的一段時間)剛重設、而且目前沒有執行中的 session(一次持續運作的工作階段)時,會在背景送出一次 claude -p ok --model haiku,立刻替下一個窗口起跑。像替洗衣機設好延後啟動:你人不在,倒數仍先開始;每個窗口最多只送一次,不會反覆叫醒它。這項功能預設關閉,不會碰 Anthropic 的 quota API(查詢額度的程式介面);找不到 claude CLI(從終端機下指令操作 Claude 的工具)也會安靜略過。開啟時會先說明 usage 和 Mac 必須保持醒著,但闔上筆電仍照常讓 Mac 睡眠。

English

FEATURE

Start your next 5-hour window while you're away

Heading out for lunch or errands and don't want your next Claude allowance window to start only when you return? usage now has an opt-in Auto-start 5-hour Session toggle. When it sees that a 5-hour quota window has reset and no session is running, it sends one background claude -p ok --model haiku command to start the next window immediately. Think of it like scheduling a washing machine: the countdown can begin while you're away, but it runs at most once per window rather than repeatedly nudging the machine. It is off by default, never calls Anthropic's quota API, and quietly does nothing if the claude CLI is unavailable. On setup, it explains that usage and your Mac need to stay awake; closing the lid still puts your Mac to sleep as usual.

原始 CHANGELOG

Original changelog離席時,讓下一個 5 小時額度窗口先起跑
**New opt-in menu toggle: Auto-start 5-hour Session.** When enabled, usage detects that your Claude 5-hour quota window has just reset and no session is currently running, then fires a single `claude -p ok --model haiku` in the background to immediately start the next window — useful if you're stepping away and want the next 5 hours counting down before you're back. Off by default; sends at most once per 5-hour window (self-throttled), never touches the Anthropic quota API, and silently no-ops if the `claude` CLI can't be found. Enabling it shows a one-time dialog explaining that it needs usage (and the Mac) to stay awake to fire — closing the lid always sleeps the Mac regardless of this setting.