github / github/copilot-cli

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

未關閉
#3,022 0 則留言 4 個 reaction 已指派 0 人 在 GitHub 檢視
area:configuration area:sessions
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### 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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。