[BUG] VSCode session history labels changed from first message to last message, making history unusable

Resolved 💬 3 comments Opened Mar 14, 2026 by hkk2018 Closed Mar 18, 2026

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?

Environment:

Claude Code Extension: 2.1.76
IDE: Cursor (linux-x64)
Claude Code CLI: 2.1.76
OS: Ubuntu Linux 6.8.0 (AWS)
Issue:
The session history dropdown in the IDE previously showed the first user message as the session label, making it easy to identify past conversations. Now, when I close a conversation and later go back to find it in the history, the label shows the last message instead. Since conversations typically end with "ok", "thanks", "got it", the entire history list becomes indistinguishable and unusable.

I'm not sure which version introduced this change, but it's currently broken on 2.1.76.

What Should Happen?

The session history dropdown in the IDE previously should show the first user message as the session label.

Error Messages/Logs

Steps to Reproduce

The session history dropdown in the IDE previously showed the first user message as the session label, making it easy to identify past conversations. Now, when I close a conversation and later go back to find it in the history, the label shows the last message instead. Since conversations typically end with "ok", "thanks", "got it", the entire history list becomes indistinguishable and unusable.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.76

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Cursor

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗