claude-scope 0.2.3 → 0.2.4

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.
@@ -429,7 +429,7 @@ var ContextWidget = class extends StdinDataWidget {
429
429
  renderWithData(data, context) {
430
430
  const { current_usage, context_window_size } = data.context_window;
431
431
  if (!current_usage) return null;
432
- const used = current_usage.input_tokens + current_usage.cache_creation_input_tokens + current_usage.output_tokens;
432
+ const used = current_usage.input_tokens + current_usage.cache_creation_input_tokens + current_usage.cache_read_input_tokens + current_usage.output_tokens;
433
433
  const percent = Math.round(used / context_window_size * 100);
434
434
  const bar = progressBar(percent, DEFAULTS.PROGRESS_BAR_WIDTH);
435
435
  const color = getContextColor(percent);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-scope",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Claude Code plugin for session status and analytics",
5
5
  "license": "MIT",
6
6
  "type": "module",