Feature request for product/service
Cursor CLI
Describe the request
Title: CLI /resume: default session filter to “This workspace” (and make it configurable)
Feature request for: Cursor CLI
Problem
In interactive Agent CLI, /resume / agent ls opens a session picker with two tabs:
• All chats
• This workspace
The picker always opens on All chats. For day-to-day work I almost always want sessions from the current cwd/workspace; the
global list is noisy and easy to pick the wrong chat.
Switching is possible (→ / l), but the choice is not persisted and there is no cli-config.json setting. Every /resume starts
on All chats again.
Proposal
- Default the filter to “This workspace” when opening the resume picker (or at least when a current workspace is known).
- Optionally add a config key, e.g. in ~/.cursor/cli-config.json:
{
“resume”: {
“defaultFilter”: “workspace”
}
}
Allowed values: “workspace” | “all”. Persist the last selected tab as a weaker alternative if you don’t want a new config
field yet.
Why
• Matches how most people resume work: same repo, same directory.
• Reduces mis-resumes from similarly named chats in other workspaces.
• Small UX change; filter UI already exists.
Current workaround
• Manually press → / l each time, or
• Patch local CLI bundle useState(“all”) → useState(“workspace”) (overwritten by agent update).
Environment
• Cursor Agent CLI (e.g. 2026.07.23-e383d2b)
• Slash command /resume / agent ls