Feature request:  /resume  and  /session  should support filtering by current working directory

Đang mở
#4,704 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
shell
Lĩnh vực
cli

Hướng nghiên cứu

Bắt đầu bằng cách lần theo các lệnh /resume và /session cùng entry point CLI copilot --resume, sau đó kiểm tra cách các session ghi lại hoặc đối chiếu thư mục làm việc của chúng. Công việc được xem là hoàn tất khi danh sách mặc định chỉ hiển thị các session của thư mục hoặc repository hiện tại, trong khi tùy chọn all-sessions được chỉ định rõ ràng vẫn giữ chế độ xem rộng hơn trên cả ba entry point.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

area:sessions
Describe the feature or problem you'd like to solve

Currently,  /resume  and  /session  list ALL sessions across every project/directory I've ever worked in, with no way to scope the list to the current repo/cwd. This makes it hard to find the right session to resume when I have many sessions across different projects.

Proposed solution
Requested behavior:

• By default,  /resume  and  /session  should show only sessions started in (or associated with) the current working directory / repo.
• Provide a flag or toggle (e.g.  /resume --all ) to view sessions from all directories when needed.
• Same behavior for  copilot --resume  from the CLI flag.

This would make session resumption much faster and less error-prone for users who work across multiple repositories.

Example prompts or workflows

No response

Additional context

No response

Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/copilot-cli

Tất cả issue của github/copilot-cli

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.