Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.326 Latest v2.1.332 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-docs

User identity and local data changedthird-party/claude-desktop/data-storage

Nearest release: v2.1.332, published 4 hours after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Upstream edited this page at 24 Nov 2026 17:08 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 24 Nov 2026 17:37 UTC.

Upstream edited
Recorded here
Lines+5added
Lines−5removed
From line 33 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits64to this page, all time

The whole hunk

from line 33, old and new numbered
/
lines
from line 33
3333| Path | Contents |
3434| - | - |
3535| `ant-did` | The random device identifier. See [Identity](#identity). |
36| `configLibrary/` | Locally authored configuration (from the in-app configuration window). `_meta.json` records which saved configuration is applied; each is a `<id>.json` file alongside it. API keys in these files are encrypted where the app can use the device's secure storage (see [Credentials](#credentials)). Ignored when a managed profile is present. |
36| `configLibrary/` | Locally authored configuration (from the in-app configuration window). `_meta.json` records which saved configuration is applied; each saved configuration is a `<id>.json` file beside `_meta.json`. API keys in these files are encrypted where the app can use the device's secure storage (see [Credentials](#credentials)). This configuration is ignored when a managed profile is present. |
3737| `local-agent-mode-sessions/.../cowork_account_settings.json` | User-level preferences set in the app, such as locale, the memory toggle, and the text entered under **Instructions for Claude** and **Global instructions**. |
3838| `local-agent-mode-sessions/` | Cowork and Chat conversation history. One `local_<uuid>.json` file plus a working directory per session, scoped by the `ant-did` device identifier and the organization ID, not by who is signed in to the app. The working directory includes an `uploads/` subdirectory with copies of files attached to the conversation and an `outputs/` subdirectory for files Claude creates. |
3939| `local-agent-mode-sessions/.../memory/` | Cowork memory: a `CLAUDE.md` instructions file plus a `memory/` subdirectory of Markdown notes Claude writes about the user's preferences, projects, and feedback. See [Memory](#memory). |
from line 65
6565 
6666* **Chats, Cowork tasks, projects, and memory**: standard Claude Desktop doesn't show, import, or upload those stored in the 3P [application-data directory](#where-data-lives). It reads and writes some settings files in that directory, such as the user's choice of mode. It also reads the Code session records in `claude-code-sessions/`, so that it doesn't list those sessions or delete their folders.
6767* **Code sessions**: each mode lists only its own, but **Code** in both modes and Claude Code in the terminal keep their transcripts in the same folder, `~/.claude/`. Each mode reads the transcripts there to count usage, and the figures that standard Claude Desktop shows for `/stats` in **Code** include sessions from both modes and the terminal. Claude Code in the terminal can resume a session from either mode, and then sends the earlier conversation to the provider that the terminal uses.
68* **Claude Code setup**: `~/.claude/` and `~/.claude.json` also hold Claude Code's setup, such as skills, plugins, hooks, permission rules, trusted folders, and MCP servers, shared by **Code** in both modes and Claude Code in the terminal. Sign-ins to MCP servers made in **Code** are in [Claude Code's own credential store](https://code.claude.com/docs/en/authentication#credential-management), which they share too.
68* **Claude Code setup**: `~/.claude/` and `~/.claude.json` also hold Claude Code's setup, such as skills, plugins, hooks, permission rules, trusted folders, and MCP servers, shared by **Code** in both modes and Claude Code in the terminal. Sign-ins to MCP servers made in **Code** are in [Claude Code's own credential store](https://code.claude.com/docs/en/authentication#credential-management), which **Code** in both modes and Claude Code in the terminal share too.
6969* **Connectors**: standard Claude Desktop doesn't load the connectors, plugins, or extensions that users added outside **Code**. From your [`managedMcpServers`](https://claude.com/docs/third-party/claude-desktop/configuration#managedmcpservers) entries, it loads only a built-in Microsoft 365 connector set in the device's managed profile.
7070* **Connector sign-ins**: on a device configured by MDM, a local file, or a bootstrap server, switching modes leaves [connector sign-ins](#credentials) made outside **Code** in place and doesn't revoke them. Standard Claude Desktop doesn't use them, and Claude Desktop on 3P uses them again when the user switches back.
7171* **Files in `~/Claude/`**: by default, both modes write live artifacts, scheduled tasks, and project files here, and each lists only its own. To give Claude Desktop on 3P a folder of its own, have the user go to **Settings > Cowork** and click **Change** next to **Cowork files**. The app copies everything in the current folder, the other mode's files included, to the new location and leaves the old folder in place.
from line 116
116116 
117117[Chat](https://claude.com/docs/third-party/claude-desktop/chat.md) conversations follow the same storage model as Cowork sessions: each conversation is a session state file plus a working directory under `local-agent-mode-sessions/`, in the layout described under [Where data lives](#where-data-lives). The state file records the conversation; the working directory holds the transcript, an `uploads/` directory with copies (or hard links) of files attached to the conversation, an `outputs/` directory for files Claude creates during the conversation (its scratch space), and the [session audit log](#session-audit-log). Because attachments are hard-linked where the filesystem allows it, edits made to the original file while the conversation is open can be visible to the conversation. Conversation content leaves the device as inference requests to your configured provider, as web search queries to your configured search backend, through web access your egress configuration allows, through [sandbox network access](https://claude.com/docs/third-party/claude-desktop/chat.md#sandbox-network-access), in connector tool calls permitted by your `toolPolicy` configuration and the user's approvals, in telemetry to your own collector if you have enabled [content capture](https://claude.com/docs/third-party/claude-desktop/telemetry.md#content-capture), in the zip files that users export if you have [turned on export](#turn-on-export-and-import), and in any copy that you make. The [hooks](https://claude.com/docs/third-party/claude-desktop/extensions.md#plugin-hooks) and [mods](https://claude.com/docs/third-party/claude-desktop/code.md#claude-code-mods) of a plugin that the conversation loads are a further route: they receive prompts and tool results. A hook's command and a mod's code run on the device as the user, outside the sandbox, and `coworkEgressAllowedHosts` and your tool policies don't apply to the requests that they make themselves.
118118 
119For the questions security reviews most often ask about Chat:
119Security reviews most often ask about the following in Chat:
120120 
121121* **Chat reads and updates memory only inside projects.** A Chat conversation inside a project can read and update that project's memory unless memory was paused when the conversation started. Chat conversations outside a project don't read or update memory.
122122* **Project folders are read-only.** A Chat conversation inside a project can read files in folders added to the project in Claude Desktop, under the conditions in [Project folders in Chat](https://claude.com/docs/third-party/claude-desktop/chat.md#project-folders-in-chat), and cannot change them.
from line 149
149149 
150150| Path (within the application-data directory) | Contents | Lifecycle |
151151| - | - | - |
152| `ccd-session-secrets/<session-id>/` | The short-lived AWS credentials files of a session on Amazon Bedrock with [in-app AWS sign-in](https://claude.com/docs/third-party/claude-desktop/bedrock.md#in-app-aws-sign-in). A session on Google Cloud's Agent Platform writes no file here. The directory is created with owner-only permissions (mode `0700` on macOS; per-user ACLs on Windows). | Created when the session starts; removed when the session ends; the whole directory is swept at each launch and when you sign out of the inference provider. |
152| `ccd-session-secrets/<session-id>/` | The short-lived AWS credentials files of a session on Amazon Bedrock with [in-app AWS sign-in](https://claude.com/docs/third-party/claude-desktop/bedrock.md#in-app-aws-sign-in). A session on Google Cloud's Agent Platform writes no file here. The directory is created with owner-only permissions (mode `0700` on macOS; per-user ACLs on Windows). | Created when the session starts; removed when the session ends; the whole directory is swept at each launch and when the user signs out of the inference provider. |
153153 
154154### Unreadable saved API keys
155155 
from line 300
300300* **Project files**: the import copies them into a new folder for each project
301301* **Folders**: the import doesn't connect any to a project or a Cowork task. It imports a Code session or a Code scheduled task only if the new device trusts its folder. The last screen lists the folders that the user's projects and scheduled tasks used. On Claude Desktop 5.1231.0 and later, it also lists [folders of Code sessions that weren't imported](https://claude.com/docs/third-party/claude-desktop/import.md#problems-when-you-move-to-another-device).
302302* **Uploaded plugins, saved skills, and scheduled tasks**: they stay off until the user turns them on. Setting [`userPluginUploadsEnabled`](https://claude.com/docs/third-party/claude-desktop/configuration#userpluginuploadsenabled), [`skillCreationEnabled`](https://claude.com/docs/third-party/claude-desktop/configuration#skillcreationenabled), or [`scheduledTasksEnabled`](https://claude.com/docs/third-party/claude-desktop/configuration#scheduledtasksenabled) to `false` keeps that kind of data out of the import.
303* **Local MCP servers**: for each import, a second dialog lists up to five servers with their full commands and environment variables. Claude Desktop tries to start the servers that the user adds right away. Blocks that the user set on tools on the old device don't apply, because tool permissions aren't imported. The app writes no values of these servers' environment variables into an export. Until the user enters the values, a server might not work, or might run without a limit that the user set in a variable. Setting [`isLocalDevMcpEnabled`](https://claude.com/docs/third-party/claude-desktop/configuration#islocaldevmcpenabled) to `false` keeps local MCP servers out of the export and the import.
303* **Local MCP servers**: for each import, a second dialog lists up to five servers with their full commands and environment variables. Claude Desktop tries right away to start the servers that the user adds. Blocks that the user set on tools on the old device don't apply, because tool permissions aren't imported. The app writes no values of these servers' environment variables into an export. Until the user enters the values, a server might not work, or might run without a limit that the user set in a variable. Setting [`isLocalDevMcpEnabled`](https://claude.com/docs/third-party/claude-desktop/configuration#islocaldevmcpenabled) to `false` keeps local MCP servers out of the export and the import.
304304 
305305> [!WARNING]
306306>
Feedback