usage

usage 0.31.0

工具與目錄
在這頁

新功能 1 項

01

新增手繪筆記主題,額度化身方格紙半圓儀表

平常盯著制式數據介面覺得單調時,現在能換上更有手感的新樣式來掌握用量。這次新增的手繪筆記(Sketchbook)面板主題,將方格紙質感搬上螢幕。介面把每個額度(quota,各家服務分配的使用上限)畫成帶指針的半圓儀表,並以深墨色大字搭配代表色螢光筆底線標示百分比。既有的 50% 與 80% 警示配色與固定的 80% 記號完全保留,macOS 與 Windows 都支援,讓面板總數來到 15 款。⟦好比隨手翻開手繪帳本,以前只見到整排冷冰冰的規格數據,現在每筆紀錄都像用麥克筆畫上刻度與底線,一眼就能看清進度。⟧

官方原文

**Sketchbook panel theme.** A hand-drawn notebook look on grid paper: every quota shows as a half-circle gauge with a needle, the percentage sits in large ink over a highlighter stroke in each provider's color, and the 50% / 80% warning and danger colors and the fixed 80% mark still apply. Available on macOS and Windows; the panel count is now 15.

修正 3 項

02

Windows 面板完整顯示,底部操作按鈕不再被切掉

在直向高度較矮的高解析度螢幕上使用 Windows 版,再也不必煩惱底部按鈕被擠出畫面外。以前面板仰賴 pywebview(負責在桌面呈現網頁介面的工具庫)回報的尺寸,容易算錯空間,導致「立即更新」與「結束」按鈕被切掉。現在面板直接向 Windows 讀取目標螢幕扣掉工作列後的可用範圍,縮放比例與視窗大小也改用同一個螢幕計算,視窗底邊絕不超過工作列。即使縮到最小可讀比例仍放不下,面板也會自動轉成可以捲動瀏覽。⟦如同依照牆面高度調整的展示架,以前只顧著展開而把底層按鈕擠到地板下,現在先扣除邊界空間並支援捲動,讓所有操作隨時都能點得到。⟧

官方原文

Keep the whole Windows panel on screen on short high-DPI displays, so the Refresh Now and Quit buttons are no longer cut off ([#153](https://github.com/aqua5230/usage/issues/153)). The panel now reads the target monitor's work area straight from Windows instead of relying on the screen size pywebview reports, sizes the zoom and the window from the same monitor, never lets the window's bottom edge pass the taskbar, and becomes scrollable if even the smallest readable zoom cannot fit.

03

Antigravity 跨天對話每輪各自計日,日期分佈更精準

如果你習慣讓同一個 AI 對話跨好幾天持續進行,用量圖表現在能如實呈現每天的真實消耗。從 Antigravity CLI 1.1.18 開始,系統不再把每輪對話時間存在原本的位置,導致跨天交談的每一輪用量全被歸到對話開始的第一天。現在程式改從對話的 steps(記錄每一步互動細節的資料表)讀取每輪時間。系統同時會主動重建一次本機快取(cache,把算過的結果暫存起來直接用的機制),讓過去受影響的歷史日期全部重新計算校正。⟦跟逐日核銷費用的記帳本一樣,以前跨天出差只要寫在同一張申請單,所有花費全被算在出發第一天;現在改依每張明細的確切時間分別記帳,舊帳目也一併重新整理歸位。⟧

官方原文

Date Antigravity turns by their own time again. Antigravity CLI 1.1.18 and later no longer store a per-turn time where usage read it, so every turn of a multi-day conversation landed on the day it started. Turn times now come from the conversation's steps table, and the local caches are rebuilt once so older dates are recomputed.

04

修正 macOS 摺紙主題抖動,面板縮放不再反覆拉扯

在 Mac 上選用摺紙風格面板時,介面不再因為尺寸計算打架而產生惱人的微小震顫。以前 macOS 上的面板高度與自動縮放機制會反覆互相觸發,導致 Origami(摺紙主題)介面持續抖動。現在程式在單純調整縮放時會保留足夠的高度空間,同時確保內容增減時依然能正常縮小。開發團隊也補上了瀏覽器回歸測試(browser regression,用自動化腳本驗證既有功能未被改壞的測試),涵蓋自動調整的穩定性與內容切換。⟦就像相機自動對焦找到穩定焦距,以前視窗與縮放比例互相干擾導致畫面不斷抽搐,現在設定好適當緩衝,既能隨內容靈活伸縮又不再無故晃動。⟧

官方原文

Stop panel height and automatic zoom from repeatedly adjusting each other on macOS, which could make Origami jitter. Keep a conservative height during zoom-only fitting while allowing changed content to shrink, and cover automatic-fit stability and content transitions in the browser regression.