feat: statusbar 在送出第一個提示詞前就顯示額度、ctx 與系統資源,版本升至 0.0.4

- 5h/7d 額度存進 $.store,新對話先顯示上次的數值(已過重置時間的視窗不沿用)
- 尚無 API 回應時 ctx 先顯示 0%
- 開場 0.5 秒後補一次系統取樣,CPU 不必等 3 秒

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-13 14:16:51 +00:00
co-authored by Claude Sonnet 5.5
parent 51a86e3f0b
commit 7afbfcb025
2 changed files with 30 additions and 6 deletions
@@ -1,6 +1,6 @@
{
"name": "jsc-statusbar",
"version": "0.0.3",
"version": "0.0.4",
"description": "輸入框上方的單行狀態列:模型、目錄、分支、5h/7d 額度與重置、context、CPU/記憶體/磁碟",
"license": "MIT",
"types": "./types/index.d.ts",