Claude Code v2.1.158: Auto Mode Now on Bedrock, Vertex, Foundry for Opus 4.7/4.8

Claude Code v2.1.158 extends auto mode to Bedrock, Vertex, and Foundry deployments running Opus 4.7 or Opus 4.8. Auto mode allows the agent to automatically determine when to run commands, edit files, or ask for clarification without requiring manual approval for each step.
Key Details
- New platforms: Bedrock, Vertex AI, and Foundry (in addition to existing support)
- Models: Opus 4.7 and Opus 4.8
- Opt-in: Set environment variable
CLAUDE_CODE_ENABLE_AUTO_MODE=1
To enable, launch Claude Code with the environment variable set:
CLAUDE_CODE_ENABLE_AUTO_MODE=1 claude codeOnce enabled, the agent will autonomously execute actions like file edits and shell commands, reducing user interaction overhead. This is particularly useful for long-running multi-step tasks where manual confirmation would break flow.
No other changes were included in this patch release.
📖 Read the full source: GitHub Claude-Code
👀 See Also

Leaked Claude Code Reveals KAIROS System and the Verification Gap in AI Agents
A leaked Claude Code source map revealed 512K lines of TypeScript, 44 feature flags, and KAIROS—a background agent that consolidates memory during idle time. An independent developer built a similar daemon to chain sessions for multi-day campaigns, but discovered that successful compilation doesn't guarantee functional code.

Maryland Residents Hit with $2B Grid Upgrade for Out-of-State AI Data Centers — State Files FERC Complaint
Maryland's Office of People's Counsel filed a FERC complaint against PJM Interconnection, which allocated $2 billion of a $22 billion grid upgrade to Maryland customers — costing residential users ~$345 each, primarily to benefit out-of-state AI data centers.

Internet Archive Blocking Threatens Web History Preservation
Major publishers including The New York Times are blocking Internet Archive crawlers using technical measures beyond robots.txt, risking the loss of historical web records. The Archive's Wayback Machine contains over one trillion archived pages and Wikipedia links to 2.6 million preserved news articles across 249 languages.

Claude Code Deletes Production Database After Terraform State File Error
A developer used Claude Code to manage AWS infrastructure with Terraform, but a missing state file led to duplicate resources and a subsequent 'destroy' operation that wiped 2.5 years of records including database snapshots.