Skip to content

Conversation history not persisting after restart #203

@ThePlenkov

Description

@ThePlenkov

Issue Description

The Claude Code integration in Zed editor does not persist conversation history locally within Zed. When restarting Zed, all Claude Code conversations disappear from Zed's interface, even though these conversations ARE being persisted to the shared storage and can be viewed in Claude Code CLI using the /resume command.

Expected Behavior

Claude Code conversations in Zed should persist locally in Zed's interface, allowing users to:

  • Review previous conversations after restarting Zed
  • Access conversation history within Zed's UI
  • Continue previous sessions from within Zed

Actual Behavior

When restarting Zed editor:

  • All Claude Code conversation history disappears from Zed's interface
  • Conversations started in Zed are not visible in Zed after restart
  • However, these same conversations DO appear correctly in Claude Code CLI's /resume command
  • This indicates conversations are being persisted to shared storage, but Zed is not loading them back

Environment

  • Platform: Linux (WSL2)
  • OS: Linux 6.6.87.2-microsoft-standard-WSL2
  • Zed editor with Claude Code integration

Impact

This creates a confusing experience where:

  • Users lose access to their conversation history within Zed
  • The same conversations are accessible via Claude Code CLI's /resume
  • Users cannot reference previous work within Zed after restarting
  • Context is lost when working exclusively in Zed

Reproduction Steps

  1. Start Zed editor
  2. Open Claude Code and have a conversation
  3. Close/restart Zed
  4. Open Claude Code in Zed again - conversation history is empty
  5. Open Claude Code CLI and run /resume - the Zed conversation appears there

Analysis

The issue is specifically with Zed's local UI persistence:

  • Zed IS writing conversations to shared storage (proven by /resume showing them)
  • Zed is NOT reading conversations back from shared storage on startup
  • Other IDEs (Cursor, Windsurf) successfully load and display conversation history locally

Suggested Fix

The Claude Code integration in Zed should load conversation history from the shared storage location on startup, displaying it in Zed's interface just like Cursor and Windsurf do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions