You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
891 B
891 B
| title | status | type | priority | created_at | updated_at |
|---|---|---|---|---|---|
| sessions list: scope to current project by default with --scope flag | completed | feature | normal | 2026-03-31T23:44:50Z | 2026-04-01T05:58:09Z |
When run inside a project directory, claudbg sessions should only list sessions for that project (similar to how claude /continue lists sessions for that project). Override with --scope=[user|project|local] — default is 'project'.
Summary of Changes
Added SessionScope enum (Project | User) to src/cli.rs.
Added --scope flag to SessionsCmd::List with default project.
Updated sessions::list() signature to accept scope: SessionScope.
When scope is Project, resolves the current working directory and filters raw rows to only include sessions whose project_path exactly matches the CWD. Scope User shows all sessions (previous behavior).