cost-bubble 0.3.1 → 0.4.0
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 +7 -7
- package/docs/demo.gif +0 -0
- package/package.json +1 -1
- package/scripts/signed-release.json +2 -2
package/README.md
CHANGED
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
Cost Bubble sits as a lightweight native floating pill right beside your AI coding app’s sidebar—keeping the open session’s estimated spend, context-window fill, and active background chats visible at a glance without breaking your flow.
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
-
<img src="docs/demo.gif" alt="Cost Bubble
|
|
8
|
+
<img src="docs/demo.gif" alt="Cost Bubble follows sample Codex chats, expands to show today’s sessions, and reveals the context window split, hourly burn chart, cost drivers, and clickable subagents on hover" width="840" />
|
|
9
9
|
</p>
|
|
10
10
|
|
|
11
11
|
## What It Shows
|
|
12
12
|
|
|
13
13
|
- **Live session pulse** — Automatically follows your open chat (`▸`) in **Codex**, **Claude Code**, or **Antigravity Desktop**, plus up to two other chats ranked by recent spend, weighted with a 150-second half-life.
|
|
14
|
-
- **Input token gauge** — Four bars show the latest request’s input size. Their color changes at 50k, 100k, 200k and 300k tokens. Purple dots underneath mark active subagents.
|
|
15
|
-
- **Instant cost breakdown** — Hover or click any price for
|
|
16
|
-
- **Recent sessions on hover** — Hover the pill to compare recent chats, see today’s spend, sort by recent activity, daily cost or recency, or click any title to switch chats.
|
|
17
|
-
- **Native & unobtrusive** — Built in Swift/AppKit. Drag or resize per app;
|
|
14
|
+
- **Input token gauge** — Four bars show the latest request’s input size. Their color changes at 50k, 100k, 200k and 300k tokens. Hover for a segmented cached/fresh context bar, headroom, and pricing-tier status. Purple dots underneath mark active subagents.
|
|
15
|
+
- **Instant cost breakdown** — Hover or click any price for 5-minute, hourly, daily, and lifetime spend, spend mix with cache-hit efficiency and estimated cache-miss overhead, a 1-hour stacked burn chart, top cost drivers with timestamps, and clickable Codex subagents.
|
|
16
|
+
- **Recent sessions on hover** — Hover the pill to compare recent chats, see today’s spend, sort by recent activity, daily cost or recency, or click any title to switch chats. Click outside or `×` to dismiss pinned popups.
|
|
17
|
+
- **Native & unobtrusive** — Built in Swift/AppKit. Drag or resize per app; stays quietly available on New Chat screens in Codex, Claude Code, and Antigravity while hiding on ordinary non-Code Claude chats.
|
|
18
18
|
|
|
19
19
|
---
|
|
20
20
|
|
|
@@ -43,8 +43,8 @@ Cost Bubble uses macOS Accessibility to detect the active chat, align beside the
|
|
|
43
43
|
| Action | What happens |
|
|
44
44
|
| --- | --- |
|
|
45
45
|
| **Hover the pill** | Expands to show the current chat (`▸`) plus other chats active today (from your 12 most recent). |
|
|
46
|
-
| **Hover the signal bars** | Shows the latest request’s
|
|
47
|
-
| **Hover a price** | Opens the full cost breakdown: 5-min / 1-hr / today / lifetime spend,
|
|
46
|
+
| **Hover the signal bars** | Shows the latest request’s cached/fresh context split, headroom, and pricing tier. **Click** to pin it open (click outside or `×` to close). |
|
|
47
|
+
| **Hover a price** | Opens the full cost breakdown: 5-min / 1-hr / today / lifetime spend, spend mix & cache-miss overhead, 1-hour stacked burn chart, top cost drivers, and clickable Codex subagents. **Click** to pin it open. |
|
|
48
48
|
| **Click a chat title** | Switches directly to that chat in the active desktop app. *(Antigravity leaves its picker open if multiple titles match.)* |
|
|
49
49
|
| **Read the header total** | Shows today’s combined spend across this app’s chats. Lifetime estimates appear in each chat’s price breakdown. |
|
|
50
50
|
| **Click `⇅`** | Cycles row order between **Decay**, **Cost**, and **Recent**. |
|
package/docs/demo.gif
CHANGED
|
Binary file
|
package/package.json
CHANGED