Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.4 Home All releases olderv2.1.3 v2.1.5newer
Claude Code v2.1.4

Environment Variable to Disable Background Tasks

What

New CLAUDE_CODE_DISABLE_BACKGROUND_TASKS environment variable allows disabling the background task functionality.

Usage
export CLAUDE_CODE_DISABLE_BACKGROUND_TASKS=1
claude
Details
  • When set, the run_in_background parameter documentation is hidden from tool descriptions
  • The ctrl+b shortcut to background a task is disabled
  • Background agent execution via run_in_background parameter is disabled
  • Useful for environments where background task management is not desired or causes issues
Evidence

Go8() at line 280507 (background task doc generator, checks CLAUDE_CODE_DISABLE_BACKGROUND_TASKS); ifA at line 447674 (Task agent parameter schema, gated by same env var)

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.4 →