原文(日本語に翻訳)
リモートコントロールのブロック時に、汎用的な「まだ有効になっていません」メッセージの代わりに、具体的な理由を表示するよう改善しました。
原文(英語)
Improved Remote Control to show a specific reason when blocked instead of a generic "not yet enabled" message
概要
Claude Codeのリモートコントロール機能(/remote-control)が利用できない場合、以前は「not yet enabled(まだ有効になっていません)」という汎用的なメッセージしか表示されませんでした。v2.1.84以降では、なぜブロックされているかの具体的な理由(認証プロバイダーの制限、組織ポリシーによる無効化、対応していない環境での使用など)が表示されます。これによりトラブルシューティングが容易になります。
基本的な使い方
リモートコントロールを使用しようとしてブロックされた場合、具体的な理由が表示されます。
bash
# リモートコントロールを有効化しようとする
/remote-control
# v2.1.84以前の表示例
# → "Remote Control is not yet enabled for your account"
# v2.1.84以降の表示例(理由が具体的になります)
# → "Remote Control is not available for third-party API providers"
# → "Remote Control has been disabled by your organization policy"
# → "Remote Control requires VSCode extension to be installed"実践例
ユースケース: エンタープライズ環境でのトラブルシューティング
組織の設定でリモートコントロールが無効化されている場合:
/remote-control
→ "Remote Control is disabled by your organization's managed settings.
Contact your administrator to enable this feature."以前は「not yet enabled」という汎用メッセージだったため、管理者に問い合わせる必要があるのかどうか判断が難しい状況でした。
ユースケース: APIキー認証ユーザーへの適切なガイダンス
# APIキー(ANTHROPIC_API_KEY)で認証している場合
/remote-control
→ "Remote Control requires Claude.ai OAuth authentication.
Run `claude auth login` to sign in with your Claude.ai account."これにより、どうすれば機能を利用できるかが明確になります。
注意点
- リモートコントロール機能はVSCode拡張機能とclaude.aiのOAuth認証が必要です
- 組織のポリシーによってブロックされている場合は管理者への確認が必要です
- ブロック理由のメッセージは状況によって異なります