The whole hunk
from line 343, old and new numbered
/
lines
from line 343
343343
344344### "Remote Control requires a claude.ai subscription"
345345
346You're not authenticated with a claude.ai account. Run `claude auth login` and choose the claude.ai option. If `ANTHROPIC_API_KEY` is set in your environment, unset it first.
346You're not signed in with a claude.ai account, or another credential is taking precedence over your login. The message takes one of these forms:
347
348* Signed out, from `/remote-control` or `--remote-control`: `Remote Control requires a claude.ai subscription.`
349* Signed out, from `claude remote-control`: `You must be logged in to use Remote Control. Remote Control is only available with claude.ai subscriptions.`
350* Signed in, but an API key or token is in use: `Remote Control requires claude.ai subscription auth.` followed by the credential in use, such as `ANTHROPIC_API_KEY is set, so this session is using API-key auth`. An `apiKeyHelper` setting and `ANTHROPIC_AUTH_TOKEN` are named the same way.
351
352Run `claude auth login` and choose the claude.ai option. If the message names `ANTHROPIC_API_KEY` or `ANTHROPIC_AUTH_TOKEN`, remove it wherever it's set: your shell environment or the `env` block of a [settings file](/docs/en/settings-reference#env). If it names `apiKeyHelper`, remove that setting.
347353
348354Before v2.1.206, running `/remote-control` while signed out reported `Unknown command: /remote-control` instead of this message.
349355