claude-usage-limits 1.5.2 → 1.5.3

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "usage-limits",
3
3
  "displayName": "Usage Limits",
4
- "version": "1.5.2",
4
+ "version": "1.5.3",
5
5
  "description": "Puts your remaining Claude Code usage limit into Claude's context before every prompt, so it opens with what fits in the budget instead of starting work that gets cut off. Reports headroom as turns rather than percentages, prices a job before you start it, and detects your plan tier.",
6
6
  "author": {
7
7
  "name": "Ridelink",
package/README.md CHANGED
@@ -187,6 +187,11 @@ The split comes from measured spend rather than an assumption that everyone is
187
187
  working equally hard, because they usually are not. A session that has gone
188
188
  quiet for a quarter of an hour is not counted as competing.
189
189
 
190
+ Every session's spend also feeds the reading itself, not just the split. The
191
+ percentage is corrected using all spend recorded since the snapshot was taken,
192
+ whichever window produced it, so another Claude burning budget in the next
193
+ terminal moves your number too.
194
+
190
195
  ## Which limit it watches
191
196
 
192
197
  Two windows run at once and the 5-hour one is usually what actually stops you,
@@ -497,7 +502,7 @@ test/ node --test, no dependencies
497
502
  node --test
498
503
  ```
499
504
 
500
- 164 tests over the pricing, the window arithmetic, plan and credit detection,
505
+ 179 tests over the pricing, the window arithmetic, plan and credit detection,
501
506
  the status line, the before-prompt line, job forecasting, per-project
502
507
  attribution, the CLI, packaging, and the settings save/restore.
503
508
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-usage-limits",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "Puts your remaining Claude Code usage limit into Claude's context before every prompt, so it opens with what fits in the budget instead of starting work that gets cut off. Reports headroom as turns rather than percentages, prices a job before you start it, and detects your plan tier.",
5
5
  "keywords": [
6
6
  "claude",