Skip to content

[BUG] Dev tools UI shows stale session name after /rename — claude --resume shows correct name #138

@MohammadShabib

Description

@MohammadShabib

Describe the bug

When renaming a Claude Code session using /rename <name> mid-session, the new name correctly appears in the claude --resume interactive picker after exiting. However, the dev tools UI continues to display the old name — typically the truncated first prompt — instead of the persisted custom name.

To Reproduce
Steps to reproduce the behavior:

  1. Open a terminal and start a new Claude Code session with claude
  2. Send a few messages to establish conversation history
  3. Run /rename <your-custom-name> — confirm the name updates in the prompt bar
  4. Exit the session (e.g., /exit or Ctrl+C)
  5. Run claude --resume — the custom name appears correctly in the picker
  6. Open the dev tools UI
  7. Observe that the session still shows the old name, not the renamed one

Expected behavior
The dev tools UI should reflect the same persisted session name that is displayed in claude --resume

Desktop (please complete the following information):

  • OS: macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions