Skip to content

Reference

Data & storage

Code, terminals and files stay on your computer, in one folder you can find. Artifacts also live on Deska, private until you share them. Here is where that folder is, what is inside it, and what is safe to copy or delete.

Where Deska keeps its data

Deska stores its own state in a single application-data folder, one per operating system:

  • macOS: ~/Library/Application Support/Deska/
  • Windows: %APPDATA%\Deska\
  • Linux: ~/.config/Deska/

You never have to find it by hand. Settings and then Diagnostics lists six paths: the application data folder, the settings file, the keybindings file, the main log, the agent thread log and the agent worktrees, each with a Reveal button that opens it in your file manager.

What is inside

The files you are most likely to care about:

  • config.json: every preference from Settings, plus your list of workspaces, your recent projects, any saved layouts and the workspace you were last in, so Deska reopens there.
  • keybindings.json: only the shortcuts you changed. Anything you never touched keeps following Deska’s defaults, so defaults can keep improving across updates. See Keyboard shortcuts.
  • license.json: your cached sign-in, which is what lets Deska know your plan while offline.
  • db-connections.json: the connections saved in the Database panel. A saved password is kept there only as ciphertext from your system’s encrypted store; where the system has none, it is held in memory for that run and never written to the file.
  • deska-notes/: the note vault, one Markdown file per note. Move notes…, at the bottom of the Artifacts page or in Settings under Panels and Notes, moves every note to a folder you choose, including an Obsidian vault. Once moved, notes live in that folder; artifact revisions remain available in Deska.
  • deska-workspaces/: the layout and session state of every workspace, one folder per workspace, whether or not it is backed by a project folder.
  • deska-snapshots/: rotating layout backups, up to fifty per workspace, behind the time scrubber.
  • orchestration.sqlite: the transcript of every supervised agent thread, which is what makes the threads board history survive a restart. Deleting a thread deletes its transcript from this file too. See Agent threads.
  • task-artifacts/: copies of the files agents shared in their replies and of the pictures they looked at, up to 5 MB each. A picture’s copy is deleted 30 days after the agent last looked at it; a reply’s files stay.
  • work-host/data/<host-id>/: what your automations and artifacts keep on this computer, among it each automation’s keys (connections/credentials.vault.json, encrypted with the system keychain), its files (action-files/, not encrypted) and the general values of Settings → Dex → Automations (action-settings.json). A deleted automation’s keys and files are removed after 30 days.
  • panel-index/: Dex’s panel index, the model and what it read from your panels and tasks. Removing it in Settings under Dex deletes this folder; turning it back on downloads the model and reads everything again.
  • dex-activity.v1.json, dex-recipes.v1.json: what Dex did on this computer and the recipes you saved, as targets and actions, never text you typed. Not synced. See What Dex remembers.
  • worktrees/: the git worktrees Deska creates so agent threads can work without disturbing your checkout.

Alongside those sit smaller pieces of housekeeping: browser panel cookies and storage, terminal logs, downloaded canvas backgrounds, and this install’s device identity. None of it contains your source code.

Your project files stay where they are

Deska never copies your repositories into its own folder. It opens files in place, and what it keeps is layout and state: which panels are open, where they sit on the canvas, which terminals were running and in which directory.

That state lives in Deska’s own application-data folder, under deska-workspaces/, even for a workspace backed by a project folder. Deska does not write a .deska directory into your repository. If a project already ships a .deska/workspace.json, for example a layout a teammate committed, opening that folder imports it once as the starting layout and never writes back to it.

Backing up and syncing

Code, terminals and files stay on your computer. Artifacts live on Deska, private until you share them, so a saved artifact is also safe on Deska’s server and opens with this computer off. The whole application-data folder is plain files, so copying it is a valid backup of what this computer keeps. First choose Stop Background Work and Quit from Deska’s menu bar or tray icon and wait for it to quit. Closing every window leaves background work running and can still write data while you copy. When you put a copy back, Deska uses its work host folder only once you confirm: see Putting a copy back, or moving to a new computer.

  • Worth keeping: config.json, keybindings.json, deska-notes/ (or the folder you moved your notes to), deska-workspaces/ and work-host/data/<host-id>/. Keep that whole host folder, including its databases (such as resources.sqlite) and artifact-content/: it holds agent artifacts and note revision history. An automation’s saved keys open only with this computer’s keychain, so a copy elsewhere keeps their names and has to save them again. Its runs keep their reports, and the conversations of its newest 30 runs: an older run’s conversation is cleared once its automation’s page can no longer open it.
  • Safe to delete: deska-snapshots/, terminal logs, downloaded backgrounds and browser panel storage. Deska recreates them, and deleting them costs you history rather than work.
  • Not worth syncing: worktrees/ and the browser partitions are tied to this machine and this checkout.
Heads upDo not put license.json in a shared folder or a public backup. It holds the credential that keeps this install signed in. If you think it has been exposed, revoke the device from your account devices list and sign in again.

Putting a copy back, or moving to a new computer

Deska’s work host keeps artifacts, note revision history, automations and views in work-host/data/<host-id>/, and binds that folder to the files it created. A copy has new files, so Deska never uses one on its own: two copies working as the same computer would each end up with part of its work. When Deska starts on a copy (a backup you put back, Time Machine, Migration Assistant or a folder you copied by hand), it shows what it found: where the folder is, where it was copied from, when it was last used and how big it is.

  • Use this data first checks with deska.dev that you are signed in with the account this computer belongs to, so this computer needs to be online. Then Deska uses the copy and starts its work host on it.
  • Its artifacts, note history, automations and views come back as they were when you copied it. Anything done on this computer after that is not in it.
  • Once Deska uses the copy, the folder it was copied from stops working with your account, even if it is still on another computer.
  • Not now leaves the copy untouched. Deska keeps working without its artifacts, automations and views, and asks again the next time it starts.

This works for this computer’s own folder, signed in with the same account. Moving the whole application-data folder keeps it that way: Migration Assistant moves it together with your keychain, so saved keys and sign-ins open on the new Mac too. A work host folder from another computer or another account is not used. If a new computer signs in as a new computer, Deska starts a new work host folder and leaves the old one where it is.

NotePut a copy back as a whole folder: quit Deska as above, move the current work-host/data/<host-id>/ aside, then put the copy in its place. Copying a backup’s files over the folder Deska still uses keeps that folder’s identity, so Deska cannot tell it is a copy, and your account turns its work away.

What Reset all settings does

Settings, then Diagnostics, then Reset at the end holds Reset all settings, which restores every preference to its default in one go once you confirm. It rewrites config.json and nothing else.

It does not touch your project files, your notes, your snapshots, your agent thread history or your keybindings. Keybindings have their own reset, per shortcut or all at once, under Settings and Keybindings.

NoteYour workspace list, recent projects and saved layouts also live in config.json, but a reset leaves them alone: it clears preferences, not your workspaces.

What Deska is allowed to read

File reads and writes are checked against your workspace folders and the access you granted through the file explorer or a native file dialog. The file explorer can browse your local disk and lets you open and manage files in the folders you visit. A symbolic link does not, by itself, grant access to a file outside those locations.

When you open or save a file through a native file dialog, Deska remembers access to that file for the window. Saving an untitled editor outside every workspace therefore lets the next Save work without asking again.

Image previews have a separate, read-only exception: local PNG, JPEG, GIF and WebP images up to 10 MB can open outside those folders when the operating system allows Deska to read them. Deska checks the image format from the file itself. Previewing one does not grant editing access or access to its folder. Reopen an external preview to see later changes to the file. For larger images or other supported formats, open their folder in Deska’s file explorer and try again.

When a workspace is restored, its folder is checked again. A folder that has been moved, deleted or replaced is dropped rather than reopened, so an old session file can never hand back access to something you no longer trust. What leaves your machine, and when, is covered in Privacy & your data.