[BUG] Usage stats card (streak / active days / token totals) excludes remote-workspace (ssh-*) sessions

Open 💬 0 comments Opened Jul 2, 2026 by jw8957

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

The "What's up next" usage card (Sessions / Messages / Total tokens / Active days / Current & Longest streak / heatmap) does not count work done in remote (SSH) workspaces. Days spent working exclusively in a remote workspace show up blank, and the current streak resets to 0 — even though those sessions run under the same account and their transcripts are mirrored locally.

<img width="866" height="678" alt="Image" src="https://github.com/user-attachments/assets/e1991ce6-32a1-4905-a788-0aec70e9004e" />

What Should Happen?

those days count toward active days / streak / token totals, same as local sessions.

Error Messages/Logs

Steps to Reproduce

  1. Open a remote workspace over SSH in the desktop app and work in it for one or more days (no local/direct sessions those days).
  2. Open the usage stats card / heatmap.

Claude Model

_No response_

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.197

Platform

Claude subscription Pro

Operating System

Windows

Additional Information

_No response_

View original on GitHub ↗