claude-usage-limits 1.14.0 → 1.14.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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "usage-limits",
3
3
  "displayName": "Usage Limits",
4
- "version": "1.14.0",
4
+ "version": "1.14.1",
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",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "usage-limits",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "description": "Reports how much of your Codex usage limit is left as turns of work rather than a percentage, prices a job before you start it, and counts the other agents sharing the same budget.",
5
5
  "author": {
6
6
  "name": "Ridelink",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-usage-limits",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
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",
@@ -556,7 +556,12 @@ function briefText(parts) {
556
556
  // do more cheaply on this model frees it; only running a different model
557
557
  // does, and that has to be said, because the obvious move at 90 percent is
558
558
  // to drop the effort and keep going, which spends the same window slower.
559
- if (parts.family) {
559
+ // Suppressed when the escape line below fires: that one says the same thing
560
+ // and names the model to switch to, where this one only ever managed
561
+ // "Use /model (or ...". Two sentences making one point is a cost paid on
562
+ // every prompt.
563
+ const namesTheSwitch = parts.escape && parts.escape.kind === 'model';
564
+ if (parts.family && !namesTheSwitch) {
560
565
  sentences.push(
561
566
  'That window counts ' + parts.family + ' turns only, so lowering effort does not free it: ' +
562
567
  'switching model does. Use /model (or scripts/lowpower.js on --model <other>) for work ' +