anthropics / anthropics/claude-code

Desktop app: interactive sessions never register for Remote Control, while scheduled-task sessions from the same app do

未关闭
#92,306 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:desktop bug has repro platform:macos
主要语言
Python
星标
145k
派生
23.1k
PR 合并指标
PR 指标待抓取

描述

## What happens

On the Claude desktop app (macOS), interactive Claude Code sessions are never registered for Remote Control, so they never appear in the Code list on the mobile app or claude.ai/code. Scheduled-task sessions launched by the same app **do** register and are reachable.

## Expected

With auto-connect enabled, an interactive session should register at startup and be viewable from another device.

## Environment

- macOS (Darwin 25.5)
- Claude desktop app 1.44121.4
- Claude Code bundled with the desktop app: 2.1.247 and 2.1.258
- Separately installed CLI: 2.1.261 (not the surface in question)

## Settings — auto-connect enabled in both places

- `~/.claude/settings.json` → `"remoteControlAtStartup": true`
- Desktop app preferences → `ccRemoteControlDefaultEnabled: true`
- No `false` override in user-level `settings.local.json`, nor in any project-level `.claude/settings.json` or `.claude/settings.local.json` for the directories involved

## Evidence

- A running interactive desktop session reports `isRemote: false` in its own session metadata
- Three further interactive desktop sessions started the previous day are the same
- Scheduled-task sessions from the same app and account are listed as Remote Control sessions
- The mobile app shows no entry for any of the interactive sessions

## Ruled out

- **Settings**: both toggles on, no overrides anywhere in the hierarchy
- **CLI version**: the separately installed CLI was outdated (2.1.5), but it is a different binary — the desktop app carries its own bundled 2.1.247/2.1.258. Upgrading the standalone CLI to 2.1.261 changed nothing on this surface, as expected
- **Account or plan**: scheduled sessions on the same account register normally

## Impact

Starting a task at the desk and picking it up on a phone is the feature's main promise, and it does not work from this surface. Scheduled runs and their push notifications are unaffected.

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by reproducing on the macOS Claude desktop app with remoteControlAtStartup and ccRemoteControlDefaultEnabled set true, comparing an interactive Claude Code session with a scheduled-task session. Use the session metadata field isRemote and the Code list in the mobile app or claude.ai/code as the check. Done means interactive desktop sessions register for Remote Control at startup just like scheduled-task sessions.

由索引模型根据 Issue 内容生成。

评估

技术栈
macos, python
领域
desktop, mobile
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。