github / github/copilot-cli

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.

area:sessions
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

Mô tả

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

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.

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.

Đánh giá

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

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.