[BUG] Cowork local-agent-mode sessions missing from Recents despite intact data on disk (Windows)

Open 💬 4 comments Opened Jun 20, 2026 by 54chenxu

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?

Subject: Cowork/Local Agent sessions missing from Recents list despite intact local data — likely indexing issue, not data loss
Product: Claude Desktop App (Windows), Cowork / Local Agent Mode

App version path: ...\LocalCache\Roaming\Claude\claude-code\2.1.177\
Summary:

Two sessions that I interacted with heavily over the past two days disappeared from the Recents list in the Claude Desktop App. After investigation, I confirmed the underlying session data still exists intact on disk — this appears to be a display/indexing bug rather than actual data loss.
How the sessions were created:

I opened the Claude Desktop App directly (not by launching from within a specific project folder via CLI), started chatting, and mid-conversation granted the agent access to a local folder on my machine (e.g., D:\my\...\AR展厅). This is the "local agent mode" / Cowork workflow, not the CLI claude command run from a project directory.
Symptom:

Two sessions (working titles: "AR rooms..." and "机场数字孪生+仿真" / Airport Digital Twin + Simulation) no longer appear in the Recents sidebar of the Desktop App.
This coincided with my Claude Code Pro 5x subscription expiring on 2026-06-19, though I have not been able to confirm causation, only correlation.
Sessions created via claude.ai web that I had during the same period are still visible in Recents — only the Desktop App / local-agent sessions are missing.

What I verified myself (this is the key evidence):

Checked ~/.claude/projects/ (the CLI's project-based session storage) — confirmed the missing sessions are NOT here, because this directory only contains sessions launched via CLI from a specific project folder, which doesn't match how these two sessions were created.
Located the actual Desktop App data directory at:

C:\Users\[user]\AppData\Local\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\

Inside local-agent-mode-sessions\[ownerAccountId]\, found numerous session folders named local_[uuid], each containing a corresponding .json file (sizes ranging ~45KB–110KB, consistent with real conversation data).
Confirmed one specific session folder, local_ba66fd10-1762-4485-8d4c-0c917f5a5a73, contains an outputs subfolder with the exact files produced during the "Airport Digital Twin + Simulation" conversation — including AgentController.cs, AgentFactory.cs, AirportDemo.cs, AirportSceneBuilder.cs, CameraController.cs, MaterialUtil.cs, SimModels.cs, simulation.json, README.md, and 仿真软件调研_机场方案.html — all timestamped 2026-06-17 to 2026-06-18, matching exactly when I had that conversation.
Also noted that IndexedDB\https_claude.ai_0.indexeddb.leveldb was last modified on 2026-06-20 (this morning), suggesting the local index database was rebuilt/refreshed around the time my subscription status changed — and this rebuild appears to have failed to re-include these existing local-agent sessions in the Recents list.

My conclusion (for your engineering team to verify):

The session data itself is fully intact on disk. The issue appears to be that the Recents list relies on an IndexedDB index that did not correctly enumerate/re-link existing local-agent-mode-sessions folders — possibly triggered by the subscription status change or an app update around 2026-06-19/20.
What I'm asking for:

Please confirm whether this is a known indexing bug, and whether it can be fixed by re-syncing/rebuilding the local session index without data loss.
If there's a safe way to manually restore these sessions to the Recents list (e.g., a repair tool or a documented manual fix), please advise — I'd rather not edit the JSON files myself given I don't have the internal schema.
I have already made a backup copy of the relevant local_ba66fd10-... folder before making any further changes, in case you need me to provide the raw file for diagnosis.

Happy to provide additional screenshots, the raw JSON file, or the claude_desktop_config.json / cowork-enabled-cli-ops.json files if helpful.

What Should Happen?

Cowork/Local Agent sessions missing from Recents list despite intact local data — likely indexing issue, not data loss

Error Messages/Logs

Cowork/Local Agent sessions missing from Recents list despite intact local data — likely indexing issue, not data loss

Steps to Reproduce

i don't konw how to Reproduce this bug!

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Version 1.13576.0(1290fc)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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