github / github/copilot-cli

--no-remote flag does not fully disable remote control

Đang mở Phù hợp với người mới
#3,022 0 bình luận 4 reaction 0 người được giao Xem trên GitHub
area:configuration 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 bug

The `--no-remote` flag is documented as "Disable remote control of your session from GitHub web and mobile", but it only sets remote to read-only instead of fully disconnecting it. The /remote off slash command correctly disconnects, but `--no-remote` does not match this behavior.

### Affected version

Copilot CLI v1.0.37

### Steps to reproduce the behavior

1. Launch `copilot --no-remote`
2. Run `/remote` to check status
3. Observe: `Remote control status: read-only`

### Expected behavior

`/remote` should show `Remote control status: disconnected`, matching the behavior of `/remote off`.

### Additional context

There is also no persistent setting in `~/.copilot/settings.json` to default remote to disconnected, so users must run `/remote off` manually every session.

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

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

Hướng nghiên cứu

Start with the CLI argument handling for `copilot --no-remote` and the `/remote` status and `/remote off` command paths. Reproduce the issue on Copilot CLI v1.0.37 or the current version, then verify that launching with `--no-remote` reports `Remote control status: disconnected` rather than `read-only`.

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
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
72/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.