Agents Window: show repo basename instead of full remote path

Feature request for product/service

Cursor IDE

Describe the request

In the Agents Window sidebar (Group by Repository), repo headers use the full Git remote path. For multi-segment remotes (for example Azure DevOps), that looks like:

org/project/area/my-service-repo

I only need the repo name:

my-service-repo

Or the local folder name. The long path makes the list hard to scan when several related repos are open.

This is different from renaming project headers. I am asking for a display rule:

  • default to the last path segment of the remote (or the local folder name)
  • optionally show the full remote path on hover or in a setting

Today the workaround is Group by Workspace, but Repository grouping is still useful when chats should be keyed by remote. A shorter label would make that view usable with multi-segment remotes (Azure DevOps and similar).

Same pain with Azure DevOps Cloud Agents repo picker.

Our project is DIR FACILITIES - SERVICOS OPERACIONAIS, so every row truncates to:
vale-devops/DIR FACILITIES - SERVICOS OPERACI...
and the repository name never appears.

Ask:

  1. Default label = repository basename (last segment)
  2. Or truncate middle / keep the last segment visible
  3. Always show tooltip with full org/project/repo

Workaround today: search by repo suffix, or local Agent + Group by Workspace.