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 摘要。