Skip to content
Add configuration flags for background sessions and update default model | My AI Guide
FeatureClaude Codev2.1.142

Add configuration flags for background sessions and update default model

By Harsh Desai
Share

TL;DR

Introduced new configuration flags for the 'claude agents' command to customize background sessions, including directory, settings, and permission overrides. Updated fast mode to default to Opus 4.7.

## What changed Claude Code released version 2.1.144 on May 19, 2026. The update adds configuration flags to the claude agents command for background sessions. These flags cover directory selection, settings overrides, and permission controls.

Fast mode now defaults to Opus 4.7 instead of the prior model.

## Why it matters Solo builders gain tighter control over long-running agents without writing custom scripts. Background sessions can now respect specific folders and permission sets on each run. This reduces manual cleanup steps that previously interrupted workflows.

The change pressures other CLI tools that still treat background tasks as afterthoughts. It bets that users want repeatable agent behavior across projects rather than one-off prompts.

## How to use it Install or update the Claude Code CLI to the latest release. Run claude agents with the new flags such as directory, settings file path, and permission override values. Test a background session in fast mode to confirm Opus 4.7 is active.

Check the official docs at code.claude.com for the exact flag syntax and current availability.

## Watch for Confirm the bet if background sessions stay stable across multiple directories without permission errors. The bet breaks if flag conflicts appear in shared team settings. Expect a follow-up release that adds logging controls for these sessions next.

Harshs take

This update gives solo operators more knobs for background agents, yet it adds another layer of configuration to track. The real trade-off is time spent tuning flags versus shipping the actual product. Most vibe builders already juggle enough settings across Notion and Zapier.

Test the directory and permission flags on one non-critical project this week. Drop any flag that forces extra maintenance into your existing automation stack.

by Harsh Desai

Source:code.claude.com

About Claude Code

View the full Claude Code page →All Claude Code updates

More from Claude Code

  • Feature
    Enhance plugin dependency management and background session controls

    Added plugin dependency enforcement for enable/disable actions, projected context cost estimates in the marketplace, and new settings for background session isolation and PowerShell execution policy. Improved session persistence and fixed various UI, permission, and stability issues.

Everything AI. One email.
Every Monday.

New tools. Model launches. Plugins. Repos. Tactics. The moves the sharpest builders are making right now, before everyone else.

No spam. Unsubscribe anytime.