claude-code - 💡(How to fix) Fix Agent View hard-disabled on AWS Bedrock / Vertex / Foundry backends

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Agent View (claude agents, /background, /bg, left-arrow detach) is unavailable in v2.1.139 for any user on a third-party provider backend, even when no disableAgentView setting is present and CLAUDE_CODE_DISABLE_AGENT_VIEW is unset.

The docs at https://code.claude.com/docs/en/agent-view do not mention this restriction — they state only that disableAgentView is the off-switch and that v2.1.139+ is required.

Root Cause

In the compiled binary, the Agent View enable-check resolves to:

function DWH(){
  return SH(process.env.CLAUDE_CODE_DISABLE_AGENT_VIEW)
      || vS()?.settings.disableAgentView === true
      || yk1();
}

function yk1(){
  return SH(process.env.CLAUDE_CODE_USE_BEDROCK)
      || SH(process.env.CLAUDE_CODE_USE_VERTEX)
      || SH(process.env.CLAUDE_CODE_USE_FOUNDRY)
      || SH(process.env.CLAUDE_CODE_USE_ANTHROPIC_AWS)
      || SH(process.env.CLAUDE_CODE_USE_MANTLE)
      || A\$() !== null;
}

yk1() returning true forces Agent View off regardless of user/admin settings.

Code Example

function DWH(){
  return SH(process.env.CLAUDE_CODE_DISABLE_AGENT_VIEW)
      || vS()?.settings.disableAgentView === true
      || yk1();
}

function yk1(){
  return SH(process.env.CLAUDE_CODE_USE_BEDROCK)
      || SH(process.env.CLAUDE_CODE_USE_VERTEX)
      || SH(process.env.CLAUDE_CODE_USE_FOUNDRY)
      || SH(process.env.CLAUDE_CODE_USE_ANTHROPIC_AWS)
      || SH(process.env.CLAUDE_CODE_USE_MANTLE)
      || A\$() !== null;
}
RAW_BUFFERClick to expand / collapse

Summary

Agent View (claude agents, /background, /bg, left-arrow detach) is unavailable in v2.1.139 for any user on a third-party provider backend, even when no disableAgentView setting is present and CLAUDE_CODE_DISABLE_AGENT_VIEW is unset.

The docs at https://code.claude.com/docs/en/agent-view do not mention this restriction — they state only that disableAgentView is the off-switch and that v2.1.139+ is required.

Reproduction

  1. Set CLAUDE_CODE_USE_BEDROCK=1 (or CLAUDE_CODE_USE_VERTEX=1, etc.) and configure provider credentials
  2. Install Claude Code 2.1.139
  3. Run claude agents → returns the static built-in agent definition list, not the tabbed running/blocked/done view
  4. Inside an interactive session, /bg and /background both return No commands match

Root cause

In the compiled binary, the Agent View enable-check resolves to:

function DWH(){
  return SH(process.env.CLAUDE_CODE_DISABLE_AGENT_VIEW)
      || vS()?.settings.disableAgentView === true
      || yk1();
}

function yk1(){
  return SH(process.env.CLAUDE_CODE_USE_BEDROCK)
      || SH(process.env.CLAUDE_CODE_USE_VERTEX)
      || SH(process.env.CLAUDE_CODE_USE_FOUNDRY)
      || SH(process.env.CLAUDE_CODE_USE_ANTHROPIC_AWS)
      || SH(process.env.CLAUDE_CODE_USE_MANTLE)
      || A\$() !== null;
}

yk1() returning true forces Agent View off regardless of user/admin settings.

Asks

  1. Document the third-party-provider exclusion on the Agent View page so users on Bedrock/Vertex don't waste time debugging.
  2. If the gate exists because of dependencies on Anthropic-operated infra (push notification preferences endpoint, etc.), please clarify what's blocking — the daemon itself looks provider-agnostic.
  3. Either lift the gate for Bedrock/Vertex or expose an opt-in env var for users willing to live without the Anthropic-only side features.

Environment

  • Claude Code: 2.1.139 (macOS arm64, Darwin 24.5.0)
  • Backend: AWS Bedrock (CLAUDE_CODE_USE_BEDROCK=1, eu-west-1)
  • No disableAgentView set in user, project, or managed settings
  • No CLAUDE_CODE_DISABLE_AGENT_VIEW env var

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING