User identity and local data changedthird-party/claude-desktop/data-storage
Nearest release: v2.1.334, published an hour before 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 1 Dec 2026 20:12 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 1 Dec 2026 20:37 UTC.
Upstream edited
Recorded here
Lines+10added
Lines−8removed
From line
41
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits71to this page, all time
The whole hunk
from line 41, old and new numbered
/
from line 41
4141| `local-agent-mode-sessions/.../<sessionId>/audit.jsonl` | Log of one Cowork session or Chat conversation. It holds the full text of prompts, Claude's responses, and tool inputs and results. See [Session audit log](#session-audit-log). |
4242| `typed-artifacts/` | [Designs and slide decks](https://claude.com/docs/third-party/claude-desktop/design-and-slides.md), with the comments on them, and the design systems that users added on the computer. The files of up to 20 of the newest saves of each design or deck stay here, so those files can include content that users have since removed. |
4343| `claude-code-sessions/` | Code session records holding each session's working folder, settings, title, and sometimes a short summary. The conversation transcripts themselves are in Claude Code's own store at `~/.claude/projects/`, outside this directory. |
44| `scratch-workspaces/` | The private working folders of Code sessions that users start without choosing a folder. When a user deletes such a session, the app deletes its folder, with its files, about a week later. [Automatic deletion of idle sessions](#automatic-deletion-of-idle-sessions) deletes the folder when it deletes the session. A folder that another session still uses stays. |
44| `scratch-workspaces/` | The private working folders of Code sessions that users start without choosing a folder. When a user deletes such a session, the app deletes its folder, with its files, about a week later. [Automatic deletion of idle sessions](#automatic-deletion-of-idle-sessions) deletes the folder when it deletes the session. A folder that another session still uses stays. A folder that a [scheduled task](https://claude.com/docs/third-party/claude-desktop/scheduled-tasks.md) runs in also stays, unless automatic deletion deletes the session. |
4545| `claude-code/`, `claude-code-vm/` | Claude Code binary and VM workspace data for Code sessions. |
4646| `import-bundles/` | The unzipped copy of a [Claude Desktop export](https://claude.com/docs/third-party/claude-desktop/import.md#move-your-data-to-another-device) that a user chose to import. |
4747| `vm_bundles/` | Cached copy of the VM workspace bundle that Cowork uses, plus the data disk the app creates to hold Cowork sessions' home directories inside the VM. |
from line 204
204204* **Chats**: the app deletes a chat, its copies of attached files, its outputs, and the live artifacts (interactive pages) that Claude created in the chat. The live artifacts of chats deleted before Claude Desktop 4.16336.0 stay on the device.
205205* **Cowork tasks**: the app deletes a task, its copies of attached files, and its outputs. The task's live artifacts stay. A home-screen conversation that is a Cowork session is deleted the same way, and its live artifacts stay.
206206* **[Designs and slide decks](https://claude.com/docs/third-party/claude-desktop/design-and-slides.md)**: when the app or the user deletes a chat, the app also deletes the designs and decks made in the chat, if `artifactsEnabled` is `true` at that time. It deletes them even if the user edited them after the chat's last activity. The designs and decks made in a Cowork task, or in a home-screen conversation that is a Cowork session, stay on the device until the user [deletes them](https://claude.com/docs/third-party/claude-desktop/design-and-slides.md#use-design-and-slides).
207* **Code sessions**: the app deletes a session and its conversation. It also removes the session's [Git worktree](https://code.claude.com/docs/en/worktrees), except in some cases, such as when the worktree has uncommitted changes or the session is pinned. Other files in a working folder that the user chose stay. For a session that the user started without choosing a folder, the app also deletes the private folder that it made, with every file in it. If another session still uses that folder, the folder stays. Code sessions on an SSH host or in WSL aren't affected.
207* **Code sessions**: the app deletes a session and its conversation. It also removes the session's [Git worktree](https://code.claude.com/docs/en/worktrees), except in some cases, such as when the worktree has uncommitted changes or the session is pinned. Other files in a working folder that the user chose stay. For a session that the user started without choosing a folder, the app also deletes the private folder that it made, with every file in it. If another session still uses that folder, the folder stays. Code sessions on an SSH host or in WSL aren't affected, unless devices run Claude Desktop 18.19841.0 or later and you set `codeSessionRetentionIncludeSshAndWsl` to `true`. With that key, the app deletes the session and the app's own copy of its conversation. Every file on the SSH host or inside the WSL distribution stays, including worktrees and Claude Code's own transcripts.
208208* **Task folders with no session record**: if both `chatSessionRetentionDays` and `coworkSessionRetentionDays` are set, the app also deletes the folder of a new task that stopped before the app saved it, once nothing in the folder has changed for the longer period.
209209* **Code sessions from the terminal**: a session that the user resumes in **Code** from Claude Code in the terminal, or imports with **Help > Troubleshooting > Import Claude Code CLI Sessions…**, uses the terminal's own transcript in `~/.claude/projects/`, not a copy. When the app deletes the session, it deletes that transcript too, except in some cases, such as when Claude Code is running the conversation or wrote to the transcript in the last `codeSessionRetentionDays` days.
210210
from line 266
266266
267267* **The user's Cowork projects and scheduled tasks use many folders.** After an import, the user adds each folder again.
268268* **On Windows, the user's Code sessions or Code scheduled tasks use folders on a mapped network drive.** An import leaves out those sessions and tasks.
269* **The user needs their live artifacts, designs, or slide decks on the new device.** An export leaves them out.
269* **The user needs their live artifacts, or the comments on their designs and slide decks, on the new device.** An export leaves both out. An export also leaves out design systems that the user added, which the user can [add again](https://claude.com/docs/third-party/claude-desktop/design-and-slides.md#add-a-design-system-on-one-computer). Designs and slide decks move only between devices that [meet the version requirement](#turn-on-export-and-import).
270270* **Your policies don't let users save their conversations and files to a zip file**
271271* **Claude Desktop doesn't open on the old device**, so the user can't start an export
272272* **You set `allowedOrganizationUuids`** under [`claudeAiImport`](https://claude.com/docs/third-party/claude-desktop/configuration#claudeaiimport), which turns off import from a file
from line 284
284284* **Managed configuration**: set [`claudeAiImport`](https://claude.com/docs/third-party/claude-desktop/configuration#claudeaiimport) to `{"enabled": true, "exportEnabled": true}`, along with any fields you already set in it
285285* **[Enterprise Admin Console](https://claude.com/docs/third-party/claude-desktop/admin-console.md)**: go to the **Capabilities** page and turn on the **Enable import** and **Enable export for import on another device** switches under **Claude.ai data import**. To turn them on for some users, use a [per-group permission policy](https://claude.com/docs/third-party/claude-desktop/admin-console.md#per-group-permission-policies).
286286
287Both devices need Claude Desktop 4.23118.0 or later, the same platform, and [the same organization](#requirements-for-the-new-device). Earlier versions export only sessions, their output files, and project names.
287Both devices need Claude Desktop 4.23118.0 or later, the same platform, and [the same organization](#requirements-for-the-new-device). Earlier versions export only sessions, their output files, and project names. Designs and slide decks need Claude Desktop 18.19841.0 or later on both devices.
288288
289If a setting is already on, it applies to [the additional data](#what-can-leave-and-enter-a-device) as soon as a user's app [updates](https://claude.com/docs/third-party/claude-desktop/installation.md#updates) to 4.23118.0 or later. With `enabled`, users can import that data. With `exportEnabled` too, users can export it. To stop either one, turn off that setting.
289If a setting is already on, it applies to [the additional data](#what-can-leave-and-enter-a-device) as soon as a user's app [updates](https://claude.com/docs/third-party/claude-desktop/installation.md#updates) to 4.23118.0 or later. The setting applies to designs and slide decks as soon as the app updates to 18.19841.0 or later. With `enabled`, users can import that data. With `exportEnabled` too, users can export it. To stop either one, turn off that setting.
290290
291291For the user's steps and the full list of data that moves, see [Move your data to another device](https://claude.com/docs/third-party/claude-desktop/import.md#move-your-data-to-another-device).
292292
from line 294
294294
295295`exportEnabled` works only when `enabled` is on.
296296
297* **`exportEnabled`**: users can export their data to a zip file anywhere they can save files. The file contains sessions with attached and output files, projects, the files of each project folder that's directly inside the **Projects** folder of the user's Cowork files folder (`~/Claude/Projects` by default), memory, scheduled tasks, saved skills, uploaded plugins, some app preferences, and the commands, arguments, and environment variable names of local MCP servers. It also lists the paths of the other folders that projects use, and of the folders and files that scheduled tasks use. If you set `allowedOrganizationUuids`, it contains only sessions, their files, and project names and instructions.
297* **`exportEnabled`**: users can export their data to a zip file anywhere they can save files. The file contains sessions with attached and output files, projects, the files of each project folder that's directly inside the **Projects** folder of the user's Cowork files folder (`~/Claude/Projects` by default), memory, scheduled tasks, saved skills, uploaded plugins, some app preferences, and the commands, arguments, and environment variable names of local MCP servers. It also lists the paths of the other folders that projects use, and of the folders and files that scheduled tasks use. The file also contains [designs and slide decks](https://claude.com/docs/third-party/claude-desktop/design-and-slides.md), without the comments on them, even while `artifactsEnabled`, `artifactsDesignEnabled`, or `artifactsSlidesEnabled` is off. For each design or deck, the file holds the files of up to five saves and the design's or deck's uploads, which can include content that the user has since removed. If you set `allowedOrganizationUuids`, the file contains only sessions, their files, and project names and instructions.
298298* **`enabled`**: users can import an export file from another device, a claude.ai data export, and earlier sessions on the device. Claude Desktop can't verify who made an export file, so it asks the user to confirm that the file is their own. If the user doesn't confirm, only the sessions are imported, with the projects and attached files that they use.
299299
300300After the user confirms:
from line 303
303303* **App preferences**: those that the user hasn't set on the new device apply right away
304304* **Project instructions**: Claude uses them after the user accepts them
305305* **Project files**: the import copies them into a new folder for each project
306* **Designs and slide decks**: they're imported only if [`artifactsEnabled`](https://claude.com/docs/third-party/claude-desktop/design-and-slides#turn-on-design-and-slides) is `true`, and users find them under **Artifacts**. To keep designs out of an import, set `artifactsDesignEnabled` to `false`, and to keep decks out, set `artifactsSlidesEnabled` to `false`. While Cowork is on, leaving out either key doesn't keep designs or decks out. While Cowork is off, designs and decks are imported only if Chat is on and at least one of the two keys is `true`.
307* **The Design and Slides switches in the [Enterprise Admin Console](https://claude.com/docs/third-party/claude-desktop/design-and-slides.md#in-the-enterprise-admin-console)**: a **Design** or **Slides** switch whose row shows **Default** sets no key, so that switch doesn't keep designs or decks out of an import. To set that switch's key to `false`, turn the switch on, turn the switch off, and click **Save changes**.
306308* **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). The new device normally doesn't trust the private folder of a Code session that the user started without choosing a folder, so the import leaves that session out, and the last screen doesn't list a folder for that session.
307309* **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.
308310* **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.
from line 311
309311
310312> [!WARNING]
311313>
312> The zip file isn't encrypted. Sessions, project files, memory, scheduled tasks, skills, plugins, and the arguments of local MCP servers are copied as they are, with any passwords or API keys written in them. Sign-ins, connector tokens, saved provider API keys, and the values of environment variables for the local MCP servers that users added stay on the old device. Tell users to import only their own exports, to keep the file private, and to delete every copy when they no longer need it.
314> The zip file isn't encrypted. Sessions, project files, designs, slide decks, memory, scheduled tasks, skills, plugins, and the arguments of local MCP servers are copied as they are, with any passwords or API keys written in them. Sign-ins, connector tokens, saved provider API keys, and the values of environment variables for the local MCP servers that users added stay on the old device. Tell users to import only their own exports, to keep the file private, and to delete every copy when they no longer need it.
313315
314316The old device keeps its data until you [remove it](#removing-data).
315317
No line in this hunk matches that.