settings.json
disableAgentView
バックグラウンドエージェントとエージェントビュー(claude agents, --bg, /background)を無効にします。
使い方・用途
- 組織ポリシーなどで、バックグラウンドでのタスク実行や常駐型のスーパーバイザープロセスの利用を制限したい場合に管理設定で使用します。
- 有効(true)にすると、
/backgroundコマンドや--bgフラグが使用不能になります。 - 環境変数
CLAUDE_CODE_DISABLE_AGENT_VIEW=1を設定することでも同様に無効化できます。
英語原文(公式ドキュメントより)
(Managed settings) Turn off background agents and the agent view: claude agents, --bg, /background, and the on-demand supervisor. Also configurable via the CLAUDE_CODE_DISABLE_AGENT_VIEW environment variable (set to 1 to disable). See https://code.claude.com/docs/en/agent-view