> ## Documentation Index
> Fetch the complete documentation index at: https://wonder.design/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage your chats

> Find your chats, open several as tabs, rename, pin, archive and restore them, go back to before a message, continue in a new chat, and pick up a conversation you started in the terminal.

Every chat belongs to a repository, in one of its worktrees or its own folder, or is a quick chat with no repository. This page shows how to find your chats again, keep the ones you need open, put the rest away, and go back or start over when a conversation goes the wrong way.

**Before you start** · Desktop app · Free plan

## Find a chat

* **A worktree's chats** are in the chat next to the canvas when you open that worktree in the sidebar's **Repositories** section. Click **Chat history** (the clock) to see the ones that aren't open, newest first. A dot marks a chat that needs your review.
* **Quick chats** are under **Quick chats** in the sidebar. Click **+** there for a **New quick chat**.
* **Pinned** chats and worktrees stay at the top of the sidebar.

Press <kbd>⌘</kbd> <kbd>K</kbd> to jump to a worktree by name, and <kbd>⌘</kbd> <kbd>F</kbd> to find text in the open chat.

## Open chats as tabs

Turn on **Chat tabs** in **Settings > Preferences > Advanced** to keep several chats of a worktree open side by side as tabs. It starts on if you picked **Developer** when you set up the desktop app. With it off, the worktree shows one chat at a time, and you switch with **Chat history**.

| Action | Shortcut |
| - | - |
| New chat | <kbd>⌘</kbd> <kbd>T</kbd> |
| Close tab | <kbd>⌘</kbd> <kbd>W</kbd> |
| Next tab | <kbd>⌘</kbd> <kbd>⇧</kbd> <kbd>]</kbd> or <kbd>⌃</kbd> <kbd>Tab</kbd> |
| Previous tab | <kbd>⌘</kbd> <kbd>⇧</kbd> <kbd>\[</kbd> or <kbd>⌃</kbd> <kbd>⇧</kbd> <kbd>Tab</kbd> |

You can also click **New chat** in the tab strip, and **Close tab** on a tab. Closing a tab doesn't archive the chat: it moves to **Chat history**, where you can open it again. A worktree's last open chat can't be closed.

## Rename a chat

Wonder names each chat after your first real request. To change it, right-click the chat's tab, or, for a quick chat, click **Chat actions** next to it in the sidebar, and choose **Rename**. Once you've renamed a chat, Wonder never renames it again.

A worktree's chats get tabs only when **Chat tabs** is on. With it off, the chat on screen has no tab to right-click, so [turn on Chat tabs](#open-chats-as-tabs) to rename or archive a worktree's chat.

The same menu has **Copy name**, **Copy chat**, which copies the conversation to paste elsewhere, and **Stop agent** while the agent is working. A quick chat's menu also has **Pin** and **Turn into a repository**.

## Archive and restore chats

Archive a chat you're done with to put it away without losing it:

* Right-click the chat's tab and choose **Archive chat**, or, for a quick chat, choose **Archive chat** in its menu in the sidebar. A worktree's chat needs **Chat tabs** on for this, as with renaming.
* If the chat has a message you haven't sent, Wonder asks first. The message comes back when you restore the chat.
* A worktree's last open chat has no **Archive chat**. Open or start another chat first.

To bring a chat back, click **Archived** at the top of the sidebar's **Repositories** section. It shows only when something is archived. Find the chat under **Chats**, or search for it, and click **Restore**. A chat whose worktree was deleted or whose repository was removed can't be restored, but you can still click **Open** to read it.

Chats can't be deleted, only archived.

## Go back to before a message

When your agent took a wrong turn, go back to the message where it started and try again from there:

1. Hover one of your own messages, or right-click it, and choose **Go back to here**.
2. Under **Files**, choose:
   * **Keep current files** to leave the worktree as it is, or
   * **Restore selected files** and tick the files to put back as they were before that message.
3. Click **Go back**.

The message and everything after it stay in the chat, but your agent stops using them, so your next message carries on from before it.

**What it restores:** the files you select in the chat's worktree, from the snapshot Wonder took before that message. It saves a backup first, and leaves alone any file edited while it restores.

**What it doesn't restore:**

* Files you didn't select, and Git commits. Undo a commit yourself.
* Files Git ignores, such as `.env`, and credentials files.
* Changed files larger than 5 MB. When more than 2,000 files or 64 MB changed, Wonder can't restore files from that point at all. It keeps snapshots for the latest 50 messages of each chat.
* Anything outside the worktree, such as your designs on the canvas, other folders, or what commands did elsewhere.

**Go back to here** is greyed out while the agent is working, and doesn't show on messages it has no snapshot for.

## Continue in a new chat

Start a fresh chat from any point of a long or wandering conversation. The chat you start from stays as it is.

1. Hover a message and choose **Continue in new chat**.
2. Choose **From a summary** to start from a summary of everything up to that message, or **From the full history** to bring all of it.
3. If Wonder asks, choose **In this worktree** or **In a new worktree**.

Wonder offers the same when a chat runs out of room or reaches a usage limit. See [Fix a stopped chat](https://wonder.design/docs/fix-a-stopped-chat.md).

## Pick up a conversation from the terminal

Carry on in Wonder with a Claude Code or Codex conversation you started in a terminal:

1. In a chat of the repository, type `/resume` and press <kbd>↵</kbd>.
2. Pick the conversation. **This repository** lists the ones started in this repository; **All folders** lists every one on this computer.

Wonder continues it in a new worktree, so your own checkout isn't touched, or in a new chat of this worktree if that's where it was started. The original conversation isn't changed. A conversation still open in a terminal can't be picked: close it there first.

## If something goes wrong

* **"No open chats. Reopen one from Chat history or create a new chat."** Every chat of this worktree is closed. Click **Chat history**, or press <kbd>⌘</kbd> <kbd>T</kbd>.
* **There's no Archived button.** Nothing is archived yet.
* **"Couldn't go back".** Read the reason the dialog gives. For example, another chat may be working in the same worktree; wait for it to finish, then try again.
* **"Update the Wonder app to go back to earlier messages."** Update the desktop app. See [Update the desktop app](https://wonder.design/docs/desktop-app-and-browser.md#update-the-desktop-app).
* **"That conversation is still open in a terminal. Close it there, then try again."** Quit the agent in that terminal, then run `/resume` again.
* **Continue in new chat is greyed out.** The agent is still working, you went back to before this message, or there's nothing before it to continue from.

## Related

* [Give your agent context](https://wonder.design/docs/give-your-agent-context.md)
* [Fix a stopped chat](https://wonder.design/docs/fix-a-stopped-chat.md)
* [Agent and chat preferences](https://wonder.design/docs/agent-and-chat-preferences.md)
* [Files, changes and terminal](https://wonder.design/docs/files-changes-and-terminal.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.