VSCode extension: manually renamed sessions revert to last prompt text after restart
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?
When a session is manually renamed in the Claude Code VSCode extension sidebar, the custom name does not persist across VSCode restarts. After reopening VSCode, all session names revert to auto-generated names derived from the last prompt in the conversation.
Expected behavior
User-set session names should persist across VSCode restarts.
Actual behavior
Session names revert to the auto-generated name (truncated last prompt text) after every restart.
What Should Happen?
When a session is manually renamed in the Claude Code VSCode extension sidebar, the custom name does not persist across VSCode restarts. After reopening VSCode, all session names revert to auto-generated names derived from the last prompt in the conversation.
Error Messages/Logs
**Expected behavior**
User-set session names should persist across VSCode restarts.
**Actual behavior**
Session names revert to the auto-generated name (truncated last prompt text) after every restart.
Steps to Reproduce
- Open Claude Code in VSCode
- Right-click (or rename) a session in the left sidebar and give it a custom name
- Close and reopen VSCode
- Observe: the custom name is gone, replaced by the last prompt text
Claude Model
Not sure / Multiple models
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
multiple versions
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Environment
- OS: Windows 11
- Editor: VSCode
- Claude Code: VSCode extension
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗