> For the complete documentation index, see [llms.txt](https://docs.nimbalyst.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nimbalyst.com/file-management/file-edits-sidebar.md).

# File Edits Sidebar

The File Edits Sidebar tracks every file your AI agent read or changed during a session, so you can review each modification before accepting.

The File Edits Sidebar lists every file the AI touched during a session, so you always know what was modified, referenced, or read, and what still needs your review. Use it as your review checklist after an agent finishes a task.

<figure><img src="https://562749618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiVUeHZHlFlZrZt02syRC%2Fuploads%2FZ6cvcg6DQgChwnS29vNU%2Fimage.png?alt=media&amp;token=c2312d4c-9533-4481-9cb7-51c953f14c6d" alt=""><figcaption><p>An agent session with the Edited list in the sidebar showing four changed files, one of them pending review with a Keep All button.</p></figcaption></figure>

* Every file the AI edited appears in the sidebar list
* Click a file to jump directly to the AI session that made the edit
* See how many changes are in each file and navigate between them
* **All Uncommitted Files** mode shows files with pending changes across your project

### Diff Peek

Hover any row in the edited-files list and a peek icon appears on the right. Click it to open a unified diff popover anchored to the row, so you can see exactly what the agent changed without leaving the session view or opening the file.

<figure><img src="https://562749618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiVUeHZHlFlZrZt02syRC%2Fuploads%2Fgit-blob-933b4e968c2c9bbe4ec098527b936f6f01cc79df%2Fsession-edits-diff-peek.png?alt=media" alt="A pinned diff peek showing changes for a file in the All Session Edits sidebar"><figcaption><p>Review a file's changes from All Session Edits without leaving the agent session.</p></figcaption></figure>

* Hover the row to reveal the peek icon
* Click the icon to pin the diff popover
* The popover is resizable, and the size you pick is remembered (it stays in sync with the diff peek in the Git extension and the commit proposal widget)
* Click outside or press Esc to close


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.nimbalyst.com/file-management/file-edits-sidebar.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
