burnbar 0.0.0-dev.41.1 → 0.0.0-dev.45.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -15,7 +15,7 @@ See how fast you're burning through your plan limits without leaving what you're
15
15
 
16
16
  [Features](#features) • [See it in action](#see-it-in-action) • [Installation](#installation) • [Build from source](#build-from-source)
17
17
 
18
- <img src="docs/images/milestone-popup-dark.png" alt="BurnBar brief usage milestone notification" width="410">
18
+ <img src="docs/images/burnbar-banner-rounded.png" alt="BurnBar Claude and Codex usage popup on the Windows desktop" width="848">
19
19
 
20
20
  </div>
21
21
 
@@ -31,7 +31,7 @@ Codex window lengths come from your account rather than assuming every plan uses
31
31
 
32
32
  - **Brief milestone popups**: by default, a small framed card appears when either
33
33
  provider's primary/session or secondary/weekly quota crosses **10%, 20%, … 100%**.
34
- It shows the affected provider, takes no focus, and closes after **6 seconds**.
34
+ It shows the affected provider, takes no focus, and closes after the selected delay (**6 seconds** by default).
35
35
  More updates do not keep extending it. Jumps show only the highest new milestone,
36
36
  not a burst of every skipped threshold.
37
37
  - **Quiet by default**: first readings establish a baseline instead of replaying
@@ -39,16 +39,19 @@ Codex window lengths come from your account rather than assuming every plan uses
39
39
  quota resets rearm the tracker. Crossings are detected on the next successful
40
40
  refresh, not continuously between API reads.
41
41
  - **Your choice**: click the tray icon any time to inspect usage; click an automatic
42
- notice to keep it open and show details. Right-click → **Milestone popups (10% steps,
43
- 6 sec)** disables automatic cards for click-only use. **Always show popup (optional)**
42
+ notice for details. Manual popups also close after the selected delay; clicks restart
43
+ their timer. Right-click → **Milestone popups (10% steps)** disables automatic
44
+ cards for click-only use. **Always show popup (optional)**
44
45
  restores a persistent overview if preferred. Esc or clicking elsewhere closes
45
46
  manual views unless always-show is enabled.
46
47
  - **Fullscreen-aware**: no automatic popup appears over a fullscreen app, and missed
47
48
  milestones are not queued to interrupt you afterwards. Cards follow light/dark
48
49
  theme, DPI and the notification icon, and remain inside the monitor's work area.
49
- - **Optional taskbar meter**: enable **Show taskbar meter (optional)** for the rotating
50
- compact bars. Existing taskbar preferences are preserved when updating; new profiles
51
- use the tray and brief notices instead. Bars turn red at 90%.
50
+ - **Configurable close delay**: **Close popup after** applies to both automatic and
51
+ manually opened views: 3, 5, 6, 10, 15, 30 or 60 seconds. Your selection survives
52
+ restarts. Background usage refreshes do not extend the timer.
53
+ - **No tooltip overlap**: the native tray tooltip is hidden while a popup is visible
54
+ and restored once it closes.
52
55
  - **Pace marker**: a tick on each bar shows how much of the window's time has passed.
53
56
  A bar past its tick means you'll hit the limit before it resets.
54
57
  - **Details panel**: separate provider panels, reported quota windows, reset times, and independent
@@ -56,11 +59,12 @@ Codex window lengths come from your account rather than assuming every plan uses
56
59
  - **Alerts**: Windows notifications at 80% and 95%, and when a limit you'd been close to resets.
57
60
  - **Fresh numbers**: refreshes on a schedule, within a minute of Claude Code or Codex activity, and right after
58
61
  a limit resets, backing off automatically if the API rate-limits.
59
- - **Multi-monitor**: the popup follows the primary notification icon; optional meters can appear on every taskbar.
62
+ - **Tray-only**: no taskbar widget or overlay windows. The popup follows the primary
63
+ notification icon and remains inside that monitor's work area.
60
64
  - **Lightweight**: one native executable, installed or updated with npx. Codex usage uses your existing Codex CLI.
61
65
  - **Start with Windows**: enabled on first launch for new users; turn it off from the
62
66
  right-click menu at any time. Existing startup preferences are preserved.
63
- - **About**: right-click the meter or tray icon for the app version, developer credits,
67
+ - **About**: right-click the popup or tray icon for the app version, developer credits,
64
68
  and a link to this repository.
65
69
 
66
70
  Existing installations using the previous always-visible default switch to the
@@ -76,13 +80,6 @@ updating; that explicit choice is retained. See [popup behavior](docs/POPUP_BEHA
76
80
  <sub>Rendered demo previews: a milestone notice that closes automatically. Click to inspect details.</sub>
77
81
  </div>
78
82
 
79
- <details>
80
- <summary>Optional taskbar meter demo</summary>
81
-
82
- <img src="docs/images/burnbar-demo.gif" alt="The optional rotating taskbar meter and usage details" width="848">
83
-
84
- </details>
85
-
86
83
  ## Installation
87
84
 
88
85
  You need Windows 10 or 11 and a signed-in provider:
@@ -187,8 +184,7 @@ The executable also accepts a few flags for development:
187
184
  |---|---|
188
185
  | `-demo` | Show sample numbers and history without calling the API |
189
186
  | `-providers both` | Show Claude and Codex; also accepts `claude` or `codex`. Defaults to the saved menu setting. |
190
- | `-taskbar-layout` | Print measured taskbar spans and the compact meter's available slot, then exit. Useful for diagnosing placement. |
191
- | `-snapshot <dir>` | Render PNG previews and the provider-rotation GIF in both themes, then exit. Combine with `-demo -providers both`. |
187
+ | `-snapshot <dir>` | Render popup PNG previews in both themes, then exit. Combine with `-demo -providers both`. |
192
188
  | `-once` | Print usage summaries for the selected providers, then exit. Needs a console build: `go build -o bin\burnbar-cli.exe ./cmd/burnbar` |
193
189
 
194
190
  > [!WARNING]
@@ -200,10 +196,10 @@ The executable also accepts a few flags for development:
200
196
 
201
197
  ```
202
198
  cmd/burnbar/ entry point, flags, embedded icon and manifest
203
- internal/app/ Windows UI: taskbar meters, tray icon, details panel, menu, Win32 and UI Automation
199
+ internal/app/ Windows UI: tray icon, timed popups, details panel, menus and Win32
204
200
  internal/usage/ Claude usage client and Codex app-server account client
205
201
  internal/render/ drawing the meter, details panel, charts and tray icon
206
- internal/layout/ choosing a free spot on the taskbar
202
+ internal/layout/ popup placement and fullscreen visibility
207
203
  internal/config/ settings and alert state
208
204
  internal/alerts/ milestone deduplication and popup lifetime
209
205
  internal/history/ usage history for the charts
@@ -147,7 +147,7 @@ try {
147
147
  $shortcut.TargetPath = $targetExe
148
148
  $shortcut.WorkingDirectory = $installPath
149
149
  $shortcut.IconLocation = "$targetExe,0"
150
- $shortcut.Description = 'Claude and Codex usage monitor for the Windows taskbar'
150
+ $shortcut.Description = 'Claude and Codex usage monitor for the Windows notification area'
151
151
  $shortcut.Save()
152
152
  } catch {
153
153
  Write-Warning "BurnBar is installed, but its Start menu shortcut could not be created: $($_.Exception.Message)"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "burnbar",
3
- "version": "0.0.0-dev.41.1",
4
- "description": "Install or update the BurnBar Windows taskbar usage meter",
3
+ "version": "0.0.0-dev.45.1",
4
+ "description": "Install or update the BurnBar Windows tray usage monitor",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",