Agents Window: show repository basename instead of full path

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

In the Agents Window, repositories are displayed using their full path, for example:

users/barrackhusseinobama/dev/dashboard
users/barrackhusseinobama/dev/pdf_2_pdf

When the sidebar is narrow, the path is truncated from the right. Since repositories usually share the same parent path, this hides the only distinguishing part — the repository name.

As a result, several repositories are displayed identically as something like:

users/barrackhusseinobama…
users/barrackhusseinobama…

This makes it impossible to tell which project an agent belongs to without widening the sidebar.

Steps to Reproduce

Open the Agents Window with multiple local repositories that share the same parent directory.
Group agents by repository.
Reduce the width of the Agents sidebar.
Observe that repository paths are truncated from the right.
The repository basename disappears, leaving several repository entries with effectively identical labels.

Operating System

MacOS

Version Information

Version: 3.15.19 (Universal)
VS Code Extension API: 1.128.0
Commit: de07bee81cefe43461ebf4f40c3d2d78d15052a0
Date: 2026-08-11T05:22:54.627Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.291
OS: Darwin arm64 25.5.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @hildes,

You’re right - with Group by Repository, long shared paths get cut off from the right, so the labels look identical. We’ve let the team know. Same ask for remote paths here: Agents Window: show repo basename instead of full remote path.

For now, open Customize Sidebar (filter icon at the top of the Agents sidebar):

  1. Grouping → Workspace - labels use the folder name (dashboard, pdf_2_pdf).
  2. Or keep Repository grouping and turn on Show → Workspace so each agent row shows the folder name underneath.

I’ll post here when there’s an update on the label itself.