> For AI agents: the complete documentation index is available at https://docs.heys.ai/workstation/en/llms.txt, the full documentation bundle is available at https://docs.heys.ai/workstation/en/llms-full.txt.

# Sessions, Projects and Files

The task is done, so where is the result? How do you get back to an old conversation? How do you view, edit and send to others the files the agent wrote? This page covers the three layers HeyS uses to organize work (project, session, task), the session list in the sidebar, the file panel, output cards, the preview panel, previewing, editing and commenting in the built-in Office, and finally downloads, exporting sessions, and opening local files with HeyS.

## Sessions and tasks \{#sessions-and-tasks}

```
Project ──< Session ──< Task
```

- A **task** is one run of "get this done": from the moment you send a message until the agent delivers an answer (or fails, or is canceled).
- A **session** is a series of related tasks, which is one chat in the sidebar. Within a session, later tasks can see the earlier conversation, attachments and output files, so "revise what you just did" needs no background again.
- A **project** binds one or more folders to several sessions, and carries a long-term project memory ([Projects](#projects)).

Where your next message in a session goes follows a simple rule: if the previous task isn't finished (it was paused, the network dropped, or the app exited), the message **continues** it; if it is finished, a **new** task starts in the same session, carrying the conversation so far. You don't need to tell the difference; just talk as usual.

**Session names** are given by HeyS automatically after the first answer is delivered, and don't change after that. To rename, click the pencil next to the title on the session page, or **⋯ → Rename** on the session row; a name you set yourself always wins. The title is followed by status text: **Running**, **Completed**, **Failed**.

**Each session remembers its own model.** Switching models in a session applies only to that session and sessions created afterwards; when you continue an older session, it keeps the model it actually used last time ([Models and Usage](https://docs.heys.ai/workstation/en/models-and-usage.md)).

## Projects \{#projects}

### Creating a project and multiple folders

In the project menu on the new task page, click **New project** ([Starting a Task](https://docs.heys.ai/workstation/en/starting-a-task.md)), enter a project name, add source folders, and click **Create project**:

| Situation                                 | Result                                                                                                                                |
| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| No folder added                           | HeyS manages a folder in the data directory for you                                                                                   |
| One existing folder added (local desktop) | The agent's output lands right in that folder                                                                                         |
| Several folders added                     | The first is the primary folder, where the agent works by default; the others can still be added or removed later in project settings |

Project names must be unique; **the primary folder cannot be changed once the project is created**. When creating the project, HeyS checks whether the folder contains files such as `.git` or `package.json` to tell whether it is a code project, and asks whether you want it to work like a coder ([Code Projects and Remote Workspaces](https://docs.heys.ai/workstation/en/code-projects-and-remote-workspaces.md)).

### Project rows and project settings

Under the **Projects** group in the sidebar, each project has one row, with its sessions below it (**Show more** appears when there are many). Hover over a project row:

- **+**: **New task in this project**;
- **⋯**: pin to top, **Toggle file panel**, **Project settings**, **Rename project**, **Remove**.

**Project settings** contains **Directories** (add or remove folders, and give each one a name and a one-line description, which the agent reads when a task starts) and **Coding** (code project, confirm before running, check commands, separate worktree and so on, [Code Projects and Remote Workspaces](https://docs.heys.ai/workstation/en/code-projects-and-remote-workspaces.md)). Changes affect only tasks started afterwards.

### The project detail page

Click a project name to open the project detail page: the bound path (which you can open in Finder / File Explorer), directories, **Project memory**, **Sessions (N)**, and the scheduled tasks bound to this project, **Cron Jobs (N)**; renaming and removing are at the top right.

**Project memory** is a long-term memo that travels with the project; the agent reads it at the start of every task in this project. It is meant for conventions that **hold for the long term**, such as "always write reports to the `报告/` (reports) folder", "show all amounts in units of 10,000 yuan", terminology and definitions, or folders that must not be touched. It comes from three sources: the agent distills it automatically from what you said after a task completes; the agent records it on its own during a task when it recognizes a lasting convention; and you edit it by hand by clicking **Edit** on the detail page. When it conflicts with your current instruction, what you say now wins. It is not the same thing as the global memory about you under **Settings → Memory** ([Memory and Personality](https://docs.heys.ai/workstation/en/memory-and-personality.md)).

**Removing a project only deletes what HeyS itself records**: the project information, which sessions belong to it, the project memory, and the folder HeyS managed for it. Folders you chose yourself and the sessions themselves are untouched; sessions that belonged to the project become temporary chats.

## Temporary chats and output \{#temporary-chats-and-output}

A session started with **No project** is a **temporary chat**, listed in the **Chats** group in the sidebar. It has its own working directory, where the files the agent writes are kept; later tasks in the same session can use the earlier files directly.

Not having a project doesn't take anything away: attachments, references, the browser, skills and experts all work the same. When you ask the agent to produce Word, Markdown or other files, **output cards** still appear below the answer, and you can also see and open them directly in the **Outputs** panel on the right and under **Outputs** in task details. If one day it turns out to be worth maintaining for the long term, create a project and copy the output over.

## The session list in the sidebar \{#the-session-list-in-the-sidebar}

The home sidebar is divided into groups: pinned sessions and projects are listed on their own at the top; the **Projects** group lists sessions by project; the **Chats** group holds temporary chats, plus development chats for creating skills, mini apps, experts and so on (with a type icon in front of the title; hover to see what is being developed) and guide chats (with their own icon). Sessions the Sprite opened in your space and projects it created carry a Sprite mark.

The dot in front of a session name: **blue** means there is a new result you haven't seen, and it disappears when you open the session; a running session shows an animated ellipsis.

### Filtering and sorting

The filter icon at the end of the **Projects** title row opens the **Filter sessions** menu:

| Item              | Options                                                                                                       |
| ----------------- | ------------------------------------------------------------------------------------------------------------- |
| **Status**        | **Active** (default), **Archived**, **All**                                                                   |
| **Project**       | **All projects**, **Temp chats**, or several projects selected (shown as N selected); **Hide empty projects** |
| **Last activity** | **Any**, 1 day, 3 days, 7 days, 30 days                                                                       |
| **Sort by**       | **Date created** (default), **Last modified**; the time shown on session rows follows the choice              |

**Clear filters** resets everything in one click. Filters are remembered. The project you are currently using is always shown.

### The session menu

Hover over a session row and **⋯** appears. The menu has:

| Menu item                   | What it does                                                                                                                                                                                                   |
| --------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Pin to top** / **Unpin**  | Keeps the session at the top of the list                                                                                                                                                                       |
| **Rename**                  | Changes the session name                                                                                                                                                                                       |
| **Details**                 | Identifiers of the session and its tasks, the model each task actually used, and so on                                                                                                                         |
| **Mark as unread**          | Leaves yourself a reminder by lighting up the blue dot                                                                                                                                                         |
| **Sync this session now**   | Only present when cloud sync is on; syncs this session to your other computers right away ([Data, Cloud Sync and Troubleshooting](https://docs.heys.ai/workstation/en/data-cloud-sync-and-troubleshooting.md)) |
| **Export log**              | Packages the complete record of this session ([Exporting a session log](#exporting-a-session-log))                                                                                                             |
| **Archive** / **Unarchive** | Tucks the session away from the list, keeping all its data                                                                                                                                                     |
| **Delete**                  | Deletes the session; this cannot be undone                                                                                                                                                                     |

Sessions in code projects have a few more worktree-related items ([Code Projects and Remote Workspaces](https://docs.heys.ai/workstation/en/code-projects-and-remote-workspaces.md)). When a menu near the bottom doesn't have room, it opens upwards.

Once you have many sessions, **archiving is a better choice than deleting**: archived sessions are hidden from the list by default; to see them again, switch the filter's **Status** to **Archived** or **All**.

### Deleting memories along with a session

The confirmation dialog for deleting a session reminds you (in red) that **Memories created in this conversation will not be deleted**. If there are memories **recorded only by this conversation**, you can check **Also delete N memories saved from this conversation**, and click **Show which ones** to expand and review them. Memories still used by other conversations are not deleted; once you check the box you are reminded that memories are shared by every conversation in the space.

## All sessions and the task list \{#all-sessions-and-the-task-list}

### The all sessions page

**All ›** to the right of the **Chats** group title in the sidebar opens the all sessions page, listing every session in this space.

<figure>

![The all sessions page, Sessions, 27 total: name and ID, Location (project name or Chats), Space, creation time; at the top right, the My chats ▾ source filter and Import sessions](/screenshots/en/p21-全部会话-fa242d.webp)

<figcaption>The all sessions page, Sessions, 27 total: name and ID, Location (project name or Chats), Space, creation time; at the top right, the My chats ▾ source filter and Import sessions</figcaption>
</figure>

- The **Location** column shows which project the session is in; temporary chats show **Chats**, and development chats show "\<kind> development".
- The **Source** filter (**My chats ▾** at the top right): **My chats**, **All apps**, or the sessions started by one particular mini app (including the chats from reworking that app); the filter survives a refresh.
- Click a row to open the session. Hover over a row and **View tasks** appears: on the left is the session's task list, on the right the events of the selected task, and **Jump to chat →** takes you back to that point in the conversation.
- **Import sessions** brings sessions over from other agents; it is the same feature as **Settings → Import sessions** (local desktop only, [Spaces, Appearance and General Settings](https://docs.heys.ai/workstation/en/spaces-appearance-and-general-settings.md)).

### The task list

Press ⌘K / Ctrl+K to open search, and under **Actions** choose **View task list** to see a list ordered by task (rather than by session).

<figure>

![The task list: goal, status (Completed / Paused / Failed), creation time, duration, space](/screenshots/en/p22-任务列表-fa242d.webp)

<figcaption>The task list: goal, status (Completed / Paused / Failed), creation time, duration, space</figcaption>
</figure>

Each row shows a task's goal, status, creation time, duration and space; click a row to jump to that task in the conversation. It is quicker than going through sessions when you are looking for "that task that failed last week".

## The file panel \{#the-file-panel}

In the row of icons at the top right of the session page, the yellow folder opens the **file panel**, showing the file tree of the current workspace (the project folder, or the temporary chat's working directory).

<figure>

![The Files panel on the right: the toolbar at the top, Search files…, then the data and 报告 (reports) folders, each file with a colored icon (md, html, xlsx, pptx, docx)](/screenshots/en/c25-文件面板-9533d5.webp)

<figcaption>The Files panel on the right: the toolbar at the top, Search files…, then the data and 报告 (reports) folders, each file with a colored icon (md, html, xlsx, pptx, docx)</figcaption>
</figure>

The toolbar, from left to right:

| Button                                                                     | What it does                                                                                                                                          |
| -------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Widen side panel to the maximum** / **Shrink side panel to the minimum** | Adjusts the panel width in one click                                                                                                                  |
| **Expand all** / **Collapse all**                                          | Expands or collapses every folder                                                                                                                     |
| **New folder**                                                             | Creates one at the root                                                                                                                               |
| **Upload**                                                                 | Choose files to upload; you can also drag files or folders straight into the panel (**Drop to upload (folders supported)**)                           |
| **Reveal in file manager**                                                 | Opens the workspace in Finder / File Explorer (local desktop)                                                                                         |
| **Show hidden files**                                                      | When on, files such as `.env`, `.gitignore` and `.github/` are shown dimmed. On by default in code projects and off in others, remembered per project |
| **Refresh**                                                                | Reloads the file tree                                                                                                                                 |

- The search box finds files by name; you can also switch to **Search contents** to search inside files.
- The right-click menu: **Open**, **New file** / **New folder**, **Rename**, **Delete**, **Download** (**Download as ZIP** for folders), **Copy path**, **Reveal in file manager**.
- Folders set as folders AI can't access have a **small lock** next to their name, with the hover hint **AI can't access**; you can still open them yourself as usual.
- When cloud sync is on, files that are only in the cloud and haven't been downloaded yet carry a download icon and are downloaded automatically when you open them ([Data, Cloud Sync and Troubleshooting](https://docs.heys.ai/workstation/en/data-cloud-sync-and-troubleshooting.md)).

The files a task produces **are right in this folder**: what the panel shows is the real content on disk, and the panel refreshes automatically when the agent finishes writing a file.

## Output cards and the file menu \{#output-cards-and-the-file-menu}

Below the answer are the files this task produced, each as an **output card**: a colored file icon, the file name and its size. Click a card to open it in the **Preview** panel on the right.

<figure>

![A completed session: the answer is organized as Progress, Verification, Risks and Next steps, followed by the output card Q3区域汇报.pptx 37 KB, then the quick actions Continue, Make a case template and Open a page; the input box holds the gray next-step suggestion and the Tab button](/screenshots/en/c01-会话-答复与产物-9533d5.webp)

<figcaption>A completed session: the answer is organized as Progress, Verification, Risks and Next steps, followed by the output card Q3区域汇报.pptx 37 KB, then the quick actions Continue, Make a case template and Open a page; the input box holds the gray next-step suggestion and the Tab button</figcaption>
</figure>

When there is a lot of output, the cards are followed by **View all outputs (N)**, which opens the **Outputs** panel on the right listing everything the session produced. Below an answer you only see the files and images this conversation itself produced or that the answer mentions; output from other conversations in the same project doesn't get mixed in.

Hover over a card and **⋯** appears; right-clicking opens the same menu:

<figure className="narrow">

![The ⋯ menu of the output card 区域毛利率排名.xlsx (regional gross margin ranking): Show in folder, Open in default app, Add to chat, Copy path, Save as…, Share…](/screenshots/en/c10-产物卡片菜单.webp)

<figcaption>The ⋯ menu of the output card 区域毛利率排名.xlsx (regional gross margin ranking): Show in folder, Open in default app, Add to chat, Copy path, Save as…, Share…</figcaption>
</figure>

| Menu item               | What it does                                                                                                                                                                           |
| ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Show in folder**      | Shows this file in Finder / File Explorer                                                                                                                                              |
| **Open in default app** | Opens it with a system app such as Word, Excel or WPS                                                                                                                                  |
| **Add to chat**         | Puts this file into the input box as an attachment so the agent can keep working on it                                                                                                 |
| **Copy path**           | Copies the file's full path                                                                                                                                                            |
| **Save as…**            | Saves a copy to a location you choose                                                                                                                                                  |
| **Share…**              | On macOS, opens the system share menu so you can send it to WeChat, Mail, AirDrop and so on; on Windows it is **Copy file**, after which you can paste it straight into WeChat to send |

The web app only shows **Add to chat**, **Copy path** and **Download**.

### File names in the answer

Files mentioned in the answer (such as `报告/区域毛利率排名.xlsx`) can be **opened directly** in the preview panel; even if only the file name is written and the file is actually in a subfolder, it is found. **Right-click** the file name: the top of the menu has the same file actions as an output card, and below them are **Copy**, **Copy as Markdown** and **Copy as attachment** for the whole answer:

- When there are several files with the same name, the menu shows **Open…**, and you choose after clicking it;
- When the file can't be found, only the copy items are shown;
- For files outside the workspace, on this computer you can show them in Finder, and documents and images can also be opened with a system app (scripts and programs only get "show"; HeyS won't run them for you).

## The preview panel \{#the-preview-panel}

File names in answers, output cards and files in the file panel all open in the **Preview** panel on the right.

<figure>

![After clicking an output card, the Preview panel on the right opens 区域毛利率排名.xlsx in the built-in Office; the top bar has Refresh, Edit ▾, Download, ⋯, Maximize and Close, and the file name appears as a tab](/screenshots/en/c11-预览面板-xlsx-9533d5.webp)

<figcaption>After clicking an output card, the Preview panel on the right opens 区域毛利率排名.xlsx in the built-in Office; the top bar has Refresh, Edit ▾, Download, ⋯, Maximize and Close, and the file name appears as a tab</figcaption>
</figure>

- Each file you open is a **tab** in the panel; click × to close it. You can have several open at once.
- The top bar: **Refresh**, **Edit** ▾ (only for files that can be edited), **Download**, **⋯** (layout: **Move**, **Show only this one**, **Side by side**), **Maximize**, **Close**.
- **Maximize** makes the panel cover the conversation area and fill the right side; click **Restore** or press Esc to return to the previous arrangement ([Interface Overview](https://docs.heys.ai/workstation/en/interface-overview.md)).

| File type        | How it is previewed                                                                                                                                                                                                                                |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Text, code       | With line numbers and syntax colors                                                                                                                                                                                                                |
| Markdown         | Rendered, with the option to switch back to source; chart code blocks in it are drawn as charts ([Answer Charts, Image Generation and the Design Canvas](https://docs.heys.ai/workstation/en/answer-charts-image-generation-and-design-canvas.md)) |
| CSV / TSV        | Opens as a table by default; can be switched back to text                                                                                                                                                                                          |
| docx, xlsx, pptx | Built-in Office ([Built-in Office: preview, editing and comments](#built-in-office-preview-editing-and-comments))                                                                                                                                  |
| Images           | Fit to the panel; zoom, 1:1 and drag to pan; click to enlarge                                                                                                                                                                                      |
| PDF              | Fills the panel at its current size                                                                                                                                                                                                                |
| HTML             | Shows the rendered result by default; you can switch to **Source**, or open it in the browser ([Links and HTML preview](#links-and-html-preview))                                                                                                  |

For safety, executable files are not opened inline and can only be downloaded. Files that can't be previewed, such as archives, fonts, audio and video, show **This file type cannot be previewed inline**; you can download them, open them with the system default app, or show them in the folder. Very large files show only a portion from the beginning.

## Built-in Office: preview, editing and comments \{#built-in-office-preview-editing-and-comments}

Clicking a docx, xlsx or pptx opens it in the built-in Office's **preview** (read-only), with layout, tables, formula results, comments and tracked changes the same as in Office. The built-in Office ships with the installer and **works offline and on internal networks**, with no other software to install.

<figure>

![Word previewed read-only in the Preview panel: the top bar has Refresh, Edit ▾, Download, ⋯, Maximize and Close; the red underlined text in the document is a tracked change written by the agent; at the bottom are the page count, word count and zoom](/screenshots/en/c26-Word预览-9533d5.webp)

<figcaption>Word previewed read-only in the Preview panel: the top bar has Refresh, Edit ▾, Download, ⋯, Maximize and Close; the red underlined text in the document is a tracked change written by the agent; at the bottom are the page count, word count and zoom</figcaption>
</figure>

### Editing

Click **Edit** to switch to edit mode (the drop-down also has **Open with default app**, and your choice is remembered; older formats such as `.doc`, `.xls` and `.ppt` can also be handed to a system app in one click). While editing, the ribbon has Home, Insert, Draw, Layout, References, Collaboration and View; when you are done, click **Save** to write the file back in place, and **Done** to return to the preview. For long documents, it is best to **Maximize** before editing.

<figure>

![Editing Word after maximizing: the built-in Office ribbon, with the top bar now showing Refresh, Comments, Done, Save, Download, ⋯, Back to the panel and Close](/screenshots/en/c27-Word编辑-9533d5.webp)

<figcaption>Editing Word after maximizing: the built-in Office ribbon, with the top bar now showing Refresh, Comments, Done, Save, Download, ⋯, Back to the panel and Close</figcaption>
</figure>

- In documents the agent changed with comments and tracked changes, the change marks still show, and you can accept or reject them one by one under Collaboration; after you save, these comments and tracked changes are kept as they are.
- A PPT preview has slide thumbnails on the left; a PPTX in a session or in the file preview can also be turned into a design canvas with **Convert to canvas** ([Answer Charts, Image Generation and the Design Canvas](https://docs.heys.ai/workstation/en/answer-charts-image-generation-and-design-canvas.md)).
- **Refresh** reloads the file from disk; click it after the agent has changed files in bulk. It can't be clicked while you have unsaved changes. If the file is changed elsewhere while you are editing, you only get a notice and the editor doesn't reopen on its own: **This file just changed (perhaps the agent). Saving now overwrites that change; close and reopen to avoid it.**

### Commenting and sending to HeyS

While editing, the **Comments** button in the top bar opens comment mode, which works the same as comments on a design canvas: the cursor turns into a comment cursor, and you comment wherever you click.

<figure>

![Comment mode: "西南毛利率最低" (the Southwest has the lowest gross margin) is selected in the text and a comment box pops up with "@HeyS 补一句西南毛利偏低的原因" (@HeyS add a sentence on why the Southwest's margin is low), with Send to HeyS checked, then Send; the comments panel on the right has four tabs, Open, Sent, Resolved and All, and Send to HeyS (0) at the bottom](/screenshots/en/c28-Word批注-9533d5.webp)

<figcaption>Comment mode: "西南毛利率最低" (the Southwest has the lowest gross margin) is selected in the text and a comment box pops up with "@HeyS 补一句西南毛利偏低的原因" (@HeyS add a sentence on why the Southwest's margin is low), with Send to HeyS checked, then Send; the comments panel on the right has four tabs, Open, Sent, Resolved and All, and Send to HeyS (0) at the bottom</figcaption>
</figure>

1. Click a word in the document (or drag to select a passage); in a spreadsheet, click a cell; in a presentation, the comment lands where you click. Clicking an existing comment opens that one.
2. Write your note in the comment box. With **Send to HeyS** checked, click **Send** and the comment goes straight into the current session; unchecked, it is just an ordinary comment.
3. You can also write several comments first, then select them in the comments panel on the right and click **Send to HeyS (N)** at the bottom to send them together.
4. In the session, your message appears as **N document comments**, and the agent edits the document according to the comments.
5. When the agent has dealt with them, it replies to each comment and **marks it resolved**, writing this back to the file. If the file isn't open, the main window opens it in the background to write the replies.

- The comments panel has the tabs **Open**, **Sent**, **Resolved** and **All**.
- Comments are native comments in the file, so they are visible in Word or WPS too; if you only changed comments, the file is saved directly.
- In comment mode the body text is not changed. In the (read-only) preview, clicking an existing comment shows its discussion.

### When it can't open a file

When the built-in editor can't open a particular file (an unusual image format, a damaged file and so on), you don't get a blank page: Word shows a simplified preview, Excel shows a table preview, and PPT suggests opening it with a system app or downloading it. You can **Retry**, and the original error is under **Details**. If a document contains BMP, ICO, SVG or damaged images, they are automatically replaced with images that can be displayed (after saving, these images become PNG). A few customized builds may not include the built-in Office; in that case xlsx is edited in a spreadsheet grid ([Editing text, Markdown and spreadsheets](#editing-text-markdown-and-spreadsheets)) and docx is shown as a read-only web preview.

## Editing text, Markdown and spreadsheets \{#editing-text-markdown-and-spreadsheets}

Text, code and Markdown can be changed in place by clicking **Edit**; **⌘S / Ctrl+S saves**, and **Done** returns to the preview.

- Markdown can switch between **Edit** and **Preview**; after maximizing, it is split left and right so you can see the result as you edit.
- When there are unsaved changes the top bar says so; if you close by mistake and reopen, you are told **There are unsaved changes from** (time), and can **Restore** or **Discard** them.
- In these cases the file can only be viewed, and the interface says why: the file is larger than 2MB, isn't UTF-8 encoded (for example GBK), is a binary file or an executable, or you only have view permission for files here.

**Spreadsheets** (CSV / TSV, and xlsx when the built-in Office isn't available) are edited in a grid:

- Saving changes only the cells you touched and keeps everything else as it was. At the top you can switch between **Table** and **Text**, and the delimiter is stated (comma / tab / semicolon);
- Select a block of cells and use ⌘C / ⌘V to copy and paste to and from Excel, Numbers and so on; copy one value and paste it over a selection to fill the whole selection; Delete clears the selection;
- Formula cells are view-only (changing the value would wipe out the formula); large sheets are paged, with **Rows N–M of K** and paging at the bottom.

## When the agent changes a file at the same time \{#when-the-agent-changes-a-file-at-the-same-time}

If you have a file open and the agent is writing to it too, HeyS handles it like this:

| Situation                                | Result                                                                                                                                                                                                                                                                                                                 |
| ---------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| You haven't changed it                   | The new content loads directly, with the notice **The file changed; loaded the latest version**                                                                                                                                                                                                                        |
| You changed it but haven't saved         | You are told **The agent or another window just changed this file. Your edits are not saved yet.** You can **View differences** (red is in their version but not yours, green is what you added; for each block choose **Keep mine** or **Use theirs**), **Load their version (discard mine)**, or **Keep my changes** |
| Spreadsheets                             | You can **Apply my changes to the latest version** (only the cells you changed are touched), or **Discard mine and reload**                                                                                                                                                                                            |
| The file changed again just as you saved | The save is stopped with **Not saved: the file changed after you opened it**, so nothing is silently overwritten                                                                                                                                                                                                       |

It works the other way round too: **if you change a file the agent has read or written while it is working, it re-reads the file at its next step**, rather than writing the whole file back from the old content and wiping out your changes; changes you make while the task is paused are also noticed when it resumes.

## Links and HTML preview \{#links-and-html-preview}

- **Web links in the conversation** open in the built-in browser on the right when clicked; ⌘ / Ctrl + click opens them in the system browser. Right-click to choose **Open in built-in browser**, **Open in system browser** or **Copy link**, or check **Open links in the system browser by default**.
- **HTML files** (web pages and reports the agent made) show the rendered result in the preview panel by default, with CSS, images and scripts loaded, and you can switch to **Source**; HTML file names in an answer also have a **Preview** next to them. Only files in the current conversation's workspace can be previewed.

The built-in browser is only on the local desktop. In the web app, links open in a new tab as usual, and HTML preview tells you so and opens the source instead.

## Download and Save As \{#download-and-save-as}

Downloading in the preview panel, downloading in the file panel, downloading while viewing an enlarged image, and **Save as…** on an output card all bring up a "Save As" dialog on the desktop, saving to the system's Downloads folder by default; afterwards you are told **Saved to** … and can **Show in folder**. Large files save without trouble too. In the web app, the browser downloads the file directly.

## Exporting a session log \{#exporting-a-session-log}

**⋯ → Export log** on a session row packages the session into a zip containing the complete conversation and each task's execution process and tool output. It doesn't include the output files or attachments in the working directory, so it stays small.

- On the desktop you choose where to save first; the menu shows **Exporting, N MB downloaded**, and you can **Cancel export**. The app doesn't freeze while exporting, and even very large sessions can be exported.
- In the web app it downloads directly.

Uses: hand it to technical support when you run into a problem ([Data, Cloud Sync and Troubleshooting](https://docs.heys.ai/workstation/en/data-cloud-sync-and-troubleshooting.md)), or give a colleague the complete trace of a run to review.

:::warning Warning
The exported log contains the original conversation and tool output (which may include file contents and web page contents). Before sending it outside, make sure it contains nothing that shouldn't leave.
:::

## Opening local files with HeyS \{#opening-local-files-with-heys}

**Local desktop only.** No need to create a task and upload an attachment first: in Finder / File Explorer, right-click a file and choose **Open with → HeyS** to go straight to a separate window for that file, with the file on the left to view and edit, and a chat with the AI on the right that automatically has the file as context.

- **You edit a working copy.** When opening, HeyS copies the original file into the session, and both you and the AI edit this copy; just opening it doesn't change the original and doesn't start a task automatically.
- Only **Save to original** writes it back. Before writing back it checks: if the original was changed outside HeyS, it asks whether to **Overwrite** or save as a new file; if the original was deleted, you can **Re-create** it or save it elsewhere; if it is read-only or you lack permission, you are asked to save it elsewhere. If the editor still has unsaved changes, press ⌘S to save them into the copy first, then write back.
- **Save As…** writes to a location you choose and leaves the original untouched.
- If there are changes not yet written back when you close the window, you are asked whether to save, not save for now, or cancel; quitting HeyS is intercepted the same way.
- After you close the window, the conversation stays in the sidebar (with a file icon; hover to see the original path), and clicking it takes you back to the same file window. When you open the session in the main window, **Open in file window** is at the top. Using "Open with HeyS" on the same file again takes you back to the original session.

Supported: Office documents, PDF, Markdown, text, CSV, HTML, common images and code files; PDFs and images are read-only.

| Platform | How it appears under "Open with"                                                                                                    |
| -------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| macOS    | Available right after installation                                                                                                  |
| Windows  | Turn on the switch in **Settings → General → Open With** (it only writes to the current user's registry; turning it off removes it) |

HeyS only joins the "Open with" list; it **never becomes the default app for any file** unless you set it as the default in the system yourself.
